Exercises — Chapter 16: Rook Endgames

Difficulty: ⭐ concept check · ⭐⭐ apply at the board or in code · ⭐⭐⭐ judgment and extension · ⭐⭐⭐⭐ open-ended research. Every position below is either from a real game in the book's data or a constructed position verified with the 7-piece tablebase; every engine number is Stockfish 19 at the stated depth (script code/09_exercise_positions.py prints them all).


Part A — Concepts ⭐

A1. Define rook ending, single-rook (R-R) ending and stable position as this chapter uses them. Why does the chapter insist on stable positions when it counts material?

A2. The claim "rook endings are about half of all endgames" is common in chess books. What does the book's data say, and under which definition? Give the OTB classical and Lichess numbers for "ever reaches a rook ending".

A3. State Tarrasch's rule in one sentence. Then explain, using the idea of the rook's scope, why a rook behind its own passed pawn becomes stronger as the pawn advances while a rook in front becomes weaker.

A4. Name the two jobs a rook on the seventh rank does at the same time. Why are pawns attacked from the side harder to defend than pawns attacked from the front?

A5. In the Lucena position, why does the rook go to the fourth (or fifth) rank before the king steps out? What goes wrong if the king steps out first?

A6. Explain "defending king to the short side, defending rook to the long side" for a pawn on the e-file. Which files form the short side and which the long side?

A7. What is the Vancura defence, and why is it an exception to Tarrasch's rule?

A8. The chapter's database test found that a pawn-up side with a clearly less mobile rook still scored more than a level side with a clearly more mobile rook. Give two reasons why this does not prove that activity "doesn't matter".

A9. Why does an engine evaluation of +3.3 in a rook ending not mean "White is three pawns ahead"? What is the only tool that can certify a forced win?

Answers to Part A

A1. Rook ending: besides kings and pawns, only rooks, at least one each. R-R: exactly one rook each. Stable position: the next move played is not a capture, so material is never counted mid-exchange (after RxR but before the recapture, for instance). Without it, a position in the middle of a trade would be counted as "a rook up".

A2. Not supported. Book endgame = non-pawn material ≤ 26; rook ending = rooks only. OTB classical 21.2% of endgame games pass through a stable rook ending (OTB all speeds 20.8%); Lichess 16.4% (weighted). Only 6.3% (OTB) and 5.2% (Lichess) start as rook endings.

A3. Rooks belong behind passed pawns, your own or the opponent's. Behind: every pawn advance lengthens the rook's open line and the pawn is always defended from behind. In front: every advance shortens the line until the rook on the promotion square has no moves along the file and must step sideways, abandoning the pawn.

A4. It attacks unmoved pawns along the rank and confines the enemy king to the back rank. Pawns defend each other only diagonally forward, so pawns standing side by side on their starting rank cannot protect one another against a rook on that rank; only pieces can.

A5. Because the rook must be ready to interpose against the checks when the king walks out; from the fourth rank it arrives exactly when needed (7.Rb4 in our line). If the king steps out first, the checks come before the shelter exists, and the king has to wander far from the pawn — Chapter 14's tablebase walk showed the result turning into a draw.

A6. For an e-pawn, the queenside a–d (four files) is the long side and f–h (three files) the short side. The defending king goes to the short side so that the long side is free for the rook to check from a distance; in our Philidor map a back-rank rook held on b8 and c8 (long side) but lost on f8, g8 and h8 (short side).

A7. Against a rook pawn on the sixth with the attacker's rook in front of it, the defender's rook attacks the pawn from the side, along the sixth rank, while the defending king stays on g7/h7. In the Vancura map the square behind the pawn (a1), which Tarrasch's rule would recommend, loses; only the sixth-rank squares hold.

A8. (i) Association, not causation: rooks are active partly because their side is already better, and a pawn-up side may be passive because it is guarding a strong passed pawn. (ii) Mobility counts squares, not purpose, and is measured once; specific positions (Capablanca's 35.Kg3) can make activity worth two pawns. (iii) Averages hide the cases that matter.

A9. Endgame evaluations are on a "winning chances" scale: +3 often means "winning with correct technique", not three extra pawns. With seven or fewer pieces, only the tablebase certifies a forced win (or draw).


Part B — Positions ⭐⭐

B1. Endgame technique — the bridge rank

Exercise B1

♟️ Position: White Kb8, Rd1, b7; Black Ke7, Ra2 — White to move. FEN: 1K6/1P2k3/8/8/8/8/r7/3R4 w - - 2 2

The Lucena after 1.Rd1+ Ke7. Which rook moves along the d-file win, and which only draw? Explain the pattern.

Solution
   tablebase: 1-0 (White's view); for the side to move:
     win  : Rd4 Rd5 Rd3 Rb1 Rc1 Re1+ Rf1 Rg1 Rh1 Kc7 Kc8
     draw : Ra1 Rd2 Rd6 Rd7+ Rd8

Along the d-file, Rd3, Rd4 and Rd5 win; Rd2, Rd6, Rd7+ and Rd8 only draw. The fourth and fifth ranks are the bridge ranks: far enough from the black king, close enough to interpose on the b-file when the white king walks down. On d6, d7 and d8 the rook is simply captured by the king on e7; on d2 it walks into the exchange of rooks along the second rank (...Rxd2). The general method (Rd4, then Kc7) is the fastest (DTZ 12).

B2. Endgame technique — punish the passive rook

Exercise B2

♟️ Position: White Kd5, Ra7, e5; Black Ke8, Rh8 — White to move. FEN: 4k2r/R7/8/3KP3/8/8/8/8 w - - 0 1

Black's rook guards the back rank on the short side. White to move: find a winning move.

Solution

The tablebase gives exactly two winning moves: 1.Ra8+ and 1.Kd6 (DTZ 3, DTM 17). Both exploit the same fact: on h8 the black rook has no checking distance. After 1.Kd6 the king supports e6–e7; after 1.Ra8+ the black king is driven from the promotion square. Every other move — including 1.e6 — lets Black reorganise and draw. Compare the Philidor map (Figure 3): with the rook on b8 or c8 (long side) Black would hold.

B3. Endgame technique — the only move in Vancura

Exercise B3

♟️ Position: White Kb5, Ra8, a6; Black Kg7, Rf6 — Black to move. FEN: R7/6k1/P4r2/1K6/8/8/8/8 b - - 0 1

White's king has reached b5 to support the a-pawn. Black to move. Find the only drawing move.

Solution
     draw : Rf5+
     loss : Rf1 Rf2 Rf3 Rf7 Kf7 Rf4 Kh7 Rd6 Re6 Rg6 Rh6 Kg6 Kh6 Rf8 Rxa6 Rb6+ Rc6

1...Rf5+ — the side check. Every other move loses, including 1...Rxa6?, which simply drops the rook to 2.Kxa6 (or 2.Rxa6). The defender must drive the king away from the pawn's neighbourhood with checks from the side and then return to attacking a6 along the sixth rank.

B4. Find the win — Divya Deshmukh–Ju Wenjun, Norway Chess Women 2026

Exercise B4

♟️ Position: White Kf3, Ra4, g3; Black Ke5, Ra1, a3, f6 — Black to move. FEN: 8/8/5p2/4k3/R7/p4KP1/8/r7 b - - 5 57

White has just played 57.Ra4, the move that turned a drawn position into a lost one. Black to move: find the only winning move.

Solution
   tablebase: 0-1 (White's view); for the side to move:
     win  : f5
     draw : a2 Rb1 Rc1 Rd1 Re1 Rf1+ Rg1 Rh1 Ra2 Kd5 Kf5 Kd6 Ke6

57...f5! is the only win. It takes the g4-square from White (White's drawing resource in this ending was the g-pawn's advance, g3–g4) and keeps the black king's path open. The game went 57...Kd5, a draw again; then 58.Kg2? (lost again — only 58.g4 held) 58...Kc5? (draw — only 58...f5 won) 59.Ra6? (lost — only 59.g4 held), and Black won. Three result-changing moves in a row, between two of the strongest women players in the world, in a seven-piece ending. The lesson: in R+2P vs R+P, a single pawn move on the other wing can be the whole game.

B5. Analyze this position — f+h against nothing

Exercise B5

♟️ Position: White Kg3, Rb1, f5, h5; Black Kf7, Ra2 — Black to move. FEN: 8/5k2/8/5P1P/8/6K1/r7/1R6 b - - 0 1

White has two extra pawns. Is it a win? Name two safe moves for Black and two moves that lose.

Solution

A draw with correct defence (tablebase). Safe: 1...Kf6, 1...Kg7, any check or waiting move along the a-file (1...Ra3+, 1...Ra4 … 1...Ra8), or 1...Rc2/1...Rd2. Losing: 1...Kg8, 1...Ke7, 1...Kf8, 1...Ke8 (king moves away from the f-pawn's path and the h-pawn), 1...Rg2+, 1...Rh2, 1...Rf2, 1...Re2, 1...Rb2, 1...Ra1. The black king must stay in front of the f-pawn and near the h-pawn; the rook must stay active along the a-file or the second rank where it can check. Two extra pawns that cannot support each other (f and h) are not enough; compare f+g, which wins (section 16.8).

B6. Build the plan — Alekhine–Capablanca 1927, move 51

Exercise B6

♟️ Position: White Kg2, Rd4, f2, g3, a4, h4; Black Kg7, Rf6, g6, h6, f7 — White to move. FEN: 8/5pk1/5rpp/8/P2R3P/6P1/5PK1/8 w - - 1 51

Describe White's winning plan in three steps, then give the first move.

Solution

Plan: (1) advance the a-pawn and put the rook behind it (a5, Ra4) so that the black rook has to blockade from in front; (2) bring the white king toward the queenside to force Black's king there too; (3) when both black pieces are tied to the a-pawn, switch the king to the kingside and break with f4–f5. First move 51.a5:

   a5     +3.31  (Stockfish 19, depth 22)  a5 Ra6 Ra4 Kf6 Kf3 Ke5 Ke3 Kd5
   Rd5    +2.88  (Stockfish 19, depth 22)
   Rd3    +2.88  (Stockfish 19, depth 22)

Alekhine played it; Case Study 1 follows the rest.

B7. Analyze this position — Firouzja–Gukesh, Norway Chess 2026, move 46

Exercise B7

♟️ Position: White Kf1, Ra1, f2, g2, g3, a4; Black Kb4, Re5, f5, g5, h5 — Black to move. FEN: 8/8/8/4rppp/Pk6/6P1/5PP1/R4K2 b - - 13 46

Black's king is next to White's a-pawn. Gukesh played 46...Kb3. What would you play, and why?

Solution
   move played in the game: Kb3
   Ra5    +0.61  (Stockfish 19, depth 22)  Ra5 f3 Kc3 Ke2 Kd4 Kf2 g4 Ra3
   Rc5    +1.95
   Ka5    +2.16
   after the game move Kb3: +4.44 (depth 22)

46...Ra5! — the rook takes over the blockade of the a-pawn from in front, freeing the king to return to the centre (...Kc3, ...Kd4) where it defends the kingside pawns. The engine's line shows exactly that king walk. 46...Kb3 sends the king further from the kingside, and White's f4-break later decided the game. Rook stops the passer, king stays with the majority.

B8. Analyze this position — Nakamura–Caruana, Candidates 2026, move 28

Exercise B8

♟️ Position: White Kg1, Rf1, Ra7, f2, g2, h3, c4, e4; Black Kg8, Ra2, Rb6, a5, c6, f6, g7, h7 — Black to move. FEN: 6k1/R5pp/1rp2p2/p7/2P1P3/7P/r4PP1/5RK1 b - - 0 28

Both sides have a rook on the opponent's second/seventh rank. Black to move. Caruana played 28...h5 (making luft). Find a better move and explain the race.

Solution
   move played in the game: h5
   Rab2   +0.54  (Stockfish 19, depth 22)  Rab2 Rxa5 Rb7 e5 fxe5 Rxe5 Rc2 Re4
   Rd2    +1.25
   Rb8    +1.70
   after the game move h5: +3.23 (depth 22)

28...Rab2 keeps pace: doubling on the second rank at once creates threats against f2 and keeps White's second rook from arriving with tempo. After 28...h5 White used the tempo for 29.Rd1, 30.Rd8+ and 31.Rdd7 — two rooks on the seventh against a king, while Black's two rooks on the second could only take pawns. In a seventh-rank race, count tempi to the king, not pawns.


Part C — Data & Code ⭐⭐–⭐⭐⭐

C1. Database research ⭐⭐. Extend 01_rook_endings_in_data.py to report "ever a single-rook (R-R) ending" by band for OTB rapid+blitz (broadcast speed in rapid/blitz) next to OTB classical. Expected output: a table with one row per band (≥ 300 games) and two columns of percentages, plus one sentence on whether faster OTB games reach R-R endings more or less often.

C2. Database research ⭐⭐. Using the endgame replay table (endgame_pass.parquet) and outpost.rook_endings.conversion_table, compute the conversion of single-rook endings two pawns up by band for Lichess blitz (weighted by sample_weight) and OTB classical. Expected shape: band, games, win (with Wilson CI), draw, loss, score. Compare with the one-pawn table in section 16.9: where does the extra pawn add the most?

C3. Engine analysis ⭐⭐⭐. In 06_activity_vs_pawn.py, the activity measures are taken at the first R-R position. Add the same measures ten plies later (if the game lasts that long and is still R-R) and repeat the least-squares fit. Does the coefficient on rook mobility grow or shrink? Interpret it: is activity gained during the ending more predictive than activity at its start?

C4. Tablebase study ⭐⭐⭐. Modify 03_defender_rook_maps.py to draw a third map: the Philidor set-up with the pawn on c5 instead of e5: White Kb5, Rh7, c5; Black Kc8 (White to move), Black's rook on every empty square. Before running it, predict which back-rank squares will hold (long side vs short side). Report squares tested, holding squares and whether your prediction was right.

C5. Database research ⭐⭐. The 7th-rank table in section 16.3 counts any appearance of a rook on the 7th during an R-R ending. Write a function that finds the first ply at which a rook reaches the 7th and compute, for OTB classical games with equal pawns at the R-R start, the relay evaluation just before and just after that ply. Expected output: median evaluation change (side reaching the 7th) with n. Does the evaluation jump when the rook arrives, or was it already high?

C6. Engine analysis ⭐⭐. Re-run the Nakamura–Caruana key positions (script 05) at depths 16, 20, 24 and 28. Plot evaluation against depth for the position after 31...Rxf2. At what depth does the evaluation settle?

C7. Database research ⭐⭐⭐. Repeat Case Study 2 (07_theory_vs_practice_rp.py) with N = 300 and split the OTB sample at FIDE 2200. Expected output: the theory-vs-practice table by band. Report whether stronger players give away fewer half-points in theoretically drawn positions — and how wide your confidence intervals are (use outpost.rook_endings.wilson).


Part D — Judgment & Transfer ⭐⭐⭐

D1. A 1200-rated player and a 2000-rated player each reach a single-rook ending one pawn up in a rapid game. Using sections 16.2 and 16.8, write down the most likely way each one fails to win, and one concrete habit each should practise.

D2. Your engine says +3.1 in a rook ending with four pawns against three, and you have three minutes left on the clock. Your opponent offers a draw. What do you need to know about the position (not the number) before you decide? Use Case Study 1's plan as a checklist.

D3. The proverb says "an active rook is worth a pawn"; the database says a pawn usually beats a mobility edge. Write a three-sentence rule that a coach could teach a 1500-rated student that respects both.

D4. Engine vs human: in the Divya Deshmukh–Ju Wenjun ending, the engine and tablebase marked three moves in a row as result-changing errors. Both players were strong grandmasters. Give two reasons a human finds these positions so much harder than a tablebase does, and one practical method to avoid such errors in your own games.

D5. Case Study 2 found that in OTB classical R+P vs R, defenders gave away about five times as many points against perfect play as attackers (0.057 against 0.011 per game). You have ten hours of endgame study before a tournament. How would you split them between winning technique (Lucena, conversion plans, Tarrasch's rule) and defensive set-ups (Philidor, Vancura, the long side), and would your answer change if you played mostly Lichess blitz, where the attacker gave away more than the defender (0.139 against 0.104)? Justify the split with the numbers, and say what the numbers cannot tell you.

Guidance for Part D

D1: the 1200 usually loses track of the opponent's rook activity (leaves the king passive, lets the enemy rook reach the seventh) or blunders under time pressure — practise "king to the centre, rook active" and the Philidor defence as the defender. The 2000 more often fails to convert against a correct defence and allows a draw — the OTB table shows draws rising with rating — so practise reference positions (Lucena, Vancura, f+h) and the outside passer plan. D2: where are the passed pawns (outside or not), whose king is closer to the action, can my rook get behind my passer, and is there a known drawing set-up for the opponent? D3: for example, "Keep the pawn by default. Give it only for a concrete gain you can name: your rook to the seventh, your king to their pawns first, or a passed pawn of your own. Then check whether your opponent's rook becomes active instead." D4: the decisive moves were quiet pawn moves on the other wing (g4/f5) rather than rook moves near the action; the result depends on exact tempo counts several moves deep; humans evaluate by principles that are right on average but not in the specific position. Method: before every move in a rook ending with few pawns, list the pawn moves of both sides and count the race explicitly (Chapter 15's counting). D5: OTB classical points to defence first (perhaps six or seven hours of the ten), because that is where the half-points leak; for online blitz a more even split, plus practice under time pressure, since both sides err. What the numbers cannot tell you: your own error profile (measure it with theory_vs_practice on your games), whether the errors came from ignorance or from the clock, and samples of 40–90 games per cell carry wide intervals.


Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐

M1 (with Chapter 3, Piece Activity). Chapter 3 measured mobility with strictly legal moves; this chapter uses pseudo-legal rook moves. Take the Capablanca–Tartakower position after 37...Rxf4+ (White in check) and compute both measures for White's rook. Why does the choice matter in endgames more than in middlegames?

M2 (with Chapter 15, Pawn Endgames). In the Alekhine–Capablanca ending, suppose the rooks were exchanged at move 59. Use Chapter 15's ideas (outside passed pawn, king activity, counting) to argue whether the resulting pawn ending would be winning for White. Then check a version with seven or fewer pieces with the tablebase.

M3 (with Chapter 14, Essential Endgames). Chapter 14's Philidor position had White's king on f5 and Black to move; this chapter's set-up has White's king on d5 and White to move. Using both, explain how who is to move and which side of the pawn the attacking king stands on change the defender's safe squares.

M4 (with Chapter 13, Practical Decision-Making). Rook endings often arrive with little time on the clock. Using the R+P vs R results by speed (OTB classical vs Lichess blitz in section 16.9), estimate how many half-points per hundred such endings the clock costs the defender. What does that suggest about how you should spend your time before the rook ending arrives?

M5 (with Chapter 10, Calculation). In the Nakamura–Caruana position after 31.Rdd7, write out the forcing sequence of checks Black faces (the game continued 31...Rxf2 32.Rxg7+ Kh8 33.Rh7+ Kg8 34.Rag7+ Kf8 35.Rf7+ Kg8 36.Rhg7+ Kh8) as a calculation tree with Chapter 10's method. Which of White's checks are forcing in the strict sense (only one legal reply)?


Part E — Research & Extension ⭐⭐⭐⭐

E1. The value of the seventh rank, controlled. The chapter warns that "reaching the 7th" is confounded by being better. Design a study that estimates the value of a rook reaching the 7th holding the position constant: e.g., match positions with the same pawn balance and similar relay evaluation, one where the rook reaches the 7th on the next move and one where it does not, and compare the evaluation ten plies later. Report your design, your sample sizes and your estimate with an interval.

E2. Theory vs practice at scale. Download Syzygy 5-piece files (python-chess can probe them locally) and repeat Case Study 2 on every R+P vs R position in the OTB data (n = 3,060 classical) instead of a sample. Produce the theory-vs-practice table by FIDE band, and list the ten most common "theoretically drawn but lost" configurations (pawn file and rank, kings' relative position). Which reference position were the losers missing?

E3. Activity in double-rook endings. Extend outpost.rook_endings.rook_activity to RR-RR endings (sum of mobility, "two rooks on the 7th" flag) and test whether doubling on the 7th is worth more than twice a single rook on the 7th, using the broadcast data. Present one chart and one annotated example game from the data.