A point is chosen at random on a circle of radius a. Compute the mathematical expectation of its distance from a fixed point on the circle.
I must be sleeping. Someone else will have to provide the easy way. This is what I did. It is BRUTE FORCE, to be sure.
For notational convenience, it's a few layers deep.
For simplicity, I thought we should do two things.
1) Set up coordinate axes so that fixed point on the circle is at the origin and the center is at (a,0) on the positive x-axis
2) Forget the bottom half of the circle. By symmetry, we have the same solution.
After that, define:
This defines all possible locations of the point chosen at random.
This is the distance from the origin for each point.
Further, calculating the probability directly, define:
Finally, we have
(Yes, this is tantalizingly close to a Reimann integral.)
I get a*1.273240 to about
My first few attempts continued to produce results that were independent of 'a'. Since that obviously is wrong, I had to look elsewhere. Obviously, I wandered around quite a bit.
For what it's worth. It is an interesting exercise.
Let P be the fixed point, and let M be the random point.
Let such that are the coordinates of P.
And let such that are the coordinates of M.
Draw a circle and M and P (WLOG, we can draw P in the first quadrant). Draw the line (the parallel to the x-axis going through P) and draw the line (the parallel to the y-axis going through M)
Let H be the intersection of these two lines. Thus is a right angle triangle, with hypotenuse (which is the distance we're interested in !)
But it can be obvious that and that
I haven't come up with a formal proof of it yet, but it shouldn't be that difficult !
- after using the following identities :
Since M is randomly chosen on the circle, follows a uniform distribution over (to a given angle, there's a unique point corresponding to this angle on the circle. Would be different if we were considering a random point in the circle)
Since the pdf of a rv uniform on is , for , it follows that :
Since the integrand of the integral is -periodic, the value of doesn't change the value of the integral.
Now substitute (dx=2du)
So (since )
(which gives the approximate result that TKHunny got)
That's a cool result !
It looks long, but there's nothing complicated at all ! Only basic geometry and Calc I (or II, I don't really know)
Let us set the problem in the complex plane, the circle being centered at 0. Due to the radial symmetry, we may assume that the fixed point is . Then the distance between and is given by (the last equality is because ).
Since a uniform random point on the circle is given by where is uniformly distributed in , we conclude that the expected distance is:
I could be a bit more delighted, but not much!
There is just nothing quite like a unique result - just sitting there, waiting for us to find it - however we choose to find it.
Note to student, if you don't think of a solution right off, keep thinking. There are likely to be at least a couple of ways to approach it.