Continuous function on $mathbb{Q}$
$begingroup$
Let $f:mathbb{Q}tomathbb{R}$ be a function defined as:
$$f(x) =
begin{cases}
0 & x^2 < 2\
1 & x^2 geq 2
end{cases}
$$ Is this function continuous? How can we check the continuity around $sqrt{2}$ since it's not in $mathbb{Q}$?
calculus real-analysis continuity
$endgroup$
add a comment |
$begingroup$
Let $f:mathbb{Q}tomathbb{R}$ be a function defined as:
$$f(x) =
begin{cases}
0 & x^2 < 2\
1 & x^2 geq 2
end{cases}
$$ Is this function continuous? How can we check the continuity around $sqrt{2}$ since it's not in $mathbb{Q}$?
calculus real-analysis continuity
$endgroup$
$begingroup$
Note (perhaps relevantly) that this function isn't just $mathbb{Q}mapstomathbb{R}$; it's also $mathbb{Q}mapstomathbb{Q}$ (which may be relevant for the next thing you learn using this function!).
$endgroup$
– Steven Stadnicki
Feb 13 '14 at 16:32
add a comment |
$begingroup$
Let $f:mathbb{Q}tomathbb{R}$ be a function defined as:
$$f(x) =
begin{cases}
0 & x^2 < 2\
1 & x^2 geq 2
end{cases}
$$ Is this function continuous? How can we check the continuity around $sqrt{2}$ since it's not in $mathbb{Q}$?
calculus real-analysis continuity
$endgroup$
Let $f:mathbb{Q}tomathbb{R}$ be a function defined as:
$$f(x) =
begin{cases}
0 & x^2 < 2\
1 & x^2 geq 2
end{cases}
$$ Is this function continuous? How can we check the continuity around $sqrt{2}$ since it's not in $mathbb{Q}$?
calculus real-analysis continuity
calculus real-analysis continuity
edited Feb 13 '14 at 8:20
Brian Fitzpatrick
21.1k42958
21.1k42958
asked Feb 13 '14 at 8:16
SpockSpock
950719
950719
$begingroup$
Note (perhaps relevantly) that this function isn't just $mathbb{Q}mapstomathbb{R}$; it's also $mathbb{Q}mapstomathbb{Q}$ (which may be relevant for the next thing you learn using this function!).
$endgroup$
– Steven Stadnicki
Feb 13 '14 at 16:32
add a comment |
$begingroup$
Note (perhaps relevantly) that this function isn't just $mathbb{Q}mapstomathbb{R}$; it's also $mathbb{Q}mapstomathbb{Q}$ (which may be relevant for the next thing you learn using this function!).
$endgroup$
– Steven Stadnicki
Feb 13 '14 at 16:32
$begingroup$
Note (perhaps relevantly) that this function isn't just $mathbb{Q}mapstomathbb{R}$; it's also $mathbb{Q}mapstomathbb{Q}$ (which may be relevant for the next thing you learn using this function!).
$endgroup$
– Steven Stadnicki
Feb 13 '14 at 16:32
$begingroup$
Note (perhaps relevantly) that this function isn't just $mathbb{Q}mapstomathbb{R}$; it's also $mathbb{Q}mapstomathbb{Q}$ (which may be relevant for the next thing you learn using this function!).
$endgroup$
– Steven Stadnicki
Feb 13 '14 at 16:32
add a comment |
5 Answers
5
active
oldest
votes
$begingroup$
Because $sqrt{2}$ is not in $mathbb{Q}$, you don't have to check continuity at $sqrt{2}$: it's completely irrelevant!
$endgroup$
add a comment |
$begingroup$
Hint: You are right, you need only check continuity around (i.e. nearby) $sqrt 2$, not at $sqrt 2$.
$endgroup$
add a comment |
$begingroup$
$f$ is continuous if it is continuous in every point in $mathbb Q$. You don't have to check for continuity around a point that does not exist in the domain.
Hint: for all other points, you can see that there exists a neighborhood on which $f$ is constant.
$endgroup$
add a comment |
$begingroup$
Since the image of $f$ is discrete, we need only check that the fibers of $f$ are open. But
$$
f^{-1}(0)=(-infty,sqrt{2})capmathbb Q
quadtext{and}quad
f^{-1}(1)=(sqrt{2},infty)capmathbb Q
$$
so $f$ is continuous.
$endgroup$
add a comment |
$begingroup$
Try to apply the definition of the continuity. Here's my solution.
Let $epsilon > 0$ and let $x_0 in mathbb{Q}$. Now set $delta$ := |$sqrt{2}-x_0$|. Then, clearly $delta neq 0$ and $delta >0$.
Let $x in mathbb{Q}$ such that |$x-x_0$| < $delta$
then if $x_0 > sqrt{2}$ we have $x > sqrt{2}$ and so $f(x)=1=f(x_0)$
and if $x_0 < sqrt{2}$ we have $x < sqrt{2} $ and so $f(x)=0=f(x_0)$
So we have | $f(x)- f(x_0)$ | $= 0 < epsilon$
Hence $f$ is continuous in $x_0 in mathbb{Q}$ and since this calculation holds for any such $x_0 in mathbb{Q}$, we have that $f$ is continuous on $mathbb{Q}$.
$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%2f674847%2fcontinuous-function-on-mathbbq%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Because $sqrt{2}$ is not in $mathbb{Q}$, you don't have to check continuity at $sqrt{2}$: it's completely irrelevant!
$endgroup$
add a comment |
$begingroup$
Because $sqrt{2}$ is not in $mathbb{Q}$, you don't have to check continuity at $sqrt{2}$: it's completely irrelevant!
$endgroup$
add a comment |
$begingroup$
Because $sqrt{2}$ is not in $mathbb{Q}$, you don't have to check continuity at $sqrt{2}$: it's completely irrelevant!
$endgroup$
Because $sqrt{2}$ is not in $mathbb{Q}$, you don't have to check continuity at $sqrt{2}$: it's completely irrelevant!
answered Feb 13 '14 at 8:20
HurkylHurkyl
111k9119262
111k9119262
add a comment |
add a comment |
$begingroup$
Hint: You are right, you need only check continuity around (i.e. nearby) $sqrt 2$, not at $sqrt 2$.
$endgroup$
add a comment |
$begingroup$
Hint: You are right, you need only check continuity around (i.e. nearby) $sqrt 2$, not at $sqrt 2$.
$endgroup$
add a comment |
$begingroup$
Hint: You are right, you need only check continuity around (i.e. nearby) $sqrt 2$, not at $sqrt 2$.
$endgroup$
Hint: You are right, you need only check continuity around (i.e. nearby) $sqrt 2$, not at $sqrt 2$.
answered Feb 13 '14 at 8:20
Hagen von EitzenHagen von Eitzen
278k23269501
278k23269501
add a comment |
add a comment |
$begingroup$
$f$ is continuous if it is continuous in every point in $mathbb Q$. You don't have to check for continuity around a point that does not exist in the domain.
Hint: for all other points, you can see that there exists a neighborhood on which $f$ is constant.
$endgroup$
add a comment |
$begingroup$
$f$ is continuous if it is continuous in every point in $mathbb Q$. You don't have to check for continuity around a point that does not exist in the domain.
Hint: for all other points, you can see that there exists a neighborhood on which $f$ is constant.
$endgroup$
add a comment |
$begingroup$
$f$ is continuous if it is continuous in every point in $mathbb Q$. You don't have to check for continuity around a point that does not exist in the domain.
Hint: for all other points, you can see that there exists a neighborhood on which $f$ is constant.
$endgroup$
$f$ is continuous if it is continuous in every point in $mathbb Q$. You don't have to check for continuity around a point that does not exist in the domain.
Hint: for all other points, you can see that there exists a neighborhood on which $f$ is constant.
answered Feb 13 '14 at 8:21
5xum5xum
90.6k394161
90.6k394161
add a comment |
add a comment |
$begingroup$
Since the image of $f$ is discrete, we need only check that the fibers of $f$ are open. But
$$
f^{-1}(0)=(-infty,sqrt{2})capmathbb Q
quadtext{and}quad
f^{-1}(1)=(sqrt{2},infty)capmathbb Q
$$
so $f$ is continuous.
$endgroup$
add a comment |
$begingroup$
Since the image of $f$ is discrete, we need only check that the fibers of $f$ are open. But
$$
f^{-1}(0)=(-infty,sqrt{2})capmathbb Q
quadtext{and}quad
f^{-1}(1)=(sqrt{2},infty)capmathbb Q
$$
so $f$ is continuous.
$endgroup$
add a comment |
$begingroup$
Since the image of $f$ is discrete, we need only check that the fibers of $f$ are open. But
$$
f^{-1}(0)=(-infty,sqrt{2})capmathbb Q
quadtext{and}quad
f^{-1}(1)=(sqrt{2},infty)capmathbb Q
$$
so $f$ is continuous.
$endgroup$
Since the image of $f$ is discrete, we need only check that the fibers of $f$ are open. But
$$
f^{-1}(0)=(-infty,sqrt{2})capmathbb Q
quadtext{and}quad
f^{-1}(1)=(sqrt{2},infty)capmathbb Q
$$
so $f$ is continuous.
edited Feb 13 '14 at 16:30
answered Feb 13 '14 at 8:31
Brian FitzpatrickBrian Fitzpatrick
21.1k42958
21.1k42958
add a comment |
add a comment |
$begingroup$
Try to apply the definition of the continuity. Here's my solution.
Let $epsilon > 0$ and let $x_0 in mathbb{Q}$. Now set $delta$ := |$sqrt{2}-x_0$|. Then, clearly $delta neq 0$ and $delta >0$.
Let $x in mathbb{Q}$ such that |$x-x_0$| < $delta$
then if $x_0 > sqrt{2}$ we have $x > sqrt{2}$ and so $f(x)=1=f(x_0)$
and if $x_0 < sqrt{2}$ we have $x < sqrt{2} $ and so $f(x)=0=f(x_0)$
So we have | $f(x)- f(x_0)$ | $= 0 < epsilon$
Hence $f$ is continuous in $x_0 in mathbb{Q}$ and since this calculation holds for any such $x_0 in mathbb{Q}$, we have that $f$ is continuous on $mathbb{Q}$.
$endgroup$
add a comment |
$begingroup$
Try to apply the definition of the continuity. Here's my solution.
Let $epsilon > 0$ and let $x_0 in mathbb{Q}$. Now set $delta$ := |$sqrt{2}-x_0$|. Then, clearly $delta neq 0$ and $delta >0$.
Let $x in mathbb{Q}$ such that |$x-x_0$| < $delta$
then if $x_0 > sqrt{2}$ we have $x > sqrt{2}$ and so $f(x)=1=f(x_0)$
and if $x_0 < sqrt{2}$ we have $x < sqrt{2} $ and so $f(x)=0=f(x_0)$
So we have | $f(x)- f(x_0)$ | $= 0 < epsilon$
Hence $f$ is continuous in $x_0 in mathbb{Q}$ and since this calculation holds for any such $x_0 in mathbb{Q}$, we have that $f$ is continuous on $mathbb{Q}$.
$endgroup$
add a comment |
$begingroup$
Try to apply the definition of the continuity. Here's my solution.
Let $epsilon > 0$ and let $x_0 in mathbb{Q}$. Now set $delta$ := |$sqrt{2}-x_0$|. Then, clearly $delta neq 0$ and $delta >0$.
Let $x in mathbb{Q}$ such that |$x-x_0$| < $delta$
then if $x_0 > sqrt{2}$ we have $x > sqrt{2}$ and so $f(x)=1=f(x_0)$
and if $x_0 < sqrt{2}$ we have $x < sqrt{2} $ and so $f(x)=0=f(x_0)$
So we have | $f(x)- f(x_0)$ | $= 0 < epsilon$
Hence $f$ is continuous in $x_0 in mathbb{Q}$ and since this calculation holds for any such $x_0 in mathbb{Q}$, we have that $f$ is continuous on $mathbb{Q}$.
$endgroup$
Try to apply the definition of the continuity. Here's my solution.
Let $epsilon > 0$ and let $x_0 in mathbb{Q}$. Now set $delta$ := |$sqrt{2}-x_0$|. Then, clearly $delta neq 0$ and $delta >0$.
Let $x in mathbb{Q}$ such that |$x-x_0$| < $delta$
then if $x_0 > sqrt{2}$ we have $x > sqrt{2}$ and so $f(x)=1=f(x_0)$
and if $x_0 < sqrt{2}$ we have $x < sqrt{2} $ and so $f(x)=0=f(x_0)$
So we have | $f(x)- f(x_0)$ | $= 0 < epsilon$
Hence $f$ is continuous in $x_0 in mathbb{Q}$ and since this calculation holds for any such $x_0 in mathbb{Q}$, we have that $f$ is continuous on $mathbb{Q}$.
answered Dec 6 '18 at 13:01
Alain.KlbtrAlain.Klbtr
827
827
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%2f674847%2fcontinuous-function-on-mathbbq%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
$begingroup$
Note (perhaps relevantly) that this function isn't just $mathbb{Q}mapstomathbb{R}$; it's also $mathbb{Q}mapstomathbb{Q}$ (which may be relevant for the next thing you learn using this function!).
$endgroup$
– Steven Stadnicki
Feb 13 '14 at 16:32