In order to complete the square of a quadratic equation, first let's identify the notable product below: the square of a sum:
So, in order to complete the square of a quadratic expression ax² + bx + c, when a = 1, we can add and subtract the term (b/2)², this way we have:
If a is not equal to 1, we can write the following general solution: