Bleys
- 74
- 0
I came across a problem in Calculus by Spivak, and I'm having trouble formalizing the proof.
Let A_{n} bet a set of finite numbers in [0,1], and if m \neq n then A_{n} and A_{m} are disjoint. Let f(x) be defined as
f(x)=1/n if x is in A_{n} and f(x)=0 if x is not in any A_{n}. The question asks to prove the limit as x goes to a of f is 0 for any a in [0,1].
Now I thought: given an n, there are only finitely many elements of A_{n} in a neighborhood of a. Choose the smallest such n, say n_{0}. Then f(x)\leq1/n_{0}. Restrict the neighborhood further so that none of the elements of A_{n_{0}} are in the interval. Then choose the next n such that it's minimal. Obviously f(x)\leq1/n\leq1/n_{0}. Successively doing this, for arbitrarily small x, f(x) will tend to 0.
I don't know how to prove this using the limit definition; can someone help me out with what \delta to choose?
Let A_{n} bet a set of finite numbers in [0,1], and if m \neq n then A_{n} and A_{m} are disjoint. Let f(x) be defined as
f(x)=1/n if x is in A_{n} and f(x)=0 if x is not in any A_{n}. The question asks to prove the limit as x goes to a of f is 0 for any a in [0,1].
Now I thought: given an n, there are only finitely many elements of A_{n} in a neighborhood of a. Choose the smallest such n, say n_{0}. Then f(x)\leq1/n_{0}. Restrict the neighborhood further so that none of the elements of A_{n_{0}} are in the interval. Then choose the next n such that it's minimal. Obviously f(x)\leq1/n\leq1/n_{0}. Successively doing this, for arbitrarily small x, f(x) will tend to 0.
I don't know how to prove this using the limit definition; can someone help me out with what \delta to choose?