The following position is taken from Rechel-Hebden, 02-03-2008.
I think it nicely illustrates the discussion and the general principles listed in this thread.
38.Ke3 White starts to improve his king position
38......., Nd5+ Black seems to violate a principle here, and commit a common error.
He checks but at the same time allows white to improve his king position even further. But there was a deeper thought behind this:
Black wanted to keep his a-pawn on a6 rather than have to move it to a5, where it is vunerable to Kd4-c4-b5
Still, black can draw this position with more conventional play
38........Ke7 39.Kd4, g5! (following the principle to move your potential past pawn first).
39.Kd4,Nc7! The indicated defence.
40.Nb7 Opening a path for the king to the queenside
After 40.b4,Ke7 41.Kc4,Kd6 42.Nb7,Kd7 43.Kc5,g5!
black still draws. 40......,Ne6! Black prevents Kc5 making it difficult for white to make progress
41.Kd5, Ke7 If white had tried to invade the queenside with 41.Kc4, black would
have set his kingside in motion with g5.
An important position. White now offered the exchange of knights,
and black evaded it. We'll come back later to the pawn endgame.
Let's first convince ourselves that white couldnt make much progress by other means.
(a)
Invading the queenside with his king 42.Kc6, g5! 43.Kb6,h5! 44.b4,f5 and black's counterplay on the kingside is in time to hold the balance.
(b) Creating a passed pawn as soon as possible 42.b4,g5! 43.Nd6,Nf4 44.Kc6,Nd3! and white cant make progress either.
42.Nc5, Nxf4? A decisive error, the pawn endgame would have been drawn.
43.Kc6!, Nxh3 Under the changed circumstances white's king invasion is decisive.
After
43...g5 44.b4,h5 45.b5,axb5 46.a5! black's counterplay comes to late.
44.b4,
There is no longer a defence against the manoevre
45.b5,axb5 46.a5! creating an unstoppable passed pawn.
Let's get back to the pawn endgame that could have occured after
42...Nxc5! 43.Kxc5
43....g5! Again the important principle to move your potential passed pawn first
43.....f5? 44.h4! would have lost:
(a) 44...a5 45.f4! (now blacks pawn majority is rather useless) 45...., Kd7 46.Kb5 and white wins.
(b) 44...Kd7 45.b4,g6 46.Kd5! white wins using his queenside pawns as a decoy.
44.b4 White must be attentive as a king invasion may now even lose:
44.Kb6,f5! (a)
45.Kxa6,h5! 46.a5, g4 47.fxg4,fxg4 48.hxg4,h4! black wins
(b)
45.Kc5,h5! 46.b4,g4 (46.Kd5,h4! whith the breakthrough g4 coming)
45.Kxa6??, h5
44....., h5 45.Kd5,f5
46.Ke5,g4 drawn
If there is some interest, I can elaborate on this endgame as there is much more to learn.