Chapter 17 Exercises — Minor Piece Endgames
Difficulty: ⭐ recall and concepts · ⭐⭐ apply to a position or a dataset · ⭐⭐⭐ judgement, transfer, extend the code · ⭐⭐⭐⭐ open-ended research.
Every position below is either from a real game in the book's data snapshot or a construction verified with the
7-piece tablebase; the solutions quote Stockfish 19 (with depth) or the tablebase, as printed by
code/06_exercise_positions.py, code/04_classic_games.py and code/05_modern_games.py. Try each before you open
the answer.
Part A — Concepts ⭐
A1. State the chapter's definition of a bad bishop (the toolkit rule) and explain in one sentence why a pawn fixed on the bishop's colour hurts more than one that can still move.
Answer
Bad = at least 60% of the side's own pawns on the bishop's colour and at least two of those blocked head-on by enemy pawns. A fixed pawn can never leave the bishop's colour, so it permanently blocks the bishop's diagonals and must be defended by the bishop (the enemy can attack it with pieces on the other colour, which the bishop cannot answer).
A2. In OTB games with level pawns, the bishop side scored 46.8% (n = 5,180) in bishop-vs-knight endings. Why does this number not contradict the advice "in open positions with pawns on both wings, prefer the bishop"?
Answer
It is an average over every kind of bishop-vs-knight ending players actually reached — good and bad bishops, open and blocked boards. The advice is conditional. Split by bishop quality the picture changes (good 51.9%, bad 36.4%), and in Case Study 2 pawn spread and fewer pawns both help the bishop once the other features are held fixed.
A3. What does "first stable position" mean, and what error does it prevent?
Answer
The first position of an ending type after which the next move actually played is not a capture. It prevents counting material in the middle of an exchange (for example, a "rook vs nothing" position that exists for one ply before the recapture).
A4. Why can a knight never "lose a tempo", and why does that matter in minor-piece endings?
Answer
Every knight move changes the colour of its square, so a knight cannot return to the same square in an odd number of moves (it cannot shuffle between two squares and arrive with the move passed to the opponent). A bishop can triangle along a diagonal. In zugzwang positions — where the side to move must worsen its position — the bishop side can pass and the knight side cannot.
A5. Give the two different ways the defender holds a pure opposite-coloured-bishop ending two pawns down, and the condition under which they fail.
Answer
(1) King blockade: the king stands in front of the pawns on squares of its own bishop's colour, which the attacker's bishop never attacks. (2) The bishop stops a passed pawn from a distance on its own colour (or sacrifices itself for it). They fail when the passed pawns are far enough apart that king and bishop are each tied to one pawn and the attacker's king can support one of them — in the tablebase pair of 17.6, b- and g-pawns won, d- and g-pawns drew.
A6. What is a cursed win? Why did 17 of the 40 sampled K+B+B vs K+N positions fall into this category?
Answer
A tablebase win that cannot be forced within the 50-move rule: the distance to the next capture or pawn move (DTZ) exceeds 100 half-moves, so the defender can claim a draw. In K+B+B vs K+N there are no pawns to move, and driving the king and knight into a mating net takes many moves; in 42% of our random positions it takes too many.
A7. True or false, with a reason: "With bishops of the same colour, the defender's king should blockade on a square of the bishops' colour."
Answer
False. On the other colour — a square neither bishop can ever attack (ch17-pos-23: king on dark b6 against light bishops is a tablebase draw with every White move).
A8. In the OTB conversion table, which pure minor-piece ending converted an extra pawn least often, and which setting of that ending converted it most often?
Answer
Opposite-coloured bishops: one pawn up, the side ahead won only 31.8% of OTB classical games with bishops alone (n = 1,576) but 46.4% with a rook each (n = 2,343).
Part B — Positions ⭐⭐
B1. Endgame technique — find the draw. Fischer–Taimanov, Candidates 1971, game 2, after 81.Kxf6. Black to move.

♟️ Position: White Kf6, Bg4, h3; Black Kd5, Ne5 — Black to move. FEN:
8/8/5K2/3kn3/6B1/7P/8/8 b - - 0 81
Answer
Tablebase: draw with 81...Nd3, 81...Kd4 or 81...Kd6; all eleven other moves lose. The tablebase line 81...Nd3 82.h4 Nf4 83.h5 Nxh5+ 84.Bxh5 shows the idea: the knight reaches f4 in time to give itself up for the last pawn, and king and bishop cannot mate. Taimanov played 81...Ke4? and lost after 82.Bc8 Kf4 83.h4 Nf3 84.h5 Ng5 85.Bf5 Nf3 86.h6 Ng5 87.Kg6 Nf3 88.h7 Ne5+ 89.Kf6.
B2. Find the move — keep the knight in the game. Carlsen–Erdogmus, TePe Sigeman 2026, after 39.Bxe4. Black to move.

♟️ Position: White Kf4, Be4, a3, b3, g4, h4; Black Ke7, Ne5, b6, f6, h6, a7 — Black to move. FEN:
8/p3k3/1p3p1p/4n3/4BKPP/PP6/8/8 b - - 0 39
Answer
39...Nf7 (+0.44 at depth 24, +0.51 at depth 20). The alternatives the engine lists are much worse: 39...Ke6 +2.43 and 39...b5 +2.89 (depth 24). The knight is attacked by nothing yet, but on e5 it can be driven away by g5 or by the king; from f7 (heading for d6) it covers both the queenside and the kingside pawns. Erdogmus found 39...Nf7; the game was lost later, when White's king reached a6 (+6.09 at move 52).
B3. Find the only move. Robson–So, U.S. Championship 2026, after 72...Kc5. White to move.

♟️ Position: White Ke4, Bg3, b5, g5; Black Kc5, Bc1, h5, g6, c7 — White to move. FEN:
8/2p5/6p1/1Pk3Pp/4K3/6B1/8/2b5 w - - 40 73
Answer
73.Bxc7! (−1.15 at depth 24; −0.93 at depth 20). Every other try collapses: 73.Be5 and 73.Bh2 are −6.85 at depth 24, 73.Kd3 −5.67 at depth 20. Black threatens ...Kxb5 and ...Bxg5 with two connected passers; giving the bishop's attention to c7 at once trades one pawn for one and keeps White's king near the kingside. Robson played it; the game continued 73...Kxb5 74.Ke5 Kc6 75.Bb8 Bxg5, and Black won much later.
B4. Build the plan. Kovalenko–Seemann, Polanica 2026, after 48.axb5. Black to move — but the question is about White's plan.

♟️ Position: White Kd2, Nd1, h2, g3, d4, f4, b5, e5; Black Kf7, Be4, h3, g4, a5, d5, f5, b6 — Black to move. FEN:
8/5k2/1p6/pP1pPp2/3PbPp1/6Pp/3K3P/3N4 b - - 0 48
Answer
Black's pawns d5, f5, g4 and h3 stand on light squares, with the light-squared bishop; a5 and b6 are on dark squares, which the bishop can never protect. White's plan is to send the knight to them: Nc3–a4xb6 (or via c3 to attack a5). The game: 48...Bg2 49.Nc3 Ke6 50.Na4 Bf1 51.Nxb6 Bxb5 52.Kc3 Bc6 53.Nc8, and Black resigned. Stockfish 19 already rated the position +6.13 at depth 24 (48...Bg2, 48...Ke6 and 48...Bf3 all within 0.04).
B5. Analyse this position. Divya Deshmukh–Goryachkina, FIDE Women's Candidates 2026, after 43...Bxe4. White to move. Who would you rather play, and what is the bishop side's plan?

♟️ Position: White Kh2, Nf3, a2, g2, b3, h3; Black Kh7, Be4, a5, f5, h6, g7 — White to move. FEN:
8/6pk/7p/p4p2/4b3/1P3N1P/P5PK/8 w - - 0 44
Answer
Objectively level: +0.08 at depth 24 (44.Kg3; 44.a3 and 44.Nd2 +0.00). But the bishop side has the easier game: pawns on both wings, the light-squared bishop free (only f5 on its colour), and a possible queenside target. In the game Goryachkina centralised her king towards the queenside pawns that White advanced (44.Nd2 Bd5 45.a3 Kg6 46.b4 a4 47.b5 Kf6 48.b6 Ke6), created kingside play with 51...g5 and 55...f4, and later collected the b6-pawn with her king (59...Kxb6). By 56...fxg3+ the engine gave −4.95 (depth 24): the bishop side had won the race on both wings. A good example of the 17.2 geometry — and of how a level evaluation can still favour one side in practice.
B6. Build the plan — the bishop pair. Sindarov–Svane, FIDE World Cup 2025, after 40...Nxe5. White to move.

♟️ Position: White Kg2, Bc1, Bf3, f2, c3, g3, a4, h4, b5; Black Kg8, Bb6, Ne5, a5, h6, b7, c7, f7, g7 — White to move. FEN:
6k1/1pp2pp1/1b5p/pP2n3/P6P/2P2BP1/5PK1/2B5 w - - 0 41
Answer
Stockfish 19 prefers 41.Be4 (+0.14 at depth 24; 41.Be2 +0.09, 41.Bd2 +0.06). The plan: keep both bishops, centralise the light-squared one where the knight cannot challenge it, gain space on the kingside (f3/g4 in the game) and use the dark-squared bishop against Black's queenside pawns. The game followed this path (41.Be4 h5 42.f3 g6 43.Kf1 Nd7 44.g4 Nf6 45.Bxb7) and the evaluation grew slowly to +0.58 by move 51 — the typical bishop-pair pattern of 17.7: a small eval, a lasting edge.
B7. Endgame technique — opposite bishops. Constructed (tablebase). White to move. In 17.6 the only winning move was 1.g6. What does the tablebase say about 1.b6?

♟️ Position: White Kd4, Ba4, b5, g5; Black Kd6, Bh4 — White to move. FEN:
8/8/3k4/1P4P1/B2K3b/8/8/8 w - - 0 1
Answer
1.b6 only draws, like every other move except 1.g6 (tablebase: g6 wins; b6, Bd1, Bc2, Bb3, Kc3, Kd3, Ke3, Kc4, Ke4 draw). Pushing the b-pawn brings it towards Black's king (d6–c6 area), which can then blockade it, while the bishop on h4 holds the g-pawn. The winning idea is to push the pawn furthest from the defending king first.
B8. Analyse this position — why is it a draw? Constructed (tablebase). White to move.

♟️ Position: White Kc4, Bc2, b5; Black Kb6, Bh1 — White to move. FEN:
8/8/1k6/1P6/2K5/8/2B5/7b w - - 0 1
Answer
Tablebase: draw — all 14 White moves draw (the tablebase line Bb1 Bg2 Ba2 Bf1+ Kb3 Bxb5 even sees Black win the pawn). Black's king blockades on b6, a dark square that White's light-squared bishop can never attack; White's king alone cannot dislodge it. Same-coloured bishops win only when the defending king is kept away from the blockade square (ch17-pos-24).
B9. Analyse this position — opposite bishops with rooks. Ding Liren–Keymer, Olympiad 2026, after 32.Kxe2. Black to move.

♟️ Position: White Ke2, Ra1, Bd4, f3, h3, g4; Black Kg8, Rc7, Be4, f6, g6, a7 — Black to move. FEN:
6k1/p1r5/5pp1/8/3Bb1P1/5P1P/4K3/R7 b - - 0 32
Answer
Stockfish 19 at depth 24: 0.00 (32...Bc6 0.00, 32...Bb7 0.00, 32...Bd5 +0.01). Level — but look at the colours. White's bishop is dark-squared and attacks f6; Black's light-squared bishop can never defend f6, g5 or the dark squares around Black's king. With rooks on, White's rook and bishop can co-operate on the dark squares. In the game Black's a-pawn advanced while White's kingside pawns rolled (33.Bxf6 Rf7 34.g5 … 40.f5) and by move 40 the engine had +4.48 (depth 24). With opposite bishops and rooks, the side whose bishop attacks the weak colour complex is the one with winning chances.
Part C — Data & Code ⭐⭐–⭐⭐⭐
C1. ⭐⭐ Database research — knight endings. Using code/minor_endings.parquet, compute for N vs N with exactly
one extra pawn (OTB classical) the side ahead's win and draw rates, split by whether the side ahead has a passed
pawn at the first stable position (w_passed / b_passed). Expected output: a 2-row table (passed / no passed)
with n, win %, draw %, score %. Then compare with the overall 64.6% (n = 1,615).
C2. ⭐⭐ Database research — rating bands. Extend section 2g of 03_minor_endings_stats.py to split the bad-bishop
effect by FIDE band (OTB, level pawns, bands with n ≥ 100 in each cell). Expected output: a table band × quality
(good / neutral / bad) of scores. Does the bad-bishop penalty grow or shrink with rating?
C3. ⭐⭐ Engine analysis. Evaluate the starting position of every OTB classical bishop-vs-knight ending between
two FIDE 2600+ players (use minor_endings.parquet with fen, merge ratings) at depth 20 with
engine.get_engine(threads=2). Expected output: one row per game with eval from the bishop side's view, the
bishop quality label and the result; then the median eval and score by quality. Keep it under 5 minutes (it is a few
dozen positions).
C4. ⭐⭐⭐ Extend the replay. 02_minor_endings_replay.py records only the first stable position of each type.
Add a record of the last position of the game and compute, for B vs N endings, how often the minor pieces were
still on the board at the end (vs traded into a pawn ending or promoted). Expected output: shares by result.
C5. ⭐⭐⭐ Tablebase study. Write a script that generates 30 random legal positions of K+B+P vs K+N with the pawn
on the a-file and 30 with the pawn on the d-file (seeded; no captures available; White to move), probes them with
chessdata.tablebase (pace the requests), and compares the share of wins. Expected output: a 2×3 table (a-pawn /
d-pawn × win / draw / loss). Relate the result to the Fischer–Taimanov game-2 ending.
C6. ⭐⭐⭐ Opposite bishops by phase. game_features has ocb_entry (opposite bishops at the start of the
endgame). Compute the draw rate and the score of the side with more material for games with ocb_entry True vs
False, OTB classical, by whether queens are still on at endgame entry (endgame_signature contains 'Q').
Expected output: a 2×2 table of draw rates with n.
Part D — Judgement & Transfer ⭐⭐⭐
D1. You are a 1200-rated player, a pawn up in a Lichess rapid game. You can trade into (a) pure opposite- coloured bishops or (b) knight against knight. Which would you choose, and would your answer change at 2000 OTB? Use the conversion table in 17.8.
Answer
Choose the knight ending. OTB classical, the side a pawn up wins N vs N 64.6% of the time against 31.8% in pure opposite bishops; online the gap is smaller but the same way (55.4% vs 46.2%). At 2000 OTB the choice matters even more, because stronger defenders hold opposite-bishop endings more often (the draw rate a pawn up rises from 60.3% at 1600–1799 to 72.6% at 2400+).
D2. The engine says +0.25 in Karpov–Kasparov at move 45; the data say the bad-bishop side scores 36.4%. A student says, "So the engine is wrong." Respond.
Answer
Both are right about different things. The engine estimates the position's value with best play: Black is only a little worse. The data describe what happens between humans in such positions: the bad-bishop side has to find precise moves for a long time, and often fails. Kasparov held the balance until move 66 — and then erred. "Hard to hold" and "lost" are different statements.
D3. A teammate argues that since the bishop pair scores 64.0% in B+B vs B+N endings, you should always avoid trading a bishop for a knight in the middlegame. What is wrong with the argument?
Answer
Selection and context. The 64.0% is for endings players reached with the pair, partly because the pair side was stronger (rating-adjusted +6.9); it says nothing about positions where giving up a bishop wins material, damages the opponent's structure or gives a knight an unassailable outpost. Chapter 6's middlegame bishop-pair value (about a third of a pawn) is the right comparison for a middlegame decision.
D4. Why might the draw rate in pure opposite-bishop endings be so much lower online (about a third) than OTB (about two thirds), and what does this imply for how you should play them online?
Answer
Fortresses must be known and held move after move; under a blitz clock defenders miss the blockade or try to save pawns, and attackers sometimes win on time. Online, the attacker should keep playing (practical chances are real); the defender should know the blockade pattern in advance so it costs no clock time.
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1. ⭐⭐ (Chapter 3 + 17) Use outpost.activity.bishop_quality on Kasparov's bishop in Karpov–Kasparov 1984 at
move 45 and on Fischer's in Fischer–Taimanov 1971 at move 45. Then explain why "good" and "bad" are better predictors
in the endgame than in the middlegame (compare with Chapter 3's middlegame good-vs-bad table: OTB 58.5% vs endgame
62.9% for the good-bishop side).
Answer
Fischer's bishop: light, 1 of 6 own pawns on its colour, 1 fixed (a4) → index 0.167, "good". Kasparov's: light, 4 of 6, 2 fixed (d5, h5) → index 0.667, "bad". In the middlegame other pieces can compensate a bad bishop (activity, attack, the opponent's own problems); in the endgame the bishop is the army, so its scope decides more — hence the larger gap in endgames, both in Chapter 3's table and in 17.3 (51.9% vs 36.4% with level pawns in pure B vs N).
M2. ⭐⭐ (Chapter 15 + 17) In Fischer–Taimanov game 4, after 62.Bxg6 Nxg6 63.Kxb6 the knight remains. Imagine
instead that all pieces were traded at move 63, leaving a pawn ending. Using Chapter 15's ideas (outside passed
pawn, king activity), explain why the queenside majority would decide — and then check one concrete pawn-ending
position with outpost.tablebase (≤ 7 pieces) of your own construction.
Answer
White's king is already on b6, deep in Black's queenside, and White has a 3-vs-1 majority there (a4, b2, c3 against a5, c5 after ...b6 falls); Black's king is far away. In a pawn ending a passed pawn created on the far wing decoys the defending king while the attacking king eats the remaining pawns (Chapter 15's outside passed pawn). Any construction you test must have at most seven pieces; check that your expected verdict matches the tablebase's.
M3. ⭐⭐⭐ (Chapter 6 + 17) Chapter 6 measured the bishop pair at ply 40 (rating-adjusted +2.8 points OTB). This chapter measured it in the endgame (+6.9 / +6.3). Propose two explanations for the difference and one analysis with the book's data that could distinguish them.
Answer
(1) The pair is worth more when the board is emptier (bishops' range grows, and knights lose outposts as pawns come off). (2) Selection: endings with the pair are reached more often by the side that was already better or stronger — partly removed by rating adjustment but not entirely. Distinguishing analysis: within the endgame sample, regress the pair side's score on the number of pawns (and of pieces) with rating control; explanation (1) predicts a larger effect with fewer pawns. Another check: compare the engine eval at entry with the result — if the eval is small and the score large, the effect is practical rather than objective.
M4. ⭐⭐⭐ (Chapter 14 + 17) Chapter 14 introduced the wrong rook pawn with a bishop. Fischer–Taimanov game 2 featured bishop + h-pawn against a knight. Is the "wrong bishop" idea relevant when the defender has a knight? Use the tablebase verdicts printed in 17.4 to argue.
Answer
Yes — as a background fact. Fischer's light-squared bishop could not control h8, a dark square: it was the "wrong" bishop for an h-pawn. Had Black's king reached the h8 corner, even giving up the knight would not have lost, because K+B+wrong rook pawn vs K is a draw (Chapter 14). But Black's king was on d5, far from h8, so the defence had to rely on concrete resources: 81...Nd3 heads for f4 to give the knight up for the pawn, and 81...Kd4 and 81...Kd6 also draw — while 81...Ke4, the most "active" king move, loses. Exact calculation, not a general rule, decides here.
M5. ⭐⭐⭐ (Chapter 16 + 17) In the conversion table, adding a rook each lowers the win rate of a pawn-up side in every minor ending except opposite bishops. Relate this to Chapter 16's principle of rook activity.
Answer
An extra rook gives the defender active counterplay — attacking pawns from behind, checking the king, cutting it off — which Chapter 16 showed is often worth a pawn. That counterplay lowers the conversion rate in most endings. With opposite bishops the rooks also give the attacker a piece that can operate on the colour the defender's bishop cannot cover, and that second front breaks the blockade; the net effect flips sign.
Part E — Research & Extension ⭐⭐⭐⭐
E1. Targets, not features. Design and compute a feature that captures the "two targets" idea of 17.2: the number of the defender's pawns that are (a) fixed, (b) on the bishop's colour, and (c) on different wings. Add it to the Case Study 2 model and report whether it improves R² and how large its coefficient is. Write a one-page note on whether "pawns on both wings" should be re-stated as "targets on both wings".
E2. The defender's knowledge. Collect every OTB classical pure opposite-bishop ending in the data in which the stronger side was two pawns up and the result was a win. For a sample of 30, compute the file distance between the stronger side's two most advanced passed pawns at the first stable position, and compare with 30 drawn cases. Does the "two files apart draws, three or more wins" rule of thumb hold in practice?
E3. Cursed wins in practice. Search the broadcast and master games for any game that reached K+B+B vs K+N (or K+B+N vs K) and check how many moves the stronger side needed and whether the 50-move rule intervened. Report each case with source labels and tablebase verdicts at entry.