Two things
The demonstration is unnecessarily obscure.
[MATH]r = \dfrac{\dfrac{1 + i}{1 + \pi} - 1}{1} = \dfrac{1 + i}{1 + \pi } - 1 = \dfrac{1 + i - (1 + \pi )}{1 + \pi} \implies [/MATH]
[MATH]r = \dfrac{i - \pi }{1 + \pi}.[/MATH]
Now it is easy to see
[MATH]r(1 + \pi)= \dfrac{i - \pi}{1 + \pi} * (1 + \pi) \implies r + r \pi = i - \pi \implies i = r + \pi + r \pi.[/MATH]
Second, if r and pi are small, r times pi is negligible.
[MATH]i = 0.1 \text { and } \pi = 0.05 \implies r = \dfrac{0.1 - 0.5}{1.05} \approx 0.047619.[/MATH]
[MATH]0.05 * 0.047619 = 0.00238095, \text { just over 2 basis points.} [/MATH]
Unless we are dealing with very rapid inflation, the error in the text book version is not worth bothering about because it is swamped by the uncertainty in the expected inflation rate.[/MATH]