TeX Quellcode:
x^2+2x+1=x^2+2\cdot 1\cdot x+(\frac{1}{2}\cdot 2)^2-(\frac{1}{2}\cdot 2)^2+1=(x-1)^2-(1)^2+1=(x-1)^2