Expected Distance Of Two Points In A Circle

A point is chosen randomly (by distribution of area) on the inside of a unit circle. Find the expected value of its distance from the center of the circle.

If you get your answer as a b \dfrac{a}{b} , where a a and b b are coprime positive integers, submit your answer as a + b a+b .


The answer is 5.

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.

6 solutions

Here is my solution, which is similar to the one given by Geoff Pilling.

Let r , θ r,\theta be the position of a random point (in polar coordinates) inside the circle, with r [ 0 , 1 ) , θ [ 0 , 2 π ) r\in [0,1),\ \theta\in[0,2\pi) . Then the probability that it lies in a slice of area of radial width d r dr and angular width d θ d\theta , around a position r , θ r,\theta , is just the area of the slice divided by the total area of the unit circle, i.e., p ( r , θ ) d r d θ = r d r d θ π p(r,\theta)dr d\theta=\frac{rdr d\theta}{\pi} , where p ( r , θ ) p(r,\theta) is the joint probability density function of the random variables r , θ r,\theta . Thus, p ( r , θ ) = r π p(r,\theta)=\frac{r}{\pi} . Thus, the expected distance from center is 0 2 π 0 1 r r π d r d θ = 2 3 \int_{0}^{2\pi}\int_{0}^1 r\frac{r}{\pi}dr d\theta=\frac{2}{3} producing the answer 2 + 3 = 5 2+3=\boxed{5} .

Why the density function is r/pi ???It should be 1/2* pi

Kushal Bose - 3 years, 9 months ago

Log in to reply

I think you are assuming that the random variables r , θ r,\ \theta are independent, but they are not, which can be seen by considering the probability that the point lies in a slice of radial width d r d r , and angular width d θ d\theta . Note that had it been the cartesian coordinates, then independence according to area distribution is equivalent to independence in coordinates. Apparently, the curvature is the key that makes the analogous equivalence false in polar coordinate system.

Samrat Mukhopadhyay - 3 years, 8 months ago
Geoff Pilling
Nov 4, 2016

I did it a little differently.

< r > = 0 1 2 π r × r Circle Area d r = 0 1 2 π r 2 π d r = 2 0 1 r 2 d r = 2 3 <r>= \int_{0}^{1}\frac{2\pi r \times r}{\text{Circle Area}}dr = \int_{0}^{1}\frac{2\pi r^2}{\pi}dr = 2\int_{0}^{1}r^2dr = \frac{2}{3}

2 + 3 = 5 2+3=\boxed5

Can you please explain how you got those integrals thank you!

Ashish Sacheti - 4 years, 7 months ago

Log in to reply

Samrat had a similar approach to me, but with a more complete explanation! :-)

Geoff Pilling - 4 years, 7 months ago

Log in to reply

Samrat uses double integration which is something I haven't been taught yet where as your solution doesn't utilize this.

Ashish Sacheti - 4 years, 7 months ago

Haha.. I thought I was the only one thinking of integrating my way out of this question. 😂

Hardeep Singh - 1 year, 3 months ago
Manuel Kahayon
Nov 4, 2016

Divide the unit circle into n n parts with the first part being a circle with radius 1 n \frac{1}{n} , the second part being a doughnut with thickness 1 n \frac{1}{n} and a hole of radius 1 n \frac{1}{n} and so on. Denote p k p_k to be the probability that the point lies on the k k th portion, and denote d k d_k to be the distance of the point on the doughnut part farthest from the center, to the center. We easily get that d k = k n d_k = \frac{k}{n} . Also, p k p_k is just the area of the k k th portion divided by pi, i.e. π ( k 2 n 2 ( k 1 ) 2 n 2 ) π = 2 k 1 n 2 \large \frac{ \pi(\frac{k^2}{n^2} - \frac{(k-1)^2}{n^2})}{ \pi} = \frac{2k-1}{n^2} .

We can easily see that the answer we are looking for is k = 1 n p k d k \displaystyle \sum_{k=1} ^ {n} p_k d_k for arbitrarily large n n . We can expand this to give the answer to be

k = 1 n 2 k 2 k n 3 = ( n ) ( n + 1 ) ( 2 n + 1 ) 3 ( n ) ( n 1 ) 2 n 3 = 4 n 3 + 3 n 2 n 6 n 3 = 2 3 \huge \frac{ \sum_{k=1} ^ {n} 2k^2 - k}{n^3} =\frac{ \frac{(n)(n+1)(2n+1)}{3} - \frac{(n)(n-1)}{2}}{n^3} = \frac{4n^3 + 3n^2 - n}{6n^3} = \frac{2}{3} .

For arbitrarily large n n . Our expected value is then 2 3 \frac{2}{3} and our answer is then 2 + 3 = 5 2+3 = \boxed{5} .

Dmitry Nikolaev
Jun 26, 2017

This problem is the easiest to approach from the point of view of the cumulative distribution function (CDF). The CDF measures the probability that the value of the random variable is less than or equal to the argument of the function. In this case, we want the probability of x x being less than or equal to some radius r r to be proportional to the share of the area of the unit circle area occupied by the circle of radius r r . That is, P ( X r ) = π r 2 π = r 2 P(X \le r) = \frac{\pi r^2}{\pi} = r^2 . The probability density function is the derivative of the CDF so we have f X ( x ) = 2 r f_{X}(x) = 2r . To obtain the expected value we integrate PDF times the variable from 0 to 1: 0 1 2 r 2 d r = 2 3 \int_{0}^{1} 2 r^2 dr = \frac{2}{3}

Robert Williams
Dec 29, 2017

Assuming a radius of 1 as implied in the question.

Consider the length of concentric circles at points along a radius of the circle.

The length increases uniformly from zero to 2 pi, which can be visualised as a right angle triangle.

On average a randomly selected point will be at the centre (centroid) of the triangle.

This is one third of the distance from the circumference to the centre, or 2/3 of the distance from the centre.

Answer: 2 + 3 = 5

Ramiel To-ong
Nov 28, 2016

nice solution.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...