Write x2 +8x+16 =0 in the form x2 +px+qx+16 =0 such that p x q = 16
p = 2, q = 6
Comparing x2 +8x+16 =0 to ax2 + bx+ c = 0, we have a=1 , b=8 and c=16
Now, we need to find two numbers whose product is 16 and whose sum is 8
Pairs of numbers whose product is 16
1,16
-1,-16
2,8
-2,-8
4,4
-4,-4
Of these pairs , the pair that gives the sum 8 is the fifth pair
Identifying the pair, we rewrite the given quadratic equation as
x2 +8x+16= x2 +4x+4x+16
x2 +4x+4x+16=0