A formula for the N-circumsphere of an N-simplex .

G.Westendorp

april 2013

 

Summary

We show that the circumradius and circumcentre of the N-circumsphere of an N-simplex are obtained directly from elements of the inverse (CM-1) of the Cayley Menger matrix (CM ) for the N-simplex.

In 3 dimensions, if:

 


 

Then (α, β, γ, δ) are the 4 barycentric coordinates of the circumcentre and r is the circumradius. This generalises to N-dimensions in a straightforward manner.

 

 

Discussion and proof

Our formula provides a compact expression for the circumcentre and circumradius that it is coordinate independent in the sense that it requires only the squared distances between the vertices. We will use the conformal model of geometric algebra for the proof, but the equation itself uses only the Cayley-Menger matrix.

 

An N-circumsphere is an N-dimensional sphere, that passes through the (N+1) points of an N-simplex. In 2 dimensions, it is most easily visualised and corresponds to the circumcircle.

The circumcircle of a triangle, with the barycentric coordinates (α, β, γ) of the circumcentre shown as areas of 3 subtriangles, opposite to the vertices (A,B,C) respectively.

 

For any N-simplex, we can write down the Cayley-Menger matrix, best known for the Cayley-Menger determinant, which is used to compute the N-volume of the N-simplex in terms of the squared distances between the vertices. We write it in N=3 dimensions (ie for a tetrahedron), assuming the generalisation to N-dimensions to be obvious:

The required parameters for the circumsphere are obtained directly from the inverse of CM. If this inverse CM-1 is written as:

 

Eq 1

Then (α, β, γ, δ) are the 4 barycentric coordinates of the circumcentre and r is the circumradius. If required, we can convert the barycentric coordinates (α, β, γ, δ) to the Euclidean coordinates of the circumcentre (x,y,z):

 (x,y,z)= α(xA,yA,zA) + β(xB,yB,zB) + γ (xC,yC,zC) + δ (xD,yD,zD)

 

Eq 2

To prove this, we will use the machinery of conformal geometric algebra. We refer to [1] for an explanation of the terminology and principles of conformal geometric algebra. An important reason it is useful for our problem, is that the internal product of 2 points in the conformal model is equal to -1/2 times the squared distance between the corresponding Euclidean points. Using this fact we can see that the Cayley-Menger matrix is -2 times to the Grammian matrix of the 4 points (A,B,C,D) of the tetrahedron, together with minus half the ‘point at infinity’ (-n/2):

eq 3
 

Next, we use another nice feature of conformal geometric algebra, that a sphere (X) through points (A,B,C,D) is given by the exterior product of these points:

            X=A^B^C^D

(ie. the sphere is the set of points (p) that satisfy p ^ X = 0)

The circumcentre and circumradius can be found by computing the Hodge dual of X* of X. The Hodge dual of a sphere with radius (r) and centre (P) has the form:

Eq 4

So from the Hodge dual, we can read of the centre as the Euclidean part, and then use the (n) to obtain r2

 

The computation of X* uses the contraction () with the pseudoscalar and the expansion of a point P in into its Euclidean part and the extra dimensions (no) and (n):


The determinant terms in the above expansion of the X* correspond to the cofactor expansion for the inverse of top row of CM, so we can replace these determinant terms with the coefficients from Eq 1:

(Eq 5)

 

Comparing the Euclidean parts of equations 4 and 5, we find the expression for the centre ():

 

Eq 6

 

We can verify that the n0 components of equation 5 add to 1 by noting that:

 

 

To justify that we labelled element (1,1) of CM-1 as -2r2, we first check that if the circumcentre is at the origin, then the ncomponent of X* according to Eq 5:

 

This is indeed the correct value for the dual a circumsphere at the origin.

(We used .)

 

So our expression for CM-1(1,1) is valid if the sphere is at the origin. But the elements of the Cayley-Menger matrix are invariant under translations, and so is the circumradius, therefore the element (1,1) must remain equal to -2r2.

 

Finally, we mention an interpretation of the other terms (Yij) in equation 1. The original motivation for this work was in fact to find an expression for resistance values in terms of squared lengths for N-simplexes that discretise a conducting medium. As discussed on a web page by the author on electric circuit equivalents, Yij =2[Volume]/Rij , where Rij is the effective resistance value between vertices i and j of the N-simplex. (Assuming unit specific conductivity of the medium)

 

Illustration for the interpretation of Yij =1/Rij as the effective conductance values for simplicial discretisation using electric circuits.

 

 

References:

1. Dorst, L. et al (2007), Geometric Algebra for Computer Science, Morgan-Kaufmann. ISBN 0-12-374942-5