Course contentsShow
← Mathematics
Lesson 780 of 3,12119. Right Triangles and PythagorasFree lesson

The Pythagorean Theorem in 3D

Extend the theorem to find space diagonals in rectangular prisms and other 3D figures.

The Pythagorean Theorem in 3D

You'll learn how to find the longest diagonal inside a 3D box using the Pythagorean Theorem twice.

From Flat to Solid

You already know the Pythagorean Theorem works in flat, 2D right triangles: a² + b² = c². But what if you need to find the distance from one corner of a rectangular box to the opposite corner, cutting straight through the inside? That diagonal doesn't lie on any face—it goes through the space inside.

The Space Diagonal Formula

Imagine a rectangular prism (a box) with length l, width w, and height h. To find the space diagonal d connecting opposite corners:

  1. First, use the Pythagorean Theorem on the base: Find the diagonal across the bottom rectangle: √(l² + w²)
  2. Second, create a right triangle in 3D: This base diagonal becomes one leg, the height h is the other leg, and the space diagonal d is the hypotenuse
  3. Apply the theorem again: d² = (√(l² + w²))² + h²

Simplifying: d² = l² + w² + h² or d = √(l² + w² + h²)

Example

A box is 3 feet long, 4 feet wide, and 12 feet tall. What's the space diagonal?

  • d = √(3² + 4² + 12²)
  • d = √(9 + 16 + 144)
  • d = √169 = 13 feet

Think of it as stacking Pythagorean applications: solve the floor, then "stand up" into the third dimension.

Key Takeaway: The 3D Pythagorean Theorem finds space diagonals in rectangular prisms using the formula d = √(l² + w² + h²), applying the theorem twice—once in 2D, then extending into the third dimension.