KS Maths
Year 10 Standard · Unit 3 Functions and quadratics · Lesson 5 of 6

Completing the square and the quadratic formula

When no pair of whole numbers will do

Some quadratic equations have no pair of whole numbers to factorise with. This lesson draws x² + bx as a square with a corner missing, and asks what the missing corner can do.

FunctionsGDC optional

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

square
Multiply a number by itself. Also, a shape with four equal sides and four right angles.5 squared is 25.
completing the square
Rewrite a quadratic in the form (x plus p) squared plus q.x squared plus 6x plus 5 becomes (x plus 3) squared minus 4.
quadratic
Involving a squared letter, like x squared.x squared plus 3x plus 2 is quadratic.
formula
A rule using letters that shows how to work something out.Area = length times width is a formula.
add
Put numbers together to find the total.Add 3 and 4 to get 7.
square root
A number that gives the original number when multiplied by itself.The square root of 25 is 5.
square number
The answer when a whole number is multiplied by itself.25 is a square number.
decimal place
A digit after the decimal point. We count places from the point.3.14 has two decimal places.
divide
Share into equal parts, or find how many times one number fits in another.12 divided by 4 is 3.
surd
A root that cannot be written as a whole number or fraction.The square root of 2 is a surd.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

Three quick ones from earlier work. Try each in your head or on paper before you open the answer.

  1. From Year 9, Unit 8, lesson 3: expand (x + 5)².
    Answerx² + 10x + 25. The middle term is 2 × 5x and the last is 5².
  2. From Unit 1, lesson 4: simplify √50.
    Answer5√2, because 50 = 25 × 2.
  3. From Year 9, Unit 2, lesson 2: work out √(64 + 36).
    Answer10. Add under the root first: √100 = 10.
Words used in this lesson
completing the square
adding the missing corner so an expression becomes a perfect square. For example: turning x² + 2x into (x + 1)² − 1.
perfect square
an expression that is something squared. For example: (x + 9)².
quadratic formula
a formula that gives the solutions of ax² + bx + c = 0. For example: uses a, b and c.
exact answer
an answer that keeps surds and fractions. For example: 2 + √3.
coefficient
the number in front of a letter. For example: the 6 in 6x².
plus or minus
the symbol ± stands for two values at once. For example: 5 ± 2 is 3 and 7.

When the pairs run out

A groundsman in Nairobi marks out a seed bed that is 4 m longer than it is wide, with an area of 3 m². Its width x metres satisfies x(x + 4) = 3, which is x² + 4x − 3 = 0. Look for two whole numbers with product −3 and sum 4: 1 and −3 give −2, and −1 and 3 give 2. There is no pair.

Predict first: does that mean the equation has no solutions, or only that factorising is the wrong tool? What could you do instead? Then use the figure to see how a square can be completed.

x²mxmxm²m² = 9 completes the squarex² + 6x + 5 = 0(x + 3)² = 4x = −3 ± 2x = −5 or x = −1
4right-hand side of (x + m)² =
−5 and −1solutions

x² + 6x + 5 = 0: completing the square gives (x + 3)² = 4. So x = −3 ± 2, which is x = −5 or x = −1.

Show me the steps
  1. Set m = 4 and c = 7. x² + 8x + 7 = 0 completes to (x + 4)² = 9, so x = −4 ± 3, which is −7 or −1.
  2. Set m = 2 and c = 1. (x + 2)² = 3, so x = −2 ± √3. These are not whole numbers: about −3.73 and −0.27.
  3. Set m = 3 and c = 9. (x + 3)² = 0, so there is one solution, x = −3, and the graph just touches the x-axis.
  4. Set m = 1 and c = 5. (x + 1)² = −4, and a square cannot be negative, so there is no real solution.

Completing the square. x² + bx is a square of side x plus two strips each b ÷ 2 wide. It becomes a perfect square when the missing corner (b ÷ 2)² is added: x² + bx + (b ÷ 2)² = (x + b ÷ 2)². Add the same amount to both sides of the equation, take the square root of both sides, and remember the ±. Written as an expression, the same idea is x² + bx + c = (x + b ÷ 2)² + c − (b ÷ 2)²: add the corner to make the square, then take it off again. For example, x² + 6x + 4 = (x + 3)² + 4 − 9 = (x + 3)² − 5. With a number in front of x², take it out of the first two terms first: 3x² + 12x + 2 = 3(x + 2)² + 2 − 12.

The quadratic formula. For ax² + bx + c = 0, doing this once with letters gives x = (−b ± √(b² − 4ac)) ÷ (2a). Put the brackets in: the whole of the top is divided by 2a.

Leave an answer exact (with a surd) unless the question asks for decimal places. Both methods give the same solutions.

Read what Keith says

Completing the square is a picture. A square, plus two strips along its edges, each half of the middle number wide. Add the missing corner and you have a perfect square. Add the same amount to both sides, take the square root, and remember the plus or minus. Do the same thing once with letters and you get the quadratic formula. Put brackets round the top, because all of it is divided by twice the number in front of the squared term.

Two common mistakes. Forgetting the ± when taking a square root: (x + 4)² = 19 has two solutions, −4 + √19 and −4 − √19. And writing −b ÷ 2a without brackets, or taking the 2a only under the root: the 2a divides the whole top line.

The rest of this lesson is in the full course

Still to come in this lesson:

  • Worked examples
  • Check before you go on
  • Your turn

In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.

Years 7 to 11 plan$59Every lesson from Year 7 to Year 11, so the refresher links always open, and every Year 7 to 11 revision pack, for the whole family. $59 for 12 months or $99 for 2 years.
IB Diploma plan$99Every lesson from Year 7 to the IB Diploma, AA and AI, SL and HL, for the whole family. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

Year 10 revision pack, $19BuyPlan $59