Derivation Stepper
Complete the square, one step at a time.
Reveal the reasoning
Step 1 of 6
Start with the quadratic
We will rewrite the left side as a perfect square so that we can take square roots.
\begin{aligned}
x^2+6x+5 &= 0
\end{aligned}Align a chain of equations
Place an ampersand before the relation you want to align, then separate lines with a double backslash. The aligned environment keeps these relations in one column. This example reveals prepared, valid steps; KaTeX handles their presentation. See the alignment environments for other multiline layouts.