Completing the square is a method of rewriting quadratic expressions that can be used to solve quadratic equations. The process of completing the square to solve an equation can be justified with geometric reasoning. In the figure, the area can be expressed as x2+2x+2x, or x2+4x.
If the area is 60 square units, the relationship between the unknown length, x, and the area is the equation x2+4x=60. The missing square with the side 2 can now be placed in the upper right corner of the figure. Along with the green area, a complete square is created.
The total area has increased by 22, so both sides of the equation increase by 22: x2+4x+22=60+22. Notice that the complete square has a side of x+2. Therefore, the square's area can alternatively be expressed as (x+2)2. Replacing the left-hand side of the equation with this expression gives an equation that can be solved by finding the square root of each side: (x+2)2=60+22.