Let be the region on the Cartesian plane bounded by and . Let be a point chosen at random in with a uniform probability distribution. Let be the expected value of the distance between and the origin.
If , where and are squarefree, find the value of .
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.
By symmetry (across the line y = x ) we need only consider the average distance to the origin O of a point P ( x , y ) in the region { ( x , y ) : 0 ≤ y ≤ x ≤ 1 } . As the distance from P to the origin is given by x 2 + y 2 and the area of the region of integration is 1 / 2 , the expected distance of O P is
v = 2 1 1 ∫ 0 1 ∫ 0 x x 2 + y 2 d y d x = 2 ∫ 0 1 ∫ 0 x x 1 + ( x y ) 2 d y d x .
Now for the interior integral, where y is the variable and x is constant, let u = x y ⟹ x d u = d y , with u going from 0 to 1 . We then have that
v = 2 ∫ 0 1 ∫ 0 1 x 2 1 + u 2 d u d x = 2 ∫ 0 1 1 + u 2 d u ∫ 0 1 x 2 d x = 3 2 ∫ 0 1 1 + u 2 d u .
For this remaining integral, we can use trig substitution with u = tan ( θ ) ⟹ d u = sec 2 ( θ ) , with θ going from 0 to π / 4 . We then have that
v = 3 2 ∫ 0 π / 4 sec 3 ( θ ) d θ = 3 2 × 2 1 ( sec ( θ ) tan ( θ ) + ln ( sec ( θ ) + tan ( θ ) ) ) 0 π / 4 = 3 1 ( 2 + ln ( 2 + 1 ) ) ,
and so a + b + c + d = 2 + 2 + 1 + 3 = 8 .
Note: The integral of sec 3 ( θ ) is standard and can be solved by parts or partial fractions, as shown here .