POPStudying

Pearson Edexcel 4MA1 IGCSE  ·  Topic G8.4  ·  Higher tier

G8.4 Completing the Square

Image  ·  914 × 270

01 — Explanation

How do I complete the square when the coefficient of x^2 is 1?

The identity (x+p)2=x2+2px+p2(x+p)^2 = x^2+2px+p^2 is the engine. To write x2+bx+cx^2+bx+c as (x+p)2+q(x+p)^2+q: halve bb to get pp, then compensate by subtracting p2p^2 (since (x+p)2(x+p)^2 introduces an extra p2p^2 that wasn't in the original).

x2+bx≡(x+b2)2−(b2)2x^2+bx \equiv (x+\tfrac{b}{2})^2-(\tfrac{b}{2})^2

Worked example: Rewrite x2+10x+9x^2+10x+9. Halve 10 → p=5p=5. Compensate: x2+10x≡(x+5)2−25x^2+10x \equiv (x+5)^2-25. Re-add the original +9+9: (x+5)2−25+9=(x+5)2−16(x+5)^2-25+9 = (x+5)^2-16.

Common Mistake

With negative bb (e.g. x2−20x+15x^2-20x+15), the compensation term is still subtracted — (x−10)2−100+15(x-10)^2-100+15, not +100+100. Squaring always gives a positive compensation value regardless of the sign of pp.

02 — Explanation

How do I complete the square when there's a coefficient in front of the x^2 term?

You can't divide an expression by aa — only an equation. Instead, factorise aa out of just the first two terms, leaving cc outside:

Worked example: Rewrite y=4x2+16x+5y=4x^2+16x+5.

y=4[x2+4x]+5=4[(x+2)2−4]+5y = 4[x^2+4x]+5 = 4[(x+2)^2-4]+5

Now distribute the 4 across both terms inside the bracket — this is the step almost everyone gets wrong:

y=4(x+2)2+4(−4)+5=4(x+2)2−16+5=4(x+2)2−11y = 4(x+2)^2 + 4(-4) + 5 = 4(x+2)^2-16+5 = 4(x+2)^2-11

Exam Tip

The single most common lost mark is writing 4(x+2)2−4+54(x+2)^2-4+5 instead of 4(x+2)2−16+54(x+2)^2-16+5 — forgetting to multiply the compensation term by aa as well. Using distinct brackets, a[(x+p)2−p2]+ca[(x+p)^2-p^2]+c, makes this step visible.

When bb is odd, p=b2p=\frac{b}{2} becomes a fraction — square it carefully using (ab)2=a2b2(\frac{a}{b})^2=\frac{a^2}{b^2}, e.g. for x2+3x+4x^2+3x+4: p=32p=\frac32, so (x+32)2−94+4=(x+32)2+74(x+\frac32)^2-\frac94+4 = (x+\frac32)^2+\frac74.

03 — Explanation

How do I use this to find the turning point?

For y=a(x+p)2+qy=a(x+p)^2+q, since (x+p)2≥0(x+p)^2\ge0 always, the vertex is at (−p,q)(-p,q) — note the sign flip on pp. If a>0a>0 it's a minimum (value qq); if a<0a<0 it's a maximum.

Worked example: For y=4(x+2)2−11y=4(x+2)^2-11: vertex (−2,−11)(-2,-11), a minimum since a=4>0a=4>0.

Exam Tip

If Part (a) asks you to complete the square and Part (b) says "hence write down the turning point," this requires zero further calculation — just read (−p,q)(-p,q) off your part (a) answer. Re-differentiating or redoing the square wastes time and risks new errors.

04 — Explanation

How do I solve a quadratic equation by completing the square?

Rearrange (x+p)2=k(x+p)^2=k, then take the square root of both sides, remembering ±\pm.

Worked example (exact/surd form): Solve x2+10x−3=0x^2+10x-3=0.

(x+5)2−25−3=0  ⟹  (x+5)2=28  ⟹  x+5=±28=±27(x+5)^2-25-3=0 \implies (x+5)^2=28 \implies x+5=\pm\sqrt{28}=\pm2\sqrt7
x=−5±27x = -5\pm2\sqrt7

Common Mistake

Writing x+5=28x+5=\sqrt{28} without ±\pm loses one of the two solutions — this is the single most common error in the solving stage.

Key distinction: rewriting an expression like 4x2+16x+54x^2+16x+5 requires factorising aa out (above); solving an equation like 4x2+16x+5=04x^2+16x+5=0 lets you divide the whole equation by aa first, which is often simpler.

05 — Explanation

How do I prove a quadratic is always positive (or negative)?

Complete the square, then argue from the fact that a square is never negative.

Worked example: Show x2+6x+10x^2+6x+10 is always positive.

x2+6x+10=(x+3)2+1x^2+6x+10 = (x+3)^2+1

Since (x+3)2≥0(x+3)^2\ge0 for all real xx, we have (x+3)2+1≥1>0(x+3)^2+1\ge1>0. So the expression is always positive, with minimum value 1.

The same logic with a negative leading coefficient proves "always negative": completing the square on −x2−4x−5-x^2-4x-5 gives −(x+2)2−1-(x+2)^2-1, whose maximum value is −1<0-1<0.

06 — Worked example

Worked exam-style question

(a) Express 3x−2x2−13x-2x^2-1 in the form a(x+p)2+qa(x+p)^2+q. (b) Hence state the turning point. (c) Solve 3x−2x2−1=03x-2x^2-1=0 as exact fractions.

(a) Reorder: y=−2x2+3x−1=−2[x2−32x]−1y=-2x^2+3x-1 = -2[x^2-\frac32x]-1. Complete the square inside: x2−32x≡(x−34)2−916x^2-\frac32x \equiv (x-\frac34)^2-\frac{9}{16}.

y=−2[(x−34)2−916]−1=−2(x−34)2+98−1=−2(x−34)2+18y = -2[(x-\tfrac34)^2-\tfrac{9}{16}]-1 = -2(x-\tfrac34)^2+\tfrac{9}{8}-1 = -2(x-\tfrac34)^2+\tfrac18

(b) Turning point: (34, 18)(\frac34,\ \frac18) — read directly off (a), no calculation needed.

(c) −2(x−34)2+18=0  ⟹  (x−34)2=116  ⟹  x−34=±14-2(x-\frac34)^2+\frac18=0 \implies (x-\frac34)^2=\frac{1}{16} \implies x-\frac34=\pm\frac14, giving x=1x=1 or x=12x=\frac12.