📖 Completing the square
The rule
- Completing the square rewrites x² + bx as (x + b/2)² − (b/2)².
- Why: a square with sides x + 3 splits into x², two strips of 3x, and a 3 × 3 corner of 9.
- So (x + 3)² = x² + 6x + 9. To get x² + 6x on its own, take the extra 9 away: x² + 6x = (x + 3)² − 9.
- The number in the bracket is half of b. Halve b, then square it for the corner.
- To solve: complete the square, move the extra number across, then take ± the square root.
- (x + 3)² − 11 = 0 gives (x + 3)² = 11, then x + 3 = ±√11, then x = −3 ± √11.
- Use it when a quadratic will not factorise. The answers can be surds.
- It also shows the turning point: y = (x − 3)² + 2 turns at (3, 2).
Examples
x² + 8x + ? is a perfect square. Find ? → 16
- Half of 8 is 4
- 4² = 16
- x² + 8x + 16 = (x + 4)²
Half of 8 is 4, and 4² = 16.
| x | + 4 | |
|---|---|---|
| x | x² | 4x |
| + 4 | 4x | 16 |
Write x² + 6x − 2 as (x + p)² + q. → (x + 3)² − 11
- Half of 6 is 3
- (x + 3)² = x² + 6x + 9
- x² + 6x − 2 = (x + 3)² − 9 − 2
- x² + 6x − 2 = (x + 3)² − 11
Add the corner 9 and take it away again, then keep the −2.
Write x² − 10x + 7 as (x + p)² + q. → (x − 5)² − 18
- Half of −10 is −5
- (x − 5)² = x² − 10x + 25
- x² − 10x + 7 = (x − 5)² − 25 + 7
- x² − 10x + 7 = (x − 5)² − 18
Half of −10 is −5. The corner 25 comes off again.
Solve x² + 6x − 2 = 0. → x = −3 ± √11
- (x + 3)² − 11 = 0
- (x + 3)² = 11
- x + 3 = ±√11
- x = −3 ± √11
- x ≈ 0.32 or x ≈ −6.32
Complete the square, then root both sides with ±. About 0.32 or −6.32.
A rectangle is x m by (x + 6) m. Its area is 20 m². Find x. → x ≈ 2.39 m
- x(x + 6) = 20
- x² + 6x − 20 = 0
- (x + 3)² − 29 = 0
- x + 3 = ±√29
- x = −3 + √29 ≈ 2.39 (a length is positive)
This will not factorise, so complete the square. A length is positive.
Watch out
- “x² + 8x = (x + 8)².” Use half of b: (x + 4)² − 16.
- “(x + 3)² − 11 = 0 gives x = 3 ± √11.” The 3 moves across with the opposite sign: x = −3 ± √11.
- “x² + 6x = (x + 3)².” That has an extra 9. Take it off: (x + 3)² − 9.