Space diagonal (3D)
About this app
Pythagoras in space on a cuboid: face diagonal d=√(a²+b²), space diagonal e=√(a²+b²+c²). Two right triangles highlighted, rotatable (3D). Sliders a, b, c; cube preset.
Pythagoras twice
The space diagonal e connects two opposite corners of a cuboid with edges a, b and c. It is found by applying the Pythagorean theorem twice. In the base, a and b form a right triangle whose hypotenuse is the face diagonal d = √(a² + b²). This diagonal and the height c form a second right triangle with hypotenuse e = √(d² + c²) = √(a² + b² + c²).
What the app shows
A cuboid you rotate with the mouse, with sliders for length a, width b and height c. The face diagonal, the space diagonal and both helper triangles can be shown separately. The values panel lists the edges, the diagonals and the formulas with the numbers filled in. One button sets a = b = c and turns the box into a cube.
Try it yourself
Rotate the box until the second helper triangle stands upright in front of you; you can then see the face diagonal d acting as a leg. For a cube with edge a, d = a·√2 and e = a·√3. Change a single edge and watch how only one of the terms under the square root changes.
Frequently asked questions
- How do you calculate the space diagonal of a rectangular box?
- Use e = √(a² + b² + c²), where a, b and c are the edge lengths. For a box measuring 3 cm, 4 cm and 12 cm, e = √(9 + 16 + 144) = √169 = 13 cm.
- How long is the diagonal of a cube?
- For a cube with edge length a, the space diagonal is a·√3 and the face diagonal is a·√2. A cube with 10 cm edges has a space diagonal of about 17.32 cm.
- What is the difference between a face diagonal and a space diagonal?
- A face diagonal runs across one face from a corner to the opposite corner of that face. A space diagonal passes through the interior to the opposite corner of the whole box. It is longer than any face diagonal.
- What does the 3D app show?
- It shows a rotatable cuboid with adjustable edges, together with the face diagonal, the space diagonal and the two right helper triangles. The lengths are computed live, and a cube button makes all edges equal.
Subject: School mathematics (Gymnasium)
More from School mathematics (Gymnasium)
- Tree diagram & path rules
- Binomial identities through geometry
- The number π
- Unit circle & sine curve
- Exponential growth & decay
- Ulm’s glass pyramid
- Equation balance
- Half-life & decay
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps