Example of a continuous function that don't have a continuous extension 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)Extending a continuous function defined on the rationalsLet $Asubset X$; let $f:Ato Y$ be continuous; let $Y$ be Hausdorff. Is there an example where there is no continuous function for $g$?Continuity of a product of two real valued continuous function.a counter example of extension of a continuous functionInverse of a continuous functionIf $Asubseteqmathbb R$ is closed and $f:Atomathbb R$ is right-continuous, is there a right-continuous extension of $f$ to $mathbb R$?Proving Topological Equivalence without finding a functionA function that can be continuously extended is continuousContinuous Extension of Densely Defined Continuous (but not Uniformly Continuous) Function.A topological space with the Universal Extension Property which is not homeomorphic to a retract of $mathbbR^J$?
Can a flute soloist sit?
How did passengers keep warm on sail ships?
Circular reasoning in L'Hopital's rule
60's-70's movie: home appliances revolting against the owners
Can we generate random numbers using irrational numbers like π and e?
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
Am I ethically obligated to go into work on an off day if the reason is sudden?
What was the last x86 CPU that did not have the x87 floating-point unit built in?
Why not take a picture of a closer black hole?
Is every episode of "Where are my Pants?" identical?
What other Star Trek series did the main TNG cast show up in?
Simulating Exploding Dice
Identify 80s or 90s comics with ripped creatures (not dwarves)
How do spell lists change if the party levels up without taking a long rest?
Why can't wing-mounted spoilers be used to steepen approaches?
"... to apply for a visa" or "... and applied for a visa"?
Does Parliament need to approve the new Brexit delay to 31 October 2019?
Do working physicists consider Newtonian mechanics to be "falsified"?
Accepted by European university, rejected by all American ones I applied to? Possible reasons?
My body leaves; my core can stay
How to read αἱμύλιος or when to aspirate
Can withdrawing asylum be illegal?
US Healthcare consultation for visitors
Button changing its text & action. Good or terrible?
Example of a continuous function that don't have a continuous extension
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)Extending a continuous function defined on the rationalsLet $Asubset X$; let $f:Ato Y$ be continuous; let $Y$ be Hausdorff. Is there an example where there is no continuous function for $g$?Continuity of a product of two real valued continuous function.a counter example of extension of a continuous functionInverse of a continuous functionIf $Asubseteqmathbb R$ is closed and $f:Atomathbb R$ is right-continuous, is there a right-continuous extension of $f$ to $mathbb R$?Proving Topological Equivalence without finding a functionA function that can be continuously extended is continuousContinuous Extension of Densely Defined Continuous (but not Uniformly Continuous) Function.A topological space with the Universal Extension Property which is not homeomorphic to a retract of $mathbbR^J$?
$begingroup$
Give an example of a topological space $(X,tau)$, a subset $Asubset X$ that is dense in $X$ (i.e., $overlineA = X$), and a continuous function $f:AtomathbbR$ that cannot be continually extended to $X$, that is, a $f$ for such do not exist a continuous function $g:Xto mathbbR$ such that $f(x) = g(x)$ for all $xin A$.
I just proved that if $f,g:XtomathbbR$ are continuous and agree in a dense subset $Asubset X$ then they're equal.
I thought in $X=mathbbR$ with usual topology and $A = mathbbR-0 =:mathbbR^* $, so I think $f:mathbbR^*tomathbbR, f(x) = x^-1$ is a continuous function that cannot be continually extended to $mathbbR$. I'm quite sure of this, but I'm stuck in proving it using the definition of continuity in general topological spaces.
Also, I'm quite confused on how this asked example is not a counterexample of what I proved.
Thanks in advance.
general-topology continuity
$endgroup$
add a comment |
$begingroup$
Give an example of a topological space $(X,tau)$, a subset $Asubset X$ that is dense in $X$ (i.e., $overlineA = X$), and a continuous function $f:AtomathbbR$ that cannot be continually extended to $X$, that is, a $f$ for such do not exist a continuous function $g:Xto mathbbR$ such that $f(x) = g(x)$ for all $xin A$.
I just proved that if $f,g:XtomathbbR$ are continuous and agree in a dense subset $Asubset X$ then they're equal.
I thought in $X=mathbbR$ with usual topology and $A = mathbbR-0 =:mathbbR^* $, so I think $f:mathbbR^*tomathbbR, f(x) = x^-1$ is a continuous function that cannot be continually extended to $mathbbR$. I'm quite sure of this, but I'm stuck in proving it using the definition of continuity in general topological spaces.
Also, I'm quite confused on how this asked example is not a counterexample of what I proved.
Thanks in advance.
general-topology continuity
$endgroup$
1
$begingroup$
The open intervals form a basis for topology on the real line. A set is open if and only if it contains an open interval around each of these points. Using this definition of open sets you can show that the two different definitions of continuity are actually the same in this case. So you're example will work. And to show it will work you can show it using the usual definition of continuity you're used to in the real numbers.
$endgroup$
– Melody
Apr 7 at 2:09
add a comment |
$begingroup$
Give an example of a topological space $(X,tau)$, a subset $Asubset X$ that is dense in $X$ (i.e., $overlineA = X$), and a continuous function $f:AtomathbbR$ that cannot be continually extended to $X$, that is, a $f$ for such do not exist a continuous function $g:Xto mathbbR$ such that $f(x) = g(x)$ for all $xin A$.
I just proved that if $f,g:XtomathbbR$ are continuous and agree in a dense subset $Asubset X$ then they're equal.
I thought in $X=mathbbR$ with usual topology and $A = mathbbR-0 =:mathbbR^* $, so I think $f:mathbbR^*tomathbbR, f(x) = x^-1$ is a continuous function that cannot be continually extended to $mathbbR$. I'm quite sure of this, but I'm stuck in proving it using the definition of continuity in general topological spaces.
Also, I'm quite confused on how this asked example is not a counterexample of what I proved.
Thanks in advance.
general-topology continuity
$endgroup$
Give an example of a topological space $(X,tau)$, a subset $Asubset X$ that is dense in $X$ (i.e., $overlineA = X$), and a continuous function $f:AtomathbbR$ that cannot be continually extended to $X$, that is, a $f$ for such do not exist a continuous function $g:Xto mathbbR$ such that $f(x) = g(x)$ for all $xin A$.
I just proved that if $f,g:XtomathbbR$ are continuous and agree in a dense subset $Asubset X$ then they're equal.
I thought in $X=mathbbR$ with usual topology and $A = mathbbR-0 =:mathbbR^* $, so I think $f:mathbbR^*tomathbbR, f(x) = x^-1$ is a continuous function that cannot be continually extended to $mathbbR$. I'm quite sure of this, but I'm stuck in proving it using the definition of continuity in general topological spaces.
Also, I'm quite confused on how this asked example is not a counterexample of what I proved.
Thanks in advance.
general-topology continuity
general-topology continuity
asked Apr 7 at 2:02
AnalyticHarmonyAnalyticHarmony
736313
736313
1
$begingroup$
The open intervals form a basis for topology on the real line. A set is open if and only if it contains an open interval around each of these points. Using this definition of open sets you can show that the two different definitions of continuity are actually the same in this case. So you're example will work. And to show it will work you can show it using the usual definition of continuity you're used to in the real numbers.
$endgroup$
– Melody
Apr 7 at 2:09
add a comment |
1
$begingroup$
The open intervals form a basis for topology on the real line. A set is open if and only if it contains an open interval around each of these points. Using this definition of open sets you can show that the two different definitions of continuity are actually the same in this case. So you're example will work. And to show it will work you can show it using the usual definition of continuity you're used to in the real numbers.
$endgroup$
– Melody
Apr 7 at 2:09
1
1
$begingroup$
The open intervals form a basis for topology on the real line. A set is open if and only if it contains an open interval around each of these points. Using this definition of open sets you can show that the two different definitions of continuity are actually the same in this case. So you're example will work. And to show it will work you can show it using the usual definition of continuity you're used to in the real numbers.
$endgroup$
– Melody
Apr 7 at 2:09
$begingroup$
The open intervals form a basis for topology on the real line. A set is open if and only if it contains an open interval around each of these points. Using this definition of open sets you can show that the two different definitions of continuity are actually the same in this case. So you're example will work. And to show it will work you can show it using the usual definition of continuity you're used to in the real numbers.
$endgroup$
– Melody
Apr 7 at 2:09
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
Define $f(x)=1/x$ like you did, and assume you can find a continuous extension $g : mathbbRtomathbbR$. Well this $g $ takes a real numbered value at $0$, namely $-infty < g (0) < infty $, and it agrees with $f $ at non-zero values.
One definition of continuity is that given a net of points in $X $ converging to $x_0$ and a function $g $, then the images converge to $g(x_0) $. Since $mathbbR$ is a metric space, we can use sequences instead of nets. But given a sequence of real numbers $(x_n )_n=1^infty $ converging to $0$, the sequence $(g (x_n))_n=1^infty $ converges to either positive or negative $infty $. So it does not converge to $g (0) $. So $g $ is not continuous
BTW regarding your question on the results you proved. You proved a result about two functions that were continuous on the entire space, who agree on a dense subset. But the main question of your post is regarding a function who is not assumed to be continuous on the entire space, and comparing it to one that is continuous on the entire space. So the main example is not countering your original result
$endgroup$
add a comment |
$begingroup$
Using sequences is the easiest way to go, but for a more "topological" proof, to show that no extension of $f$ is continuous at $x=0,$ we suppose there is one (we still call it $f$ for convenience), and we show that there is an $epsilon>0$ so that for any $delta >0$, there is an $xin (-delta,delta$), such that$f(x)>f(0)+epsilon$ (or that $f(x)<f(0)-epsilon$). Let's do the former.
Now, drawing a picture will make the following obvious:
Take $epsilon=1.$ Then, if $f(0)+1le 0$, then $textany xin (0,delta)$ will do because $f(x)=1/x>0.$
If $f(0)+1> 0$, all we need do is choose $x$ small enough so that $f(x)=1/x>f(0)+1,$ which is to say, choose $x<mindelta, frac1f(0)+1$
$endgroup$
add a comment |
$begingroup$
Another reason: continuous in the whole line implies locally bounded near every point.
And another counterexample based in a different idea: $Bbb Q$ is dense in $Bbb R$ with the usual topology. The function
$$f:Bbb QlongrightarrowBbb R$$
$$
f(x) =
begincases
0:& x < sqrt2,\
1:& x > sqrt2,
endcases
$$
is continuous (check it) and can't be extended continuously to $Bbb R$.
$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%2f3177651%2fexample-of-a-continuous-function-that-dont-have-a-continuous-extension%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Define $f(x)=1/x$ like you did, and assume you can find a continuous extension $g : mathbbRtomathbbR$. Well this $g $ takes a real numbered value at $0$, namely $-infty < g (0) < infty $, and it agrees with $f $ at non-zero values.
One definition of continuity is that given a net of points in $X $ converging to $x_0$ and a function $g $, then the images converge to $g(x_0) $. Since $mathbbR$ is a metric space, we can use sequences instead of nets. But given a sequence of real numbers $(x_n )_n=1^infty $ converging to $0$, the sequence $(g (x_n))_n=1^infty $ converges to either positive or negative $infty $. So it does not converge to $g (0) $. So $g $ is not continuous
BTW regarding your question on the results you proved. You proved a result about two functions that were continuous on the entire space, who agree on a dense subset. But the main question of your post is regarding a function who is not assumed to be continuous on the entire space, and comparing it to one that is continuous on the entire space. So the main example is not countering your original result
$endgroup$
add a comment |
$begingroup$
Define $f(x)=1/x$ like you did, and assume you can find a continuous extension $g : mathbbRtomathbbR$. Well this $g $ takes a real numbered value at $0$, namely $-infty < g (0) < infty $, and it agrees with $f $ at non-zero values.
One definition of continuity is that given a net of points in $X $ converging to $x_0$ and a function $g $, then the images converge to $g(x_0) $. Since $mathbbR$ is a metric space, we can use sequences instead of nets. But given a sequence of real numbers $(x_n )_n=1^infty $ converging to $0$, the sequence $(g (x_n))_n=1^infty $ converges to either positive or negative $infty $. So it does not converge to $g (0) $. So $g $ is not continuous
BTW regarding your question on the results you proved. You proved a result about two functions that were continuous on the entire space, who agree on a dense subset. But the main question of your post is regarding a function who is not assumed to be continuous on the entire space, and comparing it to one that is continuous on the entire space. So the main example is not countering your original result
$endgroup$
add a comment |
$begingroup$
Define $f(x)=1/x$ like you did, and assume you can find a continuous extension $g : mathbbRtomathbbR$. Well this $g $ takes a real numbered value at $0$, namely $-infty < g (0) < infty $, and it agrees with $f $ at non-zero values.
One definition of continuity is that given a net of points in $X $ converging to $x_0$ and a function $g $, then the images converge to $g(x_0) $. Since $mathbbR$ is a metric space, we can use sequences instead of nets. But given a sequence of real numbers $(x_n )_n=1^infty $ converging to $0$, the sequence $(g (x_n))_n=1^infty $ converges to either positive or negative $infty $. So it does not converge to $g (0) $. So $g $ is not continuous
BTW regarding your question on the results you proved. You proved a result about two functions that were continuous on the entire space, who agree on a dense subset. But the main question of your post is regarding a function who is not assumed to be continuous on the entire space, and comparing it to one that is continuous on the entire space. So the main example is not countering your original result
$endgroup$
Define $f(x)=1/x$ like you did, and assume you can find a continuous extension $g : mathbbRtomathbbR$. Well this $g $ takes a real numbered value at $0$, namely $-infty < g (0) < infty $, and it agrees with $f $ at non-zero values.
One definition of continuity is that given a net of points in $X $ converging to $x_0$ and a function $g $, then the images converge to $g(x_0) $. Since $mathbbR$ is a metric space, we can use sequences instead of nets. But given a sequence of real numbers $(x_n )_n=1^infty $ converging to $0$, the sequence $(g (x_n))_n=1^infty $ converges to either positive or negative $infty $. So it does not converge to $g (0) $. So $g $ is not continuous
BTW regarding your question on the results you proved. You proved a result about two functions that were continuous on the entire space, who agree on a dense subset. But the main question of your post is regarding a function who is not assumed to be continuous on the entire space, and comparing it to one that is continuous on the entire space. So the main example is not countering your original result
edited Apr 7 at 2:42
answered Apr 7 at 2:36
NazimJNazimJ
880110
880110
add a comment |
add a comment |
$begingroup$
Using sequences is the easiest way to go, but for a more "topological" proof, to show that no extension of $f$ is continuous at $x=0,$ we suppose there is one (we still call it $f$ for convenience), and we show that there is an $epsilon>0$ so that for any $delta >0$, there is an $xin (-delta,delta$), such that$f(x)>f(0)+epsilon$ (or that $f(x)<f(0)-epsilon$). Let's do the former.
Now, drawing a picture will make the following obvious:
Take $epsilon=1.$ Then, if $f(0)+1le 0$, then $textany xin (0,delta)$ will do because $f(x)=1/x>0.$
If $f(0)+1> 0$, all we need do is choose $x$ small enough so that $f(x)=1/x>f(0)+1,$ which is to say, choose $x<mindelta, frac1f(0)+1$
$endgroup$
add a comment |
$begingroup$
Using sequences is the easiest way to go, but for a more "topological" proof, to show that no extension of $f$ is continuous at $x=0,$ we suppose there is one (we still call it $f$ for convenience), and we show that there is an $epsilon>0$ so that for any $delta >0$, there is an $xin (-delta,delta$), such that$f(x)>f(0)+epsilon$ (or that $f(x)<f(0)-epsilon$). Let's do the former.
Now, drawing a picture will make the following obvious:
Take $epsilon=1.$ Then, if $f(0)+1le 0$, then $textany xin (0,delta)$ will do because $f(x)=1/x>0.$
If $f(0)+1> 0$, all we need do is choose $x$ small enough so that $f(x)=1/x>f(0)+1,$ which is to say, choose $x<mindelta, frac1f(0)+1$
$endgroup$
add a comment |
$begingroup$
Using sequences is the easiest way to go, but for a more "topological" proof, to show that no extension of $f$ is continuous at $x=0,$ we suppose there is one (we still call it $f$ for convenience), and we show that there is an $epsilon>0$ so that for any $delta >0$, there is an $xin (-delta,delta$), such that$f(x)>f(0)+epsilon$ (or that $f(x)<f(0)-epsilon$). Let's do the former.
Now, drawing a picture will make the following obvious:
Take $epsilon=1.$ Then, if $f(0)+1le 0$, then $textany xin (0,delta)$ will do because $f(x)=1/x>0.$
If $f(0)+1> 0$, all we need do is choose $x$ small enough so that $f(x)=1/x>f(0)+1,$ which is to say, choose $x<mindelta, frac1f(0)+1$
$endgroup$
Using sequences is the easiest way to go, but for a more "topological" proof, to show that no extension of $f$ is continuous at $x=0,$ we suppose there is one (we still call it $f$ for convenience), and we show that there is an $epsilon>0$ so that for any $delta >0$, there is an $xin (-delta,delta$), such that$f(x)>f(0)+epsilon$ (or that $f(x)<f(0)-epsilon$). Let's do the former.
Now, drawing a picture will make the following obvious:
Take $epsilon=1.$ Then, if $f(0)+1le 0$, then $textany xin (0,delta)$ will do because $f(x)=1/x>0.$
If $f(0)+1> 0$, all we need do is choose $x$ small enough so that $f(x)=1/x>f(0)+1,$ which is to say, choose $x<mindelta, frac1f(0)+1$
answered Apr 7 at 3:24
MatematletaMatematleta
12.1k21020
12.1k21020
add a comment |
add a comment |
$begingroup$
Another reason: continuous in the whole line implies locally bounded near every point.
And another counterexample based in a different idea: $Bbb Q$ is dense in $Bbb R$ with the usual topology. The function
$$f:Bbb QlongrightarrowBbb R$$
$$
f(x) =
begincases
0:& x < sqrt2,\
1:& x > sqrt2,
endcases
$$
is continuous (check it) and can't be extended continuously to $Bbb R$.
$endgroup$
add a comment |
$begingroup$
Another reason: continuous in the whole line implies locally bounded near every point.
And another counterexample based in a different idea: $Bbb Q$ is dense in $Bbb R$ with the usual topology. The function
$$f:Bbb QlongrightarrowBbb R$$
$$
f(x) =
begincases
0:& x < sqrt2,\
1:& x > sqrt2,
endcases
$$
is continuous (check it) and can't be extended continuously to $Bbb R$.
$endgroup$
add a comment |
$begingroup$
Another reason: continuous in the whole line implies locally bounded near every point.
And another counterexample based in a different idea: $Bbb Q$ is dense in $Bbb R$ with the usual topology. The function
$$f:Bbb QlongrightarrowBbb R$$
$$
f(x) =
begincases
0:& x < sqrt2,\
1:& x > sqrt2,
endcases
$$
is continuous (check it) and can't be extended continuously to $Bbb R$.
$endgroup$
Another reason: continuous in the whole line implies locally bounded near every point.
And another counterexample based in a different idea: $Bbb Q$ is dense in $Bbb R$ with the usual topology. The function
$$f:Bbb QlongrightarrowBbb R$$
$$
f(x) =
begincases
0:& x < sqrt2,\
1:& x > sqrt2,
endcases
$$
is continuous (check it) and can't be extended continuously to $Bbb R$.
edited Apr 7 at 8:24
answered Apr 7 at 5:15
Martín-Blas Pérez PinillaMartín-Blas Pérez Pinilla
35.5k42972
35.5k42972
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%2f3177651%2fexample-of-a-continuous-function-that-dont-have-a-continuous-extension%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
1
$begingroup$
The open intervals form a basis for topology on the real line. A set is open if and only if it contains an open interval around each of these points. Using this definition of open sets you can show that the two different definitions of continuity are actually the same in this case. So you're example will work. And to show it will work you can show it using the usual definition of continuity you're used to in the real numbers.
$endgroup$
– Melody
Apr 7 at 2:09