# N random points in a circle

• Jan 10th 2009, 11:31 AM
hpinvent
N random points in a circle
How can I calculate the minimum distance from the center to N points uniformly distributed in a circle? In other words, I want to find the distance to the closest point from the center. Does this distance decrease with N?
• Jan 11th 2009, 02:32 AM
Laurent
Quote:

Originally Posted by hpinvent
How can I calculate the minimum distance from the center to N points uniformly distributed in a circle? In other words, I want to find the distance to the closest point from the center. Does this distance decrease with N?

The distance from the center to random points inside a disk is of course random, so that your question doesn't quite make sense... You can compute its distribution, or its mean for instance.

As for the decrease, it is obvious that the minimum distance from the center to $N$ points decreases with $N$. Just give it a thought.

I show you how to find the distribution of the minimum distance from the center to $N$ points uniformly chosen in a disk.

First thing is to consider only one point $X$ uniformly distributed in a disk. I will consider a disk $D$ with center $O$ and radius $r$. Let $R=OX$ (i.e. $R$ is the distance from $O$ to $X$).

For $t>r$, we have of course $P(R, and if $0 then $P(R (because $R means that $X$ is inside the circle with radius $t$, and the probability to be in a subset of the disk is proportional to its area). Using this computation, you can get the density of the distribution of $R$ (by differentiating, it is $\frac{2t}{r^2}$ on $[0,r]$ and 0 elsewhere), and the expectation of $R$.

Now, suppose there are $N$ independent points uniformly chosen on the same disk, and let $d$ be the minimum distance from the center to the points, i.e. $d=\min(R_1,\ldots,R_N)$ where $R_1,\ldots,R_N$ are defined like the previous $R$, for each of the points.

Then we have $P(d>t)=P(R_1>t,\ R_2>t,\ldots,\ R_N>t)=P(R>t)^N=\left(1-\frac{t^2}{r^2}\right)^N$, from which we can get the density of the distribution of $d$ : it is $\frac{2Nt}{r^2}\left(1-\frac{t^2}{r^2}\right)^{N-1}$ on $[0,r]$.
• Mar 18th 2009, 06:45 PM
arvind
Can I say the distribution (pdf) of the maximum distance from the center to http://www.mathhelpforum.com/math-he...22d1ceaa-1.gif points uniformly chosen in a disk same as http://www.mathhelpforum.com/math-he...ffa5498d-1.gif on http://www.mathhelpforum.com/math-he...e53cf374-1.gif ??.
Also since the area of a sector is (1/2)*r^2*theta, the same distribution applies for N points uniformly chosen in a sector ?. Your thoughts.

Thanks
Arvind
• Mar 18th 2009, 07:38 PM
arvind
Sorry, my question was if N points are uniformly distributed in a sector of area $1/2{r}^2\theta$, can i then write the pdf as $p(d>t) = \frac{Nt\theta}{\pi r^2}\left(1-\frac{\theta t^2}{2\pi r^2}\right)^{N-1}$ on [0,r]. Can I compute the expected value of d from the pdf by integrating over the area of sector ?(varying t from 0 to r and theta from 0 to thetamax - say pi/2). Also it doesn't matter (or does it ?) if d is minimum or maximum of R1, R2....RN ?. Please let me know.
• Mar 20th 2009, 10:00 AM
Laurent
Quote:

Originally Posted by arvind
Sorry, my question was if N points are uniformly distributed in a sector of area $1/2{r}^2\theta$, can i then write the pdf as $p(d>t) = \frac{Nt\theta}{\pi r^2}\left(1-\frac{\theta t^2}{2\pi r^2}\right)^{N-1}$ on [0,r]. Can I compute the expected value of d from the pdf by integrating over the area of sector ?(varying t from 0 to r and theta from 0 to thetamax - say pi/2). Also it doesn't matter (or does it ?) if d is minimum or maximum of R1, R2....RN ?. Please let me know.

Of course it does matter if $d$ is the min or the max! :eek: The min is small, it obviously tends to 0, while the max is big, it tends to $r$ when $N\to\infty$...

But you can find the distribution of the max using the same procedure as I did for the min: $P(d^*, and deduce the expected value using for instance $E[d^*]=\int_0^r P(d^*>t) dt$.

Since the distribution of the points is rotation-invariant, this property is the same for any sector of radius $r$.