Chapter 16 Instructor Notes: Rook Endgames
Chapter text · Case study 1 · Case study 2 · Exercises · Quiz · Key takeaways
This is the chapter where exact theory and messy practice meet most directly. It does two things at once: it teaches a handful of tablebase-verified reference positions (Lucena, Philidor, Vancura, the two-pawn endings) and a set of activity principles (active rook and king, the seventh rank, Tarrasch's rule), and then it tests both against real games. The most teachable result is a surprise: in OTB classical play the half-points in R+P vs R leak from the defender, not the attacker. Build the session toward that finding.
Learning objectives
The chapter does not print a numbered objective list; these are drawn from its track routing, the Chapter Summary and the decision checklist. By the end, students should be able to:
- Say how common rook endings really are (21.2% of OTB classical endgame games and 16.4% of Lichess endgame games pass through one) and why "half of all endgames" is a myth.
- Judge when activity is worth a pawn — and explain why, on average, a pawn beats a mobility edge.
- Explain the two jobs of a rook on the seventh rank and the geometry behind Tarrasch's rule, including its rook-pawn exception (Vancura).
- Play the Lucena (bridge on the 4th/5th rank), Philidor (third rank, then check from behind; long side vs short side) and Vancura (attack the rook pawn from the side) positions, and name why each fails when misplayed.
- Use the tablebase as referee and the engine as explainer, and read theory-vs-practice tables critically.
- (Developer) Build
outpost/rook_endings.py: classifier, activity measures, tablebase layer, conversion and theory-vs-practice tables.
Timing plan
75-minute session
| Minutes | Activity | Notes |
|---|---|---|
| 0–10 | Hook: Capablanca–Tartakower before move 35 | Vote: 35.Kf2, 35.Kg2 or 35.Kg3? Reveal +3.07 vs +0.47 / +0.42 (depth 24). |
| 10–20 | 16.1 How common are rook endings? | "Start" vs "ever"; 6.3% vs 21.2%. |
| 20–30 | 16.2 Activity vs a pawn | Figure 7; 72.1% vs 56.9%. |
| 30–40 | 16.3–16.4 Seventh rank and Tarrasch's rule | The Tarrasch pair (win vs draw with rooks swapped). |
| 40–60 | 16.5–16.7 Lucena, Philidor, Vancura | Board demo (below); the 26/60 and 7/60 maps. |
| 60–72 | 16.9 Theory vs practice | Data demo: who gives away the points? |
| 72–75 | Exit ticket and assignment |
3-hour block
| Minutes | Activity | Notes |
|---|---|---|
| 0–15 | Hook and vote | As above. |
| 15–40 | Capablanca–Tartakower in three acts | Diagrams at moves 29, 35, 38 and 46; Figure 6. |
| 40–60 | Activity database test | Discuss confounding (16.2 pitfall). |
| 60–85 | Seventh rank: Nakamura–Caruana | Play 26.Re7 through 39.Rxf6; depth effect after 31...Rxf2. |
| 85–95 | Break | |
| 95–130 | Reference positions at the board | Pairs play Lucena, Philidor and Vancura against each other; switch colours. |
| 130–150 | Divya Deshmukh–Ju Wenjun tablebase walk | Exercise B4 live. |
| 150–170 | Case Study 2 in small groups | Each group takes one cell of the theory-vs-practice table. |
| 170–180 | Exit ticket; assign Part C to Analyst/Developer students |
Key numbers and games
| Item | Value as quoted | Where |
|---|---|---|
| Capablanca–Tartakower, New York 1924 (master game_id 15157), move 35 | 35.Kg3 +3.07, 35.Kg2 +0.47, 35.Kf2 +0.42 (Stockfish 19, depth 24, three-line search); position +2.74 (d20) / +3.28 (d24) | Hook; 16.2 |
| Same game after 37...Rxf4+ | +4.82 (d20) / +4.92 (d24), White three pawns vs five | Hook; 16.2 |
| Final position after 52.d6 | Tablebase 1-0, DTZ −2 | 16.2 |
| Rook-ending share | Ever: OTB classical 21.2%, Lichess 16.4% (weighted); at endgame start 6.3% OTB, 5.2% Lichess | 16.1 |
| Activity vs pawn (OTB classical, first R-R position) | Level pawns, mobility edge ≤−5: 39.2% (n=422); ≥+5: 56.9% (n=466); pawn up but rook ≥5 squares less mobile: 72.1% (n=509) | 16.2 |
| Engine fit (n=7,413) | eval = 1.4 + 218.5·pawns + 9.98·mobility_edge + 47.34·king_edge (cp); one pawn ≈ 21.9 squares of mobility | 16.2 |
| Seventh rank, OTB classical | A rook reached the 7th in 67.4% of R-R games; only side to get there scored 57.9% (n=10,390) | 16.3 |
| Nakamura–Caruana, Candidates 2026 r8 (broadcast 136283) | After 25...Rb2 +0.10 (d24); after 31.Rdd7 +3.55 (d24); after 31...Rxf2 +2.21 (d20) vs +3.86 (d24); 28...Rab2 +0.54 vs 28...h5 +3.23 (d22) | 16.3; Ex. B8 |
| Tarrasch pair | Rook behind a6: win (DTZ 13); rook in front on a8: draw, either side to move | 16.4 |
| Firouzja–Gukesh, Norway Chess 2026 r15 (broadcast 191779) | After 40...Ra5 +0.63 (d24); 46...Ra5 +0.61 vs 46...Kb3 +4.44 (d22) | 16.4; Ex. B7 |
| Lucena after 1.Rd1+ Ke7 | 2.Rd4/2.Rd5 win (DTZ 12), 2.Rd3 wins; 2.Rd2, 2.Rd6, 2.Rd7+, 2.Rd8 only draw | 16.5; Ex. B1 |
| Philidor map (W Kd5, Ra7, e5; B Ke8; W to move) | 26 of 60 rook squares hold; back rank holds only on b8, c8 | 16.6 |
| Vancura map (W Kd4, Ra8, a6; B Kg7; W to move) | 7 of 60 hold — b6 to h6 | 16.7 |
| Two-pawn endings | f+g vs R 1-0 (DTM 33); f+h vs R ½-½; f+g vs g ½-½ | 16.8 |
| Divya Deshmukh–Ju Wenjun, Norway Chess Women 2026 r11 (broadcast 190813) | 57.Ra4 (only 57.g4/57.Kg2 drew), 57...Kd5 (only 57...f5 won), 58.Kg2, 58...Kc5, 59.Ra6 — result changed five times; 0-1 | 16.8; Ex. B4 |
| R-R one pawn up, OTB classical | n=11,733: win 58.5%, draw 35.7%; wins 64.9% (1400–1599) → 47.0% (2400+); Lichess blitz loss 28.5% | 16.9 |
| R+P vs R theory vs practice | Theoretical draws 62.1% OTB / 56.4% Lichess; OTB won converted 94.3% [84.6–98.1]; points given away OTB attacker 0.011, defender 0.057; Lichess 0.139 / 0.104 | 16.9; Case Study 2 |
| R+2P vs R+P theory vs practice | OTB won converted 90.5%, drawn held 67.3% | Case Study 2 |
| Two pawns up R-R, OTB classical | 86–90% wins below 2400; 78.6% [72.9–83.4] at 2400+ (n=234) | Project Checkpoint |
| Alekhine–Capablanca, WCh 1927 g34 (master game_id 697) | After 50.Rxd4 +3.32 (d24); 51.a5 +3.31 vs 51.Rd5/Rd3 +2.88 (d22); after 76...Rxa5 +5.87 (d24) with level material | Case Study 1 |
Threshold concepts and likely misconceptions
Threshold concept: a pawn is the default; activity is the exception you must be able to prove. The chapter deliberately sets the proverb ("an active rook is worth a pawn") against the database (a pawn beats a mobility edge on average) and the Capablanca game (activity worth two pawns). Students who cross the threshold stop asking "which rule applies?" and start asking "can I name the concrete gain?"
A second threshold: the defender's set-up is a relationship, not a square. The Vancura "Try it" shows that after 1.Kc5 two sixth-rank squares (g6, h6) lose even though the map says the sixth rank holds; the map was drawn with the king on d4.
Misconceptions to expect:
- "Half of all endgames are rook endings." 16.4–21.2% ever; 5–6% at the start.
- "Rooks always go behind passed pawns." True except against a rook pawn supported from in front (Vancura): from a1 Black loses. Case Study 2's game 29737 was lost by exactly this — 51...Re1, heading behind the pawn.
- "The back rank is safe." The Philidor map: back rank holds from only b8 and c8; f8, g8, h8 lose.
- "Two pawns up is always winning." f+h vs R is a draw with either side to move.
- "Strong players convert pawn-up rook endings more often." In OTB classical the win rate falls with rating (64.9% → 47.0%) because defenders hold more draws; the attacker's score barely moves (78% → 72%).
- "The only side reaching the 7th scores 57.9%, so the seventh is worth eight points." Confounded: reaching it is partly a consequence of being better (Quiz Q11).
- "+3.3 means three pawns ahead." In endgames it means "winning with technique"; only the tablebase certifies a forced win.
How the four tracks use this chapter
- ♟️ Improver: 16.2, 16.3, 16.5–16.7 and the Summary. Set up the Philidor and Vancura maps (Figures 3 and 4) on a board and play them out. Exercises Part A and B1–B5. The six-step decision checklist in the key takeaways is the take-home tool.
- 📊 Analyst: 16.1, the activity test in 16.2, 16.8–16.9 and Case Study 2. Stress the confounding caveats, the weighting of the Lichess sample by
sample_weight, and the wide Wilson intervals on 40–90-game cells. Exercises C1, C2, C5, C7 and E1. - 🏆 Competitor: 16.3–16.4 (seventh rank, Tarrasch's rule in elite 2026 games), 16.8 and Case Study 1 (Alekhine–Capablanca). Exercises B6–B8 and D2, D5. The "defence first" finding from Case Study 2 is their training-plan argument.
- 💻 Developer: the Project Checkpoint (
outpost.rook_endings) and scripts 03, 06 and 07. Exercises C3, C4, C6 and E3. Point out the caching habits in_raw(): retry on transient errors, pause after real network requests, keep a private chapter cache.
Running the code
| Script | What it shows | Runtime / notes |
|---|---|---|
01_rook_endings_in_data.py |
Rook-ending shares; R-R one-pawn-up table by band | about 23 s |
02_theory_positions.py |
All constructed positions (Lucena, Philidor, Vancura, Tarrasch pair, two-pawn endings) with tablebase verdicts | tablebase cache |
03_defender_rook_maps.py |
Philidor (26/60) and Vancura (7/60) maps | tablebase cache |
04_capablanca_tartakower.py |
The hook game with depth-20/24 evals and activity measures | engine cache |
05_modern_examples.py |
Nakamura–Caruana, Firouzja–Gukesh, Divya Deshmukh–Ju Wenjun tablebase walk | engine and tablebase cache |
06_activity_vs_pawn.py |
Activity vs pawn table and least-squares fits | about 34 s with 3 workers |
07_theory_vs_practice_rp.py, 08_theory_vs_practice_r2p.py |
Theory vs practice samples | under 35 s each from cache; a cold run took about 20–30 minutes because of tablebase rate limits |
09_exercise_positions.py |
All exercise solutions | |
case_study_01.py, case_study_02.py, project_checkpoint.py |
Case studies and module demo |
All endgame verdicts come from the cached tablebase (data/cache/tablebase.sqlite, reached only through chessdata.tablebase()), plus a slim chapter-local copy in code/tb_cache.json. Make sure both are present before class: with them, everything reruns offline in seconds; without them, scripts 07 and 08 hit the public tablebase server and slow to a crawl. Other chapter-local data: rr_activity_sample.csv.gz, theory_practice_rp.csv, theory_practice_r2p.csv. Saved outputs are in code/out_*.txt if you only want to project results. Expected images: 35 boards and 9 charts in images/.
Two technical points students hit: rook mobility here is pseudo-legal (moves as if the side were to move, ignoring checks and pins), deliberately different from Chapter 3's legal-move mobility (Exercise M1 exploits this); and the theory-vs-practice tables count cursed wins as draws, following Chapter 14.
In-class demos
Board demo
Set up the Philidor set-up with the rook on h6: 4k3/R7/7r/3KP3/8/8/8/8 w - - 0 1. Let a volunteer play White against you. Hold with ...Rh6 until e6, then ...Rh1, and after Kd6 the only move ...Rd1+. Now move Black's rook to h8 (4k2r/R7/8/3KP3/8/8/8/8 w - - 0 1) and ask the class to find White's win (1.Ra8+ or 1.Kd6 — the only two, DTZ 3). Then put the rook on b8 and ask whether it still loses — it holds (long side). Finish with the Vancura position (R7/6k1/P4r2/8/3K4/8/8/8 w - - 0 1) and the rook moved to a1: "Tarrasch says behind the pawn. Tablebase?" It loses (DTZ 17).
Data demo
Project the R+P vs R table from 16.9 with the "points given away" line hidden. Ask: "In OTB classical, who gives away more half-points against perfect play — the side with the pawn or the defender?" Most students will say the attacker ("they fail to convert"). Reveal 0.011 for the attacker and 0.057 for the defender, then the Lichess numbers (0.139 and 0.104). If the data is installed, run case_study_02.py and show game 29737's single losing move, 51...Re1 (only Rb4, Rc4 and Rh4 held).
Exercise guidance
- Part A: everyone. A8 and A9 are the ones that catch students — A8 needs both confounding and "mobility counts squares, not purpose"; A9 needs "only the tablebase certifies a forced win".
- Part B: Improver and Competitor. Common wrong answers:
- B1: students say "any rook move on the d-file". Only Rd3, Rd4, Rd5 win; d6/d7/d8 are taken by the king on e7, and d2 allows ...Rxd2.
- B2: 1.e6, which lets Black reorganise; only 1.Ra8+ and 1.Kd6 win.
- B3: 1...Rxa6?, which drops the rook to 2.Kxa6; the only draw is 1...Rf5+.
- B4: 57...Kd5 (the game move, a draw). The only win is 57...f5!.
- B5: students assume two extra pawns win. It is a draw; losing tries include 1...Kg8 and 1...Rh2.
- B7: 46...Kb3 (the game, +4.44 at depth 22) instead of 46...Ra5 (+0.61).
- B8: 28...h5 "making luft" (+3.23) instead of 28...Rab2 (+0.54).
- Part C: Analyst (C1, C2, C5, C7) and Developer (C3, C4, C6). C4 asks for a prediction before running — collect the predictions.
- Part D: written homework; D5 (splitting ten hours of study using 0.057 vs 0.011 and 0.139 vs 0.104) is the best single assessment of statistical judgment in the chapter.
- Part M / E: M3 (Chapter 14's Philidor vs this one) and M4 (the clock cost by speed) link back well; E2 is a semester-project-sized task.
Assessment ideas
- Reference-position practical. Students defend Philidor and Vancura against the instructor or an engine from a given start; pass = draw held, plus one sentence naming the rule used.
- Map prediction. Give the C4 set-up (pawn on c5, Black Kc8) and ask students to shade the squares they expect to hold before seeing any output. Grade the reasoning (long side vs short side), not the hit rate.
- Confounding paragraph. "The only side to reach the seventh scored 57.9%. Is a rook on the seventh worth eight percentage points?" A strong answer names reverse causation and proposes a matched comparison (Exercise E1).
- Quiz. Twenty questions with a scoring guide; Q20 (the only drawing move in Vancura with the king on b5: 1...Rf5+) works as a board station.
- Developer milestone.
describe()on the Tarrasch position reproduces the checkpoint output (pawn balance +1, mobility edge +4, tablebase 1-0), andtheory_vs_practiceruns ontheory_practice_rp.csv.