Two variables, a and b , are chosen uniformly at random.
a is chosen on the interval [ 0 , 5 ]
b is chosen on the interval [ 3 , 1 3 ]
For example, a could be 1 . 3 4 2 and b could be 8 . 0 3 3 2 8
What is the probability that a > b ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I did it the same way but had a niggling doubt so I tried the integral approach as well:
5 1 × 1 0 1 ∫ 3 5 ∫ 3 x d y d x = 5 0 1 ∫ 3 5 ( x − 3 ) d x =
5 0 1 ( 2 x 2 − 3 x ) 3 5 = 5 0 1 ( ( 2 2 5 − 1 5 ) − ( 2 9 − 9 ) ) = 5 0 1 ( 8 − 6 ) = 2 5 1 ,
confirming your more intuitive approach.
Exactly my approach!
I wanted to assign 50-50 chance too but same as Brian I thought that that would be 'too' convenient for one of Geoff's question. So I made a number line 0/---/3/---x---/---y---/5/---/13 and my answer would be xy/(5-0)(13-3) = xy/50. xy would be the area of half a square with side 2, so xy/50 = (2^2/2)/50 = 0.04. Still bad at integration after all this while.
Problem Loading...
Note Loading...
Set Loading...
The only way a could be greater than b is if both variables are between 3 and 5 .
P ( 3 < a < 5 ) = 0 . 4
P ( 3 < b < 5 ) = 0 . 2
And, if they are both between 3 and 5 there is a 5 0 / 5 0 chance that a > b .
So,
P = ( 0 . 4 ) ⋅ ( 0 . 2 ) ⋅ 2 1 = 0 . 0 4