by panic · 11y ago · 0 comments
Now let's look at the entire plane. If you pick a point, it will surely be on the plane. That means the probability that you choose a point on the plane is equal to one.
Putting the squares together gives you the whole plane, so you'd expect that summing their overall probabilities s would give you the overall probability of the plane, which is one. But there are an infinite number of squares, and there's no real number s for which the sequence s, s + s, s + s + s, ... converges to one.
While this is true, your reasoning is incomplete, you only arrive at the conclusion that s couldn't be positive. Why couldn't be s equal to 0? Note that a 0 probability event is not an impossible event and could still be in the event space. The problem is that there are countably infinite squares on the infinite plane so the measure of the infinite plane would add up to 0 instead of 1 by the property of the measure of countably infinite union of measurable sets.
I guess the difficulty with framing this as an algorithmic problem is that it presupposes some way of specifying the input, and I don't know exactly how that would be done. If your input is a polygonal mesh (or higher-dimensional equivalent) then the problem is easy, but what about things like parametric surfaces?
For parametric surfaces, here's a mathoverflow post answering your exact question: http://mathoverflow.net/questions/9991/how-can-i-sample-unif... (ultimately linking to this SIGGRAPH paper: http://www.cs.virginia.edu/~jdl/bib/globillum/arvo01_notes.p...)