Completing the Square
Completing the square is a commonly used trick in algebra, and allows us to take an irreducable quadratic and change it into a squared term plus a constant. The motivating example for this section is
\int \sqrt{x^2 + 4x + 5} \, dx.
Let’s see how completing the square helps us solve this integral.