Three points are placed at independently and at random in a unit square. What is the expected value of the area of the triangle formed by the three points?
|
|
See here. |
|||||||
|
|
This isn't a full solution, but it goes most of the way there. The area of a triangle $(x_1, y_1),(x_2,y_2),(x_3,y_3)$ is given by the formula $A(x_1,x_2,x_3,y_1,y_2,y_3)= | \frac{x_1(y_2-y_3) + x_2 (y_3-y_1) + x_3 (y_1-y_2)}{2}|$ If $x_1, x_2, x_3, y_1, y_2, y_3$ are all independently identically uniformly distributed over $[0,1]$, then the average area is just given by: $\int_0^1 \int_0^1 \int_0^1 \int_0^1 \int_0^1 \int_0^1 A(x_1,x_2,x_3,y_1,y_2,y_3) d x_1 d x_2 d x_3 d y_1 d y_2 d y_3$ At this point, it's a fairly simple, though tedious, calculation. I recommend using Mathematica or some other computational software if you have access to it. There are also ways to simplify the computation based on inherent symmetries in the problem. I can't post the final answer because I want to avoid giving a wrong answer, which is totally possible (I don't claim to be able to do the above integral by hand without errors). I can check the answer in Mathematica if you don't have access to it, though it will have to wait until at least Monday. |
|||
|
|
|
Here's a perl script that confirms the answer Shai linked to via a Monte Carlo approach.
|
||||
|
|