Why Order Matters: Turning vs. Walking
Turns and walks don't commute — performing a turn after a walk lands you in a different spot than performing the same walk after the same turn, because a turn rotates the direction you'll later walk in.
A complete interactive classroom, not just a preview.
Start when you are ready to enter this Stage's 8 scenes and explore, respond, and learn as you go.
Why does turning first-then-walking and walking first-then-turning put you in two different places, even though the turn angle and the walk distance are identical?
Try it: stand up, walk 3 steps forward, then turn 90° left. Now face the same start, turn 90° left first, then walk 3 steps forward. You're not in the same place — but why?
It feels like walking and turning should commute — like adding numbers. But they don't. The order secretly decides your final spot, even though each piece looks the same.
A side-by-side top-down comparison of two paths on a grid, plus a draggable simulation that lets the learner reorder a walk-then-turn sequence and watch the path change.
Order of operations is not a quirk — it's a built-in feature of how the world composes rotations and translations. Different orders move you to different places, and one specific order is the one that matches how we actually move through the world.
It feels like walking and turning are independent actions, so doing them in either order should give the same result — like 3 + 2 = 2 + 3.
- Quaternion math
- Matrix multiplication formalism
- Non-Euclidean spaces
- Rotation matrices beyond SO(2)
- Relativistic composition of velocities
- 01The Puzzle of Non-Commuting StepsslideQuestion
Open with the lived experience: stand up, walk forward, then turn. Reset, turn first, then walk. The two paths end somewhere different. Pose the driving question plainly, without giving the answer.
- Both routines use the same turn angle and the same walk distance
- Both routines start and end on the same floor
- Yet the final positions differ — why?
- 02What Do You Guess?quizPrediction
Ask the learner to commit to a single hypothesis before any evidence is shown.
- One independent choice
- 03Try Both Orders on a GridinteractiveEvidence
A top-down grid simulation. The learner drags a 'walk 3 squares' step and a 'turn 90°' step into either order and presses Play. Two paths are drawn and the two final positions are marked, showing visibly that they don't coincide.
- Drag to reorder walk and turn
- Press Play to animate both paths
- Observe the two ending dots are in different squares
- 04The Two Paths, Side by SideslideEvidence
A static top-down diagram contrasting Path A (walk then turn) and Path B (turn then walk) with the same distance and same angle, making the mismatch in final positions obvious at a glance.
- Path A ends at a 90°-rotated location from Path B
- Same step lengths, same turn magnitude — only the order changes
- Distance between the two endpoints grows with walk distance
- 05Turning Rotates the Direction of Future WalkingslideExplanation
Explain the mechanism: a turn doesn't move your body, it rotates the frame in which 'forward' is defined. Whichever step comes second has to be interpreted in the frame that the first step left behind. Walking first walks in the original frame; turning first walks in the rotated frame.
- A turn is a rotation of your forward direction, not a translation
- The walk after the turn uses the rotated 'forward'
- The walk before the turn uses the original 'forward'
- Different forward directions → different final positions
- 06What If the Numbers Change?interactiveTransfer
Let the learner change the walk distance and the turn angle freely and watch how the gap between the two final positions grows, shrinks, or even disappears at special angles. Tests whether the explanation holds beyond the 90°–3-step case.
- Slide to change walk distance and turn angle
- Watch the gap between the two end points update live
- Notice the gap shrinks to zero at 0° and 360°
- 07When Does Order Stop Mattering?slideBoundary
Show the cases where the two paths do coincide: a 0° turn (no turn at all), a 360° turn (back to the same heading), and a walk of distance zero. Order only matters when both the turn and the walk are nontrivial.
- Zero turn angle → both paths identical
- Zero walk distance → both paths identical
- 360° turn → both paths identical
- Any other combination → paths diverge
- 08Order Matters Because Direction Is RotatedslideResolution
Directly answer the driving question in one sentence, then restate it as a general principle: any operation that changes the meaning of a later operation's inputs breaks commutativity. Closing the opening tension.
- Walking in the original direction vs. walking in the rotated direction produces different endpoints
- The turn reshapes the reference frame the walk happens in
- This is a feature, not a bug — your body obeys the same rule when you actually walk
Discussion threads for a Stage aren't available yet.