A square with a unit length has two arbitrary points chosen inside it. What is the average distance between the two points?
If this can be represented in the form f a + b + c ln ( d + e ) , where a , b , c , d , e , f are positive integers, and the fraction is simplified as far as possible, find a + b + c + d + e + f .
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.
Nice solution!
These are interesting identities you have used here to come up with an elegant solution. If possible, could you explain or link to brilliant wikis (if we have them) that explain the concept behind:
∫ 0 1 ∫ 0 1 f ( a − b ) d a d b = 2 1 ∫ − 1 1 d v ∫ ∣ v ∣ 2 − ∣ v ∣ f ( v ) d u = ∫ − 1 1 ( 1 − ∣ v ∣ ) f ( v ) d v
Also clarify the symmetry that allows you to equate these:
E = ∫ − 1 1 ∫ − 1 1 ( 1 − ∣ u ∣ ) ( 1 − ∣ w ∣ ) u 2 + w 2 d u d w = 4 ∫ 0 1 ∫ 0 1 ( 1 − u ) ( 1 − w ) u 2 + w 2 d u d w
Log in to reply
There is a brief wiki on Multiple Integral which touches in the use of the Jacobi matrix for variable change in multiple integrals; that is what you need for the first identity. The second is easy; the integrand is an even function of both u and w , so he integral from − 1 to 1 is twice the integral from 0 to 1 in each variable.
The distance between two randomly selected points ( x 1 , y 1 ) , ( x 2 , y 2 ) is d = ( x 1 − x 2 ) 2 + ( y 1 − y 2 ) 2 . Now, x 1 , x 2 , y 1 , y 2 are i.i.d. ∼ U [ 0 , 1 ] , which implies that X : = x 1 − x 2 , Y : = y 1 − y 2 are i.i.d. traingular distributed on the interval [ − 1 , 1 ] with the density given by f ( x ) = { 1 + x , 1 − x , x ∈ [ − 1 , 0 ] x ∈ ( 0 , 1 ] Thus the average distance is L = ∫ − 1 1 ∫ − 1 1 x 2 + y 2 f X ( x ) f Y ( y ) d x d y Since the densities of X , Y are even functions, we can simplify the integral as L = 4 ∫ 0 1 ∫ 0 1 x 2 + y 2 ( 1 − x ) ( 1 − y ) d x d y To evaluate the above integral, we use transformation to polar coordinates x = r cos θ , y = r sin θ , and we will use the symmetry of the two parts of the square region of integration, above and below the diagonal through the origin, to get L = 8 ∫ 0 π / 4 ∫ 0 sec θ r ⋅ r ( 1 − r cos θ ) ( 1 − r sin θ ) d r d θ = 8 ∫ 0 π / 4 ∫ 0 sec θ r 2 ( 1 − r ( cos θ + sin θ ) + r 2 sin θ cos θ ) d r d θ = 8 ∫ 0 π / 4 ( 3 sec 3 θ − 4 sec 4 θ ( cos θ + sin θ ) + 5 sec 5 θ sin θ cos θ ) d θ = 3 2 ∫ 0 π / 4 sec 3 θ d θ − 5 2 ∫ 0 π / 4 sin θ sec 4 θ d θ = 3 2 I 1 − 5 2 I 2 where I 1 = ∫ 0 π / 4 sec 3 θ d θ = ∫ 0 1 1 + x 2 d x = 2 1 ( 2 + ln ( 1 + 2 ) ) I 2 = ∫ 0 π / 4 sin θ sec 4 θ d θ = ∫ 0 1 x 1 + x 2 d x = 3 1 ( 2 2 − 1 ) Thus, I = 1 5 2 + 2 + 5 ln ( 1 + 2 ) Giving the answer 2 7 .
Problem Loading...
Note Loading...
Set Loading...
The x - and y - coordinates of the two points are each uniformly distributed on [ 0 , 1 ] , and all four coordinates are independent of each other. Thus the expected length is E = ∫ 0 1 ∫ 0 1 ∫ 0 1 ∫ 0 1 ( a − b ) 2 + ( c − d ) 2 d a d b d c d d Using the substitution u = a + b , v = a − b , we notice that ∫ 0 1 ∫ 0 1 f ( a − b ) d a d b = 2 1 ∫ − 1 1 d v ∫ ∣ v ∣ 2 − ∣ v ∣ f ( v ) d u = ∫ − 1 1 ( 1 − ∣ v ∣ ) f ( v ) d v for any function f , and hence E = ∫ − 1 1 ∫ − 1 1 ( 1 − ∣ u ∣ ) ( 1 − ∣ w ∣ ) u 2 + w 2 d u d w = 4 ∫ 0 1 ∫ 0 1 ( 1 − u ) ( 1 − w ) u 2 + w 2 d u d w But ∫ 0 1 ( 1 − u ) u 2 + w 2 d u = 6 1 [ 2 w 3 + 1 + w 2 − 2 w 2 1 + w 2 + 3 w 2 ln ( w 1 + 1 + w 2 ) ] for any w > 0 , and hence, integrating again, E = 1 5 2 + 2 + 5 sinh − 1 1 = 1 5 2 + 2 + 5 ln ( 1 + 2 ) making the answer 2 + 2 + 5 + 1 + 2 + 1 5 = 2 7 .