Skip to content
MathClicksIGCSE← All notes Cambridge IGCSE® Mathematics 0580 Extended Chapter 10 — Straight Lines and Quadratic Equations

10.2  Quadratic Expressions and Equations

Expanding, factorising and solving quadratics — and reading the answers straight off the parabola that goes with them.

What makes an expression quadratic

An expression is quadratic when the highest power of the variable is 2 — there is an x² term, and nothing higher. That single fact controls everything else in this lesson: a quadratic equation usually has two solutions, and its graph is a curve, not a line.

Definition A quadratic expression can always be written as ax² + bx + c, where a, b and c are numbers and a ≠ 0. The number a is the coefficient of x², b is the coefficient of x, and c is the constant term.
ExpressionQuadratic?Why
x² − 7x + 12Yesa = 1, b = −7, c = 12
5 − 2x²YesRearranged: −2x² + 0x + 5, so a = −2, b = 0, c = 5
3x²Yesb and c are allowed to be zero
4x − 9NoNo x² term — this is linear
x³ + x²NoThe highest power is 3, so it is cubic
1x²NoThat is x−2 — a negative power, not a quadratic

Expanding to a quadratic

Multiplying two linear brackets always produces a quadratic. Multiply every term in the first bracket by every term in the second, then collect the two middle terms.

(x + p)(x + q) = x² + qx + px + pq = x² + (p + q)x + pq The middle coefficient is the SUM, the constant is the PRODUCT
Example 1Expand and simplify (2x − 3)(x + 5).
1
Multiply the first term of the left bracket by both terms of the right bracket. 2x × x = 2x²    2x × 5 = 10x
2
Now the second term, keeping its minus sign. −3 × x = −3x    −3 × 5 = −15
3
Write all four terms out and collect the like terms. 2x² + 10x − 3x − 15 = 2x² + 7x − 15
(2x − 3)(x + 5) = 2x² + 7x − 15
Exam tip Check with a quick substitution. At x = 1 the brackets give (−1)(6) = −6, and the answer gives 2 + 7 − 15 = −6. Same value, so the expansion is almost certainly right.

Factorising a quadratic

Factorising is expanding run backwards: you are given x² + bx + c and must find the two brackets it came from. Because the middle coefficient is the sum and the constant is the product, the whole job is: find two numbers that multiply to c and add to b.

x² + bx + c = (x + p)(x + q)   where   p × q = c  and  p + q = b Product then sum — always in that order

Reading the signs before you start

The signs of b and c tell you the signs inside the brackets before you hunt for numbers. Learn this table and you will halve your search every time.

Sign of cSign of bSigns in the bracketsExample
positivepositiveboth +x² + 7x + 12 = (x + 3)(x + 4)
positivenegativeboth −x² − 7x + 12 = (x − 3)(x − 4)
negativepositiveone of each; the larger number is +x² + x − 12 = (x + 4)(x − 3)
negativenegativeone of each; the larger number is −x² − x − 12 = (x − 4)(x + 3)
Note When c is negative the two numbers have opposite signs, so you are looking for a difference of b, not a sum. For x² − x − 12 the pair 4 and 3 differ by 1, and the minus goes on the 4.
Example 2Factorise (a) x² − 9x + 20  (b) x² + 2x − 15  (c) x² − x − 12.
1
(a) c = +20 and b = −9, so both brackets are negative. Pairs multiplying to 20: 1×20, 2×10, 4×5. The pair adding to 9 is 4 + 5. x² − 9x + 20 = (x − 4)(x − 5)
2
(b) c = −15, so one bracket is plus and one is minus. Pairs for 15: 1×15, 3×5. The difference must be 2, so use 5 and 3, and since b is positive the plus goes on the 5. x² + 2x − 15 = (x + 5)(x − 3)
3
(c) c = −12, difference 1, so use 4 and 3. b is negative, so the minus goes on the larger number. x² − x − 12 = (x − 4)(x + 3)
(a) (x − 4)(x − 5)   (b) (x + 5)(x − 3)   (c) (x − 4)(x + 3)
Exam tip Expand your answer mentally before moving on. For (b): x² − 3x + 5x − 15 = x² + 2x − 15 ✓. It costs five seconds and saves the mark.

The difference of two squares

When there is no x term and the constant is subtracted, you have a special pattern that factorises instantly. It appears in almost every paper, often disguised.

a² − b² = (a + b)(a − b) The difference of two squares
Example 3Factorise completely (a) x² − 49  (b) 9x² − 25  (c) 2x² − 50.
1
(a) Write both parts as squares: x² and 49 = 7². x² − 49 = (x + 7)(x − 7)
2
(b) 9x² = (3x)² and 25 = 5², so a = 3x and b = 5. 9x² − 25 = (3x + 5)(3x − 5)
3
(c) Neither 2 nor 50 is a square — but there is a common factor of 2. Take it out first, then use the pattern. 2x² − 50 = 2(x² − 25) = 2(x + 5)(x − 5)
(a) (x + 7)(x − 7)   (b) (3x + 5)(3x − 5)   (c) 2(x + 5)(x − 5)
Watch out x² + 49 does not factorise. Only a difference of squares splits into brackets — a sum of two squares does not. The word “completely” in a question is a strong hint that a common factor comes out first.

Solving a quadratic by factorising

Factorising turns a quadratic expression into a product. The moment you have a product equal to zero, one simple fact finishes the question.

The zero-product principle If A × B = 0 then A = 0 or B = 0 (or both). Two numbers can only multiply to zero if at least one of them is zero.

So if (x + 5)(x − 2) = 0, then either x + 5 = 0, giving x = −5, or x − 2 = 0, giving x = 2. Notice that the solutions have the opposite signs to the numbers inside the brackets.

The method, every time

  1. Rearrange so that one side reads ax² + bx + c and the other side is 0.
  2. Factorise the left-hand side.
  3. Set each bracket equal to zero and solve the two little linear equations.
  4. State both answers, using the word “or”.
Watch out Step 1 is not optional. The zero-product principle only works against zero. If (x + 1)(x + 2) = 6 you may not write x + 1 = 6 or x + 2 = 6 — expand, take the 6 across, and start again.
Example 4Solve (a) x² + 3x − 10 = 0  (b) x² + 5x = 24.
1
(a) It is already equal to zero. Two numbers with product −10 and sum +3: +5 and −2. (x + 5)(x − 2) = 0
2
Set each bracket to zero. x + 5 = 0  →  x = −5
x − 2 = 0  →  x = 2
3
Check both in the original equation. (−5)² + 3(−5) − 10 = 25 − 15 − 10 = 0 ✓
2² + 3(2) − 10 = 4 + 6 − 10 = 0 ✓
4
(b) This one is not equal to zero yet. Subtract 24 from both sides first. x² + 5x − 24 = 0
5
Product −24, sum +5: the pair is +8 and −3. (x + 8)(x − 3) = 0  →  x = −8  or  x = 3
6
Check in the original form x² + 5x = 24. (−8)² + 5(−8) = 64 − 40 = 24 ✓
3² + 5(3) = 9 + 15 = 24 ✓
(a) x = −5 or x = 2     (b) x = −8 or x = 3

Never divide by x

Equations like x² = 5x tempt everybody. Dividing both sides by x gives x = 5 and looks finished — but you have just divided by something that might be zero, and in doing so you have thrown away the root x = 0. Examiners set this deliberately.

x² = 5x  →  x² − 5x = 0  →  x(x − 5) = 0  →  x = 0  or  x = 5 Move everything to one side and take out the common factor x
Watch out Whenever both sides share a factor of x, take x out as a factor instead of dividing by it. A quadratic that is worth two marks nearly always wants two answers — if you have only one, suspect a lost root.

The graph y = ax² + bx + c

Every quadratic graph is a parabola: a smooth, symmetrical curve with one turning point. The solutions of ax² + bx + c = 0 are exactly the x-coordinates where the curve crosses the x-axis, because that is where y = 0. Solving and reading the graph are the same job done two ways.

What each letter does

  • a > 0: the curve is U-shaped and has a minimum point.
  • a < 0: the curve is upside down and has a maximum point.
  • The larger |a| is, the narrower the curve.
  • c is the y-intercept: the curve passes through (0, c).

Symmetry and roots

  • The line of symmetry is vertical and sits halfway between the roots.
  • Its equation is x = −b2a, and the turning point lies on it.
  • Roots are also called zeros or x-intercepts — three names for the same thing.

How many times can a parabola meet the x-axis?

two roots one repeated root no real roots

A quadratic that will not factorise is usually one whose curve either misses the axis altogether or cuts it at values that are not whole numbers.

Parabola plotter

Drag the sliders and watch the curve. Try to make the parabola miss the x-axis, then make it just touch. Notice that c only slides the curve up and down.

a — coefficient of x²1
b — coefficient of x-2
c — constant term-3
Note The plotter tells you the value of b² − 4ac. Positive means two roots, zero means one repeated root, negative means the curve never reaches the axis. You meet that expression again inside the quadratic formula in Chapter 14.

More worked examples

Example 5Solve x² = 5x.
1
Move everything to one side so the other side is zero. Do not divide by x. x² − 5x = 0
2
There is no constant term, so the common factor is x itself. x(x − 5) = 0
3
Zero-product principle: the first “bracket” is just x. x = 0  or  x − 5 = 0  →  x = 5
4
Check both roots in x² = 5x. 0² = 0 and 5(0) = 0 ✓
5² = 25 and 5(5) = 25 ✓
x = 0 or x = 5
Watch out Dividing by x at step 1 gives only x = 5 and loses half the marks. The graph makes it obvious: y = x² − 5x passes through the origin, so x = 0 must be a root.
Example 6Solve (x + 2)(x − 4) = 7.
1
The right-hand side is not zero, so the brackets are useless as they stand. Expand the left-hand side. x² − 4x + 2x − 8 = 7
x² − 2x − 8 = 7
2
Subtract 7 from both sides to get the standard form. x² − 2x − 15 = 0
3
Product −15, sum −2: the pair is −5 and +3. (x − 5)(x + 3) = 0
4
Solve each bracket, then check in the original equation. x = 5: (7)(1) = 7 ✓
x = −3: (−1)(−7) = 7 ✓
x = 5 or x = −3
Example 7A rectangle has length (x + 3) cm and width (x − 2) cm. Its area is 24 cm². Find the perimeter of the rectangle.
1
Area of a rectangle is length × width, so form the equation. (x + 3)(x − 2) = 24
2
Expand and rearrange to ax² + bx + c = 0. x² + x − 6 = 24
x² + x − 30 = 0
3
Product −30, sum +1: the pair is +6 and −5. (x + 6)(x − 5) = 0  →  x = −6  or  x = 5
4
Reject the impossible root. If x = −6 the width would be −8 cm, and a length cannot be negative. x = 5
5
Find the actual sides and check the area. length = 5 + 3 = 8 cm, width = 5 − 2 = 3 cm
8 × 3 = 24 cm² ✓
6
Answer the question that was asked — the perimeter. P = 2(8 + 3) = 22 cm
perimeter = 22 cm
Exam tip In a context question always write one line saying why you rejected a root, such as “x = −6 gives a negative width”. Then re-read the question: here the marks are for the perimeter, not for x.

Your turn

Practice set

  1. Expand and simplify (x − 4)(x + 7).
  2. Factorise (a) x² + 9x + 18  (b) x² − 5x − 24  (c) x² − 81
  3. Solve x² − 7x + 12 = 0.
  4. Solve x² = 9x − 20.
  5. Solve 2x² = 10x.
  6. The curve y = x² − 2x − 8 crosses the x-axis at A and B and the y-axis at C. Write down the coordinates of A, B and C, and the equation of the line of symmetry.

  1. x² + 7x − 4x − 28 → x² + 3x − 28
  2. (a) product 18, sum 9 → (x + 3)(x + 6)  (b) product −24, difference 5 → (x − 8)(x + 3)  (c) difference of two squares → (x + 9)(x − 9)
  3. Product 12, sum −7 → (x − 3)(x − 4) = 0 → x = 3 or x = 4
  4. Rearrange first: x² − 9x + 20 = 0 → (x − 4)(x − 5) = 0 → x = 4 or x = 5
  5. 2x² − 10x = 0 → 2x(x − 5) = 0 → x = 0 or x = 5 (do not divide by x)
  6. x² − 2x − 8 = (x − 4)(x + 2), so the roots are 4 and −2: A(−2, 0), B(4, 0). At x = 0, y = −8, so C(0, −8). Halfway between the roots: x = 1

Key points to remember

  • A quadratic has x² as its highest power and is written ax² + bx + c with a ≠ 0.
  • To factorise x² + bx + c, find two numbers with product c and sum b. The sign of c tells you whether the brackets have the same or different signs.
  • a² − b² = (a + b)(a − b) — and take out any common factor before you look for it.
  • Before using the zero-product principle, rearrange to = 0. A product equals zero only when a factor equals zero.
  • Each bracket gives one root, and the root has the opposite sign to the number in the bracket.
  • Never divide both sides by x — factorise the x out instead, or you lose the root x = 0.
  • The graph is a parabola: a > 0 gives a minimum, a < 0 a maximum, the y-intercept is (0, c), and the roots are the x-intercepts.
  • The line of symmetry is x = −b2a, exactly halfway between the two roots.

Where next?

✅ Mark scheme All notes

Progress is saved on this device only and appears on the notes home page.