silemus.

70Completing the square

The equation x2−10x+16=(x−h)2−k\displaystyle x^2 - 10x + 16 = (x - h)^2 - k is true for all values of x\displaystyle x, where h\displaystyle h and k\displaystyle k are constants. What is the value of h+k\displaystyle h + k?

The trick is completing the square: rewrite x²−10x+16 as (x−5)²−9, so h=5 and k=9, giving h+k=14. Checking by expanding (x−5)²−9 gives back x²−10x+16.

How good is this answer?