Chapter 18 Instructor Notes: Queen Endgames and Complex Endings
Chapter text · Case study 1 · Case study 2 · Exercises · Quiz · Key takeaways
The last endgame chapter has two jobs. First, it teaches the family where human calculation is most overwhelmed — queen endings, where the difficulty is not depth but width (every king move must be checked against every check). Second, it closes Part III with a conversion table by material signature and rating band, so students can ask of any ending, "how often do players like me win this?" The emotional centre is Botvinnik–Minev 1954: two world-class players, five result-changing errors in a five-piece ending. Use it to give students permission to find queen endings hard — and a method for them.
Learning objectives
The chapter does not print a numbered objective list; these come from its track routing, the Chapter Summary and the decision checklist. Students should be able to:
- Explain why queen endings are the most drawish common family (59.0% draws with level pawns, OTB classical) and why one extra pawn converts least often there (54.6% vs 60.6% for single-rook endings).
- State the tablebase-correct rule for queen vs a pawn on its seventh rank: b-, d-, e-, g-pawns lose for the defender; a-, c-, f-, h-pawns draw unless the attacking king is close — and explain the stalemate mechanisms.
- Describe attacking and defending technique in Q+P vs Q (shelter and cross-checks; maximum checking distance).
- Use perpetual check as a defensive weapon and simplification into a counted ending as an attacking one.
- Read imbalance rows (queen vs two rooks + minor, queen vs rook + minor) and the K+Q vs K+R and R+B vs R cases critically.
- Apply the 50-move and 75-move rules, DTZ, DTM and cursed wins in real games.
- Use and question the conversion table (selection, "a pawn is not a pawn", first stable position only, practice not theory).
- (Developer) Build
outpost/endgame_stats.py.
Timing plan
75-minute session
| Minutes | Activity | Notes |
|---|---|---|
| 0–8 | Hook: Praggnanandhaa–Vachier-Lagrave at move 106 | "Find White's move." Reveal 106.Qe5 (+2.59 d24) vs the game's 106.Kh3 (+0.24). |
| 8–20 | 18.1 why queen endings differ | Draw table and +1 table; 54.6% vs 60.6%; 2400+ 37.0%. |
| 20–35 | 18.2 queen vs pawn on the seventh | Productive struggle, then the board demo; winning-zone figure. |
| 35–50 | 18.3 Botvinnik–Minev tablebase trace | Five verdict changes; 63...Qh1 vs 63...Ka3. |
| 50–60 | 18.4–18.5 perpetual vs simplification | 35.8% vs 8.3%; Divya's king walk. |
| 60–72 | 18.8 conversion table | Data demo; the four caveats. |
| 72–75 | Exit ticket |
3-hour block
| Minutes | Activity | Notes |
|---|---|---|
| 0–15 | Hook and vote | As above. |
| 15–40 | 18.1 data | Include the Lichess rapid split (24.7% draws, 25.0% losses). |
| 40–70 | 18.2 at the board | Pairs play the d-pawn staircase (win) and the c-pawn corner trick (draw); Exercises B1–B4 and quiz Q20. |
| 70–95 | 18.3 Botvinnik–Minev and Case Study 2 | Theory vs practice: 74.3% / 28.3%. |
| 95–105 | Break | |
| 105–130 | Case Study 1: Muzychuk–Divya Deshmukh | Moves 59, 60 and 62; the seven-piece finish. |
| 130–150 | 18.6–18.7 imbalances and the 50-move rule | K+B+B vs K+N cursed win (DTZ 123). |
| 150–170 | Conversion-table lab | Each group looks up its own pool and band. |
| 170–180 | Exit ticket; assign exercises |
Key numbers and games
| Item | Value as quoted | Where |
|---|---|---|
| Praggnanandhaa–Vachier-Lagrave, GCT Super Chess Classic Romania 2026 r8 (broadcast 178069) | Queen ending 94 moves; 32 of Black's 93 moves were checks, 13 in a row. After 105...Kf8: +1.96 (d20) / +2.59 (d24), 106.Qe5 best; 106.Kh3 +0.24. After 121...Kf8: 122.Qd8+ +2.59 (single-line d24) vs 122.Qe6 +0.17. 129.Qxb4+ at halfmove clock 67, 0.00 (d24); drawn | Hook; 18.4; Ex. B7, B10 |
| Draw rate, level pawns (OTB classical) | Queen ending 59.0% (n=1,132); single rook 55.0% (n=1,911); two rooks + minor 42.8%; 2400+ queen 71.4% (n=140) | 18.1; 18.8 |
| One pawn up, equal pieces (OTB classical) | Queen 54.6% [51.8–57.4] wins, 39.9% draws, 5.5% losses (n=1,208); single rook 60.6% (n=2,132); pawn ending 87.6% (n=105); 2400+ queen 37.0% (n=138), rook 44.4% (n=216) | 18.1 |
| Balanced games only (gap ≤100) | Queen 46.1% [41.1–51.2] (n=369) vs single rook 55.0% (n=642) | 18.8 |
| Lichess rapid, queen +1 | 50.4% wins, 24.7% draws, 25.0% losses (n=492) | 18.1 |
| Two pawns up (OTB classical) | Queen 79.5% (n=405) vs single rook 88.6% (n=604) | 18.1 |
| Median length | Queen ending 27 plies [IQR 12–48]; single rook 35; double rook 41 | 18.1 |
| Q vs pawn on 7th (Qg1, White to move, 54 king squares) | a-pawn 15 win; b-pawn 54; c-pawn 9; d-pawn 54. Base positions: d-pawn win DTZ 47 / DTM 49; b-pawn mate in 43 plies; c- and a-pawns draw | 18.2 |
| Botvinnik–Minev, Amsterdam Olympiad 1954 (master 12612) | After 55...a1=Q: draw, +0.20 (d24). Verdict changes: 60...Qd4, 61.Qf5+, 63...Qh1, 77.Qf4+, 77...Ka5. At move 63 only 63...Qd8, 63...Ka3, 63...Kb3 draw (of 24); +0.21 → +4.17 after 63...Qh1. At move 77 only 77...Ka3 draws; +4.05 after 77...Ka5 | 18.3; Ex. B5, B9 |
| Q+P vs Q in real games | OTB 363 games, Lichess 225. OTB sample 150: 35 theoretical wins converted 74.3%; 113 theoretical draws, pawn side still won 28.3%. Lichess: defender of a draw lost 22.0% (n=50). Theoretical-win share by pawn rank 2→7: 16/12/24/32/61/70% | 18.3; Case Study 2 |
| Perpetual-check finishes | 35.8% [34.6–36.9] of 6,641 drawn OTB games with both queens vs 8.3% of 12,970 drawn rook endings; 41.3% at 2400+; 50.5% in blitz | 18.4 |
| Pawn ending one pawn up (first stable K+P ending) | OTB all speeds 71.9% wins (n=8,895); Lichess blitz+rapid 65.1%; bullet 58.0% with 26.1% losses | 18.5 |
| Muzychuk–Divya Deshmukh, Women's Candidates 2026 r8 (broadcast 136284) | 59.Qxh5 0.00 vs 59.a7? −3.36 (d24); 60...Qd7+ −3.66 vs 60...Qe3 −0.52; 62.Qh7+ −0.67 vs 62.Qh5+? −3.35; from 72...Qxf5+ (−4.41) tablebase win for Black, verdict never changed; 83...Qf5+ | 18.5; Case Study 1 |
| Imbalances at endgame start (OTB classical) | RRm-Qm: two-rook side 41.4% (n=1,439); Q-Rm: queen side 78.4% (n=1,104) | 18.6 |
| K+Q vs K+R | OTB 170 games; sample 100: 94 theoretical wins, converted 92.6%; Lichess 83.3% (n=54), lost 11.1% | 18.6 |
| 50-move rule in practice | OTB 384 of 359,194 games end with halfmove clock ≥100 (0.107%); top signatures RB-R 53, RN-R 41; 13 of 60 sampled final positions still wins with a fresh count (21.7%) | 18.7 |
| Long-win search | K+B+B vs K+N, DTZ 123 plies (cursed); only 1.Bb4+ keeps it; 1.Bxb6+ draws | 18.7 |
| Conversion table | 628 cells in project/outpost/data/endgame_conversion.csv |
18.8 |
Threshold concepts and likely misconceptions
Threshold concept: in queen endings the calculation is wide, not deep. The defender needs only "is there another check?"; the attacker must test every king move against every check. That asymmetry of effort, not material, makes the queen ending the defender's best friend. Students who cross this threshold stop pushing the pawn first and start asking "where does my king hide?"
Second threshold: engines estimate, tablebases know. In Botvinnik–Minev the depth-16 evaluation drifts from +4 to +0.5 while the tablebase verdict does not move; in Praggnanandhaa–Vachier-Lagrave the depth-16 classifier calls seven White and six Black moves "blunders", most of them horizon noise.
Misconceptions to expect:
- "The queen beats c-, d-, e-pawns but not a- or b-pawns." Gets the b- and c-pawns exactly backwards (b loses, c holds).
- "A pawn up in a queen ending is a win." 54.6% OTB classical; 37.0% at 2400+.
- "Strong players convert better." At 2400+ the defenders are better.
- "Two rooks beat a queen because 10 > 9." RRm-Qm: the two-rook side scored 41.4%.
- "A cursed win can be won with perfect play." Not under the rules (Quiz Q14).
- "Trade into a pawn ending when ahead — 87.6% win." That figure is the 105 OTB classical games whose endgame started as a pawn ending a pawn up; for a typical trade, the chapter's comparison uses the first-stable pawn-ending table (71.9% OTB). The Chapter Summary's checklist now gives both figures with their samples; make sure students quote the one that matches their question.
- "Depth-16 blunder counts are reliable." Not in long check sequences.
How the four tracks use this chapter
- ♟️ Improver: 18.1, 18.2 and 18.4, playing every "Try it" on a board; the six-point decision checklist. Exercises A1–A3, B1–B4 and quiz Q20.
- 📊 Analyst: 18.1, 18.3, 18.6 and 18.8 and Case Study 2. Stress the four caveats of the conversion table and the small cells in Case Study 2 ("read to the nearest ten points"). Exercises C2–C4, D4, E1.
- 🏆 Competitor: 18.4, 18.5 and Case Study 1 — three real queen endings checked at two depths and with the tablebase. Exercises B5–B7, B9, B10, D1, D3.
- 💻 Developer: 18.8 and the Project Checkpoint (
endgame_stats.py: families,endgame_start,conversion_table,perpetual_check,move_rule_status,queen_vs_pawn_rule). Exercises C1, C5, C6, M4.
Running the code
| Script | What it shows | Runtime |
|---|---|---|
_common.py |
Shared header, engine helper, tb() wrapper |
— |
01_queen_vs_pawn.py |
Queen vs seventh-rank pawn, winning-zone grids (216 probes), stalemate tricks | seconds from cache; about 5 minutes cold |
02_conversion_tables.py |
Conversion tables; writes endgame_conversion.csv; Figures 2–4 |
about 30 s |
03_queen_endings_practice.py |
Perpetual-check share, Q+P vs Q and Q vs R theory vs practice, 50/75-move clocks; writes qp_vs_q_cases.csv, q_vs_r_cases.csv |
about 20 s cached; 15–30 minutes cold |
04_long_wins.py |
Random positions plus DTZ climb | seconds from cache |
05_annotated_games.py |
Botvinnik–Minev, Praggnanandhaa–Vachier-Lagrave, Muzychuk–Divya Deshmukh (also drives Case Study 1) | about 20 s cached |
06_exercise_positions.py, case_study_02.py, project_checkpoint.py |
Exercises, Case Study 2 splits, module demo | seconds |
All tablebase verdicts come through chessdata.tablebase() and its cache data/cache/tablebase.sqlite, with chapter-local copies in code/tb_cache*.json. With those caches the whole chapter reruns offline in about a minute; without them, scripts 01 and 03 hit the public tablebase server and its rate limits. Engine numbers come from the Stockfish 19 engine cache. Saved outputs are in code/*_output.txt. There is no separate case_study_01.py: Case Study 1 is produced by 05_annotated_games.py. Expected images: 30 boards and 8 charts.
In-class demos
Board demo
Set up the c-pawn position 7K/8/8/8/8/8/1kp5/6Q1 w - - 0 1 and the d-pawn position 7K/8/8/8/8/8/2kp4/6Q1 w - - 0 1 side by side. Ask for verdicts first. Then play the d-pawn staircase: 1.Qf2 Kc1 2.Qf4 Kc2 3.Qc4+ Kb1 4.Qb3+ Kc1 5.Qc3+ Kd1 6.Kg7 — "that king move is what all the checks were for." Switch to the c-pawn: 1.Qd4+ Kb1 2.Qb4+ Ka2! 3.Qc3 Kb1 4.Qb3+ Ka1! and ask, "Can White take on c2?" (5.Qxc2 is stalemate.) Finish with Exercise B3 (8/8/8/8/1K6/8/1kp5/6Q1 w - - 0 1): with the king on b4, 1.Qf2! wins.
Data demo
Project the "+1 pawn, OTB classical" table with the win column hidden and ask students to rank queen, single-rook and pawn endings. Reveal 54.6%, 60.6% and 87.6%, then the 2400+ queen figure (37.0%, n = 138) and the balanced-games restriction (46.1% vs 55.0%). Ask: "The engine said +2.59 in Praggnanandhaa's position; the table says level queen endings at 2400+ are drawn 71.4%. Which is right?" (Both — they answer different questions.)
Exercise guidance
- Part A: everyone. A2 (the corrected rule) and A7 (cursed win) are the ones to check aloud.
- Part B: Common wrong answers:
- B2 (f-pawn,
8/Q7/8/1K6/8/8/5pk1/8 w): students say "win, queen vs pawn". It is a draw — the mirror of the c-pawn. - B3/B4: students start checking; the winning ideas are the pin 1.Qf2! (B3) and 1.Qf2+ with the king already in the zone (B4).
- B5: 77...Ka5 (the game) or 77...Kb5. Only 77...Ka3 draws.
- B6: 60...Qe3 (the game, −0.52) instead of 60...Qd7+.
- B7: students quote one number. Note the MultiPV ranking (122.Qc5+ +2.07 at depth 24) differs from the single-line search (122.Qd8+ +2.59); always say which search you quote.
- B9: a queen check "to keep checking" — the problem is checking distance.
- Part C: Analyst C2–C4; Developer C1, C5, C6. C5 (depths 12–28 over plies 204–212) shows the horizon effect directly.
- Part D: D1 (accept the rook trade into a pure queen ending a pawn up?) and D4 ("basically drawn, so don't learn them") are the best judgment prompts.
- Part M/E: M3 links Chapter 13's critical moments to horizon noise; E3 (classifying defenders' errors in lost theoretical draws) is a strong project.
Assessment ideas
- Rule card. Without notes, students fill in a table: pawn file a–h → verdict with the attacking king far away, plus the mechanism for each drawing file. Then verify one row with the tablebase.
- Check-listing drill. Give a queen-ending position; before choosing a king move, students must list every enemy check. Grade completeness.
- Conversion-table memo. "You are a 1650 Lichess blitz player a pawn up with queens and rooks on. Trade rooks?" A strong memo uses the right cell (Lichess blitz, not OTB classical), names the caveats and adds a position-specific check.
- Quiz. Twenty items with a scoring guide; Q6 (balanced games) and Q11 (unweighted n for Lichess intervals) check the statistical thread.
- Developer milestone.
endgame_report()on the Muzychuk–Divya Deshmukh endgame start reproduces the checkpoint output (Q-Q, level pawns, 19.3% / 59.0% / n = 1,132; 100 plies to a 50-move claim).