# How to find the value of a and the value of b?

##
#x^2-16x+a=(x+b)^2#

##### 2 Answers

Mar 13, 2017

#### Explanation:

This appears to be a way of finding a number

We can write

Now comparing coefficients of similar terms

and

Mar 13, 2017

#### Explanation:

Given:

#x^2-16x+a = (x+b)^2#

#color(white)(x^2-16x+a) = x^2+2bx+b^2#

Equating the coefficients of

#-16 = 2b#

Hence:

#b = -8#

Then:

#b^2 = (-8)^2 = 64#

So equating the constant terms, we find:

#a = 64#