If (x−1)2=x2−6x+b, where a and b are constants, what is the value of b?
Expand the equation on the left side and compare it with the equation on the right side:
(x−a)2=x2−6x+b
x2−2ax+a2=x2−6x+b
x2−2ax+a2=x2−6x+b
Comparing corresponding parts,
Linear terms
−2ax=−6x
a=3
Constant terms
a2=b
32=b
9=b