Configuration Space (x, y, θ)
s = —
Candidates
Controls
r = 60 px
Word history
Challenges
drag a pose body to move it · drag the ring to aim it · drag the grip on the start circle to change r
Explore the idea

The constraint that changes the geometry

You spend the year proving things with a compass and a straightedge. Two tools, a short list of permitted moves, and out of them all of Euclid. Notice what the rules actually govern: not where you may end up, but which moves are allowed to get there. Change the permitted moves and you change the geometry itself.

A car is a compass with one move missing. It rolls forward and it steers, but it cannot slide sideways — no motion carries it straight to its left. That single forbidden move is the whole problem. It is why a car that needs to end up one foot to the side must pull out, arc around, and come back.

Two ways to be forbidden

There are two kinds of “cannot,” and telling them apart is the heart of this.

A holonomic constraint forbids positions. A bead on a wire may only be on the wire; a compass point stays a fixed distance from its center. You can state the rule as an equation about where things are, and it fences off a region once and for all. Euclid lives here: every construction is a holonomic world of allowed points and forbidden points.

A non-holonomic constraint forbids directions of motion, not positions. The car can reach any spot facing any way — nowhere is walled off — yet at every instant it may not move sideways. The restriction is on velocity, and it stubbornly refuses to reduce to any rule about position alone. That is the precise meaning of the word: a limit on how you may move that cannot be rewritten as a limit on where you may be.

Before reading on. In the Solver, set the goal a hand’s-width to the side of the start, both facing the same way, and shrink the turning radius until the path pulls tight. Watch how far the car travels to cover almost no ground. Why should sideways be the expensive direction?
after you’ve tried it

Because sideways is the one velocity the car never has. Every foot to the side must be bought with forward motion and turning — roll out, come around, roll back. Nothing is unreachable, which is exactly what makes the constraint non-holonomic rather than a plain wall; but the price of a place now depends on the heading you must arrive with. A holonomic world prices a destination by where it is. A non-holonomic world prices it by where it is and how you must be facing when you get there.

A construction, not a formula

Here is the part worth slowing down on, because it is Euclid, not algebra.

Every pose — a point together with a facing — carries two circles of radius r, one for a hard left turn and one for a hard right, each just touching the pose. Four circles in all: two at the start, two at the goal. The shortest legal path is then built, the way you build anything at the drawing board:

— draw the tangent lines that run between a start circle and a goal circle (these are the straightaways);
— or, when the poses crowd together and no straightaway fits, draw a third circle that kisses two of the others (the swing-around);
— measure each path you were able to construct, and keep the shortest.

That is the whole method. The solver is not searching, and it is not reaching for a memorized formula. It is doing compass-and-straightedge work and then measuring — the same constructive habit you practice in Euclid, run in a world with one forbidden direction. In 1957 Lester Dubins proved the menu is complete: the shortest path is always one of these constructions, never more than three pieces, each piece a hard turn or a straight run. So the honest solver builds every candidate that applies and takes the least.

Before reading on. Fix both poses and drag only the radius. Predict: can the kind of answer change while nothing moves?
after you’ve tried it

It can. The math never sees your pixels; it sees a single number — the distance measured in turning radii. Growing the radius and sliding the poses together are the same act: you are shrinking the world, not thickening the car. Past a point the straightaway can no longer be drawn (the circles now overlap where the tangent line used to fit), and the swing-around construction takes over. The winner changes all at once even though every candidate changed smoothly — the least of several smooth curves jumps the instant two of them trade places. A method that tried to nudge one path toward better would get stranded here; rebuilding the whole menu each time never does.

The same shape, in other rooms

Once you can feel the difference between a forbidden place and a forbidden move, you start seeing non-holonomy everywhere:

Parking. The parallel spot sits inches away and cannot be entered head-on — the same wall the car meets here. Give it a reverse gear (the Reeds–Shepp problem) and the wall drops: the costly loop becomes a cheap shuffle, because reverse restores a move that was missing.

A rolling coin. Roll one around a closed loop on the table and it returns turned by an angle that depends on the path, not merely the start and finish. The no-slipping rule leaves a memory in the facing. Physicists call that leftover a holonomy — same root word — and it is how a dropped cat rights itself and how a gyroscope drifts.

Heat and work. In thermodynamics some quantities depend only on the state you are in (holonomic), and others depend on the path you took to get there (the work done, the heat exchanged). “You cannot recover the work from the state alone” is the same sentence as “you cannot recover the car’s cost from its position alone.”

Different rooms, one structure: when the rule limits how you may move rather than where you may be, position stops telling the whole story, and the path becomes something you have to account for. Dubins’s gift was not the six shapes. It was proving that even in such a world the honest accounting stays short — a handful of constructions and a minimum.