Sub topic 8
The Space Diagonal: \(\sqrt{l^2+w^2+h^2}\)
Assume you know the Pythagorean theorem, basic algebra, square roots, and the dimensions of a rectangular solid. A space diagonal is the straight segment joining two opposite vertices of a box. It passes through the inside of the solid.
For a rectangular solid with length \(l\), width \(w\), and height \(h\), the space diagonal \(d\) is
\[ d=\sqrt{l^2+w^2+h^2}. \]
This is the three-dimensional version of the Pythagorean theorem.
Deriving the formula
First, find the diagonal of the rectangular base. Call this diagonal \(b\). The base has side lengths \(l\) and \(w\), so
\[ b^2=l^2+w^2. \]
Now use a second right triangle. Its legs are the base diagonal \(b\) and the height \(h\). Its hypotenuse is the space diagonal \(d\):
\[ d^2=b^2+h^2. \]
Substitute \(b^2=l^2+w^2\):
\[ d^2=l^2+w^2+h^2. \]
Taking the positive square root gives
\[ d=\sqrt{l^2+w^2+h^2}. \]
The diagonal is a length, so use the positive root.
Worked example
A box measures \(3\) units by \(4\) units by \(12\) units. Find its space diagonal.
Substitute the dimensions:
\[ d=\sqrt{3^2+4^2+12^2} =\sqrt{9+16+144} =\sqrt{169} =13. \]
The longest straight segment inside the box is \(13\) units.
import math
l, w, h = 3, 4, 12
diagonal = math.sqrt(l**2 + w**2 + h**2)
print(diagonal) # 13.0Common errors
| Error | Why it is wrong | Correct approach |
|---|---|---|
| Adding \(l+w+h\) | A diagonal is not the sum of the three edges | Square each dimension, add, then take the square root |
| Using \(2(lw+lh+wh)\) | This formula gives surface area | Use \(\sqrt{l^2+w^2+h^2}\) |
| Finding only \(\sqrt{l^2+w^2}\) | This is the diagonal of the base, not the whole box | Include \(h^2\) |
| Mixing units | Squaring different units produces an invalid sum | Convert all dimensions to the same unit first |
A quick check can help. The space diagonal must be longer than the largest single dimension, but it cannot be longer than the sum of all three dimensions. For the \(3\)-by-\(4\)-by-\(12\) box, \(13\) fits between \(12\) and \(19\).
GRE strategy
For a Quantitative Comparison question, compare the squared diagonals instead of taking square roots. Since the square-root function preserves order for nonnegative values,
\[ d1>d2 \quad\text{exactly when}\quad d1^2>d2^2. \]
Thus, compare \(l^2+w^2+h^2\) directly. This avoids unnecessary calculation.
Exercise
A rectangular box has dimensions 6, 8, and 10. What is its space diagonal?
Show answer
Use d = √(6² + 8² + 10²) = √200 = 10√2 units.