3.3 Completing the Square
OCR A-level Maths Year 1 (AS) · H240 · Chapter 3: Quadratic Functions
What is in the full lesson (27 activities)
Every item below opens free in the course.
- Video: Discussion Of Formulae Used In Completing The Square Of Quadratic Expressions Given In The Form x² ± 2bx
- Video: Complete The Square Of Quadratic Expressions Of The Form x² ± 2bx, worked example
- Video: Write a Quadratic Expression By Completing The Square, (1&2), parts c & b
- Video: Write a Quadratic Expression By Completing The Square Using The General Form, Extra Exercise
- Video: Completing the Square: example 1
- Video: Completing the Square: example 2
- Video: Completing the Square: example 3
- Video: Completing the Square: example 4
- Video: Completing the Square: example 5
- Video: Completing the Square: example 6
- Video: Discuss The Steps Of Completing The Square By Using Another Method
- Video: Solve by Completing the Square: example 1
- Video: Solve by Completing the Square: example 2
- Video: Solve by Completing the Square: example 3
- Video: Solve by Completing the Square: example 4
- Video: Discussion of formula used in completing square in the form of ax2 + bx + c = a (x + b\2a)² + (c: b2\4a²)
- Video: Solve quadratic equation by completing the square, Extra Exercise
- Video: Solve Quadratic Equation By Completing The Square, example 7
- Video: Solve Quadratic Equation By Completing The Square
- Video: Solve Quadratic Equation By Completing The Square, Extra Exercise (part 1)
- Video: Solve Quadratic Equation By Completing The Square, Extra Exercise (part 2)
- Notes: Lesson notes: Completing the Square
- Interactive lesson: Interactive lesson: Square Completer
- Interactive lesson: Interactive practice: Completing the Square Practice
- Practice questions: Practice questions (8 questions, 16 marks)
- Worksheet: Worksheet: Completing the Square
- Answers: Answers and mark scheme of the Worksheet: Completing the Square
A free OCR A-level Maths Year 1 lesson for OCR A Level Mathematics A (H240) from OBA School: writing quadratics in the form a(x + p)² + q and using it to find turning points and to solve equations (OCR H240: 1.02e). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Write x² + bx + c in the form (x + p)² + q
- Complete the square when the coefficient of x² is not 1, including negative values
- Read the turning point, the line of symmetry and the maximum or minimum value from completed square form
- Solve quadratic equations by completing the square and see where the quadratic formula comes from
- Use completed square form to show that an expression is always positive
Key words
- Completed square form: A quadratic written as a(x + p)² + q, for example 2(x − 3)² + 5.
- Perfect square: An expression such as (x + 4)² = x² + 8x + 16.
- Vertex: Another name for the turning point of a parabola.
- Minimum value: The smallest value a function takes. (x − 3)² + 5 has minimum value 5, when x = 3.
Completing the square when a = 1
(x + 4)² = x² + 8x + 16. So x² + 8x is the perfect square (x + 4)² with 16 taken away. In general, halve the coefficient of x to get the number in the bracket, then subtract its square.
Key fact: x² + bx + c = (x + b/2)² − (b/2)² + c
Worked example: whole number and fraction
(a) x² + 8x + 3 = (x + 4)² − 16 + 3
(b) x² − 3x + 1 = (x − 3/2)² − 9/4 + 1
Answer: (a) (x + 4)² − 13 (b) (x − 3/2)² − 5/4
When the coefficient of x² is not 1
Take the coefficient of x² out of the first two terms only, complete the square inside the bracket, then multiply back.
Worked example: positive a
Write 3x² − 12x + 5 in the form a(x + p)² + q
3(x² − 4x) + 5 = 3[(x − 2)² − 4] + 5 = 3(x − 2)² − 12 + 5
Answer: 3(x − 2)² − 7
Worked example: negative a
Write 1 + 8x − 2x² in the form q − a(x + p)²
−2(x² − 4x) + 1 = −2[(x − 2)² − 4] + 1 = −2(x − 2)² + 8 + 1
Answer: 9 − 2(x − 2)²
Watch out: When you multiply back in, the number subtracted inside the square bracket is multiplied by a too: 3 × (−4) = −12.
Turning points and maximum or minimum values
A square is never negative, so (x + p)² ≥ 0, with equality only when x = −p. That gives everything about the vertex.
Key fact: y = a(x + p)² + q has turning point (−p, q) and line of symmetry x = −p. If a > 0 it is a minimum and y ≥ q. If a < 0 it is a maximum and y ≤ q.
Worked example: minimum point and range
y = 2x² + 4x + 5 = 2(x² + 2x) + 5 = 2[(x + 1)² − 1] + 5
= 2(x + 1)² + 3. The squared term is smallest (zero) when x = −1
Answer: minimum point (−1, 3), so y ≥ 3 and the curve never meets the x-axis
Worked example: equation from the vertex
A parabola has turning point (2, −5) and passes through (0, 3). Find its equation.
y = a(x − 2)² − 5. At (0, 3): 3 = 4a − 5, so a = 2
Answer: y = 2(x − 2)² − 5
Solving equations by completing the square
Once the square is complete, the equation can be undone step by step. Remember ± when you take a square root.
Worked example: exact solutions
Solve x² + 6x − 2 = 0
(x + 3)² − 9 − 2 = 0, so (x + 3)² = 11
x + 3 = ±√11
Answer: x = −3 ± √11
Proof of the quadratic formula. Divide ax² + bx + c = 0 by a: x² + (b/a)x + c/a = 0
Complete the square: (x + b/2a)² − b²/4a² + c/a = 0
Rearrange: (x + b/2a)² = (b² − 4ac)/4a², so x + b/2a = ±(√(b² − 4ac))/2a
Hence x = (−b ± √(b² − 4ac))/2a
Always positive, and modelling
To show an expression is always positive, complete the square and argue from "a square is never negative". Completed square form also gives the greatest or least value in a model.
Worked example: show that
Show that x² − 10x + 27 > 0 for all real x
x² − 10x + 27 = (x − 5)² + 2. Since (x − 5)² ≥ 0, the expression is at least 2
Answer: x² − 10x + 27 ≥ 2 > 0 for all x
Worked example: greatest value in a model
The height of a ball is h = 2 + 12t − 5t² metres. Find its greatest height.
h = −5(t² − (12/5)t) + 2 = −5(t − 6/5)² + 36/5 + 2
Answer: greatest height 46/5 = 9.2 m, when t = 1.2 s
Common mistakes
- Forgetting to subtract the square: x² + 6x + 1 is (x + 3)² − 8, not (x + 3)² + 1.
- Sign of the turning point: (x − 4)² + 7 has its vertex at (4, 7), not (−4, 7).
- Not multiplying back by a: 2(x² + 6x) = 2(x + 3)² − 18, not 2(x + 3)² − 9.
- Dividing the whole expression by a when asked to write it in completed square form. You can only divide through by a in an equation.
- Missing the ± when square rooting both sides.
Revision questions
Try these, then check your answers below each one.
Question 1. Which is x² + 5x − 2 in completed square form? (Choose from: (x + 5/2)² − 33/4; (x − 5/2)² − 33/4; (x + 5/2)² − 17/4; (x + 5)² − 27.)
Answer: (x + 5/2)² − 33/4
Working: x² + 5x = (x + 5/2)² − 25/4. Then −25/4 − 2 = −25/4 − 8/4 = −33/4.
Question 2. Find the maximum value of 7 + 8x − 2x².
Answer: 15
Working: −2(x² − 4x) + 7 = −2[(x − 2)² − 4] + 7 = −2(x − 2)² + 15. The squared term is never negative, so the maximum is 15 (when x = 2).
Question 3. True or false: x² − 6x + 11 > 0 for all real values of x.
Answer: True
Working: x² − 6x + 11 = (x − 3)² + 2. Since (x − 3)² ≥ 0, the expression is always at least 2.
Related lessons
- Previous lesson: 3.2 Graphs of Quadratic Functions
- Next lesson: 3.4 Quadratic Inequalities
- In this chapter: 3.1 Review of Quadratic Equations
- In this chapter: 3.5 The Discriminant
- In this chapter: 3.6 Disguised Quadratics
Continue in the full course
This lesson is section 3.3 of our free OCR A-level Maths Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.
Continue lesson 3.3 in the free course →