A curiosity journal of math, physics, programming, astronomy, and more.

Moat-crossing puzzle

There's an old riddle about a square moat that asks how to cross it with two planks that are slightly shorter than the moat's width. Here's an illustration:

A square moat, with two planks slightly shorter than the moat's width.

If you'd like to consider the riddle yourself, stop reading now.

The full length and width of the moat don't matter, only the distance across the water. In the version I read, it was given as 5 meters. The puzzle is how to cross the moat with two planks 4¾ meters long, without fastening them together into a single long plank. Here's the solution:

A square moat crossed by two planks shorter than the width of the moat.

Verifying the solution devolves into repeated applications of the Pythagorean theorem on isosceles right triangles. Zooming in on the corner, we need to know the distance from the outer corner of the moat to the inner corner:

The Pythagorean theorem gives the distance across the corner of the moat.

Let's call the width of the moat a and the length of the plank b. The distance c from the outer corner of the moat to the inner corner is

StartLayout 1st Row 1st Column c squared 2nd Column equals a squared plus a squared 2nd Row 1st Column c 2nd Column equals StartRoot 2 EndRoot a EndLayout

We also need to know how far out we can put the first plank, each end distance d from the outer corner:

The Pythagorean theorem gives the maximum distance we can bridge across the corner.
StartLayout 1st Row 1st Column b squared 2nd Column equals 2 d squared 2nd Row 1st Column d 2nd Column equals StartFraction b Over StartRoot 2 EndRoot EndFraction EndLayout

Finally, we need to know how far our first plank gets us out over the moat, e:

The Pythagorean theorem gives the maximum distance we can bridge across the corner.
StartLayout 1st Row 1st Column d squared 2nd Column equals 2 e squared 2nd Row 1st Column e 2nd Column equals StartFraction d Over StartRoot 2 EndRoot EndFraction 3rd Row 1st Column e 2nd Column equals StartFraction b Over 2 EndFraction EndLayout

We can easily check that b/2 is a sensible result given that the above is an isosceles right triangle, so the distance from the outer corner of the moat to the center of the plank should be half the length of the plank.

To find how much the first plank shortens the distance across the moat, find c − e:

StartLayout 1st Row 1st Column c minus e 2nd Column equals StartRoot 2 EndRoot a minus StartFraction b Over 2 EndFraction EndLayout

In the case of a moat 5 meters across and a plank 4¾ long, the gap remaining to be crossed is

StartLayout 1st Row 1st Column 5 StartRoot 2 EndRoot minus StartFraction 4.75 Over 2 EndFraction 2nd Column equals 4.696 EndLayout

meters, which is just shorter than our second 4¾-meter plank.

How short can the planks be? They have to be longer than c − e, or, put mathematically,

StartLayout 1st Row 1st Column b 2nd Column greater-than StartRoot 2 EndRoot a minus StartFraction b Over 2 EndFraction 2nd Row 1st Column three halves b 2nd Column greater-than StartRoot 2 EndRoot a 3rd Row 1st Column StartFraction b Over a EndFraction 2nd Column greater-than StartFraction 2 StartRoot 2 EndRoot Over 3 EndFraction almost-equals 0.94 EndLayout

The planks have to be at least 0.94 times the width of the moat. Given that this puzzle is only interesting when the planks are shorter than the width of the moat, we have a narrow range of possibility:

StartLayout 1st Row StartFraction 2 StartRoot 2 EndRoot Over 3 EndFraction less-than StartFraction b Over a EndFraction less-than 1 EndLayout

Shown graphically, with our 5-meter moat and 4¾-meter planks marked as a dot,

The narrow range of plank lengths that work for this puzzle, with a mark denoting the specific puzzle given above.

A narrow slice of possibility like this is part of what makes an interesting puzzle.