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
Answered by Katie C. Maths tutor

10757 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

A quarter circle has a radius of 6 cm. Calculate the area of the quarter circle.


I’m having some trouble understanding functions. Mainly concerning how to know what the input and outputs are. Could you give me an explanation?


Find the roots of the equation y = 2x^2 + 5x + 2.


The rectangles A and B have perimeters of 94cm and 56cm as shown below (insert diagram). Rectangle A: base = 2x cm, height = 3y cm. Rectangle B: base = (x+6)cm, height = (y+4)cm. Use an algebraic method to calculate the area of each rectangle. (8 marks)


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning