Loading 3D engine…

Pythagorean Theorem — 3D

A right-angle tetrahedron: three mutually perpendicular edges p, q, r from one corner, exactly like the legs of the 2D original — extended one dimension further.

Edge p (OA)
—
Edge q (OB)
—
Edge r (OC)
—
Box diagonal d
—
Edge p3.0
Edge q4.0
Edge r5.0
Auto-rotate: On
Box + diagonal: On
Face ABC area S
—
cos²α+cos²β+cos²γ
—
Water proof: On
Quality: High
De Gua's theorem — the 3D Pythagorean theorem: the square of the slanted face's area equals the sum of the squares of the three right-angle faces.
S₁²+S₂²+S₃² = —
S(ABC)² = —
The science

Water-fill proof. For the right triangle OAB the squares on the legs have areas p² and q²; filling shallow trays to equal depth h, their water volumes p²h + q²h pour exactly into the tray of area (p²+q²) = AB², raising it to the same depth h. The animation shows the classical Pythagorean theorem used edge by edge; trays are drawn at half scale (areas keep their ratios). Meshes and textures were modelled and baked in Blender; geometry maths is unchanged.

De Gua's theorem. For a tetrahedron with three mutually perpendicular edges p, q, r at corner O, SABC² = SOAB² + SOBC² + SOCA² with SOAB = pq/2 etc. The slanted face area is computed independently as half the length of the cross product (B−A)×(C−A), with a third value from Heron's formula on the edge lengths √(p²+q²) etc.

Direction cosines. The slanted face's unit normal is (qr, rp, pq)/(2S); its squared components sum to 1, which is the same identity as De Gua's theorem divided by S². The box diagonal d = √(p²+q²+r²) is the other 3D Pythagorean extension.

Honesty. This is a pure geometry demo: lengths are dimensionless, edges are limited to 1.0 to 8.0, and the equality holds exactly only for the right-angle corner; the check shows floating-point residuals (about 1e-13), not a physical measurement. De Gua's theorem was published in 1783.

Face OAB — S₁ = ½pq
Face OBC — S₂ = ½qr
Face OCA — S₃ = ½rp
Face ABC — the "hypotenuse" face
Drag to orbit · scroll to zoom
Made with 🟠 Blender · Three.js