Is this function continuous everywhere or at 1 point only?
$begingroup$
Problem:
let $f:[0,1]rightarrow R$ be defined by
$f(x) = left{
begin{array}{lr}
2x-1 & : x notin mathbb{Q}\
x^2 & : x in mathbb{Q}
end{array}
right.$
Determine the points where $f$ is continuous
Solution:
I think this is continuous either everywhere or only at $x=1$.
Any ball of radius $delta$ around any point $x$ contains both irrational and rational numbers.
thus there are only 3 cases:
$|f(x)-f(y)|$ S.T. $xin Q, ynotin Q$
$|f(x)-f(y)|$ S.T. $xin Q, yin Q$
$|f(x)-f(y)|$ S.T. $xnotin Q, ynotin Q$
In each of these cases we have :
$|2x-1-x^2|=|(-x+1)(x-1)|\
|x^2-x^2|=|0|\
|2x-1-(2x-1)|=|0|$
Since any ball around any $x$ contains both rationals and irrationals, we have to look at case $1$. In this case, $forall x,y in B_delta(x)$, if $x=1$ then this is continuous, because $forall epsilon >0$, $|f(x)-f(y)|rightarrow |0|=0 < epsilon$
But is it continuous everywhere? Because this function, $|-x^2+2x-1|$ will grow monotonically as a function of $x$. Therefore, for whatever $epsilon$, cant one find a $delta$ where $|-x^2+2x-1|<epsilon$ if $|x-y|<delta$
Choose $x^2<epsilon$, so am I right that it is continuous everywhere?
real-analysis continuity
$endgroup$
add a comment |
$begingroup$
Problem:
let $f:[0,1]rightarrow R$ be defined by
$f(x) = left{
begin{array}{lr}
2x-1 & : x notin mathbb{Q}\
x^2 & : x in mathbb{Q}
end{array}
right.$
Determine the points where $f$ is continuous
Solution:
I think this is continuous either everywhere or only at $x=1$.
Any ball of radius $delta$ around any point $x$ contains both irrational and rational numbers.
thus there are only 3 cases:
$|f(x)-f(y)|$ S.T. $xin Q, ynotin Q$
$|f(x)-f(y)|$ S.T. $xin Q, yin Q$
$|f(x)-f(y)|$ S.T. $xnotin Q, ynotin Q$
In each of these cases we have :
$|2x-1-x^2|=|(-x+1)(x-1)|\
|x^2-x^2|=|0|\
|2x-1-(2x-1)|=|0|$
Since any ball around any $x$ contains both rationals and irrationals, we have to look at case $1$. In this case, $forall x,y in B_delta(x)$, if $x=1$ then this is continuous, because $forall epsilon >0$, $|f(x)-f(y)|rightarrow |0|=0 < epsilon$
But is it continuous everywhere? Because this function, $|-x^2+2x-1|$ will grow monotonically as a function of $x$. Therefore, for whatever $epsilon$, cant one find a $delta$ where $|-x^2+2x-1|<epsilon$ if $|x-y|<delta$
Choose $x^2<epsilon$, so am I right that it is continuous everywhere?
real-analysis continuity
$endgroup$
add a comment |
$begingroup$
Problem:
let $f:[0,1]rightarrow R$ be defined by
$f(x) = left{
begin{array}{lr}
2x-1 & : x notin mathbb{Q}\
x^2 & : x in mathbb{Q}
end{array}
right.$
Determine the points where $f$ is continuous
Solution:
I think this is continuous either everywhere or only at $x=1$.
Any ball of radius $delta$ around any point $x$ contains both irrational and rational numbers.
thus there are only 3 cases:
$|f(x)-f(y)|$ S.T. $xin Q, ynotin Q$
$|f(x)-f(y)|$ S.T. $xin Q, yin Q$
$|f(x)-f(y)|$ S.T. $xnotin Q, ynotin Q$
In each of these cases we have :
$|2x-1-x^2|=|(-x+1)(x-1)|\
|x^2-x^2|=|0|\
|2x-1-(2x-1)|=|0|$
Since any ball around any $x$ contains both rationals and irrationals, we have to look at case $1$. In this case, $forall x,y in B_delta(x)$, if $x=1$ then this is continuous, because $forall epsilon >0$, $|f(x)-f(y)|rightarrow |0|=0 < epsilon$
But is it continuous everywhere? Because this function, $|-x^2+2x-1|$ will grow monotonically as a function of $x$. Therefore, for whatever $epsilon$, cant one find a $delta$ where $|-x^2+2x-1|<epsilon$ if $|x-y|<delta$
Choose $x^2<epsilon$, so am I right that it is continuous everywhere?
real-analysis continuity
$endgroup$
Problem:
let $f:[0,1]rightarrow R$ be defined by
$f(x) = left{
begin{array}{lr}
2x-1 & : x notin mathbb{Q}\
x^2 & : x in mathbb{Q}
end{array}
right.$
Determine the points where $f$ is continuous
Solution:
I think this is continuous either everywhere or only at $x=1$.
Any ball of radius $delta$ around any point $x$ contains both irrational and rational numbers.
thus there are only 3 cases:
$|f(x)-f(y)|$ S.T. $xin Q, ynotin Q$
$|f(x)-f(y)|$ S.T. $xin Q, yin Q$
$|f(x)-f(y)|$ S.T. $xnotin Q, ynotin Q$
In each of these cases we have :
$|2x-1-x^2|=|(-x+1)(x-1)|\
|x^2-x^2|=|0|\
|2x-1-(2x-1)|=|0|$
Since any ball around any $x$ contains both rationals and irrationals, we have to look at case $1$. In this case, $forall x,y in B_delta(x)$, if $x=1$ then this is continuous, because $forall epsilon >0$, $|f(x)-f(y)|rightarrow |0|=0 < epsilon$
But is it continuous everywhere? Because this function, $|-x^2+2x-1|$ will grow monotonically as a function of $x$. Therefore, for whatever $epsilon$, cant one find a $delta$ where $|-x^2+2x-1|<epsilon$ if $|x-y|<delta$
Choose $x^2<epsilon$, so am I right that it is continuous everywhere?
real-analysis continuity
real-analysis continuity
edited Dec 12 '18 at 6:41
José Carlos Santos
163k22130233
163k22130233
asked Dec 11 '18 at 22:15
FrankFrank
16210
16210
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
No. That function is continuous at $1$ and only there. If $aneq 1$, $f$ is discontinuous at $a$ because:
- if $ainmathbb Q$ you take a sequence $(a_n)_{ninmathbb N}$ of irrational numbers converging to $a$, and then $lim_{ntoinfty}f(a_n)=2a-1neq a^2=f(a)$;
- if $anotinmathbb Q$ you take a sequence $(a_n)_{ninmathbb N}$ of rational numbers converging to $a$, and then $lim_{ntoinfty}f(a_n)=a^2neq 2a-1=f(a)$.
$endgroup$
add a comment |
$begingroup$
In addition to the correct answer by José Carlos Santos, let me tell you where you went wrong, so you don't make the same mistake(s) next time.
Considering the cases is OK, but you are missing case 4: $x not in Q, y in Q$.
First mistake is that suddenly when you discuss those cases, all traces of $y$ are gone. In case 3, the inequality should have been $|x^2-y^2|<epsilon$, for the other cases that applies similiarly.
Then, because of your incorrect handling above, cases 2) and 3) become (incorrectly) trivially 'continuous'. But case 1 only is 'small' for $x=1$.
Then you make the next, bigger mistake: You think you can choose $x$ as you want. That's not true, you started the whole argument with "Any ball of radius $delta$ around any point $xldots$". If you now 'choose $x$', whatever you wrote will only be true for that $x$ you chose, and not for any $x$.
The third mistake is that your choice of $x^2 < epsilon$ is not even correct, as that implies $|x|$ is small, which implies that $|-x^2+2x|$ is small, which implies that $|-x^2+2x-1|$ is very near to $1$, which makes it 'not small'.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
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%2f3035909%2fis-this-function-continuous-everywhere-or-at-1-point-only%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$
No. That function is continuous at $1$ and only there. If $aneq 1$, $f$ is discontinuous at $a$ because:
- if $ainmathbb Q$ you take a sequence $(a_n)_{ninmathbb N}$ of irrational numbers converging to $a$, and then $lim_{ntoinfty}f(a_n)=2a-1neq a^2=f(a)$;
- if $anotinmathbb Q$ you take a sequence $(a_n)_{ninmathbb N}$ of rational numbers converging to $a$, and then $lim_{ntoinfty}f(a_n)=a^2neq 2a-1=f(a)$.
$endgroup$
add a comment |
$begingroup$
No. That function is continuous at $1$ and only there. If $aneq 1$, $f$ is discontinuous at $a$ because:
- if $ainmathbb Q$ you take a sequence $(a_n)_{ninmathbb N}$ of irrational numbers converging to $a$, and then $lim_{ntoinfty}f(a_n)=2a-1neq a^2=f(a)$;
- if $anotinmathbb Q$ you take a sequence $(a_n)_{ninmathbb N}$ of rational numbers converging to $a$, and then $lim_{ntoinfty}f(a_n)=a^2neq 2a-1=f(a)$.
$endgroup$
add a comment |
$begingroup$
No. That function is continuous at $1$ and only there. If $aneq 1$, $f$ is discontinuous at $a$ because:
- if $ainmathbb Q$ you take a sequence $(a_n)_{ninmathbb N}$ of irrational numbers converging to $a$, and then $lim_{ntoinfty}f(a_n)=2a-1neq a^2=f(a)$;
- if $anotinmathbb Q$ you take a sequence $(a_n)_{ninmathbb N}$ of rational numbers converging to $a$, and then $lim_{ntoinfty}f(a_n)=a^2neq 2a-1=f(a)$.
$endgroup$
No. That function is continuous at $1$ and only there. If $aneq 1$, $f$ is discontinuous at $a$ because:
- if $ainmathbb Q$ you take a sequence $(a_n)_{ninmathbb N}$ of irrational numbers converging to $a$, and then $lim_{ntoinfty}f(a_n)=2a-1neq a^2=f(a)$;
- if $anotinmathbb Q$ you take a sequence $(a_n)_{ninmathbb N}$ of rational numbers converging to $a$, and then $lim_{ntoinfty}f(a_n)=a^2neq 2a-1=f(a)$.
answered Dec 11 '18 at 22:19
José Carlos SantosJosé Carlos Santos
163k22130233
163k22130233
add a comment |
add a comment |
$begingroup$
In addition to the correct answer by José Carlos Santos, let me tell you where you went wrong, so you don't make the same mistake(s) next time.
Considering the cases is OK, but you are missing case 4: $x not in Q, y in Q$.
First mistake is that suddenly when you discuss those cases, all traces of $y$ are gone. In case 3, the inequality should have been $|x^2-y^2|<epsilon$, for the other cases that applies similiarly.
Then, because of your incorrect handling above, cases 2) and 3) become (incorrectly) trivially 'continuous'. But case 1 only is 'small' for $x=1$.
Then you make the next, bigger mistake: You think you can choose $x$ as you want. That's not true, you started the whole argument with "Any ball of radius $delta$ around any point $xldots$". If you now 'choose $x$', whatever you wrote will only be true for that $x$ you chose, and not for any $x$.
The third mistake is that your choice of $x^2 < epsilon$ is not even correct, as that implies $|x|$ is small, which implies that $|-x^2+2x|$ is small, which implies that $|-x^2+2x-1|$ is very near to $1$, which makes it 'not small'.
$endgroup$
add a comment |
$begingroup$
In addition to the correct answer by José Carlos Santos, let me tell you where you went wrong, so you don't make the same mistake(s) next time.
Considering the cases is OK, but you are missing case 4: $x not in Q, y in Q$.
First mistake is that suddenly when you discuss those cases, all traces of $y$ are gone. In case 3, the inequality should have been $|x^2-y^2|<epsilon$, for the other cases that applies similiarly.
Then, because of your incorrect handling above, cases 2) and 3) become (incorrectly) trivially 'continuous'. But case 1 only is 'small' for $x=1$.
Then you make the next, bigger mistake: You think you can choose $x$ as you want. That's not true, you started the whole argument with "Any ball of radius $delta$ around any point $xldots$". If you now 'choose $x$', whatever you wrote will only be true for that $x$ you chose, and not for any $x$.
The third mistake is that your choice of $x^2 < epsilon$ is not even correct, as that implies $|x|$ is small, which implies that $|-x^2+2x|$ is small, which implies that $|-x^2+2x-1|$ is very near to $1$, which makes it 'not small'.
$endgroup$
add a comment |
$begingroup$
In addition to the correct answer by José Carlos Santos, let me tell you where you went wrong, so you don't make the same mistake(s) next time.
Considering the cases is OK, but you are missing case 4: $x not in Q, y in Q$.
First mistake is that suddenly when you discuss those cases, all traces of $y$ are gone. In case 3, the inequality should have been $|x^2-y^2|<epsilon$, for the other cases that applies similiarly.
Then, because of your incorrect handling above, cases 2) and 3) become (incorrectly) trivially 'continuous'. But case 1 only is 'small' for $x=1$.
Then you make the next, bigger mistake: You think you can choose $x$ as you want. That's not true, you started the whole argument with "Any ball of radius $delta$ around any point $xldots$". If you now 'choose $x$', whatever you wrote will only be true for that $x$ you chose, and not for any $x$.
The third mistake is that your choice of $x^2 < epsilon$ is not even correct, as that implies $|x|$ is small, which implies that $|-x^2+2x|$ is small, which implies that $|-x^2+2x-1|$ is very near to $1$, which makes it 'not small'.
$endgroup$
In addition to the correct answer by José Carlos Santos, let me tell you where you went wrong, so you don't make the same mistake(s) next time.
Considering the cases is OK, but you are missing case 4: $x not in Q, y in Q$.
First mistake is that suddenly when you discuss those cases, all traces of $y$ are gone. In case 3, the inequality should have been $|x^2-y^2|<epsilon$, for the other cases that applies similiarly.
Then, because of your incorrect handling above, cases 2) and 3) become (incorrectly) trivially 'continuous'. But case 1 only is 'small' for $x=1$.
Then you make the next, bigger mistake: You think you can choose $x$ as you want. That's not true, you started the whole argument with "Any ball of radius $delta$ around any point $xldots$". If you now 'choose $x$', whatever you wrote will only be true for that $x$ you chose, and not for any $x$.
The third mistake is that your choice of $x^2 < epsilon$ is not even correct, as that implies $|x|$ is small, which implies that $|-x^2+2x|$ is small, which implies that $|-x^2+2x-1|$ is very near to $1$, which makes it 'not small'.
answered Dec 12 '18 at 0:03
IngixIngix
4,457159
4,457159
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%2f3035909%2fis-this-function-continuous-everywhere-or-at-1-point-only%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