given a continuous function from $f:mathbb{Q}to mathbb{Q}$ [duplicate]












0












$begingroup$



This question already has an answer here:




  • Does every continuous map from $mathbb{Q}$ to $mathbb{Q}$ extends continuously as a map from $mathbb{R}$ to $mathbb{R}$?

    3 answers




Given a continuous function from $f:mathbb{Q}to mathbb{Q}$ there exists a continuous function $g:mathbb{R}to mathbb{R}$ such that g restricts to f on $mathbb{Q}$



I could think of one example which cannot be extended namely $f(x)=1 if x> sqrt{2} $ and $f(x)=0 if x< sqrt{2} .$



I am interested in knowing more examples. I am looking for different kind of examples other than mine. The reason why my example works because the left limit and right limit of $f$ at $sqrt{2}$ do not match. Are there different kinds of examples which exploit some other property of discontinuous functions or of totally different nature?
This gives only one example I am interested in knowing other examples and is there any clasification of such examples?










share|cite|improve this question











$endgroup$



marked as duplicate by Leucippus, Cesareo, Lord Shark the Unknown, rtybase, José Carlos Santos real-analysis
Users with the  real-analysis badge can single-handedly close real-analysis questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Feb 2 at 10:38


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • $begingroup$
    I have edited the question ffffforall, do you still think it is duplicate?
    $endgroup$
    – user345777
    Feb 1 at 21:50
















0












$begingroup$



This question already has an answer here:




  • Does every continuous map from $mathbb{Q}$ to $mathbb{Q}$ extends continuously as a map from $mathbb{R}$ to $mathbb{R}$?

    3 answers




Given a continuous function from $f:mathbb{Q}to mathbb{Q}$ there exists a continuous function $g:mathbb{R}to mathbb{R}$ such that g restricts to f on $mathbb{Q}$



I could think of one example which cannot be extended namely $f(x)=1 if x> sqrt{2} $ and $f(x)=0 if x< sqrt{2} .$



I am interested in knowing more examples. I am looking for different kind of examples other than mine. The reason why my example works because the left limit and right limit of $f$ at $sqrt{2}$ do not match. Are there different kinds of examples which exploit some other property of discontinuous functions or of totally different nature?
This gives only one example I am interested in knowing other examples and is there any clasification of such examples?










share|cite|improve this question











$endgroup$



marked as duplicate by Leucippus, Cesareo, Lord Shark the Unknown, rtybase, José Carlos Santos real-analysis
Users with the  real-analysis badge can single-handedly close real-analysis questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Feb 2 at 10:38


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • $begingroup$
    I have edited the question ffffforall, do you still think it is duplicate?
    $endgroup$
    – user345777
    Feb 1 at 21:50














0












0








0





$begingroup$



This question already has an answer here:




  • Does every continuous map from $mathbb{Q}$ to $mathbb{Q}$ extends continuously as a map from $mathbb{R}$ to $mathbb{R}$?

    3 answers




Given a continuous function from $f:mathbb{Q}to mathbb{Q}$ there exists a continuous function $g:mathbb{R}to mathbb{R}$ such that g restricts to f on $mathbb{Q}$



I could think of one example which cannot be extended namely $f(x)=1 if x> sqrt{2} $ and $f(x)=0 if x< sqrt{2} .$



I am interested in knowing more examples. I am looking for different kind of examples other than mine. The reason why my example works because the left limit and right limit of $f$ at $sqrt{2}$ do not match. Are there different kinds of examples which exploit some other property of discontinuous functions or of totally different nature?
This gives only one example I am interested in knowing other examples and is there any clasification of such examples?










share|cite|improve this question











$endgroup$





This question already has an answer here:




  • Does every continuous map from $mathbb{Q}$ to $mathbb{Q}$ extends continuously as a map from $mathbb{R}$ to $mathbb{R}$?

    3 answers




Given a continuous function from $f:mathbb{Q}to mathbb{Q}$ there exists a continuous function $g:mathbb{R}to mathbb{R}$ such that g restricts to f on $mathbb{Q}$



I could think of one example which cannot be extended namely $f(x)=1 if x> sqrt{2} $ and $f(x)=0 if x< sqrt{2} .$



I am interested in knowing more examples. I am looking for different kind of examples other than mine. The reason why my example works because the left limit and right limit of $f$ at $sqrt{2}$ do not match. Are there different kinds of examples which exploit some other property of discontinuous functions or of totally different nature?
This gives only one example I am interested in knowing other examples and is there any clasification of such examples?





This question already has an answer here:




  • Does every continuous map from $mathbb{Q}$ to $mathbb{Q}$ extends continuously as a map from $mathbb{R}$ to $mathbb{R}$?

    3 answers








real-analysis continuity examples-counterexamples






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Feb 1 at 23:42









José Carlos Santos

174k23133242




174k23133242










asked Feb 1 at 21:26









user345777user345777

432312




432312




marked as duplicate by Leucippus, Cesareo, Lord Shark the Unknown, rtybase, José Carlos Santos real-analysis
Users with the  real-analysis badge can single-handedly close real-analysis questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Feb 2 at 10:38


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Leucippus, Cesareo, Lord Shark the Unknown, rtybase, José Carlos Santos real-analysis
Users with the  real-analysis badge can single-handedly close real-analysis questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Feb 2 at 10:38


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • $begingroup$
    I have edited the question ffffforall, do you still think it is duplicate?
    $endgroup$
    – user345777
    Feb 1 at 21:50


















  • $begingroup$
    I have edited the question ffffforall, do you still think it is duplicate?
    $endgroup$
    – user345777
    Feb 1 at 21:50
















$begingroup$
I have edited the question ffffforall, do you still think it is duplicate?
$endgroup$
– user345777
Feb 1 at 21:50




$begingroup$
I have edited the question ffffforall, do you still think it is duplicate?
$endgroup$
– user345777
Feb 1 at 21:50










1 Answer
1






active

oldest

votes


















1












$begingroup$

Your example is fine. More generaly, no continuous function from $mathbb{Q}$ into itself whose range is finite and it has more than one element can be extended to a continuous function from $mathbb{R}$ to itself.



On the other hand, every uniformly continuous function from $mathbb{Q}$ into itself can be extended to a continuous function from $mathbb{R}$ to itself.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Could you please explain why every uniformly continuous function can be extended?
    $endgroup$
    – user345777
    Feb 1 at 21:45










  • $begingroup$
    I could, but there is already an answer here.
    $endgroup$
    – José Carlos Santos
    Feb 1 at 21:56


















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1












$begingroup$

Your example is fine. More generaly, no continuous function from $mathbb{Q}$ into itself whose range is finite and it has more than one element can be extended to a continuous function from $mathbb{R}$ to itself.



On the other hand, every uniformly continuous function from $mathbb{Q}$ into itself can be extended to a continuous function from $mathbb{R}$ to itself.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Could you please explain why every uniformly continuous function can be extended?
    $endgroup$
    – user345777
    Feb 1 at 21:45










  • $begingroup$
    I could, but there is already an answer here.
    $endgroup$
    – José Carlos Santos
    Feb 1 at 21:56
















1












$begingroup$

Your example is fine. More generaly, no continuous function from $mathbb{Q}$ into itself whose range is finite and it has more than one element can be extended to a continuous function from $mathbb{R}$ to itself.



On the other hand, every uniformly continuous function from $mathbb{Q}$ into itself can be extended to a continuous function from $mathbb{R}$ to itself.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Could you please explain why every uniformly continuous function can be extended?
    $endgroup$
    – user345777
    Feb 1 at 21:45










  • $begingroup$
    I could, but there is already an answer here.
    $endgroup$
    – José Carlos Santos
    Feb 1 at 21:56














1












1








1





$begingroup$

Your example is fine. More generaly, no continuous function from $mathbb{Q}$ into itself whose range is finite and it has more than one element can be extended to a continuous function from $mathbb{R}$ to itself.



On the other hand, every uniformly continuous function from $mathbb{Q}$ into itself can be extended to a continuous function from $mathbb{R}$ to itself.






share|cite|improve this answer









$endgroup$



Your example is fine. More generaly, no continuous function from $mathbb{Q}$ into itself whose range is finite and it has more than one element can be extended to a continuous function from $mathbb{R}$ to itself.



On the other hand, every uniformly continuous function from $mathbb{Q}$ into itself can be extended to a continuous function from $mathbb{R}$ to itself.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Feb 1 at 21:33









José Carlos SantosJosé Carlos Santos

174k23133242




174k23133242












  • $begingroup$
    Could you please explain why every uniformly continuous function can be extended?
    $endgroup$
    – user345777
    Feb 1 at 21:45










  • $begingroup$
    I could, but there is already an answer here.
    $endgroup$
    – José Carlos Santos
    Feb 1 at 21:56


















  • $begingroup$
    Could you please explain why every uniformly continuous function can be extended?
    $endgroup$
    – user345777
    Feb 1 at 21:45










  • $begingroup$
    I could, but there is already an answer here.
    $endgroup$
    – José Carlos Santos
    Feb 1 at 21:56
















$begingroup$
Could you please explain why every uniformly continuous function can be extended?
$endgroup$
– user345777
Feb 1 at 21:45




$begingroup$
Could you please explain why every uniformly continuous function can be extended?
$endgroup$
– user345777
Feb 1 at 21:45












$begingroup$
I could, but there is already an answer here.
$endgroup$
– José Carlos Santos
Feb 1 at 21:56




$begingroup$
I could, but there is already an answer here.
$endgroup$
– José Carlos Santos
Feb 1 at 21:56



Popular posts from this blog

MongoDB - Not Authorized To Execute Command

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

How to fix TextFormField cause rebuild widget in Flutter