Chapter 15 Instructor Notes: Pawn Endgames
Chapter text · Case study 1 · Case study 2 · Exercises · Quiz · Key takeaways
Chapter 14 established K+P vs K; this chapter takes it to full depth — distant and diagonal opposition, triangulation, races, the outside passer, the breakthrough, Réti's study — and then does something unusual: it grades the textbook rules against an exact solution of all 331,352 K+P vs K positions, and measures how often real players throw pawn endings away (34,243 games). Its single message: in a pawn ending every tempo is the whole game.
Learning objectives
The chapter's introduction lists the ideas it is built on — the opposition, key squares, triangulation, the rule of the square, races, the outside passed pawn and the breakthrough — and promises to check every rule against the exact truth. Students should be able to:
- Define the opposition as parity (file and rank distance both even, opponent to move), including distant and diagonal opposition, and say who holds it.
- Find the key squares of any pawn, and name the three exceptions the exact computation found (double step, knight pawn on the 6th, rook pawns).
- Apply the rule of the square with the double-step correction — and explain why "inside → draw" is unreliable (shouldering, the attacking king).
- Use triangulation to pass the move, and say when it is (and is not) needed.
- Count races to the moment of promotion, and use the outside passed pawn, the breakthrough and the active king.
- Read data on real pawn endings without falling into the "decided position" trap, and explain why the clock matters more than the rating for converting won pawn endings.
- Developer: build
outpost/pawn_endings.pyand test each rule against its own bitbase.
Timing plan
75-minute session
| Minutes | Activity | Notes |
|---|---|---|
| 0–10 | Hook: Golod–Ben Ari 2026 | Productive struggle: which of Black's eight moves win? Only 64...Kg4 and 64...Ke4. |
| 10–22 | 15.1–15.2: tempo and the opposition | 92.5% of mutual zugzwangs are opposition positions (baseline 26.6%). |
| 22–32 | 15.3: key squares | Ke4/e2 vs Ke6 (1.e3! passes the move); hook explained. |
| 32–42 | 15.4: distant and diagonal opposition | Board demo (below). |
| 42–52 | 15.5: rule of the square and how often it lies | 99.99% vs 64.1%; the shouldering position. |
| 52–62 | 15.6–15.8: triangulation, races, outside passer | Pick two; breakthrough as a quick puzzle. |
| 62–75 | 15.9 data + exit ticket | The "decided position" pitfall; bullet 73.7% vs OTB 94.6%. |
3-hour block
| Minutes | Activity | Notes |
|---|---|---|
| 0–15 | Hook | As above, played out on boards. |
| 15–45 | Opposition and key squares | Exercises B1, B2, B7, B8 in pairs. |
| 45–70 | Distant/diagonal opposition, rule of the square | Exercises B3, B6 (both shouldering). |
| 70–90 | Triangulation | Walk 1.Kb3 Ka5 2.Ka3 Ka6 3.Kb4; then try 1.Ka3? Kb7! |
| 90–100 | Break | |
| 100–120 | Races, outside passer, breakthrough, Réti | Each a two-minute puzzle before the reveal. |
| 120–140 | 15.9 data walk | Data demo (below). |
| 140–165 | Case Study 1: Ed. Lasker–Capablanca 1915 | 32...e5 vs 32...g5; 36.f4?. |
| 165–180 | Case Study 2 spotlight (Firouzja–Carlsen 2020) + exit ticket | 69.Kd2! distant opposition. |
Key numbers and games
| Item | Value as quoted | Where |
|---|---|---|
| Golod–Ben Ari, Israel Team Ch. 2026 | 8/8/8/5kp1/8/8/4K3/8 b - - 0 64: only 64...Kg4 (13 plies to promotion) and 64...Ke4 (23) win; 64...Kf4 65.Kf2! draws; game 64...Ke5 = draw |
Hook; 15.3 |
| Pawn-ending results (first stable pawn ending) | One pawn up: OTB all speeds 71.9% wins (n = 8,895); Lichess blitz+rapid 65.1% (n = 11,357) | §15.1 |
| One pawn up, OTB by band | 80.4% (1600–1799), 67.3% (2000–2199), 43.9% (2400+) | §15.1 |
| KPK bitbase | 165,676 legal positions on files a–d (331,352 full board); 76.5% won White to move, 58.1% Black to move; 38 passes, about 5 seconds; 60/60 agree with Syzygy | §15.2 |
| Mutual zugzwangs | 160 full board; 92.5% opposition positions vs 26.6% baseline; none with the pawn on the 5th; 13,811 positions won with White to move but drawn with Black to move (a–d) | §15.2 |
| Key squares, textbook vs exact | Exact for 11 of 15 non-rook squares; d2 adds d5; b6 loses c7/c8; a2–a4 none | §15.3 |
| Distant opposition, attacker | 4k3/8/8/8/8/8/1P6/5K2 w: only 1.Ke2 wins |
§15.4 |
| Distant opposition, defender | 4k3/8/8/8/8/8/1P6/3K4 b: only 1...Kd7 draws; 1...Kd8 loses |
§15.4 |
| Diagonal opposition | k7/8/8/8/8/3P4/8/7K w: only 1.Kg2 wins |
§15.4 |
| Rule of the square | "Outside → win" right 99.99% (n = 85,964); "inside → draw" 64.1% (n = 70,614); 33.4% with attacking king adjacent, 100% at distance 7 | §15.5 |
| Shouldering | 8/8/8/8/6K1/8/P5k1/8 b: lost for Black though "in the square" |
§15.5 |
| Triangulation | 0 tempo-loss positions in 16 blocked pairs; 8/8/k1p5/2P3p1/1KP3P1/8/8/8 w: 1.Kb3! Ka5 2.Ka3! Ka6 3.Kb4; 1.Ka3? Kb7! draws |
§15.6 |
| Race | 8/8/6k1/P7/7p/2K5/8/8 w: only 1.a6 wins |
§15.7 |
| Outside passer | 8/8/4k3/6p1/P5P1/4K3/8/8 w: every move wins; without the a-pawn, draw |
§15.8 |
| Breakthrough | 1.b6! +6.16 (d20) / +6.78 (d30); 1.a6 −6.16, 1.c6 −6.71 (d26) | §15.8 |
| Réti study | 7K/8/k1P5/7p/8/8/8/8 w: only 1.Kg7 draws |
§15.8 |
| Fischer–Bisguier, US Ch. 1959 | Only 55...Kd2 draws; 55...b6? loses; 56.Kb4! the only win | §15.9 |
| J. Polgar–Gomez Esteban, Santurtzi 2003 | +5.84 (d24) / +6.31 (d30) with level material; 54.Kxb4 then the outside b-pawn | §15.9 |
| Real pawn endings (34,243 games) | Undecided positions: OTB classical 3.9 blunders per 100 pawn-ending moves vs 2.9 middlegame; all moves 2.0 vs 3.1 (misleading) | §15.9 |
| Clearly won pawn endings converted | OTB 94.6% (n = 11,620); Lichess blitz 83.9%, rapid+classical 86.9%, bullet 73.7% | §15.9 |
| King centrality (equal pawns) | +2 edge: 63.6% OTB (n = 615), 58.4% Lichess (n = 509) | §15.9 |
| Ed. Lasker–Capablanca 1915 | After 31.bxc4: −2.77 (d24), −5.47 (d30); 32...g5 −4.78 / −5.53 vs 32...e5; 36.f4? −5.42 (d30 line 3) | §15.10; Case Study 1 |
| Master pawn endings | 346 of 12,176 decisive games; 88.7% already won for the eventual winner; not decided: equal pawns 17.6% vs 6.2% | Case Study 2 |
| Firouzja–Carlsen, Norway Chess 2020 | Only 62.Kh3 draws (played); only 69.Kd2 draws; 69.Kc3? Kc5 wins | Case Study 2 |
Threshold concepts and likely misconceptions
Threshold concept: the opposition is parity, not proximity. Students who cross it stop "putting the king in front of his king" and start counting: both distances even, opponent to move. The defender example (1...Kd8 loses, 1...Kd7 draws) is the crossing point.
Misconceptions to expect:
- "Take the opposition = stand face to face." 1...Kd8 does that and loses.
- "Push the pawn when in doubt." The pawn is a reserve tempo; in the distant-opposition example both pawn moves draw.
- "Inside the square means drawn." True only 64.1% of the time; the attacking king (or a shouldering king) changes everything.
- "Rook pawn = draw." Exercise B5 (White Ka7, a5 vs Kf2) wins with every move; the rule is about the defender's king reaching the corner.
- "Triangulation is a standard trick." In 16 single blocked pairs it is never needed; it requires an asymmetric structure.
- "Pawn endings are the safest phase." The naive table says so (2.0 vs 3.1); restricted to undecided positions they are at least as dangerous.
- "−2.77 means it's not decided." Pawn endings are binary; the depth-30 search says −5.47.
How the four tracks use this chapter
- ♟️ Improver: 15.1, 15.3, 15.4, 15.5 and 15.7 with the diagrams and every 📋 Try it, skipping the code (the chapter's own routing). The one thing to remember: key squares first, then count.
- 📊 Analyst: 15.2 (solving KPK), 15.5 (grading the square) and 15.9 (34,243 endings). The "decided position" trap is the chapter's best statistics lesson; Case Study 2 adds selection (decisive games only) and a leaky event filter. Exercises C1, C4, C5, C7.
- 🏆 Competitor: 15.6 (triangulation), 15.8 (outside passer, breakthrough, Réti) and the games of 15.9 — they decide whether to trade into a pawn ending. Exercises D1, D3, D4, M3.
- 💻 Developer:
outpost/pawn_endings.py— exact KPK bitbase (build_kpk,kpk_probe,kpk_best_moves,mutual_zugzwangs),opposition,key_squares/derived_key_squares,in_square,race,solve_blocked_pair/solve_locked_structure,tb_probe,pawn_ending_report. Exercises C2, C3, C6 and E1–E3.
Running the code
| Script | What it shows | Data / runtime |
|---|---|---|
code/01_kpk_bitbase.py |
Solves KPK (38 passes, about 5 s), Syzygy self-check | Bitbase cached as outpost/data/kpk_bitbase.npz; 60 cached probes |
code/02_opposition_keysquares.py |
Mutual zugzwangs, textbook vs exact key squares, opposition tables | Bitbase |
code/03_rule_of_square.py |
Grades the square on 156,578 positions | Bitbase |
code/04_triangulation.py |
Blocked-pair and locked-structure solver (Part 1 took 6.8 s) | Bitbase; engine cache (depth 16) for capture positions; tablebase |
code/05_races_breakthrough.py |
Races, outside passer, breakthrough, Réti | Tablebase; engine cache for the 8-piece breakthrough |
code/06_master_pawn_endings.py [game_id] |
Master scan; one game traced | Master games, tablebase, engine |
code/07_kp_endings_data.py |
Replays 50,662 games (3 workers) | Writes ch15_kp_games.parquet (34,243 rows) — use the cached file in class |
code/08_modern_pawn_endings.py <game_id>, 09_hook_and_exercises.py, 10_classic_and_modern_games.py |
Hook, exercises, Fischer–Bisguier, Polgar | Broadcast/master games, tablebase |
case_study_01.py, case_study_02.py, project_checkpoint.py |
Lasker–Capablanca; master verdicts; module demo | As above |
All outputs are saved as code/out_*.txt. Tablebase: probes go through chessdata.tablebase (cached in data/cache/tablebase.sqlite) with a chapter copy in code/tb_cache.json; with the caches present the scripts run offline. KPK questions need no network: the bitbase answers them instantly. One quoting warning carries over from the code: multi-PV and single-PV searches can disagree in these positions (after 31...Kc5 in Lasker–Capablanca, −0.83 with multipv 3 at depth 24 but −4.25 single-PV), so say which you are quoting.
In-class demos
Board demo
Set up 4k3/8/8/8/8/8/1P6/3K4 b - - 0 1 (Black to move). Ask the class to "take the opposition". Most will play 1...Kd8 — straight down the d-file. Reveal that it loses, and that only 1...Kd7 draws. Then ask them to compute file and rank distances after each move: after 1...Kd7 the file gap is 0 and the rank gap 6 (both even, White to move); after 1...Kd8 the rank gap is 7. Follow with the attacker's version, 4k3/8/8/8/8/8/1P6/5K2 w, where 1.Ke2! is the only win of seven moves and both pawn moves draw.
Data demo
Show the naive comparison first: OTB classical pawn-ending moves 2.0 blunders per 100 vs 3.1 in the middlegame of the same games. Ask: "So pawn endings are safe?" Then reveal the undecided-positions view: 30% of pawn-ending moves start undecided vs 85% of middlegame moves; restricted to those, 3.9 vs 2.9 (and 5.5 vs 3.3 at FIDE 1600–1799). Finish with the conversion table — 94.6% OTB vs 73.7% Lichess bullet, nearly flat across OTB bands (93.7% at 1400–1599, 96.2% at 2200–2399) — and ask which matters more, rating or clock.
Exercise guidance
- Part A: everyone. A2 (key squares of a5) catches students who recite "b7 and b8"; the exact answer is b7 only. A4 tests the one-way nature of the square.
- Part B: Improver and Competitor. Common wrong answers:
- B1 (Kd4/d2 vs Kd6): retreating 1.Ke3 or 1.Kd3 "to support the pawn" — draws. 1.Ke4, 1.Kc4, 1.d3 win.
- B2: students hope Black can hold; every move loses (White has the opposition).
- B3 and B6: students trust the square. B3 is won with every move; in B6 every White move loses, though
in_squaresays True. - B4: students look for a winning try; it is a draw whatever White does.
- B5: "rook pawn, draw" — wrong; won with every move.
- B8 (Ke4/e5 vs Kf7): "pawn on the 5th wins" — draw; the pawn ran ahead of its king.
- B9: students count material (one pawn) and miss Black's outside a-pawn decoy; every White move loses.
- Part C: Analyst (C1, C4, C5, C7) and Developer (C2, C3, C6). C3 (triangulation hunting) is the best open-ended code task; insist on Syzygy verification of any hit.
- Part D: D2 and D3 for everyone; D1 and D4 for Competitors who play online.
- Part M: M2 (calculation trees built from targets, not forcing moves) is a strong discussion item; M4 links back to Chapter 14.
Assessment ideas
- Parity drill. Ten king pairs on a worksheet; students mark "in opposition / not" and who holds it. Grade on the reasoning (distances), not just the answer.
- Square audit. Give B3 and B6; students apply the rule of the square, then explain why it fails in each.
- Data critique. "Pawn endings are the safest phase: 2.0 blunders per 100 moves vs 3.1." Students write the correction with the undecided-position numbers.
- Quiz. 22 questions with a scoring guide.
- Developer milestone.
pawn_ending_reporton the hook returns the key squares f3/g3/h3 and the two winning moves; the self-test agrees with Syzygy (20/20 in the demo output).