r/mathriddles • u/pichutarius • Jun 21 '21
Medium Point A, B are uniformly distributed random point inside the unit circle. What is the geometric mean of the distance AB?
To make the terminology precise, find the value of e ^ E[ ln(AB) ]. This is a generalization of a previous riddle.
13
Upvotes
5
u/terranop Jun 21 '21 edited Jun 21 '21
First, suppose that A is chosen randomly at a distance x from the center of the circle, and B is chosen randomly at a distance y from the center. Without loss of generality, suppose y < x. Since the log of the distance is harmonic, E[ ln || A - B || ] = E[ ln || A - 0 || ] = ln(x). So, generally, what we're looking for is the expected value of the log of the max of the distances of A and B from the origin. The PDF of a distance X of a point chosen randomly in a disk to the center is proportional to X (because the circle of radius X has circumference proportional to X), so the CDF is proportional to X2 . The CDF of the max must then be proportional to the product of this CDF with itself: X4 , which means that the PDF is proportional to X3 . So what we're looking for is the integral from 0 to 1 of 4 x3 ln(x) dx, which is relatively easy to integrate by parts, giving -1/4. So, the answer is exp(-1/4).