Closer to the centre than to the edge
A point is chosen uniformly at random in a square of side 1.
Find the probability that it is closer to the centre of the square than to the nearest side of the square.
Fractions, decimals with at least 3 significant digits, and expressions such as sqrt(2)/2, e^-1 or pi/4.
Split the square into four triangles by its diagonals. In each triangle, the nearest side is the one the triangle rests on.
In the bottom triangle, with the centre at the origin, the distance to the bottom side is . The boundary of the region is a parabola.
h
s Shown after a correct answer. Revealing it first marks the problem as seen, not solved.
Idea. Split the square along its diagonals. In each of the four triangles the nearest side is fixed, and “closer to the centre than to that side” is the inside of a parabola. Integrate in one triangle and multiply by four.
Step 1: set-up. Put the centre at the origin, so the square is . In the bottom triangle the nearest side is , at distance . The point is closer to the centre when
Step 2: the limits. In the triangle we also need . Both hold when , that is with
Step 3: the area in one triangle.
Step 4: all four triangles. The total area is . With , and :
The trap. Guessing the inner square of side , with area . The true region bulges towards the corners along the diagonals and is pinched in the middle of each side, and its area is a little smaller.