Express f(x) = x^2 + 5x + 9 in the form (x + a)^2 + b, stating the values of a and b.

The question asks you to complete the square on the function f(x). First, we split the function:

f(x) = (x^2 + 5x) + 9

And recognise that we need the form (x^2 + 2k + k^2). Identifying 2k = 5, we have that k = 5/2:

f(x) = (x^2 + 2*(5/2)x + (5/2)^2) + 9 - (5/2)^2

with the last term being due to the addition of (5/2)^2: completing the square. Resolving the expression:

f(x) = (x + 5/2)^2 + 11/4, with a = 5/2 and b = 11/4. Expanding the brackets again reforms the original expression.

LB

Related Maths GCSE answers

All answers ▸

Expand and simplify (x+5)(x+7)


For all values of x f(x) = x^2 + 2 g(x)= x - 5 show that fg(x) = x^2 -10x +27


Find the roots for the quadratic equation x^(2)+6x+5=0


Why do square roots have more than 1 solution?