Completing the square
In elementary algebra, completing the square is a technique for converting a quadratic polynomial of the form a x 2 + b x + c {\displaystyle \textstyle ax^{2}+bx+c} to the form a ( x − h ) 2 + k {\displaystyle \textstyle a(x-h)^{2}+k} for some values of h {\displaystyle h} and k {\displaystyle k} . In terms of a new quantity x − h {\displaystyle x-h} , this expression is a quadratic polynomial with no linear term.