Expected value of triangle area

Calculus Level 3

Three points are chosen at random on the circumference of a circle with radius 1. Find the expected value , v v , of the area of the triangle formed by the three points.

If v = a b π v = \dfrac{a}{b \pi} , where a a and b b are coprime positive integers, submit a + b a+b .


The answer is 5.

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.

2 solutions

Ariel Gershon
Jun 17, 2017

Let's position the circle so that its centre is at the origin. Let's assume that one of the points is at C = ( 1 , 0 ) C = (1, 0) , since we can always rotate the triangle to make this true.

Let the other two points be represented by A = ( cos ( a ) , sin ( a ) ) , B = ( cos ( b ) , sin ( b ) ) A = (\cos(a), \sin(a)), B = (\cos(b), \sin(b)) where 0 a , b < 2 π 0 \le a,b < 2\pi . Using the Shoelace Formula, the area of A B C \triangle ABC is: f ( a , b ) = sin ( a ) + sin ( b ) cos ( a ) sin ( a ) cos ( b ) sin ( b ) 2 = sin ( a ) + sin ( b a ) sin ( b ) 2 f(a,b) = \dfrac{\left|\sin(a) + \sin(b)\cos(a) - \sin(a)\cos(b) - \sin(b)\right|}{2} = \dfrac{\left|\sin(a) + \sin(b-a) - \sin(b)\right|}{2} We can use some trigonometric manipulation to show that sin ( a ) + sin ( b a ) sin ( b ) = 4 sin ( b a 2 ) sin ( a 2 ) sin ( b 2 ) \sin(a) + \sin(b-a) - \sin(b) = 4\sin\left(\dfrac{b-a}{2}\right)\sin\left(\dfrac{a}{2}\right)\sin\left(\dfrac{b}{2}\right) . Hence sin ( a ) + sin ( b a ) sin ( b ) 0 \sin(a) + \sin(b-a) - \sin(b) \ge 0 when b a b \ge a and vice versa.

To calculate the expected value, I am going to use the formula v = ( 1 2 π ) 2 0 2 π 0 2 π f ( a , b ) d b d a v = \left(\dfrac{1}{2\pi}\right)^2\displaystyle\int_{0}^{2\pi} \displaystyle\int_{0}^{2\pi} f(a,b) d b \text{ }da . I will calculate the inside integral first: F ( a ) = 0 2 π f ( a , b ) d b = 0 a sin ( b ) + sin ( a b ) sin ( a ) 2 d b + a 2 π sin ( a ) + sin ( b a ) sin ( b ) 2 d b = cos ( b ) + cos ( b a ) b sin ( a ) 2 0 a + b sin ( a ) cos ( b a ) + cos ( b ) 2 a 2 π = cos ( a ) + 1 a sin ( a ) 2 ( 1 + cos ( a ) 2 ) + 2 π sin ( a ) cos ( a ) + 1 2 ( a sin ( a ) 1 + cos ( a ) 2 ) = 2 2 cos ( a ) a sin ( a ) + π sin ( a ) \begin{array}{lll} F(a) & = & \displaystyle\int_{0}^{2\pi} f(a,b) db \\ & = & \displaystyle\int_{0}^{a} \dfrac{\sin(b) + \sin(a-b) - \sin(a)}{2} db + \displaystyle\int_{a}^{2\pi} \dfrac{\sin(a) + \sin(b-a) - \sin(b)}{2} db \\ & = & \dfrac{-\cos(b) + \cos(b-a) - b\sin(a)}{2} \biggr\rvert_{0}^{a} + \dfrac{b\sin(a) -\cos(b-a) + \cos(b)}{2} \biggr\rvert_{a}^{2\pi} \\ & = & \dfrac{-\cos(a) + 1 - a\sin(a)}{2} - \left(\dfrac{-1 + \cos(a)}{2}\right) + \dfrac{2\pi\sin(a) -\cos(a) + 1}{2} - \left(\dfrac{a\sin(a) -1 + \cos(a)}{2}\right) \\ & = & 2 - 2\cos(a) - a\sin(a) + \pi \sin(a) \end{array}

Now plug in this formula to the double integral:

v = 1 4 π 2 0 2 π 0 2 π f ( a , b ) d b d a = 1 4 π 2 0 2 π ( 2 2 cos ( a ) a sin ( a ) + π sin ( a ) ) d a = 1 4 π 2 ( 2 a 2 sin ( a ) + a cos ( a ) sin ( a ) π cos ( a ) ) 0 2 π = 1 4 π 2 ( 6 π ) = 3 2 π \begin{array}{lll} v & = & \dfrac{1}{4\pi^2} \displaystyle\int_{0}^{2\pi} \displaystyle\int_{0}^{2\pi} f(a,b) d b \text{ }da \\ & = & \dfrac{1}{4\pi^2} \displaystyle\int_{0}^{2\pi} \left(2 - 2\cos(a) - a\sin(a) + \pi \sin(a)\right) da \\ & = & \dfrac{1}{4\pi^2} \left(2a - 2\sin(a) + a\cos(a) - \sin(a) - \pi \cos(a)\right) \biggr\rvert_{0}^{2\pi} \\ & = & \dfrac{1}{4\pi^2}\left(6\pi \right) \\ & = & \boxed{\dfrac{3}{2\pi}} \end{array}

I used the fact that the area A A can be represented as A = a b c 4 R A=\frac{abc}{4R} where R R is the circumradius of the triangle with sides a , b , c a,b,c . Since the circumradius is 1 1 , A = a b c 4 A=\frac{abc}{4} .

Julian Poon - 3 years, 11 months ago

Log in to reply

Interesting. So did you calculate the expected value of each side?

Ariel Gershon - 3 years, 11 months ago

Log in to reply

Not really, I did a double integral as well on the value of each side.

Julian Poon - 3 years, 11 months ago

There will be some triangles where point C ( 1 , 0 ) C \neq (1,0) then how will u solve this ?

Kushal Bose - 3 years, 11 months ago

Log in to reply

Like I said, you can rotate the triangle so that one of the vertices is at ( 1 , 0 ) (1,0) . This doesn't change anything about the triangle except the orientation, and that way you only need to deal with 2 variables instead of 3.

Without rotation, let's say C = ( cos ( c ) , sin ( c ) ) C = (\cos(c), \sin(c)) , and the formula for the area would be sin ( b a ) + sin ( c b ) + sin ( a c ) 2 \dfrac{\left| \sin(b-a) + \sin(c-b) + \sin(a-c)\right|}{2} . Then you can still turn it into 2 variables by letting x = b a x = b - a and y = c a y = c - a . Then the formula becomes: sin ( x ) + sin ( y x ) sin ( y ) 2 \dfrac{\left| \sin(x) + \sin(y-x) - \sin(y)\right|}{2} . Essentially the same formula as the one I used in my solution.

Ariel Gershon - 3 years, 11 months ago

Log in to reply

Okk I got this

Kushal Bose - 3 years, 11 months ago

I guessed 5 and got it right first try (somehow), then looked at this explanation and my mind exploded.

Jayce Rushton - 3 years, 11 months ago

I did this by considering the two cases where the other two points (i.e. other than (1,0) ) are on the 'same side' or 'different sides' of the line y=0. It turns out that the expected area given 'opposite sides' is 2/pi (this is quite easy, you calculate the expected value of the area of two triangles (sin x)/2, over a uniform distribution on [0,pi] and take off a third triangle which has expected area 0.) The 'same side' case is a bit trickier because you have to calculate the expected areas of three triangles over triangular distributions (arising from min, max, and absolute differences of the uniform distribution on [0,pi]) but turns out two of the contributions cancel and the expected area in this case is 1/pi. So the final answer is the average (because the two cases are equally likely) of 2/pi and 1/pi, which is 3/(2*pi). I confess I've never come across the shoelace formula before.

Tom Richards - 3 years, 11 months ago

Knew the area was < or = 1 So I guessed the first 2 co-primes 2+3 Took 10 seconds If I was wrong I still had 2 tries.

Virgil Waters - 3 years, 11 months ago

Log in to reply

Did you see my comment on the prior puzzle? VW rules!!!!

Virgil Watson - 3 years, 11 months ago
David Filmer
Jul 2, 2017

As the co-primes had to be small, like others below i got it right within the 3 tries allowed

How do you know the sum of these coprime numbers must be "small"?

Pi Han Goh - 3 years, 11 months ago

Maybe you should seriously think about taking a lottery ticket....you are wasting your time here...😆

Ben John Toms - 3 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...