How do you complete the square for x2+18x?

2 Answers
May 31, 2015

(x+9)2=x2+18x+81

In general,

ax2+bx+c=a(x+b2a)2+(cb24a)

Notice that the term added to x is b2a

May 31, 2015

For a general form, squared binomial
XXXXX(x+a)2=x2+2ax+a2

So if x2+18x are the first two terms of a squared binomial
XXXXXthen, in the general form, a=9 and
XXXXXa2=92=81

Of course, if we are going to add 92 to the expression x2+18x we are also going to have to subtract it:
XXXXXx2+18x
XXXXX=x2+18x+9292
XXXXX=(x+9)281