Average distance between random points in 2D

AI Thread Summary
The discussion focuses on calculating the expected mean distance between n random points within a circle of radius a, specifically for n=5. The distance formula between two points in polar coordinates is provided, and the average distance is expressed as a double integral over the area of the circle. The suggestion is made to consider Cartesian coordinates for simplification. The approach involves summing distances between all possible point pairs and normalizing by the area squared. An analytical solution is sought rather than a computational one.
O2F
Messages
9
Reaction score
0
I'm looking for an analytical solution to a very simple problem I've come across.

Start with a circle of radius a. Now place n points at random positions inside this circle. Can you calculate the expectation value for the mean distance between the points?

For the sake of argument can you solve this for say n=5?

This problem is very simple to solve computationally by just distributing points, measuring the distances and looping many times but I am looking for an analytical solution.
 
Mathematics news on Phys.org
Hi.

Distance d between the two points (r_1,\phi_1) and (r_2,\phi_2) is
$$ d(r_1, r_2, \phi_1, \phi_2 )= \sqrt{{r_1}^2 + {r_2}^2 - 2r_1 r_2 cos(\phi_1- \phi_2) } $$

The average distance is expressed as
$$ \frac{1}{(\pi a^2)^2} \int_0^a r_1 dr_1 \int_0^a r_2 dr_2 \int_0^{2\pi} d\phi_1 \int_0^{2\pi} d\phi_2 d(r_1, r_2, \phi_1, \phi_2 )$$.
 
Last edited:
It might be simpler to consider cartesian coordinates for this case. The idea would be the same as above.

Basically, you are doing the same thing as you would with any average, but this time it's infinite so you use an integral. Just sum the distance between every possible pair, then divide by the "number of possibilities" (the area squared).
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top