Showing $mathbb{Q} cap [a,b]$ is an open set in $mathbb{Q}$ for irrational $a$, $b$.












1












$begingroup$


I came up with this lemma (although not confident enough about it) while solving Baby Rudin. In the chapter "Basic Topology", I attempted to solve question 16, in which $mathbb{Q}$ is regarded as the metric space with the usual metric, whose subset $E$ contains rationals $p$, such that $2<p^2<3$. The question asks to show that $E$ is not compact.



I now take the family of sets $mathbb{Q} cap [- sqrt{3} +1/(n+4), sqrt{3} -1/(n+4)]$ where $n$ runs through $1$ to $infty$. Clearly, for no finite $n=m$, it can cover $E$. Hence, we are done.



But, in this process, I wanted to make sure, that the sets $mathbb{Q} cap [- sqrt{3} +1/(n+4), sqrt{3} -1/(n+4)]$ are all open in $mathbb{Q}$.



I just want you to kindly verify the validity of my approach to the problem and the lemma which follows.



LEMMA:



$mathbb{Q} cap [a,b]$ is an open set in $mathbb{Q}$, where $a$, $b$ are irrational.



Proof:



We know, the ordered set of rational numbers doesn't have the supremum property.



Hence the set $P = { t in mathbb{Q}: a < t < b}$ , although bounded, doesn't have the supremum ( and infimum) in $mathbb {Q}$. We now take a very small rational $epsilon >0$, such that $a< t -epsilon < t < t + epsilon < b$ , hence $N_{epsilon}(t) subset P$. This is the case for every $t in P$. Hence $P$ is open.



Additional Question: Can $mathbb{Q}$ alone be regarded as a discrete metric space, since any subset of it is both open and closed? [If false, please provide counterexample or arguments].



Thank you.










share|cite|improve this question









$endgroup$








  • 4




    $begingroup$
    An alternate approach: Observe that when $a$ and $b$ are irrational, $mathbb{Q}cap[a,b]=mathbb{Q}cap(a,b)$.
    $endgroup$
    – Michael Burr
    Dec 20 '18 at 15:53










  • $begingroup$
    Can you please check the proof :(
    $endgroup$
    – Subhasis Biswas
    Dec 20 '18 at 15:54






  • 1




    $begingroup$
    The converse also holds: for any $a,binBbb R$ such that $a<b$, $Bbb{Q}cap[a,b]$ is an open subset of $Bbb Q$ if and only if both $a$ and $b$ are irrational numbers.
    $endgroup$
    – user593746
    Dec 20 '18 at 15:54






  • 2




    $begingroup$
    Why is every subset of $mathbb{Q}$ both open and closed? You haven't shown that. Is ${0}$ open?
    $endgroup$
    – Michael Burr
    Dec 20 '18 at 15:54






  • 1




    $begingroup$
    Your formula for $epsilon$ should depend on $a$ and $b$. Something like $min{frac{t-a}2,...}$.
    $endgroup$
    – Michael Burr
    Dec 20 '18 at 16:03


















1












$begingroup$


I came up with this lemma (although not confident enough about it) while solving Baby Rudin. In the chapter "Basic Topology", I attempted to solve question 16, in which $mathbb{Q}$ is regarded as the metric space with the usual metric, whose subset $E$ contains rationals $p$, such that $2<p^2<3$. The question asks to show that $E$ is not compact.



I now take the family of sets $mathbb{Q} cap [- sqrt{3} +1/(n+4), sqrt{3} -1/(n+4)]$ where $n$ runs through $1$ to $infty$. Clearly, for no finite $n=m$, it can cover $E$. Hence, we are done.



But, in this process, I wanted to make sure, that the sets $mathbb{Q} cap [- sqrt{3} +1/(n+4), sqrt{3} -1/(n+4)]$ are all open in $mathbb{Q}$.



I just want you to kindly verify the validity of my approach to the problem and the lemma which follows.



LEMMA:



$mathbb{Q} cap [a,b]$ is an open set in $mathbb{Q}$, where $a$, $b$ are irrational.



Proof:



We know, the ordered set of rational numbers doesn't have the supremum property.



Hence the set $P = { t in mathbb{Q}: a < t < b}$ , although bounded, doesn't have the supremum ( and infimum) in $mathbb {Q}$. We now take a very small rational $epsilon >0$, such that $a< t -epsilon < t < t + epsilon < b$ , hence $N_{epsilon}(t) subset P$. This is the case for every $t in P$. Hence $P$ is open.



Additional Question: Can $mathbb{Q}$ alone be regarded as a discrete metric space, since any subset of it is both open and closed? [If false, please provide counterexample or arguments].



Thank you.










share|cite|improve this question









$endgroup$








  • 4




    $begingroup$
    An alternate approach: Observe that when $a$ and $b$ are irrational, $mathbb{Q}cap[a,b]=mathbb{Q}cap(a,b)$.
    $endgroup$
    – Michael Burr
    Dec 20 '18 at 15:53










  • $begingroup$
    Can you please check the proof :(
    $endgroup$
    – Subhasis Biswas
    Dec 20 '18 at 15:54






  • 1




    $begingroup$
    The converse also holds: for any $a,binBbb R$ such that $a<b$, $Bbb{Q}cap[a,b]$ is an open subset of $Bbb Q$ if and only if both $a$ and $b$ are irrational numbers.
    $endgroup$
    – user593746
    Dec 20 '18 at 15:54






  • 2




    $begingroup$
    Why is every subset of $mathbb{Q}$ both open and closed? You haven't shown that. Is ${0}$ open?
    $endgroup$
    – Michael Burr
    Dec 20 '18 at 15:54






  • 1




    $begingroup$
    Your formula for $epsilon$ should depend on $a$ and $b$. Something like $min{frac{t-a}2,...}$.
    $endgroup$
    – Michael Burr
    Dec 20 '18 at 16:03
















1












1








1





$begingroup$


I came up with this lemma (although not confident enough about it) while solving Baby Rudin. In the chapter "Basic Topology", I attempted to solve question 16, in which $mathbb{Q}$ is regarded as the metric space with the usual metric, whose subset $E$ contains rationals $p$, such that $2<p^2<3$. The question asks to show that $E$ is not compact.



I now take the family of sets $mathbb{Q} cap [- sqrt{3} +1/(n+4), sqrt{3} -1/(n+4)]$ where $n$ runs through $1$ to $infty$. Clearly, for no finite $n=m$, it can cover $E$. Hence, we are done.



But, in this process, I wanted to make sure, that the sets $mathbb{Q} cap [- sqrt{3} +1/(n+4), sqrt{3} -1/(n+4)]$ are all open in $mathbb{Q}$.



I just want you to kindly verify the validity of my approach to the problem and the lemma which follows.



LEMMA:



$mathbb{Q} cap [a,b]$ is an open set in $mathbb{Q}$, where $a$, $b$ are irrational.



Proof:



We know, the ordered set of rational numbers doesn't have the supremum property.



Hence the set $P = { t in mathbb{Q}: a < t < b}$ , although bounded, doesn't have the supremum ( and infimum) in $mathbb {Q}$. We now take a very small rational $epsilon >0$, such that $a< t -epsilon < t < t + epsilon < b$ , hence $N_{epsilon}(t) subset P$. This is the case for every $t in P$. Hence $P$ is open.



Additional Question: Can $mathbb{Q}$ alone be regarded as a discrete metric space, since any subset of it is both open and closed? [If false, please provide counterexample or arguments].



Thank you.










share|cite|improve this question









$endgroup$




I came up with this lemma (although not confident enough about it) while solving Baby Rudin. In the chapter "Basic Topology", I attempted to solve question 16, in which $mathbb{Q}$ is regarded as the metric space with the usual metric, whose subset $E$ contains rationals $p$, such that $2<p^2<3$. The question asks to show that $E$ is not compact.



I now take the family of sets $mathbb{Q} cap [- sqrt{3} +1/(n+4), sqrt{3} -1/(n+4)]$ where $n$ runs through $1$ to $infty$. Clearly, for no finite $n=m$, it can cover $E$. Hence, we are done.



But, in this process, I wanted to make sure, that the sets $mathbb{Q} cap [- sqrt{3} +1/(n+4), sqrt{3} -1/(n+4)]$ are all open in $mathbb{Q}$.



I just want you to kindly verify the validity of my approach to the problem and the lemma which follows.



LEMMA:



$mathbb{Q} cap [a,b]$ is an open set in $mathbb{Q}$, where $a$, $b$ are irrational.



Proof:



We know, the ordered set of rational numbers doesn't have the supremum property.



Hence the set $P = { t in mathbb{Q}: a < t < b}$ , although bounded, doesn't have the supremum ( and infimum) in $mathbb {Q}$. We now take a very small rational $epsilon >0$, such that $a< t -epsilon < t < t + epsilon < b$ , hence $N_{epsilon}(t) subset P$. This is the case for every $t in P$. Hence $P$ is open.



Additional Question: Can $mathbb{Q}$ alone be regarded as a discrete metric space, since any subset of it is both open and closed? [If false, please provide counterexample or arguments].



Thank you.







real-analysis proof-verification compactness real-numbers rational-numbers






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 20 '18 at 15:49









Subhasis BiswasSubhasis Biswas

508311




508311








  • 4




    $begingroup$
    An alternate approach: Observe that when $a$ and $b$ are irrational, $mathbb{Q}cap[a,b]=mathbb{Q}cap(a,b)$.
    $endgroup$
    – Michael Burr
    Dec 20 '18 at 15:53










  • $begingroup$
    Can you please check the proof :(
    $endgroup$
    – Subhasis Biswas
    Dec 20 '18 at 15:54






  • 1




    $begingroup$
    The converse also holds: for any $a,binBbb R$ such that $a<b$, $Bbb{Q}cap[a,b]$ is an open subset of $Bbb Q$ if and only if both $a$ and $b$ are irrational numbers.
    $endgroup$
    – user593746
    Dec 20 '18 at 15:54






  • 2




    $begingroup$
    Why is every subset of $mathbb{Q}$ both open and closed? You haven't shown that. Is ${0}$ open?
    $endgroup$
    – Michael Burr
    Dec 20 '18 at 15:54






  • 1




    $begingroup$
    Your formula for $epsilon$ should depend on $a$ and $b$. Something like $min{frac{t-a}2,...}$.
    $endgroup$
    – Michael Burr
    Dec 20 '18 at 16:03
















  • 4




    $begingroup$
    An alternate approach: Observe that when $a$ and $b$ are irrational, $mathbb{Q}cap[a,b]=mathbb{Q}cap(a,b)$.
    $endgroup$
    – Michael Burr
    Dec 20 '18 at 15:53










  • $begingroup$
    Can you please check the proof :(
    $endgroup$
    – Subhasis Biswas
    Dec 20 '18 at 15:54






  • 1




    $begingroup$
    The converse also holds: for any $a,binBbb R$ such that $a<b$, $Bbb{Q}cap[a,b]$ is an open subset of $Bbb Q$ if and only if both $a$ and $b$ are irrational numbers.
    $endgroup$
    – user593746
    Dec 20 '18 at 15:54






  • 2




    $begingroup$
    Why is every subset of $mathbb{Q}$ both open and closed? You haven't shown that. Is ${0}$ open?
    $endgroup$
    – Michael Burr
    Dec 20 '18 at 15:54






  • 1




    $begingroup$
    Your formula for $epsilon$ should depend on $a$ and $b$. Something like $min{frac{t-a}2,...}$.
    $endgroup$
    – Michael Burr
    Dec 20 '18 at 16:03










4




4




$begingroup$
An alternate approach: Observe that when $a$ and $b$ are irrational, $mathbb{Q}cap[a,b]=mathbb{Q}cap(a,b)$.
$endgroup$
– Michael Burr
Dec 20 '18 at 15:53




$begingroup$
An alternate approach: Observe that when $a$ and $b$ are irrational, $mathbb{Q}cap[a,b]=mathbb{Q}cap(a,b)$.
$endgroup$
– Michael Burr
Dec 20 '18 at 15:53












$begingroup$
Can you please check the proof :(
$endgroup$
– Subhasis Biswas
Dec 20 '18 at 15:54




$begingroup$
Can you please check the proof :(
$endgroup$
– Subhasis Biswas
Dec 20 '18 at 15:54




1




1




$begingroup$
The converse also holds: for any $a,binBbb R$ such that $a<b$, $Bbb{Q}cap[a,b]$ is an open subset of $Bbb Q$ if and only if both $a$ and $b$ are irrational numbers.
$endgroup$
– user593746
Dec 20 '18 at 15:54




$begingroup$
The converse also holds: for any $a,binBbb R$ such that $a<b$, $Bbb{Q}cap[a,b]$ is an open subset of $Bbb Q$ if and only if both $a$ and $b$ are irrational numbers.
$endgroup$
– user593746
Dec 20 '18 at 15:54




2




2




$begingroup$
Why is every subset of $mathbb{Q}$ both open and closed? You haven't shown that. Is ${0}$ open?
$endgroup$
– Michael Burr
Dec 20 '18 at 15:54




$begingroup$
Why is every subset of $mathbb{Q}$ both open and closed? You haven't shown that. Is ${0}$ open?
$endgroup$
– Michael Burr
Dec 20 '18 at 15:54




1




1




$begingroup$
Your formula for $epsilon$ should depend on $a$ and $b$. Something like $min{frac{t-a}2,...}$.
$endgroup$
– Michael Burr
Dec 20 '18 at 16:03






$begingroup$
Your formula for $epsilon$ should depend on $a$ and $b$. Something like $min{frac{t-a}2,...}$.
$endgroup$
– Michael Burr
Dec 20 '18 at 16:03












0






active

oldest

votes











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3047672%2fshowing-mathbbq-cap-a-b-is-an-open-set-in-mathbbq-for-irrational-a%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3047672%2fshowing-mathbbq-cap-a-b-is-an-open-set-in-mathbbq-for-irrational-a%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Aardman Animations

Are they similar matrix

“minimization” problem in Euclidean space related to orthonormal basis