What's the probability of drawing a number from [0,1]?











up vote
0
down vote

favorite












The question that I have is more or less equal to this one. However, it is slightly different, and since I wasn't able to completely follow the answer, I decided to post a new question:
So I draw two numbers from $[0,1]$ and want their sum to be greater or equal to $0.5$.



It is not stated in the question what should be the probability distribution. I assume the random variables are independent and identically distributed.



What I didn't understand from the top-rated answer to the question given in the link is the transition of the second last to the last integral:



$$int_0^1f(x)left(int_{1-x}^1f(y),mathrm dyright),mathrm dx=int_0^1f(x)big(1-F(1-x)big),mathrm dx$$



Anyways, I am pretty sure for my problem I just have to change the lower bound of the second last integral from $1-x$ to $0.5 - x$. But what would be the last transition then? I know the integral over the probability density function $f(y)$ equals the cumulative distribution function $F(y)$. But that's about where my statistical knowledge leaves me.



I appreciate any help, thx in advance!










share|cite|improve this question
























  • Do you understand that here $int_{1-x}^1f(y)dy=F(1)-F(1-x)=1-F(1-x)$?
    – drhab
    Nov 25 at 13:47










  • yeah, I think so. The first equation is just a property of the cumulative distribution function: int_{a}^{b} f(x) dx = F(b) - F(a). And F(b) = 1. So that explains this equation. But how do I continue with my problem? I would say I end up with the formula int_{0}^{1} f(x) (1-F(0.5-x)) dx, since y = 0.5-x. And what if I now assume a uniform distribution? the probability density f(x) = 1/(b-a) in the interval [a,b]. ...
    – user503842
    Nov 25 at 14:10















up vote
0
down vote

favorite












The question that I have is more or less equal to this one. However, it is slightly different, and since I wasn't able to completely follow the answer, I decided to post a new question:
So I draw two numbers from $[0,1]$ and want their sum to be greater or equal to $0.5$.



It is not stated in the question what should be the probability distribution. I assume the random variables are independent and identically distributed.



What I didn't understand from the top-rated answer to the question given in the link is the transition of the second last to the last integral:



$$int_0^1f(x)left(int_{1-x}^1f(y),mathrm dyright),mathrm dx=int_0^1f(x)big(1-F(1-x)big),mathrm dx$$



Anyways, I am pretty sure for my problem I just have to change the lower bound of the second last integral from $1-x$ to $0.5 - x$. But what would be the last transition then? I know the integral over the probability density function $f(y)$ equals the cumulative distribution function $F(y)$. But that's about where my statistical knowledge leaves me.



I appreciate any help, thx in advance!










share|cite|improve this question
























  • Do you understand that here $int_{1-x}^1f(y)dy=F(1)-F(1-x)=1-F(1-x)$?
    – drhab
    Nov 25 at 13:47










  • yeah, I think so. The first equation is just a property of the cumulative distribution function: int_{a}^{b} f(x) dx = F(b) - F(a). And F(b) = 1. So that explains this equation. But how do I continue with my problem? I would say I end up with the formula int_{0}^{1} f(x) (1-F(0.5-x)) dx, since y = 0.5-x. And what if I now assume a uniform distribution? the probability density f(x) = 1/(b-a) in the interval [a,b]. ...
    – user503842
    Nov 25 at 14:10













up vote
0
down vote

favorite









up vote
0
down vote

favorite











The question that I have is more or less equal to this one. However, it is slightly different, and since I wasn't able to completely follow the answer, I decided to post a new question:
So I draw two numbers from $[0,1]$ and want their sum to be greater or equal to $0.5$.



It is not stated in the question what should be the probability distribution. I assume the random variables are independent and identically distributed.



What I didn't understand from the top-rated answer to the question given in the link is the transition of the second last to the last integral:



$$int_0^1f(x)left(int_{1-x}^1f(y),mathrm dyright),mathrm dx=int_0^1f(x)big(1-F(1-x)big),mathrm dx$$



Anyways, I am pretty sure for my problem I just have to change the lower bound of the second last integral from $1-x$ to $0.5 - x$. But what would be the last transition then? I know the integral over the probability density function $f(y)$ equals the cumulative distribution function $F(y)$. But that's about where my statistical knowledge leaves me.



I appreciate any help, thx in advance!










share|cite|improve this question















The question that I have is more or less equal to this one. However, it is slightly different, and since I wasn't able to completely follow the answer, I decided to post a new question:
So I draw two numbers from $[0,1]$ and want their sum to be greater or equal to $0.5$.



It is not stated in the question what should be the probability distribution. I assume the random variables are independent and identically distributed.



What I didn't understand from the top-rated answer to the question given in the link is the transition of the second last to the last integral:



$$int_0^1f(x)left(int_{1-x}^1f(y),mathrm dyright),mathrm dx=int_0^1f(x)big(1-F(1-x)big),mathrm dx$$



Anyways, I am pretty sure for my problem I just have to change the lower bound of the second last integral from $1-x$ to $0.5 - x$. But what would be the last transition then? I know the integral over the probability density function $f(y)$ equals the cumulative distribution function $F(y)$. But that's about where my statistical knowledge leaves me.



I appreciate any help, thx in advance!







probability statistics






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 25 at 13:44









drhab

95.2k543126




95.2k543126










asked Nov 25 at 13:33









user503842

103




103












  • Do you understand that here $int_{1-x}^1f(y)dy=F(1)-F(1-x)=1-F(1-x)$?
    – drhab
    Nov 25 at 13:47










  • yeah, I think so. The first equation is just a property of the cumulative distribution function: int_{a}^{b} f(x) dx = F(b) - F(a). And F(b) = 1. So that explains this equation. But how do I continue with my problem? I would say I end up with the formula int_{0}^{1} f(x) (1-F(0.5-x)) dx, since y = 0.5-x. And what if I now assume a uniform distribution? the probability density f(x) = 1/(b-a) in the interval [a,b]. ...
    – user503842
    Nov 25 at 14:10


















  • Do you understand that here $int_{1-x}^1f(y)dy=F(1)-F(1-x)=1-F(1-x)$?
    – drhab
    Nov 25 at 13:47










  • yeah, I think so. The first equation is just a property of the cumulative distribution function: int_{a}^{b} f(x) dx = F(b) - F(a). And F(b) = 1. So that explains this equation. But how do I continue with my problem? I would say I end up with the formula int_{0}^{1} f(x) (1-F(0.5-x)) dx, since y = 0.5-x. And what if I now assume a uniform distribution? the probability density f(x) = 1/(b-a) in the interval [a,b]. ...
    – user503842
    Nov 25 at 14:10
















Do you understand that here $int_{1-x}^1f(y)dy=F(1)-F(1-x)=1-F(1-x)$?
– drhab
Nov 25 at 13:47




Do you understand that here $int_{1-x}^1f(y)dy=F(1)-F(1-x)=1-F(1-x)$?
– drhab
Nov 25 at 13:47












yeah, I think so. The first equation is just a property of the cumulative distribution function: int_{a}^{b} f(x) dx = F(b) - F(a). And F(b) = 1. So that explains this equation. But how do I continue with my problem? I would say I end up with the formula int_{0}^{1} f(x) (1-F(0.5-x)) dx, since y = 0.5-x. And what if I now assume a uniform distribution? the probability density f(x) = 1/(b-a) in the interval [a,b]. ...
– user503842
Nov 25 at 14:10




yeah, I think so. The first equation is just a property of the cumulative distribution function: int_{a}^{b} f(x) dx = F(b) - F(a). And F(b) = 1. So that explains this equation. But how do I continue with my problem? I would say I end up with the formula int_{0}^{1} f(x) (1-F(0.5-x)) dx, since y = 0.5-x. And what if I now assume a uniform distribution? the probability density f(x) = 1/(b-a) in the interval [a,b]. ...
– user503842
Nov 25 at 14:10










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










It is more convenient here to use $P(X+Ygeq0.5)=1-P(X+Y<0.5)$ and calculate $P(X+Y<0.5)$.



If $[x+y<0.5]$ denotes the function $mathbb R^2tomathbb R$ that takes value $1$ if $x+y<0.5$ and takes value $0$ otherwise then:$$P(X+Y<0.5)=mathbb E[X+Y<0.5]=int_0^1int_0^1[x+y<0.5]f(x)f(y)dydx=$$$$int_0^{0.5}int_0^{0.5-x}f(x)f(y)dydx=int_0^{0.5}f(x)left(int_0^{0.5-x}f(y)dyright)dx=int_0^{0.5}f(x)F(0.5-x)dx$$so that$$P(X+Ygeq0.5)=1-int_0^{0.5}f(x)F(0.5-x)dx$$





Observe that: $$int_0^{0.5-x}f(y)dy=F(0.5-x)-F(0)=F(0.5-x)$$where the first equality is purely based on the definition of a PDF.






share|cite|improve this answer





















  • ahh, allright, thx so much drhab!!! Just to be sure: Say I assume a uniform distribution: This would yield for P(X + Y < 0.5): int_{0}^{0.5} (1*(0.5-x)) dx which eventually solves to 0.00125. Is that correct?
    – user503842
    Nov 25 at 14:22










  • By uniform distribution: $int_0^{0.5}(0.5-x)dx=[0.5x-0.5x^2]_0^{0.5}=[0.5^2-0.5^3]-0=0.125$
    – drhab
    Nov 25 at 15:37












  • allright. thx so much!
    – user503842
    Nov 25 at 17:41











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',
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%2f3012835%2fwhats-the-probability-of-drawing-a-number-from-0-1%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










It is more convenient here to use $P(X+Ygeq0.5)=1-P(X+Y<0.5)$ and calculate $P(X+Y<0.5)$.



If $[x+y<0.5]$ denotes the function $mathbb R^2tomathbb R$ that takes value $1$ if $x+y<0.5$ and takes value $0$ otherwise then:$$P(X+Y<0.5)=mathbb E[X+Y<0.5]=int_0^1int_0^1[x+y<0.5]f(x)f(y)dydx=$$$$int_0^{0.5}int_0^{0.5-x}f(x)f(y)dydx=int_0^{0.5}f(x)left(int_0^{0.5-x}f(y)dyright)dx=int_0^{0.5}f(x)F(0.5-x)dx$$so that$$P(X+Ygeq0.5)=1-int_0^{0.5}f(x)F(0.5-x)dx$$





Observe that: $$int_0^{0.5-x}f(y)dy=F(0.5-x)-F(0)=F(0.5-x)$$where the first equality is purely based on the definition of a PDF.






share|cite|improve this answer





















  • ahh, allright, thx so much drhab!!! Just to be sure: Say I assume a uniform distribution: This would yield for P(X + Y < 0.5): int_{0}^{0.5} (1*(0.5-x)) dx which eventually solves to 0.00125. Is that correct?
    – user503842
    Nov 25 at 14:22










  • By uniform distribution: $int_0^{0.5}(0.5-x)dx=[0.5x-0.5x^2]_0^{0.5}=[0.5^2-0.5^3]-0=0.125$
    – drhab
    Nov 25 at 15:37












  • allright. thx so much!
    – user503842
    Nov 25 at 17:41















up vote
0
down vote



accepted










It is more convenient here to use $P(X+Ygeq0.5)=1-P(X+Y<0.5)$ and calculate $P(X+Y<0.5)$.



If $[x+y<0.5]$ denotes the function $mathbb R^2tomathbb R$ that takes value $1$ if $x+y<0.5$ and takes value $0$ otherwise then:$$P(X+Y<0.5)=mathbb E[X+Y<0.5]=int_0^1int_0^1[x+y<0.5]f(x)f(y)dydx=$$$$int_0^{0.5}int_0^{0.5-x}f(x)f(y)dydx=int_0^{0.5}f(x)left(int_0^{0.5-x}f(y)dyright)dx=int_0^{0.5}f(x)F(0.5-x)dx$$so that$$P(X+Ygeq0.5)=1-int_0^{0.5}f(x)F(0.5-x)dx$$





Observe that: $$int_0^{0.5-x}f(y)dy=F(0.5-x)-F(0)=F(0.5-x)$$where the first equality is purely based on the definition of a PDF.






share|cite|improve this answer





















  • ahh, allright, thx so much drhab!!! Just to be sure: Say I assume a uniform distribution: This would yield for P(X + Y < 0.5): int_{0}^{0.5} (1*(0.5-x)) dx which eventually solves to 0.00125. Is that correct?
    – user503842
    Nov 25 at 14:22










  • By uniform distribution: $int_0^{0.5}(0.5-x)dx=[0.5x-0.5x^2]_0^{0.5}=[0.5^2-0.5^3]-0=0.125$
    – drhab
    Nov 25 at 15:37












  • allright. thx so much!
    – user503842
    Nov 25 at 17:41













up vote
0
down vote



accepted







up vote
0
down vote



accepted






It is more convenient here to use $P(X+Ygeq0.5)=1-P(X+Y<0.5)$ and calculate $P(X+Y<0.5)$.



If $[x+y<0.5]$ denotes the function $mathbb R^2tomathbb R$ that takes value $1$ if $x+y<0.5$ and takes value $0$ otherwise then:$$P(X+Y<0.5)=mathbb E[X+Y<0.5]=int_0^1int_0^1[x+y<0.5]f(x)f(y)dydx=$$$$int_0^{0.5}int_0^{0.5-x}f(x)f(y)dydx=int_0^{0.5}f(x)left(int_0^{0.5-x}f(y)dyright)dx=int_0^{0.5}f(x)F(0.5-x)dx$$so that$$P(X+Ygeq0.5)=1-int_0^{0.5}f(x)F(0.5-x)dx$$





Observe that: $$int_0^{0.5-x}f(y)dy=F(0.5-x)-F(0)=F(0.5-x)$$where the first equality is purely based on the definition of a PDF.






share|cite|improve this answer












It is more convenient here to use $P(X+Ygeq0.5)=1-P(X+Y<0.5)$ and calculate $P(X+Y<0.5)$.



If $[x+y<0.5]$ denotes the function $mathbb R^2tomathbb R$ that takes value $1$ if $x+y<0.5$ and takes value $0$ otherwise then:$$P(X+Y<0.5)=mathbb E[X+Y<0.5]=int_0^1int_0^1[x+y<0.5]f(x)f(y)dydx=$$$$int_0^{0.5}int_0^{0.5-x}f(x)f(y)dydx=int_0^{0.5}f(x)left(int_0^{0.5-x}f(y)dyright)dx=int_0^{0.5}f(x)F(0.5-x)dx$$so that$$P(X+Ygeq0.5)=1-int_0^{0.5}f(x)F(0.5-x)dx$$





Observe that: $$int_0^{0.5-x}f(y)dy=F(0.5-x)-F(0)=F(0.5-x)$$where the first equality is purely based on the definition of a PDF.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 25 at 14:06









drhab

95.2k543126




95.2k543126












  • ahh, allright, thx so much drhab!!! Just to be sure: Say I assume a uniform distribution: This would yield for P(X + Y < 0.5): int_{0}^{0.5} (1*(0.5-x)) dx which eventually solves to 0.00125. Is that correct?
    – user503842
    Nov 25 at 14:22










  • By uniform distribution: $int_0^{0.5}(0.5-x)dx=[0.5x-0.5x^2]_0^{0.5}=[0.5^2-0.5^3]-0=0.125$
    – drhab
    Nov 25 at 15:37












  • allright. thx so much!
    – user503842
    Nov 25 at 17:41


















  • ahh, allright, thx so much drhab!!! Just to be sure: Say I assume a uniform distribution: This would yield for P(X + Y < 0.5): int_{0}^{0.5} (1*(0.5-x)) dx which eventually solves to 0.00125. Is that correct?
    – user503842
    Nov 25 at 14:22










  • By uniform distribution: $int_0^{0.5}(0.5-x)dx=[0.5x-0.5x^2]_0^{0.5}=[0.5^2-0.5^3]-0=0.125$
    – drhab
    Nov 25 at 15:37












  • allright. thx so much!
    – user503842
    Nov 25 at 17:41
















ahh, allright, thx so much drhab!!! Just to be sure: Say I assume a uniform distribution: This would yield for P(X + Y < 0.5): int_{0}^{0.5} (1*(0.5-x)) dx which eventually solves to 0.00125. Is that correct?
– user503842
Nov 25 at 14:22




ahh, allright, thx so much drhab!!! Just to be sure: Say I assume a uniform distribution: This would yield for P(X + Y < 0.5): int_{0}^{0.5} (1*(0.5-x)) dx which eventually solves to 0.00125. Is that correct?
– user503842
Nov 25 at 14:22












By uniform distribution: $int_0^{0.5}(0.5-x)dx=[0.5x-0.5x^2]_0^{0.5}=[0.5^2-0.5^3]-0=0.125$
– drhab
Nov 25 at 15:37






By uniform distribution: $int_0^{0.5}(0.5-x)dx=[0.5x-0.5x^2]_0^{0.5}=[0.5^2-0.5^3]-0=0.125$
– drhab
Nov 25 at 15:37














allright. thx so much!
– user503842
Nov 25 at 17:41




allright. thx so much!
– user503842
Nov 25 at 17:41


















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.


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%2f3012835%2fwhats-the-probability-of-drawing-a-number-from-0-1%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

Sphinx de Gizeh

Dijon

Guerrita