Point A is chosen randomly on the y -axis between y = 0 and y = 1 , while point B is chosen randomly on the x -axis between x = 0 and x = 1 . Both events are independent of each other.
The expected value of the square of the distance between them can be expressed in the form q p , where p and q are coprime positive integers. What is 3 p + 4 q ?
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.
Why It would be a/N^2 instead of just a?
We are interested in computing E [ x 2 + y 2 ] , and since x , y are independent of each other we have E [ x 2 + y 2 ] = E [ x 2 ] + E [ y 2 ] . This leads us to the following integration:
E [ x 2 + y 2 ] = E [ x 2 ] + E [ y 2 ] = ∫ 0 1 x 2 ⋅ ( 1 − 0 1 ) d x + ∫ 0 1 y 2 ⋅ ( 1 − 0 1 ) d y = 3 x 3 ∣ 0 1 + 3 y 3 ∣ 0 1 = 3 2 = q p
and 3 p + 4 q = 3 ( 2 ) + 4 ( 3 ) = 1 8 .
Problem Loading...
Note Loading...
Set Loading...
Suppose that point A is given by ( 0 , y ) and point B is given by ( x , 0 ) , where 0 ≤ y ≤ 1 and 0 ≤ x ≤ 1 .
Now, the square of the distance between them is x 2 + y 2 .
Average all possible values of x 2 + y 2 in 0 ≤ y ≤ 1 and 0 ≤ x ≤ 1 using limits and sigma notation: N → ∞ lim N 2 1 a = 0 ∑ N b = 0 ∑ N N 2 a 2 + N 2 b 2 .
Rewrite using integral notation by substituting x = N a , y = N b , d x = d y = N 1 : ∫ 0 1 ∫ 0 1 ( x 2 + y 2 ) d x d y
This double integral can be integrated through iterated integration: = ∫ 0 1 [ 3 x 3 + x y 2 ] x = 0 x = 1 d y = ∫ 0 1 ( 3 1 + y 2 ) d y = [ ( 3 y + 3 y 3 ) ] y = 0 y = 1 = 3 2
Thus, the answer is 3 ⋅ 2 + 4 ⋅ 3 = 1 8 .