The Higher-Dimensional Pythagorean Theorem
1. Introduction
We have all heard of the familiar Pythagorean theorem, relating the side lengths of a right triangle. But, have you heard of De Gua’s Theorem? An interesting generalization of the Pythagorean theorem into 3 dimensions, this theorem is very similar result for “right tetrahedrons” where three of the edges are mutually perpendicular. Suppose, in such a tetrahedron we have
Denote the area of as . Then,
In today’s post, we will investigate whether a similar result holds for an arbitrary number of dimensions. But before doing that, we must start by proving the case for 3 dimensions…
2. The 3-D Case
We start by placing the points of the tetrahedron on a coordinate system. Suppose
At first, I thought of using Heron’s formula to solve for given its side lengths with the Pythagorean theorem, but quickly realized it would be extremely tedious and very difficult to generalize to higher dimensions. Thinking in a more geometrical sense, I thought of projecting the triangle down onto one of the planes of the coordinate system, say the x-y plane. The resultant triangle is identical to and thus its area should be easy to calculate. But how can we use this to find ?
The key part is realizing that projecting any planar figure onto another plane multiplies its area by a particular constant: , where is the dihedral angle between the two planes.
If you don’t believe this, prove it for simple rectangles first, and then think of breaking up general shapes into many thin rectangular slices.
How should we go about finding this dihedral angle? Let us drop a perpendicular from onto , and call the foot of this perpendicular :
Now, observe that the dihedral angle between the plane of and the x-y plane is just . So the ratio we seek is . Stepping into the two-dimensional world of the x-y plane for a moment, we see that the equation of line is given by . Thus, we can calculate its distance to the as
Now, because and is right, we have
Thus,
But, , so solving for yields
as claimed.
3. The General Case
We now have a clear idea of what to try in higher dimensional cases. Given an n-dimensional Cartesian coordinate system, we set points
where for convenience. For simplicity, we will refer to this figure as a right n-D triangle (this is almost certainly not the actual name). We would like to prove that
where the brackets now denote the dimensional equivalent of volume. In the general case, I will use the assumption that projections from one hyperplane to another in -dimensional space transform -dimensional volumes by scaling them with a constant factor: the cosine of the “angle” between the two hyperplanes (this can probably be proved in a similar way as 3 dimensions). I will also assume that this dihedral angle can be calculated in a similar way: by drawing a suitable right triangle in a plane perpendicular to the two hyperplanes. Observe that the projection of onto the first axes is , because is the only point that is not already in the lower-dimensional space, and it transforms to . Furthermore, note that is contained within an -dimensional hyperplane with equation
This can be verified by simply plugging in the coordinates of each into the equation.
Now, for a moment we restrict ourselves to the -D space formed by the axes (so we will temporarily delete the last coordinate of every point). Observe that the points pass through the -D hyperplane with equation
Verify this by plugging in the first coordinates of each and seeing that the equation is satisfied. Call this -D hyperplane .
Now, we can drop an altitude from onto , call the foot of this altitude . We will now establish the length , which is equivalent to the distance from to . We can use the general formula for the distance between a point and a hyperplane:
Observe that is can also be expressed as the intersection of the -D hyperplane containing and the -D hyperplane containing . Furthermore, is also formed by the coordinate axes . Then, has a right angle at , because and as is contained in the coordinate axis. From here, it is easy to see that the projection of onto is also ; if , then projecting onto is the same as projecting onto and then onto , and projecting onto yields .
From the above arguments we can see that the angle in triangle is the dihedral angle between hyperplanes and . Then,
We will make one final assumption: the volume of a right k-D triangle with edge lengths is equal to , where is a constant dependent on the dimension . For example, the volume of a right tetrahedron with edges is , so . This can be justified by setting to be the volume of a right k-D triangle with edge lengths 1, then scaling the figure by a factor of along each axis , thus multiplying the initial volume of by at each step. Now, we use the Pythagorean Theorem of to find :
where the th squared term in the numerator consists of the product of the numbers except for . Now, we compute as
Multiplying this by yields
as claimed, and we have finally proven the general result! So, the surprising result of De Gua’s theorem is not simply a coincidence of three dimensions, but can be extended to any number of dimensions.
2 thoughts on “The Higher-Dimensional Pythagorean Theorem”
i don’t understand anything but this is a super cool idea and an absolute slay
An interesting read, explained in easy to understand language.