nietzsche
- 185
- 0
Homework Statement
Similar to the problem I just posted, here's another one:
Suppose A is the set of all numbers that can be written as \dfrac{1}{n}, where n \in \mathbb{N}.
Define a function f such that
<br /> \begin{equation*}<br /> f(x) = \left\{<br /> \begin{array}{cc}<br /> 0 & : x \in A\\<br /> x & : x \not \in A<br /> \end{array}<br /> \end{equation*}<br />
Prove that
<br /> \lim_{x \to a} f(x) = a<br />
Homework Equations
The Attempt at a Solution
Proof:
For x \in (-\infty, 0)\cup(1,\infty) \Rightarrow f(x) = x
which is a continuous function. Thus
<br /> \lim_{x \to a} f(x) = f(a) = a<br />Now consider the interval (0, 1]. Suppose a is in this interval. If a \not \in A, then \delta can be chosen sufficiently small so that the open interval (a-\delta, a+\delta) does not contain any x \in A. In this subinterval, f(x) = x and
<br /> \lim_{x \to a} f(x) = f(a) = a<br />
Now suppose a \in A. Then a can be written as a = \dfrac{1}{n}.
Choose \delta = |\dfrac{1}{n}-\dfrac{1}{n+1}| = |\dfrac{1}{n(n+1)}|.
Thus \delta is the minimum distance to the next x \in A.
Once I get here, I'm stuck... I'm trying to show that if delta is the minimum distance to the next x in A, then for all x \not = a in that subinterval, f(x) = x. But I'm confused about what to do next. I'm not sure what this implies with regards to epsilon.
I'm also not sure what to do for x = 0.
Last edited: