Geometry

Ant on a Cuboid: Shortest Path

An ant crawls from one corner of a box to the opposite corner. Unfold the box’s faces and the shortest surface path becomes a straight line — the space diagonal is shorter only if it could fly. Compare unfoldings and find which gives the shortest crawl.

8 minLevel 2/3The interactive stage stays ad-free.

What you are seeing

1

A path over the surface must stay on the faces, so flatten the relevant faces into a plane.

2

On the flattened net, the shortest path is a straight line — its length is √((a+b)² + c²) for a suitable ordering.

3

Different unfoldings give different straight lines; the smallest is the true shortest crawl.

Why it matters

This is the top solid-geometry exam pattern: it teaches that shortest surface paths come from unfolding, not from the 3D diagonal.

Complexity & details

Comparing the three unfoldings is O(1).

Frequently asked questions

Why not just use the space diagonal?+

The space diagonal cuts through the solid, but the ant must stay on the surface. The surface path is always longer.