When we complete the square of the second degree expression, z2+2z+3, we start with the forumla
which we write as
and adapt the constant to be a=1 so that the terms z2+2z are equal to z2+2az, and therefore can be written as (z+1)2−12. The whole calculation becomes
The underlined terms show the actual completion of the square.