Choose three points randomly and uniformly on a square. Let these points be the vertices of a triangle. What is the probability that the center of the square lies in this triangle?
Note: Randomly and uniformly means that given any segment of length on the square, the probability of choosing a point on that segment is , where is the length of the entire perimeter of the square.
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.
A variation on my solutions to this problem and this problem .
The center of the square does not lie in the triangle if one can draw a "diameter", i.e. a line segment from one side of the square to the opposite side through the center, that does not intersect with the triangle. The end points of this "diameter" divide the square into two sections of equal length L / 2 . The three vertices of the triangle must lie entirely in one segment.
Suppose this is the case. Then one of the chosen points P a is such that the other two points lie within a distance L / 2 measured in clockwise direction along the perimeter. The probability that these two points happen to be there is ( 2 1 ) 2 = 4 1 . The role of P a may be played by any of the three points, so the odds that the center of the square does not lie in the triangle is 3 × 4 1 = 4 3 .
The probability that the center of the square lies inside the triangle is the complement, 1 − 4 3 = 4 1 = 0 . 2 5 .