Probability of a number being rationalProof that the irrational numbers are uncountableProbability and measure theoryHelp with Riemann integrationExample of $f,g: [0,1]to[0,1]$ and Riemann-integrable, but $gcirc f$ is not?Riemann Integrals and Periodic FunctionsLebesgue-integrability of piecewise function with random variableHow to show the following function is Riemann IntegrableExamine if a piecewise-defined function is Riemann integrableProving piecewise function is not Riemann integrableWhy this function is not Riemann integrable on $[0, 1]$Computation of Riemann integral
Why is Robin Hood French in Shrek?
Make a haystack (with a needle)
What happened to the SEV instruction on the 6502?
Do European politicians typically put their pronouns on their social media pages?
What are modes in real world?
My professor has no direction
Logical Fallacies: When proving the claim requires the assertion of the claim
My cat gets angry and scared at me if I stand
Can the Infinity Stones be destroyed?
Trying to draw a circle with nodes
How do journals gain and lose reputation?
Number Equation Matrix
What elements would be created in a star composed entirely of gold?
Plain Hunt Bell-Ringing
How do I get softer pictures in sunlight, like in this commercial?
At what point can you walk out of a restaurant if they make you wait to pay the bill?
How are astronauts in the ISS protected from electric shock?
How can I sell my shares in a privately-owned company I used to be employed by?
Why do some web servers still provide information on vendor and version in the HTTP response headers
What could an alternative human-powered transportation method look like?
Wood glue versus epoxy for doweling stripped screw holes
Is there a high level reason why the inverse square law of gravitation yields periodic orbits without precession?
What's the short and accented note at the very end of a song called?
What does exhaust smell on oil and transmission dipstick mean?
Probability of a number being rational
Proof that the irrational numbers are uncountableProbability and measure theoryHelp with Riemann integrationExample of $f,g: [0,1]to[0,1]$ and Riemann-integrable, but $gcirc f$ is not?Riemann Integrals and Periodic FunctionsLebesgue-integrability of piecewise function with random variableHow to show the following function is Riemann IntegrableExamine if a piecewise-defined function is Riemann integrableProving piecewise function is not Riemann integrableWhy this function is not Riemann integrable on $[0, 1]$Computation of Riemann integral
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
.everyonelovesstackoverflowposition:absolute;height:1px;width:1px;opacity:0;top:0;left:0;pointer-events:none;
$begingroup$
If $x in [0, 1]$, what is $textP(xin mathbb Q)$?
In other words, what is the probability that $x$ is rational?
This is what I tried:
$$beginarrayrcltextP(x in mathbb Q) &=& displaystyle int^1_0 f(x),dx
endarray$$
where
$$f(x) = begincases1, & x in mathbb Q\0, & xnotinmathbb Qendcases$$
However, the function is not Riemann-integrable.
I want to try comparing the cardinalities of the rational set and the irrational set by using a one-to-one mapping between the two sets. But I don't have idea how I can do it. Can anyone give a hint?
probability integration elementary-set-theory rational-numbers
$endgroup$
add a comment
|
$begingroup$
If $x in [0, 1]$, what is $textP(xin mathbb Q)$?
In other words, what is the probability that $x$ is rational?
This is what I tried:
$$beginarrayrcltextP(x in mathbb Q) &=& displaystyle int^1_0 f(x),dx
endarray$$
where
$$f(x) = begincases1, & x in mathbb Q\0, & xnotinmathbb Qendcases$$
However, the function is not Riemann-integrable.
I want to try comparing the cardinalities of the rational set and the irrational set by using a one-to-one mapping between the two sets. But I don't have idea how I can do it. Can anyone give a hint?
probability integration elementary-set-theory rational-numbers
$endgroup$
add a comment
|
$begingroup$
If $x in [0, 1]$, what is $textP(xin mathbb Q)$?
In other words, what is the probability that $x$ is rational?
This is what I tried:
$$beginarrayrcltextP(x in mathbb Q) &=& displaystyle int^1_0 f(x),dx
endarray$$
where
$$f(x) = begincases1, & x in mathbb Q\0, & xnotinmathbb Qendcases$$
However, the function is not Riemann-integrable.
I want to try comparing the cardinalities of the rational set and the irrational set by using a one-to-one mapping between the two sets. But I don't have idea how I can do it. Can anyone give a hint?
probability integration elementary-set-theory rational-numbers
$endgroup$
If $x in [0, 1]$, what is $textP(xin mathbb Q)$?
In other words, what is the probability that $x$ is rational?
This is what I tried:
$$beginarrayrcltextP(x in mathbb Q) &=& displaystyle int^1_0 f(x),dx
endarray$$
where
$$f(x) = begincases1, & x in mathbb Q\0, & xnotinmathbb Qendcases$$
However, the function is not Riemann-integrable.
I want to try comparing the cardinalities of the rational set and the irrational set by using a one-to-one mapping between the two sets. But I don't have idea how I can do it. Can anyone give a hint?
probability integration elementary-set-theory rational-numbers
probability integration elementary-set-theory rational-numbers
edited Oct 13 at 13:12
Rodrigo de Azevedo
13.8k4 gold badges23 silver badges68 bronze badges
13.8k4 gold badges23 silver badges68 bronze badges
asked Oct 12 at 7:27
Max WongMax Wong
35811 bronze badges
35811 bronze badges
add a comment
|
add a comment
|
3 Answers
3
active
oldest
votes
$begingroup$
The function $f$ is indeed not Riemann-integrable, but it is Lebesgue-integrable. And its integral is $0$. Therefore, the answer is $0$. That is natural, since $mathbb Qcap[0,1]$ is countable, whereas $[0,1]$ is uncountable. It follows that there is no bijection between $mathbb Qcap[0,1]$ and $[0,1]setminusmathbb Q$.
$endgroup$
$begingroup$
What is the relation between a probability function and integration?
$endgroup$
– Cantor
Oct 12 at 17:23
4
$begingroup$
Probability theory is very much connected to measure theory. An we can compute the measure of a set by computing the integral of its characteristic function.
$endgroup$
– José Carlos Santos
Oct 12 at 17:29
$begingroup$
Thank you very much Dr. Santos. I'll inquire further on the subject. Can you recommend an article or book on the matter?
$endgroup$
– Cantor
Oct 12 at 17:31
2
$begingroup$
I think that this question and its answers are a good starting point.
$endgroup$
– José Carlos Santos
Oct 12 at 17:35
add a comment
|
$begingroup$
This answer might miss the real goal, but is inspired by the tag "probability".
In your question it is not explicitly mentioned how probability $P$ is defined.
So actually the question: "what is the probability that $x$ is rational?" makes no sense in this context.
Your try indicates that you are thinking of uniform distribution on interval $[0,1]$ where: $$P(B):=lambda(Bcap[0,1])$$ for every Borel set and $lambda$ denotes the Lebesgue measure on the $sigma$-algebra of Borel sets $Bsubseteqmathbb R$.
It is well known that $lambda(x)=0$ for any $xinmathbb R$ and consequently we have $lambda(S)=sum_xin Slambda(x)=0$ for every countable set, and of course $mathbb Q$ is countable.
So under uniform distribution on $[0,1]$ we have $P(mathbb Q)=0$.
In probability theory Riemann-integrability is (as far as I know) not practicized.
Notation $P(xin mathbb Q)$ only makes sense if $x$ denotes a random variable here.
So your problem setting: "if $xin[0,1]$ then what is $P(xinmathbb Q)$?" is not okay.
$endgroup$
add a comment
|
$begingroup$
I want to try comparing the cardinalities of the rational set and the irrational set by using a one-to-one mapping between the two sets
You can't. The set of rationals is countable. The set of irrationals is uncountable (see Proof that the irrational numbers are uncountable). Cantor proved by diagonalization that such that mapping cannot exist.
$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/4.0/"u003ecc by-sa 4.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%2f3390443%2fprobability-of-a-number-being-rational%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$
The function $f$ is indeed not Riemann-integrable, but it is Lebesgue-integrable. And its integral is $0$. Therefore, the answer is $0$. That is natural, since $mathbb Qcap[0,1]$ is countable, whereas $[0,1]$ is uncountable. It follows that there is no bijection between $mathbb Qcap[0,1]$ and $[0,1]setminusmathbb Q$.
$endgroup$
$begingroup$
What is the relation between a probability function and integration?
$endgroup$
– Cantor
Oct 12 at 17:23
4
$begingroup$
Probability theory is very much connected to measure theory. An we can compute the measure of a set by computing the integral of its characteristic function.
$endgroup$
– José Carlos Santos
Oct 12 at 17:29
$begingroup$
Thank you very much Dr. Santos. I'll inquire further on the subject. Can you recommend an article or book on the matter?
$endgroup$
– Cantor
Oct 12 at 17:31
2
$begingroup$
I think that this question and its answers are a good starting point.
$endgroup$
– José Carlos Santos
Oct 12 at 17:35
add a comment
|
$begingroup$
The function $f$ is indeed not Riemann-integrable, but it is Lebesgue-integrable. And its integral is $0$. Therefore, the answer is $0$. That is natural, since $mathbb Qcap[0,1]$ is countable, whereas $[0,1]$ is uncountable. It follows that there is no bijection between $mathbb Qcap[0,1]$ and $[0,1]setminusmathbb Q$.
$endgroup$
$begingroup$
What is the relation between a probability function and integration?
$endgroup$
– Cantor
Oct 12 at 17:23
4
$begingroup$
Probability theory is very much connected to measure theory. An we can compute the measure of a set by computing the integral of its characteristic function.
$endgroup$
– José Carlos Santos
Oct 12 at 17:29
$begingroup$
Thank you very much Dr. Santos. I'll inquire further on the subject. Can you recommend an article or book on the matter?
$endgroup$
– Cantor
Oct 12 at 17:31
2
$begingroup$
I think that this question and its answers are a good starting point.
$endgroup$
– José Carlos Santos
Oct 12 at 17:35
add a comment
|
$begingroup$
The function $f$ is indeed not Riemann-integrable, but it is Lebesgue-integrable. And its integral is $0$. Therefore, the answer is $0$. That is natural, since $mathbb Qcap[0,1]$ is countable, whereas $[0,1]$ is uncountable. It follows that there is no bijection between $mathbb Qcap[0,1]$ and $[0,1]setminusmathbb Q$.
$endgroup$
The function $f$ is indeed not Riemann-integrable, but it is Lebesgue-integrable. And its integral is $0$. Therefore, the answer is $0$. That is natural, since $mathbb Qcap[0,1]$ is countable, whereas $[0,1]$ is uncountable. It follows that there is no bijection between $mathbb Qcap[0,1]$ and $[0,1]setminusmathbb Q$.
edited Oct 12 at 7:33
Thomas Shelby
6,8193 gold badges12 silver badges33 bronze badges
6,8193 gold badges12 silver badges33 bronze badges
answered Oct 12 at 7:31
José Carlos SantosJosé Carlos Santos
222k27 gold badges172 silver badges298 bronze badges
222k27 gold badges172 silver badges298 bronze badges
$begingroup$
What is the relation between a probability function and integration?
$endgroup$
– Cantor
Oct 12 at 17:23
4
$begingroup$
Probability theory is very much connected to measure theory. An we can compute the measure of a set by computing the integral of its characteristic function.
$endgroup$
– José Carlos Santos
Oct 12 at 17:29
$begingroup$
Thank you very much Dr. Santos. I'll inquire further on the subject. Can you recommend an article or book on the matter?
$endgroup$
– Cantor
Oct 12 at 17:31
2
$begingroup$
I think that this question and its answers are a good starting point.
$endgroup$
– José Carlos Santos
Oct 12 at 17:35
add a comment
|
$begingroup$
What is the relation between a probability function and integration?
$endgroup$
– Cantor
Oct 12 at 17:23
4
$begingroup$
Probability theory is very much connected to measure theory. An we can compute the measure of a set by computing the integral of its characteristic function.
$endgroup$
– José Carlos Santos
Oct 12 at 17:29
$begingroup$
Thank you very much Dr. Santos. I'll inquire further on the subject. Can you recommend an article or book on the matter?
$endgroup$
– Cantor
Oct 12 at 17:31
2
$begingroup$
I think that this question and its answers are a good starting point.
$endgroup$
– José Carlos Santos
Oct 12 at 17:35
$begingroup$
What is the relation between a probability function and integration?
$endgroup$
– Cantor
Oct 12 at 17:23
$begingroup$
What is the relation between a probability function and integration?
$endgroup$
– Cantor
Oct 12 at 17:23
4
4
$begingroup$
Probability theory is very much connected to measure theory. An we can compute the measure of a set by computing the integral of its characteristic function.
$endgroup$
– José Carlos Santos
Oct 12 at 17:29
$begingroup$
Probability theory is very much connected to measure theory. An we can compute the measure of a set by computing the integral of its characteristic function.
$endgroup$
– José Carlos Santos
Oct 12 at 17:29
$begingroup$
Thank you very much Dr. Santos. I'll inquire further on the subject. Can you recommend an article or book on the matter?
$endgroup$
– Cantor
Oct 12 at 17:31
$begingroup$
Thank you very much Dr. Santos. I'll inquire further on the subject. Can you recommend an article or book on the matter?
$endgroup$
– Cantor
Oct 12 at 17:31
2
2
$begingroup$
I think that this question and its answers are a good starting point.
$endgroup$
– José Carlos Santos
Oct 12 at 17:35
$begingroup$
I think that this question and its answers are a good starting point.
$endgroup$
– José Carlos Santos
Oct 12 at 17:35
add a comment
|
$begingroup$
This answer might miss the real goal, but is inspired by the tag "probability".
In your question it is not explicitly mentioned how probability $P$ is defined.
So actually the question: "what is the probability that $x$ is rational?" makes no sense in this context.
Your try indicates that you are thinking of uniform distribution on interval $[0,1]$ where: $$P(B):=lambda(Bcap[0,1])$$ for every Borel set and $lambda$ denotes the Lebesgue measure on the $sigma$-algebra of Borel sets $Bsubseteqmathbb R$.
It is well known that $lambda(x)=0$ for any $xinmathbb R$ and consequently we have $lambda(S)=sum_xin Slambda(x)=0$ for every countable set, and of course $mathbb Q$ is countable.
So under uniform distribution on $[0,1]$ we have $P(mathbb Q)=0$.
In probability theory Riemann-integrability is (as far as I know) not practicized.
Notation $P(xin mathbb Q)$ only makes sense if $x$ denotes a random variable here.
So your problem setting: "if $xin[0,1]$ then what is $P(xinmathbb Q)$?" is not okay.
$endgroup$
add a comment
|
$begingroup$
This answer might miss the real goal, but is inspired by the tag "probability".
In your question it is not explicitly mentioned how probability $P$ is defined.
So actually the question: "what is the probability that $x$ is rational?" makes no sense in this context.
Your try indicates that you are thinking of uniform distribution on interval $[0,1]$ where: $$P(B):=lambda(Bcap[0,1])$$ for every Borel set and $lambda$ denotes the Lebesgue measure on the $sigma$-algebra of Borel sets $Bsubseteqmathbb R$.
It is well known that $lambda(x)=0$ for any $xinmathbb R$ and consequently we have $lambda(S)=sum_xin Slambda(x)=0$ for every countable set, and of course $mathbb Q$ is countable.
So under uniform distribution on $[0,1]$ we have $P(mathbb Q)=0$.
In probability theory Riemann-integrability is (as far as I know) not practicized.
Notation $P(xin mathbb Q)$ only makes sense if $x$ denotes a random variable here.
So your problem setting: "if $xin[0,1]$ then what is $P(xinmathbb Q)$?" is not okay.
$endgroup$
add a comment
|
$begingroup$
This answer might miss the real goal, but is inspired by the tag "probability".
In your question it is not explicitly mentioned how probability $P$ is defined.
So actually the question: "what is the probability that $x$ is rational?" makes no sense in this context.
Your try indicates that you are thinking of uniform distribution on interval $[0,1]$ where: $$P(B):=lambda(Bcap[0,1])$$ for every Borel set and $lambda$ denotes the Lebesgue measure on the $sigma$-algebra of Borel sets $Bsubseteqmathbb R$.
It is well known that $lambda(x)=0$ for any $xinmathbb R$ and consequently we have $lambda(S)=sum_xin Slambda(x)=0$ for every countable set, and of course $mathbb Q$ is countable.
So under uniform distribution on $[0,1]$ we have $P(mathbb Q)=0$.
In probability theory Riemann-integrability is (as far as I know) not practicized.
Notation $P(xin mathbb Q)$ only makes sense if $x$ denotes a random variable here.
So your problem setting: "if $xin[0,1]$ then what is $P(xinmathbb Q)$?" is not okay.
$endgroup$
This answer might miss the real goal, but is inspired by the tag "probability".
In your question it is not explicitly mentioned how probability $P$ is defined.
So actually the question: "what is the probability that $x$ is rational?" makes no sense in this context.
Your try indicates that you are thinking of uniform distribution on interval $[0,1]$ where: $$P(B):=lambda(Bcap[0,1])$$ for every Borel set and $lambda$ denotes the Lebesgue measure on the $sigma$-algebra of Borel sets $Bsubseteqmathbb R$.
It is well known that $lambda(x)=0$ for any $xinmathbb R$ and consequently we have $lambda(S)=sum_xin Slambda(x)=0$ for every countable set, and of course $mathbb Q$ is countable.
So under uniform distribution on $[0,1]$ we have $P(mathbb Q)=0$.
In probability theory Riemann-integrability is (as far as I know) not practicized.
Notation $P(xin mathbb Q)$ only makes sense if $x$ denotes a random variable here.
So your problem setting: "if $xin[0,1]$ then what is $P(xinmathbb Q)$?" is not okay.
answered Oct 12 at 7:57
drhabdrhab
116k6 gold badges51 silver badges146 bronze badges
116k6 gold badges51 silver badges146 bronze badges
add a comment
|
add a comment
|
$begingroup$
I want to try comparing the cardinalities of the rational set and the irrational set by using a one-to-one mapping between the two sets
You can't. The set of rationals is countable. The set of irrationals is uncountable (see Proof that the irrational numbers are uncountable). Cantor proved by diagonalization that such that mapping cannot exist.
$endgroup$
add a comment
|
$begingroup$
I want to try comparing the cardinalities of the rational set and the irrational set by using a one-to-one mapping between the two sets
You can't. The set of rationals is countable. The set of irrationals is uncountable (see Proof that the irrational numbers are uncountable). Cantor proved by diagonalization that such that mapping cannot exist.
$endgroup$
add a comment
|
$begingroup$
I want to try comparing the cardinalities of the rational set and the irrational set by using a one-to-one mapping between the two sets
You can't. The set of rationals is countable. The set of irrationals is uncountable (see Proof that the irrational numbers are uncountable). Cantor proved by diagonalization that such that mapping cannot exist.
$endgroup$
I want to try comparing the cardinalities of the rational set and the irrational set by using a one-to-one mapping between the two sets
You can't. The set of rationals is countable. The set of irrationals is uncountable (see Proof that the irrational numbers are uncountable). Cantor proved by diagonalization that such that mapping cannot exist.
edited Oct 13 at 3:08
answered Oct 13 at 3:00
Laurence R. UgaldeLaurence R. Ugalde
1165 bronze badges
1165 bronze badges
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%2f3390443%2fprobability-of-a-number-being-rational%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