TeX Quellcode:
\begin{array}{rcl} f(x) &=& 2x^2-4x+2 \cr &=& 2(x^2-2x+1) \cr &=& 2(x^2-2 \cdot 1x+1^2) \cr &=& 2(x-1)^2 \end{array}