Tricky question about limit of a function
up vote
0
down vote
favorite
In my Calculus home work assignment I get the following tricky question about the limit of following function:
Define a function $f : mathbb{R} rightarrow mathbb{R}$ as follows:
- if $x in mathbb{R}setminusmathbb{Q}$, then $f(x) = 0$.
- if $x in mathbb{Q}$, let $p in mathbb{Z}$, $q in mathbb{N}$ such that $x = frac{p}{q}$ is the reduced form of $x$. Then $f(x) = frac{1}{q}$.
Prove that $lim_{x rightarrow x_0} f(x) = 0$ for every $x_0 in mathbb{R}$.
Hint: You may rely on the following claim:
Let $k,d > 0$ be positive real numbers, and let $x_0 in mathbb{R}$. There is finite number of integers $p in mathbb{Z}$, $q in mathbb{N}$, such that $q leq k$ and $ left| x_0 - frac{p}{q} right| < d$.
I'm struggling with this question 3 days already. Intuitively I understand that for every $epsilon > 0$ I can choose $delta > 0$ small enough, such that $frac{1}{q} < epsilon$, but I'm really struggling to put condition on $delta$.
limits proof-explanation
add a comment |
up vote
0
down vote
favorite
In my Calculus home work assignment I get the following tricky question about the limit of following function:
Define a function $f : mathbb{R} rightarrow mathbb{R}$ as follows:
- if $x in mathbb{R}setminusmathbb{Q}$, then $f(x) = 0$.
- if $x in mathbb{Q}$, let $p in mathbb{Z}$, $q in mathbb{N}$ such that $x = frac{p}{q}$ is the reduced form of $x$. Then $f(x) = frac{1}{q}$.
Prove that $lim_{x rightarrow x_0} f(x) = 0$ for every $x_0 in mathbb{R}$.
Hint: You may rely on the following claim:
Let $k,d > 0$ be positive real numbers, and let $x_0 in mathbb{R}$. There is finite number of integers $p in mathbb{Z}$, $q in mathbb{N}$, such that $q leq k$ and $ left| x_0 - frac{p}{q} right| < d$.
I'm struggling with this question 3 days already. Intuitively I understand that for every $epsilon > 0$ I can choose $delta > 0$ small enough, such that $frac{1}{q} < epsilon$, but I'm really struggling to put condition on $delta$.
limits proof-explanation
Is it a typo? Did you mean that $f(x)= frac 1q$?
– glowstonetrees
Nov 18 at 7:20
yes, sorry... Just edited...
– Yegor Yegorov
Nov 18 at 7:22
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
In my Calculus home work assignment I get the following tricky question about the limit of following function:
Define a function $f : mathbb{R} rightarrow mathbb{R}$ as follows:
- if $x in mathbb{R}setminusmathbb{Q}$, then $f(x) = 0$.
- if $x in mathbb{Q}$, let $p in mathbb{Z}$, $q in mathbb{N}$ such that $x = frac{p}{q}$ is the reduced form of $x$. Then $f(x) = frac{1}{q}$.
Prove that $lim_{x rightarrow x_0} f(x) = 0$ for every $x_0 in mathbb{R}$.
Hint: You may rely on the following claim:
Let $k,d > 0$ be positive real numbers, and let $x_0 in mathbb{R}$. There is finite number of integers $p in mathbb{Z}$, $q in mathbb{N}$, such that $q leq k$ and $ left| x_0 - frac{p}{q} right| < d$.
I'm struggling with this question 3 days already. Intuitively I understand that for every $epsilon > 0$ I can choose $delta > 0$ small enough, such that $frac{1}{q} < epsilon$, but I'm really struggling to put condition on $delta$.
limits proof-explanation
In my Calculus home work assignment I get the following tricky question about the limit of following function:
Define a function $f : mathbb{R} rightarrow mathbb{R}$ as follows:
- if $x in mathbb{R}setminusmathbb{Q}$, then $f(x) = 0$.
- if $x in mathbb{Q}$, let $p in mathbb{Z}$, $q in mathbb{N}$ such that $x = frac{p}{q}$ is the reduced form of $x$. Then $f(x) = frac{1}{q}$.
Prove that $lim_{x rightarrow x_0} f(x) = 0$ for every $x_0 in mathbb{R}$.
Hint: You may rely on the following claim:
Let $k,d > 0$ be positive real numbers, and let $x_0 in mathbb{R}$. There is finite number of integers $p in mathbb{Z}$, $q in mathbb{N}$, such that $q leq k$ and $ left| x_0 - frac{p}{q} right| < d$.
I'm struggling with this question 3 days already. Intuitively I understand that for every $epsilon > 0$ I can choose $delta > 0$ small enough, such that $frac{1}{q} < epsilon$, but I'm really struggling to put condition on $delta$.
limits proof-explanation
limits proof-explanation
edited Nov 18 at 7:21
asked Nov 18 at 6:50
Yegor Yegorov
214
214
Is it a typo? Did you mean that $f(x)= frac 1q$?
– glowstonetrees
Nov 18 at 7:20
yes, sorry... Just edited...
– Yegor Yegorov
Nov 18 at 7:22
add a comment |
Is it a typo? Did you mean that $f(x)= frac 1q$?
– glowstonetrees
Nov 18 at 7:20
yes, sorry... Just edited...
– Yegor Yegorov
Nov 18 at 7:22
Is it a typo? Did you mean that $f(x)= frac 1q$?
– glowstonetrees
Nov 18 at 7:20
Is it a typo? Did you mean that $f(x)= frac 1q$?
– glowstonetrees
Nov 18 at 7:20
yes, sorry... Just edited...
– Yegor Yegorov
Nov 18 at 7:22
yes, sorry... Just edited...
– Yegor Yegorov
Nov 18 at 7:22
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Consider the number $n!$ (for some given $n in Bbb N$).
For each number $x_0 in Bbb R$, there must exist $a in Bbb Z$ such that
$$frac{a}{n!}<x_0 leq frac{a+1}{n!}$$
Note that $a$ depends on both $x_0$ and $n$.
Also, observe that $f(x)<frac 1n$ in each such interval $big(frac{a}{n!} , frac{a+1}{n!} big)$. Thus,
begin{align}
& forall varepsilon >0 ; ; exists ; delta = min bigg { bigg| x_0 - frac{a}{big(lceilfrac 1varepsilon rceil big)!} bigg| ;, ; bigg| x_0 - frac{a+1}{big(lceilfrac 1varepsilon rceil big)!} bigg| bigg } >0 ; text{ such that } \
; |x-x_0|<delta & implies frac{a}{big(lceilfrac 1varepsilon rceil big)!} < x< frac{a+1}{big(lceilfrac 1varepsilon rceil big)!} \
& implies |f(x)-0| = f(x)<frac{1}{lceil frac 1varepsilon rceil} leq varepsilon
end{align}
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Consider the number $n!$ (for some given $n in Bbb N$).
For each number $x_0 in Bbb R$, there must exist $a in Bbb Z$ such that
$$frac{a}{n!}<x_0 leq frac{a+1}{n!}$$
Note that $a$ depends on both $x_0$ and $n$.
Also, observe that $f(x)<frac 1n$ in each such interval $big(frac{a}{n!} , frac{a+1}{n!} big)$. Thus,
begin{align}
& forall varepsilon >0 ; ; exists ; delta = min bigg { bigg| x_0 - frac{a}{big(lceilfrac 1varepsilon rceil big)!} bigg| ;, ; bigg| x_0 - frac{a+1}{big(lceilfrac 1varepsilon rceil big)!} bigg| bigg } >0 ; text{ such that } \
; |x-x_0|<delta & implies frac{a}{big(lceilfrac 1varepsilon rceil big)!} < x< frac{a+1}{big(lceilfrac 1varepsilon rceil big)!} \
& implies |f(x)-0| = f(x)<frac{1}{lceil frac 1varepsilon rceil} leq varepsilon
end{align}
add a comment |
up vote
0
down vote
Consider the number $n!$ (for some given $n in Bbb N$).
For each number $x_0 in Bbb R$, there must exist $a in Bbb Z$ such that
$$frac{a}{n!}<x_0 leq frac{a+1}{n!}$$
Note that $a$ depends on both $x_0$ and $n$.
Also, observe that $f(x)<frac 1n$ in each such interval $big(frac{a}{n!} , frac{a+1}{n!} big)$. Thus,
begin{align}
& forall varepsilon >0 ; ; exists ; delta = min bigg { bigg| x_0 - frac{a}{big(lceilfrac 1varepsilon rceil big)!} bigg| ;, ; bigg| x_0 - frac{a+1}{big(lceilfrac 1varepsilon rceil big)!} bigg| bigg } >0 ; text{ such that } \
; |x-x_0|<delta & implies frac{a}{big(lceilfrac 1varepsilon rceil big)!} < x< frac{a+1}{big(lceilfrac 1varepsilon rceil big)!} \
& implies |f(x)-0| = f(x)<frac{1}{lceil frac 1varepsilon rceil} leq varepsilon
end{align}
add a comment |
up vote
0
down vote
up vote
0
down vote
Consider the number $n!$ (for some given $n in Bbb N$).
For each number $x_0 in Bbb R$, there must exist $a in Bbb Z$ such that
$$frac{a}{n!}<x_0 leq frac{a+1}{n!}$$
Note that $a$ depends on both $x_0$ and $n$.
Also, observe that $f(x)<frac 1n$ in each such interval $big(frac{a}{n!} , frac{a+1}{n!} big)$. Thus,
begin{align}
& forall varepsilon >0 ; ; exists ; delta = min bigg { bigg| x_0 - frac{a}{big(lceilfrac 1varepsilon rceil big)!} bigg| ;, ; bigg| x_0 - frac{a+1}{big(lceilfrac 1varepsilon rceil big)!} bigg| bigg } >0 ; text{ such that } \
; |x-x_0|<delta & implies frac{a}{big(lceilfrac 1varepsilon rceil big)!} < x< frac{a+1}{big(lceilfrac 1varepsilon rceil big)!} \
& implies |f(x)-0| = f(x)<frac{1}{lceil frac 1varepsilon rceil} leq varepsilon
end{align}
Consider the number $n!$ (for some given $n in Bbb N$).
For each number $x_0 in Bbb R$, there must exist $a in Bbb Z$ such that
$$frac{a}{n!}<x_0 leq frac{a+1}{n!}$$
Note that $a$ depends on both $x_0$ and $n$.
Also, observe that $f(x)<frac 1n$ in each such interval $big(frac{a}{n!} , frac{a+1}{n!} big)$. Thus,
begin{align}
& forall varepsilon >0 ; ; exists ; delta = min bigg { bigg| x_0 - frac{a}{big(lceilfrac 1varepsilon rceil big)!} bigg| ;, ; bigg| x_0 - frac{a+1}{big(lceilfrac 1varepsilon rceil big)!} bigg| bigg } >0 ; text{ such that } \
; |x-x_0|<delta & implies frac{a}{big(lceilfrac 1varepsilon rceil big)!} < x< frac{a+1}{big(lceilfrac 1varepsilon rceil big)!} \
& implies |f(x)-0| = f(x)<frac{1}{lceil frac 1varepsilon rceil} leq varepsilon
end{align}
edited Nov 18 at 7:54
answered Nov 18 at 7:49
glowstonetrees
1,917315
1,917315
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3003218%2ftricky-question-about-limit-of-a-function%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Is it a typo? Did you mean that $f(x)= frac 1q$?
– glowstonetrees
Nov 18 at 7:20
yes, sorry... Just edited...
– Yegor Yegorov
Nov 18 at 7:22