The Quadratic Formula and Completing the Square
Completing the square (including a number or a minus in front of x²), turning points, and solving with the quadratic formula.
In the exam for Cambridge IGCSE Maths 0580, Edexcel IGCSE Maths 4MA1, Edexcel Further Pure Maths 4PM1, Cambridge O Level Maths 4024, IGCSE Additional Maths 0606 · 73 real past-paper questions below
اقرأ هذا الدرس مشروحاً بالعربي ←
Two Tools for Quadratics
Some quadratics do not factorise. You have two tools for them.
Completing the square
Rewrites the quadratic. Gives the turning point and exact answers.
The formula
Solves the equation when it equals 0. Best for decimal answers.
Key idea
Read the question: “write in the form …” means completing the square; “give your answers to 2 decimal places” means the formula.
Completing the Square
Completing the square means rewriting a quadratic so all the x's sit inside one squared bracket. Watch it one small move at a time.
Worked example
- 1
— The question. Look at the and the 6x first. The +2 waits at the end.
- 2
— Halve the 6 to get 3. Why half? Because gives 3x twice, and 3x + 3x = 6x.
- 3
— Check by expanding. We get the and the 6x we wanted, plus an extra 9 we did not ask for.
- 4
— So take the 9 away again. Now both sides are equal.
- 5
— Bring back the +2 that was waiting.
- 6
— −9 + 2 = −7. This is the form , with p = 3 and q = −7.
Memory trick
Halve it, square it, take it away.
Common mistake
Adding the 9 instead of taking it away. The bracket already makes the 9, so you must remove it.
A Number in Front of x²
The halving trick only works when stands alone. If it has a number in front, take that number out of the x terms first. Then do the same trick inside the bracket.
Worked example
- 1
— The question. has a 3 in front, so we cannot halve straight away.
- 2
— Take the 3 out of the first two terms only: and . The +5 stays outside.
- 3
— Now work inside the bracket, like the last card. Half of 4 is 2, and makes an extra 4, so take 4 away.
- 4
— Put that back in place of .
- 5
— Open the big bracket. The 3 multiplies both parts, so 3 × (−4) = −12.
- 6
— −12 + 5 = −7. Done.
Key idea
Check by expanding back: . It matches, so the answer is right.
Common mistake
Writing 3(x + 2)² − 4 + 5. The −4 is inside the 3's bracket, so it becomes −12.
A Negative x² (Extended/Higher)
Questions like “write in the form ” work the same way. The only new move: take out the minus sign first.
Worked example
- 1
— The question. The x² has a minus, so we cannot halve straight away.
- 2
— Take the minus out of the x terms. It flips each sign inside: becomes .
- 3
— Complete the square inside. Half of −8 is −4, and makes an extra 16, so take 16 away.
- 4
— Put that back in place of .
- 5
— Open the outer bracket. The minus in front turns −16 into +16.
- 6
— 5 + 16 = 21. So a = 21 and b = 4.
Common mistake
Writing 5 − 16 = −11. The minus outside the bracket flips the −16 to +16.
With −3 in front. Exams also write , with a number bigger than 1 in front of the minus. Take out the whole −3.
Worked example
- 1
— The question. The x² has −3 in front. Aim for the form .
- 2
— Take −3 out of the x terms only: and . The 7 stays outside.
- 3
— Complete the square inside. Half of −4 is −2, and makes an extra 4, so take 4 away.
- 4
— Put that back in place of .
- 5
— Open the big bracket. The −3 multiplies the −4: (−3) × (−4) = +12.
- 6
— 7 + 12 = 19. So a = 19, b = 3 and c = 2.
Common mistake
Writing 7 − 12 = −5. It is −3 times −4, and minus times minus is plus, so +12.
Shortcut: One Formula for Any Quadratic
If you do the last two cards with letters instead of numbers, you get one formula that does the whole job for any :
Formula
Read , and from the question, with their signs. Then work out two numbers: goes inside the bracket, and goes on the end.
Common mistake
Watch the letters. Here a, b and c are the numbers in the question. Exam questions often use a, b and c for the answer instead, e.g. “write in the form a(x + b)² + c”. For that answer's a, b, c are 3, 2 and −7, not 3, 12 and 5. Read the letters from the question.
Worked example
- 1
— The example from two cards ago. a = 3, b = 12, c = 5.
- 2
— The number inside the bracket: x + 2.
- 3
— The number on the end. Square b first: .
- 4
— Put a, the bracket and the end number together. Same answer as before.
Worked example
- 1
— The last card's 5 + 8x − x², with x² written first. a = −1, b = 8, c = 5. Keep the minus on a.
- 2
— So the bracket is x − 4.
- 3
— Dividing by a negative flips the sign: , and taking away −16 adds 16.
- 4
— The same as from the last card.
Key idea
It also gives the turning point straight away: . For that is (−2, −7).
Common mistake
Forgetting the minus when a is negative. Always write a with its sign before you divide.
A letter in front. The formula still works when a coefficient is a letter, like q. Treat q as a number and keep it in the answer.
Worked example
- 1
— The question. Written as , it has a = −q, b = 12, c = q.
- 2
— The number inside the bracket, so the bracket is . Dividing by −2q makes it negative.
- 3
— Work out the fraction on the end first: , and dividing by −4q makes it −36/q.
- 4
— Taking away a negative adds it.
- 5
— Put them together: the end number, then a = −q times the bracket squared.
When Half Is a Fraction
When the x number is odd, half of it is a fraction. The method is the same; keep the fraction exact.
Worked example
- 1
— The question. 5 is odd, so half of it is not a whole number.
- 2
— Half of 5 is . Keep it as a fraction, not 2.5, so the next line stays exact.
- 3
— The bracket makes an extra 25/4. Square the top and the bottom.
- 4
— Take the extra away, and bring back the +1.
- 5
— Write 1 as 4/4 so the bottoms match.
- 6
— Done. p = 5/2 and q = −21/4.
Key idea
A surd works the same way. For , half of is , and . So it is .
Common mistake
Squaring 5/2 as 25/2. Square the bottom too: 2² = 4, so it is 25/4.
Using the Completed Square
Why bother completing the square? Because the finished form answers two more exam questions almost for free.
1. Find the turning point of
Worked example
- 1
— A squared number is never negative. The smallest it can ever be is 0.
- 2
— The bracket is 0 when x = −3.
- 3
— Put x = −3 in. The bracket disappears, leaving y = −7.
- 4
— This is the lowest point of the curve, so the least value is −7. Notice: the 3 changes sign, the −7 does not.
Key idea
If the x² is negative, the curve is upside down, so the turning point is the highest point. For the turning point is (4, 21), and 21 is the greatest value.
2. Solve
Worked example
- 1
— Add 7 to both sides, so the squared bracket is alone.
- 2
— Square root both sides. Both and square to 7, so keep the ±.
- 3
— Take 3 from both sides. This is the exact answer, and ± means two solutions.
- 4
— Only if the question asks for decimals: −3 + 2.646 and −3 − 2.646, to 3 s.f.
Key idea
One completed square, three answers: the turning point, the least value, and the solutions.
3. “Hence solve” with a bracket in place of x
Worked example
- 1
— The question. It is with (y + 3) wherever x was.
- 2
— So call the bracket x. Now it is the equation we just solved.
- 3
— We know , so y + 3 equals those answers.
- 4
— Take 3 from both sides: −3 − 3 = −6.
- 5
— Only if asked for decimals: −6 + 2.646 and −6 − 2.646, to 3 s.f.
Common mistake
Expanding the brackets. “Hence” means use the answer you already have: spot the repeated bracket and shift the answers.
The Quadratic Formula
When a quadratic equals 0 and will not factorise, this formula always works:
Formula
is the number in front of , the number in front of , and the number on its own. The ± means you work it out twice: once with +, once with −.
Worked example
- 1
— The question. It already equals 0. Read off a = 2, b = 5, c = −4, and keep the minus on c.
- 2
— Work out the part under the square root first. Put c in brackets so its minus is not lost.
- 3
— −4 × 2 × (−4) = +32, because minus times minus is plus.
- 4
— Put it all in the formula: −b is −5, and the bottom is 2a = 4. Keep √57 exact for now.
- 5
— The + version: √57 = 7.5498…, so (−5 + 7.5498) ÷ 4 = 0.637 to 3 s.f.
- 6
— The − version: (−5 − 7.5498) ÷ 4 = −3.137…, which is −3.14 to 3 s.f.
Common mistake
Losing the minus in c. Put c in brackets: −4 × 2 × (−4).
When b is negative. Exams often give the x term a minus. Here is how to handle it.
Worked example
- 1
— The question. Read off a = 2, b = −7, c = −3. This time b has a minus too.
- 2
— The top of the formula starts with −b. Minus a minus is plus, so −b = 7.
- 3
— A negative squared is positive. Keep the brackets.
- 4
— Put c in brackets, as before.
- 5
— −4 × 2 × (−3) = +24, because minus times minus is plus.
- 6
— Put it all in: 7 on top, 2a = 4 on the bottom.
- 7
— The + version: √73 = 8.544…, so (7 + 8.544) ÷ 4 = 3.886…, which is 3.89 to 2 d.p.
- 8
— The − version: (7 − 8.544) ÷ 4 = −0.386…, which is −0.39 to 2 d.p.
Common mistake
Typing −7² on a calculator. It gives −49, because the calculator squares 7 first. Type (−7)², which is 49.
Key idea
Write the formula with your numbers in before you press anything. That line earns marks even if a later slip spoils the answer.
Key idea
In 628, the Indian mathematician Brahmagupta wrote a rule, in words, for solving quadratic equations. It follows the same steps as the formula you use today, about 1,000 years before the letters and symbols existed.
Which Method? Read the Question
The wording tells you which tool.
| You see | You do |
| “In the form (x + p)² + q” | Complete the square |
| “In the form a − (x − b)²” | Take out the minus, then complete |
| “Turning point” or “least value” | Complete the square, read it off |
| “To 2 decimal places” | Use the formula |
| “In the form p ± √q” or “exact” | Complete the square, then solve. Keep the √ |
| It factorises | See Solving Quadratics by Factorising |
Key idea
On a formula question, write a, b and c down first, with their signs.
Practise the quadratic formula and completing the square now
Interactive visual aids, then real past-paper questions marked on your working like the exam. Free to start.
Practise free on LemmaraReal past-paper questions on the quadratic formula and completing the square
Each with a full worked solution.
Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.