TOPICS
Search

Disk Point Picking


CircularDistribution

Disk point picking is uniform sampling of points from a disk with respect to area. To generate random points over the unit disk, it is incorrect to choose r and theta independently from uniform distributions on [0,1] and [0,2pi), respectively, and then take

x=rcostheta
(1)
y=rsintheta.
(2)

Because the area element is given by

 dA=2pirdr,
(3)

this gives a concentration of points in the center (left figure above).

The correct transformation is instead given by

x=sqrt(r)costheta
(4)
y=sqrt(r)sintheta
(5)

(right figure above). Here r and theta are independent random variables. For each point, use the same sampled value of r in both coordinates. Drawing a separate value for each coordinate does not give a uniform distribution over the disk.

The probability density function for distance d from the center of a point picked at random in a unit disk is

 P(d)=2d.
(6)

The raw moments are therefore given by

 mu_n^'=2/(2+n),
(7)

giving a mean distance of d^_=2/3.

Combining disk point picking with an independent height chosen from a uniform distribution on [0,h], where h>0, gives cylinder point picking in the interior of a right circular cylinder.


See also

Circle Point Picking, Cylinder Point Picking, Disk Line Picking, Point Picking, Sphere Point Picking, Uniform Sampling

Explore with Wolfram|Alpha

Cite this as:

Weisstein, Eric W. "Disk Point Picking." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/DiskPointPicking.html

Subject classifications