Worked example
Complete a quadratic expression to a square
Complete the square for .
The coefficient of is already 1. Work on the quadratic and linear terms first.
These terms are . The constant stays outside the calculation of the square.
Half the coefficient of inside the bracket is . Add and subtract inside that bracket.
Multiply the constant correction by . .