\[\frac{a^{2} - 2}{a + \sqrt{2}} = \frac{\left( a - \sqrt{2} \right)\left( a + \sqrt{2} \right)}{a + \sqrt{2}} =\]
\[= a - \sqrt{2}.\]