Given that x^2+10x+3 can be written in the form (x+a)^2+b, find the values of a and b.

We can tackle this question by completing the square. Completing the square allows us to write a quadratic equation (x^2+10x+3) in the simpler form (x+a)^2+b.To complete the square, first we need to find the value of our a. To find the value of our a we need to halve the x term coefficient (halve the number in front of the x). In this question, the number in front of our x is 10 so our a value must be 5.We can then substitute this value of a into our completing the square equation: (x+5)^2+b.To find our b value we need to expand out (x+5)^2 + b and compare this to our original equation.If we expand (x+5)^2 + b we get x^2 + 10x + 25 + b. However, looking at our original equation we know our x^2 and x terms are correct but the constant (the term with no x's) we should be left with is 3 but instead we are left with 25 + b. Hence, 25 + b = 3 (as these are the only terms without x's) so b = -22.Thus, we can write the equation x^2+10x+3 as (x+5)^2 -22 so a = 5 and b = - 22.

KC

Related Maths GCSE answers

All answers ▸

f(x) = 3x - 2a || g(x) = 2ax + 1 || fg(x) = 2x + b/2


A shape consists of a quarter circle (radius r = 4cm) attached to a triangle (side length = 4cm and hypotenuse = 5cm). This shape is surrounded by a square (side length 8cm). If the shape is coloured in, what is the area in the square that is uncoloured?


To make 12 cakes you need 100g of butter, 6 eggs, and 40g of sugar. How many cakes can you make with 450g of butter, 15 eggs, and 110g of sugar?


Adam gets a bonus of 30% of £80. Katy gets a bonus of £28. Work out the difference between the bonus Adam gets and the bonus Katy gets.