a sphere passing thru' 4 points

Started by
8 comments, last by Zipster 17 years, 2 months ago
How does one go about finding a unique sphere that passes thru' 4 points? In case of 2D (i.e. in a given plane), I know that 3 points define a circle. Perpendicular bisectors of two secants intersect at the center of the circle. Recently I remember one needs 4 points in space (3 is not enough) for a sphere passing thru' all 4 points. Any idea how to about finding the center of the sphere?
Advertisement
We covered this a little while ago.
After a little ado, alvaro found this page.

Admiral
Ring3 Circus - Diary of a programmer, journal of a hacker.
Quote:Original post by rpsathe
How does one go about finding a unique sphere that passes thru' 4 points?
Depending on why you need this, it may be worthwhile to note that e.g. the sphere through 4 (non-planar) points is generally not the same thing as the smallest bounding sphere for the same 4 points.
Edit: Removed lies.

In fact, the sphere passing through the four points is the minimal bounding sphere only for a single 1D subspace of the problem set (read: in very few cases).

While we're at it, your problem requires that no three points are collinear for a (finite-radius) solution to exist.

Admiral

[Edited by - TheAdmiral on February 1, 2007 2:52:12 PM]
Ring3 Circus - Diary of a programmer, journal of a hacker.
Quote:Original post by TheAdmiral
In fact, the sphere passing through the four points is the minimal bounding sphere only for a single 1D subspace of the problem set (read: in very few cases).

Do you have proof of that? It looks to me like if you have the four vertices of a regular tetrahedron and you jitter one of them around inside a little sphere, the solution is still the sphere that passes through all four points, but I haven't worked out the details.
Quote:Original post by alvaro
Do you have proof of that? It looks to me like if you have the four vertices of a regular tetrahedron and you jitter one of them around inside a little sphere, the solution is still the sphere that passes through all four points, but I haven't worked out the details.

It depends on how much of a jitter it is :) For instance, if you move one of the points too close to the opposite side, then it will no longer be on the surface of the minimal bounding sphere. This critical distance depends on the geometry of the opposite side. In some cases the minimal bounding sphere might have no more than 2 points on the surface no matter how many dimensions the sphere is in.
Quote:Original post by TheAdmiral
In fact, the sphere passing through the four points is the minimal bounding sphere only for a single 1D subspace of the problem set (read: in very few cases).
The circumsphere S of a tetrahedron T is the minimum bounding sphere of T iff the circumcenter C of S lies inside T. If a, b, c, and 1 - a - b - c are the barycentric coordinates of C with respect to T, C lies inside T when a >= 0, b >= 0, c >= 0, and 1 - a - b - c >= 0.

In no interpretation I can think of does this solution space constitute a "1D subspace" of the space of T.

Zipster: A jitter is an arbitrarily small perturbation. When discussing the dimensionality of a set, we only need to prove that it contains a k-dimensional manifold (no matter how small) to know that the set has at least dimension k. By jittering all four vertices of the tetrahedron, it seems to me that the set of situations where the minimum bounding sphere passes through all four points has dimension 12 (or as large as the set of all tetrahedrons).

Quote:Original post by Christer Ericson
The circumsphere S of a tetrahedron T is the minimum bounding sphere of T iff the circumcenter C of S lies inside T. If a, b, c, and 1 - a - b - c are the barycentric coordinates of C with respect to T, C lies inside T when a >= 0, b >= 0, c >= 0, and 1 - a - b - c >= 0.

In no interpretation I can think of does this solution space constitute a "1D subspace" of the space of T.


That's what I thought.

I would have thought that one through, had I known anyone would be paying attention [rolleyes].
You're all quite right, though. The 1D subspace I was thinking of was the in fact a subset of a 2D subspace - the one generated by moving one of the points along the surface of the existing sphere, as Zipster described. Worse still, the logic behind my thoughts was patently flawed [rolleyes], as made clear by:
Quote:The circumsphere S of a tetrahedron T is the minimum bounding sphere of T iff the circumcenter C of S lies inside T.
What a lovely little lemma.

Consider me chastised.
Admiral
Ring3 Circus - Diary of a programmer, journal of a hacker.
Well we've spent a lot of time talking about the minimal bounding sphere, but we haven't actually brought up how to find this sphere [smile] Long story short, you can use the Miniball software to find the smallest enclosing ball in any dimension. It works, it's fast, and there's a paper linked if you want to know the theory behind it. I've been spending a few days trying to come up with a different method (not implying the miniball approach is bad, I'm just bored and curious), but that's for another day and another post.

This topic is closed to new replies.

Advertisement