The spider and the fly, step by step
A spider in one corner of a room, a fly in the far opposite corner.
What is the shortest distance across the surface?
Unfold the box, then go straight
- A bug crawls the OUTSIDE of an 5 × 10 × 20 box, corner to the far opposite corner, and may not cut through. Nothing is measured yet.
- A bent path over two faces becomes a straight line once those faces are unfolded flat. Pairing the two shorter edges lays them along one side: 5 + 10 = 15, with 20 the other side.
- Pythagoras on that flat rectangle: 15 × 15 = 225 and 20 × 20 = 400, together 625; and 25 × 25 = 625, so this path is 25.
- It is the shortest: the other two unfoldings come out longer (squared lengths 725 and 925), and cutting straight through the box is shorter still but leaves the surface, so it does not count. Shortest surface path: 25.
How it works.
- 01
A bug crawls the OUTSIDE of an 5 × 10 × 20 box, corner to the far opposite corner, and may not cut through. Nothing is measured yet.
- 02
A bent path over two faces becomes a straight line once those faces are unfolded flat. Pairing the two shorter edges lays them along one side: 5 + 10 = 15, with 20 the other side.
- 03
Pythagoras on that flat rectangle: 15 × 15 = 225 and 20 × 20 = 400, together 625; and 25 × 25 = 625, so this path is 25.
- 04
It is the shortest: the other two unfoldings come out longer (squared lengths 725 and 925), and cutting straight through the box is shorter still but leaves the surface, so it does not count. Shortest surface path: 25.