Equal probability sphere
By James Foster on Tuesday, September 17,
2002 - 02:31 am:
I'm looking for a formula (isn't everyone?).
this/these formula/e evaluate/s a position on the surface of a
sphere, such that...
... the entire sphere is covered.
... the density of the sphere is equal at every point.
... the input is (prefferably but not neccesarily) in the range
[0,1).
I have no idea where to start, any answer or even simply a start
in the right direction would be wildly apreciated.
TIA
James
By Andre Rzym on Tuesday, September 17,
2002 - 06:00 pm:
What follows requires two (rather than one) uniformly
distributed random variables?
Define Sphericla coordinates as follows: the sphere has radius
; the
'longitude' is denoted by
(and takes the range
); the
latitude is denoted by
and is in
.
For a given
and over all
, if
lies in the range
then we are describing a 'ring' of the sphere
with area
Therefore the area covered for
in
is (integrating
over
):
As an aside, if we set
, we get
which is the
familiar formula for the area of a sphere.
Now if we want a mapping between
and
(in [0,1]) such that the
area is proportional to
, then
Finally, we observe that the area of a small piece of the sphere (described by
,
,
is
proportional to
, therefore if
is in [0,1] our second
mapping is:
If you really must have just a single uniformly distributed variable,
,
in [0,1] as an 'input' then I suppose you could construct the
,
as being
the odd and even digits of
after the decimal point, but if you were ever
going to write some sort of a computer program, it would make no sense.
Andre
By James Foster on Wednesday, September
18, 2002 - 06:05 am:
That's really cool.
You seemed to brush over the proof that this has an uniform
density. I'm sure it does and if you don't reply i'll go away
beleiving it to be true, maybe even try to myself. It would just
be satisfying to see a proof.
Thanks again for your time, it's much appreciated.
James
By Andre Rzym on Wednesday, September
18, 2002 - 08:38 am:
We constructed
,
such that
(i)
maps onto
and
maps onto
. There is no
dependence of
on
etc.
(ii) The area bounded by
in
is proportional to
.
This necessarily implies that the area bounded by
is
proportional to
.
Alternatively, having constructed
,
we can work the other way and
compute the area between
and
. We know that
the area between
and
is given by:
and that
implies
substituting:
The lack of this dependence of this expression on
,
,
,
is one and the same as saying the area described on the sphere is proportional
to the area described in the unit square.
As an aside, you could use this mapping to map the earth on a unit square.
Such an area-preserving transformation is known as (guess what?) an ëqual
area projection". If you search in Google for "Wolfram equal area
projection" you'll see other ways of doing it. I can't see the mapping we
described above.
Andre
By James Foster on Wednesday, September
18, 2002 - 11:44 pm:
excellent.
thanks again.