Give an example of a function that is bounded and continuous on the interval [0, 1) but not uniformly continuous on this interval. The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Continuous and Bounded but not Uniformly Continuous functionContinuous mapping on a compact metric space is uniformly continuousIs $f(x)=tan left(fracpi x2right)$ uniformly continuous?Showing $f(x)=x^4$ is not uniformly continuousIs function uniformly continuousA sequence of functions that is uniformly continuous, pointwise equicontinuous, but not uniformly equicontinuous when their domain is noncompactWhy is $f(x) = x^2$ uniformly continuous on [0,1] but not $mathbbR$Continuous but not uniformly continuous exampleHow to show a function is continuous but not uniformly continuous.Showing that a function is uniformly continuous but not LipschitzProve that $f=1/sqrtx$ is continuous on the interval $(0,1]$, but not uniformly continuous.Use continuity to show that $f(x)=x^3$ is uniformly continuous on $[0,1]$ but not $[0,infty]$Give an example of a non constant uniformly differentiable function
How to handle characters who are more educated than the author?
Using dividends to reduce short term capital gains?
1960s short story making fun of James Bond-style spy fiction
Can a flute soloist sit?
Sub-subscripts in strings cause different spacings than subscripts
Are there continuous functions who are the same in an interval but differ in at least one other point?
"is" operation returns false with ndarray.data attribute, even though two array objects have same id
Do working physicists consider Newtonian mechanics to be "falsified"?
Can each chord in a progression create its own key?
Example of compact Riemannian manifold with only one geodesic.
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
Identify 80s or 90s comics with ripped creatures (not dwarves)
Homework question about an engine pulling a train
How to determine omitted units in a publication
Was credit for the black hole image misappropriated?
Does Parliament hold absolute power in the UK?
How to support a colleague who finds meetings extremely tiring?
One-dimensional Japanese puzzle
Word for: a synonym with a positive connotation?
Why doesn't a hydraulic lever violate conservation of energy?
Can we generate random numbers using irrational numbers like π and e?
Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?
What was the last x86 CPU that did not have the x87 floating-point unit built in?
What can I do if neighbor is blocking my solar panels intentionally?
Give an example of a function that is bounded and continuous on the interval [0, 1) but not uniformly continuous on this interval.
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Continuous and Bounded but not Uniformly Continuous functionContinuous mapping on a compact metric space is uniformly continuousIs $f(x)=tan left(fracpi x2right)$ uniformly continuous?Showing $f(x)=x^4$ is not uniformly continuousIs function uniformly continuousA sequence of functions that is uniformly continuous, pointwise equicontinuous, but not uniformly equicontinuous when their domain is noncompactWhy is $f(x) = x^2$ uniformly continuous on [0,1] but not $mathbbR$Continuous but not uniformly continuous exampleHow to show a function is continuous but not uniformly continuous.Showing that a function is uniformly continuous but not LipschitzProve that $f=1/sqrtx$ is continuous on the interval $(0,1]$, but not uniformly continuous.Use continuity to show that $f(x)=x^3$ is uniformly continuous on $[0,1]$ but not $[0,infty]$Give an example of a non constant uniformly differentiable function
$begingroup$
My thoughts was to take $f(x) =cos(frac 1x) $ for all $ x in [0,1)$ as I know this function is continous from $[0,1)$ and is definitely not uniformly continuous as it oscilates non-uniformly. My trouble is with the proof.
To prove continuity would I:
Fix $x_0 in [0,1), epsilon>0.$ We will show that there exists $delta>0$ such that if $|x-x_0|<delta$ then $|cos(frac 1x) -cos(frac 1x_0)|<epsilon$
Now I am stuck as to how I could simplify $|cos(frac 1x) -cos(frac 1x_0)|$ or what $delta$ to choose. Any help would be appreciated.
real-analysis continuity examples-counterexamples uniform-continuity
$endgroup$
|
show 2 more comments
$begingroup$
My thoughts was to take $f(x) =cos(frac 1x) $ for all $ x in [0,1)$ as I know this function is continous from $[0,1)$ and is definitely not uniformly continuous as it oscilates non-uniformly. My trouble is with the proof.
To prove continuity would I:
Fix $x_0 in [0,1), epsilon>0.$ We will show that there exists $delta>0$ such that if $|x-x_0|<delta$ then $|cos(frac 1x) -cos(frac 1x_0)|<epsilon$
Now I am stuck as to how I could simplify $|cos(frac 1x) -cos(frac 1x_0)|$ or what $delta$ to choose. Any help would be appreciated.
real-analysis continuity examples-counterexamples uniform-continuity
$endgroup$
2
$begingroup$
You function is actually not defined at $x=0$.
$endgroup$
– Arctic Char
Apr 6 at 5:14
$begingroup$
What would you suggest as a function that I could use?
$endgroup$
– abcdefg
Apr 6 at 5:16
$begingroup$
Why would you consider $cos (1/x)$ in the first place?
$endgroup$
– Arctic Char
Apr 6 at 5:17
$begingroup$
It was the first function I thought of that was continuous but not uniformly continuous.
$endgroup$
– abcdefg
Apr 6 at 5:18
1
$begingroup$
@TheoBendit $frac1x-1$ is unbounded.
$endgroup$
– José Carlos Santos
Apr 6 at 5:48
|
show 2 more comments
$begingroup$
My thoughts was to take $f(x) =cos(frac 1x) $ for all $ x in [0,1)$ as I know this function is continous from $[0,1)$ and is definitely not uniformly continuous as it oscilates non-uniformly. My trouble is with the proof.
To prove continuity would I:
Fix $x_0 in [0,1), epsilon>0.$ We will show that there exists $delta>0$ such that if $|x-x_0|<delta$ then $|cos(frac 1x) -cos(frac 1x_0)|<epsilon$
Now I am stuck as to how I could simplify $|cos(frac 1x) -cos(frac 1x_0)|$ or what $delta$ to choose. Any help would be appreciated.
real-analysis continuity examples-counterexamples uniform-continuity
$endgroup$
My thoughts was to take $f(x) =cos(frac 1x) $ for all $ x in [0,1)$ as I know this function is continous from $[0,1)$ and is definitely not uniformly continuous as it oscilates non-uniformly. My trouble is with the proof.
To prove continuity would I:
Fix $x_0 in [0,1), epsilon>0.$ We will show that there exists $delta>0$ such that if $|x-x_0|<delta$ then $|cos(frac 1x) -cos(frac 1x_0)|<epsilon$
Now I am stuck as to how I could simplify $|cos(frac 1x) -cos(frac 1x_0)|$ or what $delta$ to choose. Any help would be appreciated.
real-analysis continuity examples-counterexamples uniform-continuity
real-analysis continuity examples-counterexamples uniform-continuity
edited Apr 6 at 5:56
José Carlos Santos
174k23133243
174k23133243
asked Apr 6 at 5:08
abcdefgabcdefg
527220
527220
2
$begingroup$
You function is actually not defined at $x=0$.
$endgroup$
– Arctic Char
Apr 6 at 5:14
$begingroup$
What would you suggest as a function that I could use?
$endgroup$
– abcdefg
Apr 6 at 5:16
$begingroup$
Why would you consider $cos (1/x)$ in the first place?
$endgroup$
– Arctic Char
Apr 6 at 5:17
$begingroup$
It was the first function I thought of that was continuous but not uniformly continuous.
$endgroup$
– abcdefg
Apr 6 at 5:18
1
$begingroup$
@TheoBendit $frac1x-1$ is unbounded.
$endgroup$
– José Carlos Santos
Apr 6 at 5:48
|
show 2 more comments
2
$begingroup$
You function is actually not defined at $x=0$.
$endgroup$
– Arctic Char
Apr 6 at 5:14
$begingroup$
What would you suggest as a function that I could use?
$endgroup$
– abcdefg
Apr 6 at 5:16
$begingroup$
Why would you consider $cos (1/x)$ in the first place?
$endgroup$
– Arctic Char
Apr 6 at 5:17
$begingroup$
It was the first function I thought of that was continuous but not uniformly continuous.
$endgroup$
– abcdefg
Apr 6 at 5:18
1
$begingroup$
@TheoBendit $frac1x-1$ is unbounded.
$endgroup$
– José Carlos Santos
Apr 6 at 5:48
2
2
$begingroup$
You function is actually not defined at $x=0$.
$endgroup$
– Arctic Char
Apr 6 at 5:14
$begingroup$
You function is actually not defined at $x=0$.
$endgroup$
– Arctic Char
Apr 6 at 5:14
$begingroup$
What would you suggest as a function that I could use?
$endgroup$
– abcdefg
Apr 6 at 5:16
$begingroup$
What would you suggest as a function that I could use?
$endgroup$
– abcdefg
Apr 6 at 5:16
$begingroup$
Why would you consider $cos (1/x)$ in the first place?
$endgroup$
– Arctic Char
Apr 6 at 5:17
$begingroup$
Why would you consider $cos (1/x)$ in the first place?
$endgroup$
– Arctic Char
Apr 6 at 5:17
$begingroup$
It was the first function I thought of that was continuous but not uniformly continuous.
$endgroup$
– abcdefg
Apr 6 at 5:18
$begingroup$
It was the first function I thought of that was continuous but not uniformly continuous.
$endgroup$
– abcdefg
Apr 6 at 5:18
1
1
$begingroup$
@TheoBendit $frac1x-1$ is unbounded.
$endgroup$
– José Carlos Santos
Apr 6 at 5:48
$begingroup$
@TheoBendit $frac1x-1$ is unbounded.
$endgroup$
– José Carlos Santos
Apr 6 at 5:48
|
show 2 more comments
2 Answers
2
active
oldest
votes
$begingroup$
Here's some intuition:
The Heine-Cantor theorem tells us that any function between two metric spaces that is continuous on a compact set is also uniformly continuous on that set (see here for discussion). Next, if $f:X rightarrow Y$ is a uniformly continuous function, it is easy to show that the restriction of $f$ to any subset of $X$ is itself uniformly continuous*. Therefore, because $[0,1]$ is compact, the functions $[0,1) to mathbbR$ that are continuous but not uniformly continuous are those functions that cannot be extended to $[0,1]$ in a continuous fashion.
For example, consider the function $f:[0,1) to mathbbR$ defined such that $f(x) = x$. We can extend $f$ to $[0,1]$ by defining $f(1) = 1$, and this extension is a continuous function over a compact set (hence it is uniformly continuous). So the restriction of this extension to $[0,1)$—i.e. the original function—is necessarily also uniformly continuous per (*) above.
How can we find a continuous function on $[0,1)$ that cannot be continuously extended to $[0,1]$? There are two ways:
$qquad bullet quad$ Construct $f$ so that $displaystyle lim_x rightarrow 1 f(x) = pm infty$
$qquad bullet quad$ Construct $f$ so that $displaystyle lim_x to 1 f(x)$ does not exist
Note that if $displaystyle lim_x to 1 f(x)$ exists, taking $f(1)$ to be that limit yields a continuous extension. Indeed, $displaystyle lim_x to c f(x) = f(c)$ is literally one of the definitions for continuity at the point $x=c$.
The first bullet is ruled out by the stipulation that $f$ be bounded, so moving on to the second bullet, we need to make sure $displaystyle lim_x to 1 f(x)$ does not exist. One way of doing this (the only way I believe) is to have $f$ oscillate infinitely rapidly with non-vanishing amplitude as $x to 1$. It looks like this is what you were trying to exploit, and what José Carlos Santos did (+1) in his answer (see graph below): $displaystyle f(x) = cos left(frac11-x right)$.
Generalizing his epsilon-delta argument, you can see that this condition is not only necessary, but also sufficient.
$qquad qquad qquad qquad$
$endgroup$
add a comment |
$begingroup$
Take $f(x)=cosleft(frac11-xright)$. If it was uniformly continuous, then, for each $varepsilon>0$, there would be some $delta>0$ such that $lvert x-yrvert<deltaimpliesbigllvert f(x)-f(y)bigrrvert<varepsilon$. But this is not true. Take $varepsilon=1$. Since there are values of $x$ arbitrarily close to $1$ such that $f(x)=1$ and there are values of $x$ arbitrarily close to $1$ such that $f(x)=-1$, then, no matter how small $delta$ is, you will always be able to find examples of numbers $x,yin[0,1)$ such that $lvert x-yrvert<delta$ and that $bigllvert f(x)-f(y)bigrrvert=2>varepsilon$
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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%2f3176685%2fgive-an-example-of-a-function-that-is-bounded-and-continuous-on-the-interval-0%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Here's some intuition:
The Heine-Cantor theorem tells us that any function between two metric spaces that is continuous on a compact set is also uniformly continuous on that set (see here for discussion). Next, if $f:X rightarrow Y$ is a uniformly continuous function, it is easy to show that the restriction of $f$ to any subset of $X$ is itself uniformly continuous*. Therefore, because $[0,1]$ is compact, the functions $[0,1) to mathbbR$ that are continuous but not uniformly continuous are those functions that cannot be extended to $[0,1]$ in a continuous fashion.
For example, consider the function $f:[0,1) to mathbbR$ defined such that $f(x) = x$. We can extend $f$ to $[0,1]$ by defining $f(1) = 1$, and this extension is a continuous function over a compact set (hence it is uniformly continuous). So the restriction of this extension to $[0,1)$—i.e. the original function—is necessarily also uniformly continuous per (*) above.
How can we find a continuous function on $[0,1)$ that cannot be continuously extended to $[0,1]$? There are two ways:
$qquad bullet quad$ Construct $f$ so that $displaystyle lim_x rightarrow 1 f(x) = pm infty$
$qquad bullet quad$ Construct $f$ so that $displaystyle lim_x to 1 f(x)$ does not exist
Note that if $displaystyle lim_x to 1 f(x)$ exists, taking $f(1)$ to be that limit yields a continuous extension. Indeed, $displaystyle lim_x to c f(x) = f(c)$ is literally one of the definitions for continuity at the point $x=c$.
The first bullet is ruled out by the stipulation that $f$ be bounded, so moving on to the second bullet, we need to make sure $displaystyle lim_x to 1 f(x)$ does not exist. One way of doing this (the only way I believe) is to have $f$ oscillate infinitely rapidly with non-vanishing amplitude as $x to 1$. It looks like this is what you were trying to exploit, and what José Carlos Santos did (+1) in his answer (see graph below): $displaystyle f(x) = cos left(frac11-x right)$.
Generalizing his epsilon-delta argument, you can see that this condition is not only necessary, but also sufficient.
$qquad qquad qquad qquad$
$endgroup$
add a comment |
$begingroup$
Here's some intuition:
The Heine-Cantor theorem tells us that any function between two metric spaces that is continuous on a compact set is also uniformly continuous on that set (see here for discussion). Next, if $f:X rightarrow Y$ is a uniformly continuous function, it is easy to show that the restriction of $f$ to any subset of $X$ is itself uniformly continuous*. Therefore, because $[0,1]$ is compact, the functions $[0,1) to mathbbR$ that are continuous but not uniformly continuous are those functions that cannot be extended to $[0,1]$ in a continuous fashion.
For example, consider the function $f:[0,1) to mathbbR$ defined such that $f(x) = x$. We can extend $f$ to $[0,1]$ by defining $f(1) = 1$, and this extension is a continuous function over a compact set (hence it is uniformly continuous). So the restriction of this extension to $[0,1)$—i.e. the original function—is necessarily also uniformly continuous per (*) above.
How can we find a continuous function on $[0,1)$ that cannot be continuously extended to $[0,1]$? There are two ways:
$qquad bullet quad$ Construct $f$ so that $displaystyle lim_x rightarrow 1 f(x) = pm infty$
$qquad bullet quad$ Construct $f$ so that $displaystyle lim_x to 1 f(x)$ does not exist
Note that if $displaystyle lim_x to 1 f(x)$ exists, taking $f(1)$ to be that limit yields a continuous extension. Indeed, $displaystyle lim_x to c f(x) = f(c)$ is literally one of the definitions for continuity at the point $x=c$.
The first bullet is ruled out by the stipulation that $f$ be bounded, so moving on to the second bullet, we need to make sure $displaystyle lim_x to 1 f(x)$ does not exist. One way of doing this (the only way I believe) is to have $f$ oscillate infinitely rapidly with non-vanishing amplitude as $x to 1$. It looks like this is what you were trying to exploit, and what José Carlos Santos did (+1) in his answer (see graph below): $displaystyle f(x) = cos left(frac11-x right)$.
Generalizing his epsilon-delta argument, you can see that this condition is not only necessary, but also sufficient.
$qquad qquad qquad qquad$
$endgroup$
add a comment |
$begingroup$
Here's some intuition:
The Heine-Cantor theorem tells us that any function between two metric spaces that is continuous on a compact set is also uniformly continuous on that set (see here for discussion). Next, if $f:X rightarrow Y$ is a uniformly continuous function, it is easy to show that the restriction of $f$ to any subset of $X$ is itself uniformly continuous*. Therefore, because $[0,1]$ is compact, the functions $[0,1) to mathbbR$ that are continuous but not uniformly continuous are those functions that cannot be extended to $[0,1]$ in a continuous fashion.
For example, consider the function $f:[0,1) to mathbbR$ defined such that $f(x) = x$. We can extend $f$ to $[0,1]$ by defining $f(1) = 1$, and this extension is a continuous function over a compact set (hence it is uniformly continuous). So the restriction of this extension to $[0,1)$—i.e. the original function—is necessarily also uniformly continuous per (*) above.
How can we find a continuous function on $[0,1)$ that cannot be continuously extended to $[0,1]$? There are two ways:
$qquad bullet quad$ Construct $f$ so that $displaystyle lim_x rightarrow 1 f(x) = pm infty$
$qquad bullet quad$ Construct $f$ so that $displaystyle lim_x to 1 f(x)$ does not exist
Note that if $displaystyle lim_x to 1 f(x)$ exists, taking $f(1)$ to be that limit yields a continuous extension. Indeed, $displaystyle lim_x to c f(x) = f(c)$ is literally one of the definitions for continuity at the point $x=c$.
The first bullet is ruled out by the stipulation that $f$ be bounded, so moving on to the second bullet, we need to make sure $displaystyle lim_x to 1 f(x)$ does not exist. One way of doing this (the only way I believe) is to have $f$ oscillate infinitely rapidly with non-vanishing amplitude as $x to 1$. It looks like this is what you were trying to exploit, and what José Carlos Santos did (+1) in his answer (see graph below): $displaystyle f(x) = cos left(frac11-x right)$.
Generalizing his epsilon-delta argument, you can see that this condition is not only necessary, but also sufficient.
$qquad qquad qquad qquad$
$endgroup$
Here's some intuition:
The Heine-Cantor theorem tells us that any function between two metric spaces that is continuous on a compact set is also uniformly continuous on that set (see here for discussion). Next, if $f:X rightarrow Y$ is a uniformly continuous function, it is easy to show that the restriction of $f$ to any subset of $X$ is itself uniformly continuous*. Therefore, because $[0,1]$ is compact, the functions $[0,1) to mathbbR$ that are continuous but not uniformly continuous are those functions that cannot be extended to $[0,1]$ in a continuous fashion.
For example, consider the function $f:[0,1) to mathbbR$ defined such that $f(x) = x$. We can extend $f$ to $[0,1]$ by defining $f(1) = 1$, and this extension is a continuous function over a compact set (hence it is uniformly continuous). So the restriction of this extension to $[0,1)$—i.e. the original function—is necessarily also uniformly continuous per (*) above.
How can we find a continuous function on $[0,1)$ that cannot be continuously extended to $[0,1]$? There are two ways:
$qquad bullet quad$ Construct $f$ so that $displaystyle lim_x rightarrow 1 f(x) = pm infty$
$qquad bullet quad$ Construct $f$ so that $displaystyle lim_x to 1 f(x)$ does not exist
Note that if $displaystyle lim_x to 1 f(x)$ exists, taking $f(1)$ to be that limit yields a continuous extension. Indeed, $displaystyle lim_x to c f(x) = f(c)$ is literally one of the definitions for continuity at the point $x=c$.
The first bullet is ruled out by the stipulation that $f$ be bounded, so moving on to the second bullet, we need to make sure $displaystyle lim_x to 1 f(x)$ does not exist. One way of doing this (the only way I believe) is to have $f$ oscillate infinitely rapidly with non-vanishing amplitude as $x to 1$. It looks like this is what you were trying to exploit, and what José Carlos Santos did (+1) in his answer (see graph below): $displaystyle f(x) = cos left(frac11-x right)$.
Generalizing his epsilon-delta argument, you can see that this condition is not only necessary, but also sufficient.
$qquad qquad qquad qquad$
edited yesterday
answered Apr 6 at 6:25
Kaj HansenKaj Hansen
27.8k43980
27.8k43980
add a comment |
add a comment |
$begingroup$
Take $f(x)=cosleft(frac11-xright)$. If it was uniformly continuous, then, for each $varepsilon>0$, there would be some $delta>0$ such that $lvert x-yrvert<deltaimpliesbigllvert f(x)-f(y)bigrrvert<varepsilon$. But this is not true. Take $varepsilon=1$. Since there are values of $x$ arbitrarily close to $1$ such that $f(x)=1$ and there are values of $x$ arbitrarily close to $1$ such that $f(x)=-1$, then, no matter how small $delta$ is, you will always be able to find examples of numbers $x,yin[0,1)$ such that $lvert x-yrvert<delta$ and that $bigllvert f(x)-f(y)bigrrvert=2>varepsilon$
$endgroup$
add a comment |
$begingroup$
Take $f(x)=cosleft(frac11-xright)$. If it was uniformly continuous, then, for each $varepsilon>0$, there would be some $delta>0$ such that $lvert x-yrvert<deltaimpliesbigllvert f(x)-f(y)bigrrvert<varepsilon$. But this is not true. Take $varepsilon=1$. Since there are values of $x$ arbitrarily close to $1$ such that $f(x)=1$ and there are values of $x$ arbitrarily close to $1$ such that $f(x)=-1$, then, no matter how small $delta$ is, you will always be able to find examples of numbers $x,yin[0,1)$ such that $lvert x-yrvert<delta$ and that $bigllvert f(x)-f(y)bigrrvert=2>varepsilon$
$endgroup$
add a comment |
$begingroup$
Take $f(x)=cosleft(frac11-xright)$. If it was uniformly continuous, then, for each $varepsilon>0$, there would be some $delta>0$ such that $lvert x-yrvert<deltaimpliesbigllvert f(x)-f(y)bigrrvert<varepsilon$. But this is not true. Take $varepsilon=1$. Since there are values of $x$ arbitrarily close to $1$ such that $f(x)=1$ and there are values of $x$ arbitrarily close to $1$ such that $f(x)=-1$, then, no matter how small $delta$ is, you will always be able to find examples of numbers $x,yin[0,1)$ such that $lvert x-yrvert<delta$ and that $bigllvert f(x)-f(y)bigrrvert=2>varepsilon$
$endgroup$
Take $f(x)=cosleft(frac11-xright)$. If it was uniformly continuous, then, for each $varepsilon>0$, there would be some $delta>0$ such that $lvert x-yrvert<deltaimpliesbigllvert f(x)-f(y)bigrrvert<varepsilon$. But this is not true. Take $varepsilon=1$. Since there are values of $x$ arbitrarily close to $1$ such that $f(x)=1$ and there are values of $x$ arbitrarily close to $1$ such that $f(x)=-1$, then, no matter how small $delta$ is, you will always be able to find examples of numbers $x,yin[0,1)$ such that $lvert x-yrvert<delta$ and that $bigllvert f(x)-f(y)bigrrvert=2>varepsilon$
answered Apr 6 at 5:54
José Carlos SantosJosé Carlos Santos
174k23133243
174k23133243
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.
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%2f3176685%2fgive-an-example-of-a-function-that-is-bounded-and-continuous-on-the-interval-0%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
2
$begingroup$
You function is actually not defined at $x=0$.
$endgroup$
– Arctic Char
Apr 6 at 5:14
$begingroup$
What would you suggest as a function that I could use?
$endgroup$
– abcdefg
Apr 6 at 5:16
$begingroup$
Why would you consider $cos (1/x)$ in the first place?
$endgroup$
– Arctic Char
Apr 6 at 5:17
$begingroup$
It was the first function I thought of that was continuous but not uniformly continuous.
$endgroup$
– abcdefg
Apr 6 at 5:18
1
$begingroup$
@TheoBendit $frac1x-1$ is unbounded.
$endgroup$
– José Carlos Santos
Apr 6 at 5:48