← AS & A Level Mathematics

AS & A Level Mathematics · Pure Mathematics 1 · Chapter 1

Algebra and quadratics

  • Algebra is the toolkit for the whole of P1: every later chapter uses it.
  • This chapter goes from tidying expressions to quadratics, simultaneous equations and inequalities.
  • Quadratics get the most attention: factorising, completing the square, the formula and the discriminant.

Learning objectives

  1. Simplify expressions: collect like terms, remove brackets, factorise, multiply and handle algebraic fractions.
  2. Solve linear equations and rearrange formulae (change the subject).
  3. Factorise quadratics and solve quadratic equations, including equations that reduce to quadratics.
  4. Complete the square, and use it to find the vertex and line of symmetry of a parabola.
  5. Use the quadratic formula and the discriminant b² − 4ac to say how many real roots there are.
  6. Solve simultaneous equations, linear and linear/quadratic.
  7. Solve linear and quadratic inequalities.

Book exercises: 1A to 1H, and the chapter's Key points (this chapter has no separate end-of-chapter review).

Manipulating algebraic expressions

  • Like terms have exactly the same letters and powers (2x and −5x are like; 2x and 2x² are not).
  • Four moves tidy any expression: open brackets, collect like terms, factorise, cancel.
Open brackets3(x+2) = 3x+6Collect terms2x+5x = 7xFactorise6x+9 = 3(2x+3)Cancel factors(x+1)/(x+1) = 1
The four moves, with a one-line example of each.

Collecting like terms

2x + 4y − 5z − 5x − 9y + 2z + 4x − 7y + 8z x terms: 2x − 5x + 4x = x y terms: 4y − 9y − 7y = −12y z terms: −5z + 2z + 8z = 5z = x − 12y + 5z (cannot be simplified further)
Sort by letter, add each group. Keep the sign in front of each term with it.

📘 Example 1 · Simplify 2x + 4y − 5z − 5x − 9y + 2z + 4x − 7y + 8z

  1. Group the terms in x, in y and in z: (2x − 5x + 4x) + (4y − 9y − 7y) + (−5z + 2z + 8z).
  2. Add each group: x − 12y + 5z.
  3. Nothing else can be combined, so the answer is x − 12y + 5z.

Removing brackets

ab ac bc a total width (b + c) a(b + c) = ab + ac
Each term inside the bracket is multiplied by the number outside. The area is the same either way.
  • A minus sign in front of a bracket changes every sign inside it.
  • (−4) × (−5y) = +20y: two negatives make a positive.

📘 Example 2 · Simplify 3(2x − 4y) − 4(x − 5y)

  1. Open the brackets: 6x − 12y − 4x + 20y.
  2. Collect like terms: 6x − 4x + 20y − 12y.
  3. Tidy: 2x + 8y.
  4. Bonus: factorise to 2(x + 4y).

📘 Example 3 · Simplify x(x + 2) − (x − 4)

  1. Open the first bracket: x² + 2x.
  2. The minus sign flips both signs in the second bracket: −x + 4.
  3. Collect: x² + 2x − x + 4 = x² + x + 4.

Factorising and multiplying

  • Factorising writes an expression as a product, using brackets.
  • Find the highest common factor (HCF) of all the terms, then divide each term by it.
  • Check by expanding: you must get the original expression back.

📘 Example 4 · Factorise 12x − 18y

  1. HCF of 12 and 18 is 6.
  2. Divide each term by 6: 12x ÷ 6 = 2x and 18y ÷ 6 = 3y.
  3. 12x − 18y = 6(2x − 3y).
  4. Check: 6 × 2x − 6 × 3y = 12x − 18y. ✔

📘 Example 5 · Factorise x² − 2xy + 3xz

  1. x is a factor of all three terms.
  2. Divide each by x: x, −2y, 3z.
  3. x(x − 2y + 3z).

📘 Example 6 · Multiply 3p²qr × 4pq³ × 5qr²

  1. Multiply the numbers: 3 × 4 × 5 = 60.
  2. Add the powers of p: 2 + 1 = 3. Of q: 1 + 3 + 1 = 5. Of r: 1 + 2 = 3.
  3. 60p³q⁵r³.

Algebraic fractions

  • The rules are exactly the same as in arithmetic.
  • Add or subtract: write over a common denominator first.
  • Multiply: cancel common factors top and bottom.
  • Factorise top and bottom before cancelling. Cancel factors, never separate terms.
✔ Cancel a FACTOR (24x + 6) / 3(4x + 1) = 6(4x + 1) / 3(4x + 1) = 2 ✘ Cannot cancel a TERM (x + 3) / 3 is NOT x x is added to 3, so it is not a factor of the top
Only something multiplying the whole top and the whole bottom can be cancelled.

📘 Example 7 · Write x/2 − y/10 + z/4 as one fraction

  1. The common denominator of 2, 10 and 4 is 20.
  2. Convert each: x/2 = 10x/20, y/10 = 2y/20, z/4 = 5z/20.
  3. Combine: (10x − 2y + 5z)/20.
  4. Check with x = 2, y = 10, z = 4: 1 − 1 + 1 = 1, and (20 − 20 + 20)/20 = 1. ✔

📘 Example 8 · Write x²/y − y²/x as one fraction

  1. The common denominator is xy.
  2. x²/y = x³/(xy) and y²/x = y³/(xy).
  3. Subtract: (x³ − y³)/(xy).
  4. Check with x = 2, y = 1: 4 − ½ = 3.5, and (8 − 1)/2 = 3.5. ✔

📘 Example 9 · Simplify (3x/5y) × (10y²/9x)

  1. Multiply tops and bottoms: 30xy² / 45xy.
  2. Cancel the common factor 15xy.
  3. 2y/3.

📘 Example 10 · Simplify (4x + 8)/(x² + 2x)

  1. Factorise the top: 4(x + 2).
  2. Factorise the bottom: x(x + 2).
  3. Cancel the common factor (x + 2).
  4. 4/x. (Do not cancel the x: it is not a factor of the top.)

✏️ Try it

  1. Simplify 2(3a − b) − 3(a − 2b).
  2. Factorise 12k² + 18km.
  3. Write x/3 + 2/x as a single fraction.
Answers
  • 1. Step 1: open the brackets, 6a − 2b − 3a + 6b. Step 2: collect, 3a + 4b.
  • 2. Step 1: HCF of 12 and 18 is 6, and k is common, so the factor is 6k. Step 2: divide each term, 6k(2k + 3m). Step 3: check, 12k² + 18km. ✔
  • 3. Step 1: common denominator 3x. Step 2: x²/(3x) + 6/(3x). Step 3: (x² + 6)/(3x).

Next: linear equations and formulae →

Linear equations

  • An equation sets an expression equal to a value or another expression. Solving means finding the value of the variable.
  • Golden rule: do exactly the same to both sides.
  • A linear equation has only terms in x and numbers (no x²).
5x − 15 = 2x + 12 subtract 2x from both sides 3x − 15 = 12 add 15 to both sides 3x = 27 divide both sides by 3 x = 9
The balance idea: each move is done to both sides, so the equation stays true. This solves 5(x − 3) = 2(x + 6).
1. Clear fractions and bracketsmultiply through by the common denominator, then expand2. Collect the unknown on one sideadd or subtract the same term on both sides3. Collect the numbers on the other sidetidy up each side4. Divide by the coefficientif it is negative, the equation is still fine (only inequalities flip)5. Check in the original equationLHS = RHS, otherwise find the slip
A plan for any linear equation.

📘 Example 1 · Solve 5(x − 3) = 2(x + 6)

  1. Open the brackets: 5x − 15 = 2x + 12.
  2. Subtract 2x from both sides: 3x − 15 = 12.
  3. Add 15 to both sides: 3x = 27.
  4. Divide by 3: x = 9.
  5. Check: LHS = 5(9 − 3) = 30. RHS = 2(9 + 6) = 30. ✔

📘 Example 2 · Solve ½(x + 6) = x + ⅓(2x − 5)

  1. Clear the fractions: multiply every term by 6, which cancels the 2 and the 3.
  2. 3(x + 6) = 6x + 2(2x − 5).
  3. Open the brackets: 3x + 18 = 6x + 4x − 10, so 3x + 18 = 10x − 10.
  4. Subtract 3x and add 10: 28 = 7x.
  5. Divide by 7: x = 4.
  6. Check: LHS = ½(10) = 5. RHS = 4 + ⅓(3) = 5. ✔

📘 Example 3 · The angle sum of a polygon with n sides is S = 180(n − 2). Which polygon has S = 1080°?

  1. Substitute: 1080 = 180(n − 2).
  2. Divide both sides by 180: 6 = n − 2.
  3. Add 2: n = 8.
  4. The polygon has 8 sides: an octagon. (S = 180 gives n = 3, a triangle.)

📘 Example 4 · Three consecutive whole numbers add up to 72. Find them.

  1. Call the smallest n. The others are n + 1 and n + 2.
  2. Form the equation: n + (n + 1) + (n + 2) = 72.
  3. Collect: 3n + 3 = 72, so 3n = 69.
  4. n = 23. The numbers are 23, 24, 25.
  5. Check: 23 + 24 + 25 = 72. ✔

Equation or identity?

EquationIdentity
Example5(x − 1) = 2x + 45(x − 1) ≡ 5x − 5
True forone particular value (x = 3)every value of x
Symbol=≡ (sometimes written =)
Test itSolving finds xBoth sides tidy to the same expression

Changing the subject of a formula

  • A formula is an equation linking variables, such as A = ½(a + b)h.
  • The subject is the variable on its own on one side (here A).
  • To change the subject, use the same steps as solving an equation. Start with the new subject on the left.
a b h A = ½(a + b)h
A trapezium: a and b are the parallel sides, h the distance between them.
Is the new subject in the formula only once?yes: undo the operations in reverse order, same to both sidesDoes it appear more than once?collect its terms on one side, the rest on the otherFactorise out the new subjectm(v − u) = IDivide by the bracketm = I / (v − u)
One variable once: undo in reverse. Twice: collect, factorise, divide.

📘 Example 5 · Make a the subject of A = ½(a + b)h

  1. Put a on the left: ½(a + b)h = A.
  2. Multiply both sides by 2: (a + b)h = 2A.
  3. Divide both sides by h: a + b = 2A/h.
  4. Subtract b: a = 2A/h − b.

📘 Example 6 · Make T the subject of I = PRT/100

  1. Put T on the left: PRT/100 = I.
  2. Multiply by 100: PRT = 100I.
  3. Divide by P and R: T = 100I/(PR).

📘 Example 7 · Make x the subject of v = ω√(a² − x²)

  1. Square both sides: v² = ω²(a² − x²).
  2. Divide by ω²: v²/ω² = a² − x².
  3. Add x² to both sides: v²/ω² + x² = a².
  4. Subtract v²/ω²: x² = a² − v²/ω².
  5. Square root both sides, with both signs: x = ±√(a² − v²/ω²).

📘 Example 8 · Make m the subject of mv = I + mu

  1. m appears twice. Collect the m terms on the left: mv − mu = I.
  2. Factorise the left side: m(v − u) = I.
  3. Divide by (v − u): m = I/(v − u).

📘 Example 9 · Make x the subject of y = (2x + 1)/(x − 3)

  1. Multiply both sides by (x − 3): y(x − 3) = 2x + 1.
  2. Open the bracket: xy − 3y = 2x + 1.
  3. Collect the x terms on the left, the rest on the right: xy − 2x = 1 + 3y.
  4. Factorise: x(y − 2) = 1 + 3y.
  5. Divide: x = (1 + 3y)/(y − 2).

✏️ Try it

  1. Solve 3(2x − 1) = 4x + 9.
  2. Solve x/2 + x/3 = 10.
  3. Make r the subject of V = πr²h (r is a radius, so take it positive).
Answers
  • 1. Step 1: 6x − 3 = 4x + 9. Step 2: 2x = 12. Step 3: x = 6. Step 4: check, 3 × 11 = 33 and 24 + 9 = 33. ✔
  • 2. Step 1: multiply by 6, 3x + 2x = 60. Step 2: 5x = 60. Step 3: x = 12. Step 4: check, 6 + 4 = 10. ✔
  • 3. Step 1: divide by πh, r² = V/(πh). Step 2: square root, r = √(V/(πh)).

Next: factorising quadratics →

Quadratic equations

  • A quadratic has an x² term, an x term and a number: ax² + bx + c (a ≠ 0).
  • A linear equation has no x² term.
  • Usually write a quadratic equation with 0 on the right-hand side, then factorise.

📘 Example 1 · Forming an equation. A field's length is 40 m more than its width and its area is 6000 m². Form an equation for the length x m.

  1. Length = x, so width = x − 40.
  2. Area = length × width = x(x − 40).
  3. Set it equal to 6000: x(x − 40) = 6000.
  4. Rearrange: x² − 40x − 6000 = 0.

Quadratic factorisation

  • Four-term pattern: xa + xb + ya + yb = x(a + b) + y(a + b) = (x + y)(a + b).
  • The area diagram shows why: the big rectangle is the sum of four small ones.
  • For a quadratic, split the middle term into two parts to make four terms.
x² 3x 4x 12 x3 x4 x² + 7x + 12 = x² + 3x + 4x + 12 = (x + 3)(x + 4) 3 + 4 = 7 (coefficient of x) 3 × 4 = 12 (the constant)
The four regions are x², 3x, 4x and 12. Their total is the area of an (x + 3) by (x + 4) rectangle.
1. Take out any common factor2x² − 8x + 6 = 2(x² − 4x + 3)2. Multiply a × c6x² + x − 12: 6 × (−12) = −723. Find two numbers: add to b, multiply to ac+9 and −8: 9 + (−8) = 1 and 9 × (−8) = −724. Split the middle term, factorise in pairs6x² + 9x − 8x − 12 = 3x(2x + 3) − 4(2x + 3)5. Same bracket twice? Then check by expanding(3x − 4)(2x + 3)
The split-the-middle method, shown on 6x² + x − 12.
  • Self-checking: after splitting, the same bracket must appear twice. If the brackets differ, stop and find the slip.
  • Always check by multiplying out.
  • Order does not matter: splitting as +4x − 6x or −6x + 4x gives the same factors.

📘 Example 2 · Factorise x² + 7x + 12

  1. Find two numbers that add to 7 and multiply to 12: 3 and 4.
  2. Split the middle term: x² + 4x + 3x + 12.
  3. Factorise in pairs: x(x + 4) + 3(x + 4).
  4. (x + 3)(x + 4).

📘 Example 3 · Factorise x² − 2x − 24

  1. Two numbers that add to −2 and multiply to −24: −6 and +4.
  2. Split: x² − 6x + 4x − 24.
  3. Pairs: x(x − 6) + 4(x − 6).
  4. (x + 4)(x − 6).
  5. Check: x² − 6x + 4x − 24 = x² − 2x − 24. ✔

Special forms

NameRuleExample
Perfect square(x + a)² = x² + 2ax + a²
(x − a)² = x² − 2ax + a²
x² − 20x + 100 = (x − 10)²
Difference of two squaresa² − b² = (a + b)(a − b)x² − 49 = (x + 7)(x − 7)
a² − b² b² a → a(a − b)b(a − b) (a + b) (a − b) a² − b² = (a + b)(a − b)
Cut the small square b² out of a² and rearrange: the L-shape becomes a rectangle with sides (a + b) and (a − b).

📘 Example 4 · Factorise x² − 20x + 100 and x² − 49

  1. x² − 20x + 100: numbers adding to −20 and multiplying to 100 are −10 and −10.
  2. x² − 10x − 10x + 100 = x(x − 10) − 10(x − 10) = (x − 10)(x − 10) = (x − 10)².
  3. x² − 49 = x² + 0x − 49: numbers adding to 0 and multiplying to −49 are −7 and 7.
  4. x² − 7x + 7x − 49 = x(x − 7) + 7(x − 7) = (x + 7)(x − 7).

When the coefficient of x² is not 1

  • Multiply the two outside numbers (a × c) and look for two numbers that multiply to that and add to b.
  • Always look for a common factor first, e.g. 2x² − 8x + 6 = 2(x² − 4x + 3) = 2(x − 3)(x − 1).

📘 Example 5 · Factorise 6x² + x − 12

  1. Multiply the outside numbers: 6 × (−12) = −72.
  2. Find two numbers adding to +1 and multiplying to −72: +9 and −8.
  3. Split: 6x² + 9x − 8x − 12.
  4. Pairs: 3x(2x + 3) − 4(2x + 3).
  5. (3x − 4)(2x + 3).
  6. Check: 6x² + 9x − 8x − 12 = 6x² + x − 12. ✔

Solving quadratic equations

  • Null factor law: if A × B = 0, then A = 0 or B = 0.
  • So: write with 0 on one side, factorise, set each bracket equal to 0.
  • The answers are the roots: the x values where the curve crosses the x axis.
−46−2020xy vertex (1, −25) y = (x + 4)(x − 6)
y = x² − 2x − 24 = (x + 4)(x − 6) crosses the axis where one bracket is zero: x = −4 and x = 6.

📘 Example 6 · Solve x² − 40x − 6000 = 0

  1. Two numbers adding to −40 and multiplying to −6000: −100 and +60.
  2. Split: x² − 100x + 60x − 6000.
  3. Pairs: x(x − 100) + 60(x − 100) = (x + 60)(x − 100).
  4. Set each bracket to 0: x + 60 = 0 gives x = −60. x − 100 = 0 gives x = 100.
  5. x = −60 or x = 100. (For the field, a length cannot be negative: the length is 100 m and the width 60 m.)

Equations that become quadratics

Spot a quadratic in disguisex⁴ − 13x² + 36 = 0, because x⁴ = (x²)²Substitute y = x²y² − 13y + 36 = 0Solve for y(y − 4)(y − 9) = 0, so y = 4 or y = 9Go back to x. Do not stop at y!x² = 4 gives x = ±2, and x² = 9 gives x = ±3Reject what cannot happenx² = −2 has no real solution
Substitution turns a quartic in x into a quadratic in y. You are asked for x, so always go back.

📘 Example 7 · Solve x⁴ − 13x² + 36 = 0

  1. Let y = x². The equation becomes y² − 13y + 36 = 0.
  2. Factorise: (y − 4)(y − 9) = 0, so y = 4 or y = 9.
  3. Back to x: x² = 4 gives x = ±2, and x² = 9 gives x = ±3.
  4. x = −3, −2, 2 or 3. (Remember the negative square roots.)

📘 Example 8 · Find the real roots of x² − 2 = 8/x²

  1. Multiply both sides by x²: x⁴ − 2x² = 8.
  2. Rearrange: x⁴ − 2x² − 8 = 0.
  3. Factorise as a quadratic in x²: (x² + 2)(x² − 4) = 0.
  4. x² = −2 has no real solution. x² = 4 gives x = ±2.
  5. x = 2 or x = −2 (only two real roots).

📘 Example 9 · Solve x − 5√x + 6 = 0

  1. Let u = √x, so x = u². The equation is u² − 5u + 6 = 0.
  2. Factorise: (u − 2)(u − 3) = 0, so u = 2 or u = 3.
  3. Back to x: x = u², so x = 4 or x = 9.
  4. Check x = 4: 4 − 10 + 6 = 0 ✔. Check x = 9: 9 − 15 + 6 = 0 ✔.
  5. x = 4 or x = 9.

✏️ Try it

  1. Factorise 2x² − 5x − 3.
  2. Solve x² − 5x − 14 = 0.
  3. Solve x⁴ − 10x² + 9 = 0.
Answers
  • 1. Step 1: a × c = 2 × (−3) = −6. Step 2: two numbers adding to −5, product −6: −6 and +1. Step 3: 2x² − 6x + x − 3 = 2x(x − 3) + 1(x − 3). Step 4: (2x + 1)(x − 3).
  • 2. Step 1: numbers adding to −5, product −14: −7 and +2. Step 2: (x − 7)(x + 2) = 0. Step 3: x = 7 or x = −2.
  • 3. Step 1: let y = x², y² − 10y + 9 = 0. Step 2: (y − 1)(y − 9) = 0, so y = 1 or 9. Step 3: x² = 1 or 9, x = ±1 or ±3.

Next: completing the square →

Equations that cannot be factorised

  • Not every quadratic factorises: x² − 6x + 2 needs two whole numbers adding to −6 and multiplying to 2, and there are none.
  • Three other methods: a graph (approximate), completing the square (exact), the quadratic formula (exact, next tab).

Graphical solution

  • Draw y = x² − 6x + 2 and read off where it crosses the x axis.
  • Accuracy depends on the scale, and a graph is never completely exact.
x0123456
x²0149162536
−6x0−6−12−18−24−30−36
+22222222
y2−3−6−7−6−32
123456−6−4−22468xy ≈ 0.35≈ 5.65vertex (3, −7)
The curve y = x² − 6x + 2 cuts the x axis near 0.35 and near 5.65. The exact roots are 3 ± √7.

Completing the square

  • Rewrite x² + bx + c so that x appears only once, inside a perfect square: (x + b/2)² + (c − b²/4).
  • Recipe: halve the coefficient of x, square it, add it and take it away again.
  • Why it works: (x + p)² = x² + 2px + p², so the half of the x coefficient is p.
x² 3x 3x 9 x3 x3 x² + 6x = the square x² plus two strips of 3x the corner 9 is missing; add it: x² + 6x + 9 = (x + 3)² so x² + 6x = (x + 3)² − 9
x² + 6x is a square with a corner missing. The corner is (6 ÷ 2)² = 9. Completing the square means filling it in.
1. Make the coefficient of x² equal to 12x² + 6x + 5 = 2(x² + 3x + 2.5)2. Halve the coefficient of x3 ÷ 2 = 1.53. Square it and add, then take it away againx² + 3x + 1.5² − 1.5² + 2.54. Write the perfect square(x + 1.5)² + 0.25, so 2(x + 1.5)² + 0.5
When the coefficient of x² is not 1, factor it out first. Shown for 2x² + 6x + 5.

📘 Example 1 · Solve x² − 6x + 2 = 0 by completing the square

  1. Move the constant: x² − 6x = −2.
  2. Halve the coefficient of x: −6 ÷ 2 = −3. Square it: 9.
  3. Add 9 to both sides: x² − 6x + 9 = −2 + 9.
  4. Factorise the left side: (x − 3)² = 7.
  5. Square root both sides, both signs: x − 3 = ±√7.
  6. x = 3 ± √7 (exact), which is 5.646 or 0.354 (3 d.p.).

📘 Example 2 · Solve 2x² − 6x + 1 = 0 by completing the square

  1. Divide through by 2: x² − 3x + ½ = 0.
  2. Move the constant: x² − 3x = −½.
  3. Half of −3 is −1.5, and 1.5² = 2.25. Add 2.25 to both sides: (x − 1.5)² = 1.75.
  4. Square root: x − 1.5 = ±√1.75 = ±√7/2.
  5. x = 3/2 ± √7/2, which is 2.823 or 0.177 (3 d.p.).
  6. Check x = 0.177: 2(0.0313) − 1.062 + 1 ≈ 0 (rounding). ✔

The graphs of quadratic functions

  • The graph of a quadratic is a parabola.
  • It has a vertex (turning point: a minimum if a > 0, a maximum if a < 0) and a line of symmetry through the vertex.
  • Completed square form y = a(x + p)² + q shows both at once.
In y = a(x + p)² + qIt tells you
Vertex(−p, q)
Line of symmetryx = −p
a > 0minimum value q, at x = −p (U shape)
a < 0maximum value q, at x = −p (∩ shape)
Real roots?Only if q and a have opposite signs (or q = 0)
12341234567xy vertex (2, 1)x = 2y = (x − 2)² + 1y = x²
y = x² − 4x + 5 = (x − 2)² + 1 is the curve y = x² (dashed) moved 2 right and 1 up. Vertex (2, 1), line of symmetry x = 2.

📘 Example 3 · Write x² − 4x + 5 in completed square form

  1. Coefficient of x is −4. Halve it: −2. Square it: 4.
  2. Add and subtract 4: x² − 4x + 4 + 5 − 4.
  3. (x − 2)² + 1.
  4. So the minimum value is 1, the vertex is (2, 1) and the line of symmetry is x = 2.

📘 Example 4 · Find the vertex and line of symmetry of y = x² + 5x + 4

  1. Halve 5: 2.5. Square: 6.25.
  2. x² + 5x + 6.25 + 4 − 6.25 = (x + 2.5)² − 2.25.
  3. Vertex: (−2.5, −2.25). Line of symmetry: x = −2.5.
  4. Check by factorising: (x + 1)(x + 4) has roots −1 and −4, and their midpoint is −2.5. ✔

📘 Example 5 · Complete the square for 2x² + 6x + 5

  1. The coefficient of x² must be 1, so factor out 2: 2(x² + 3x + 2.5).
  2. Complete the square inside: x² + 3x + 2.5 = (x + 1.5)² + 2.5 − 2.25 = (x + 1.5)² + 0.25.
  3. Multiply back by 2: 2(x + 1.5)² + 0.5.
  4. Check: 2(x² + 3x + 2.25) + 0.5 = 2x² + 6x + 5. ✔ Minimum value 0.5 at x = −1.5.

📘 Example 6 · Complete the square for −x² + 6x + 5

  1. Factor out −1: −(x² − 6x − 5).
  2. Complete the square inside: x² − 6x − 5 = (x − 3)² − 9 − 5 = (x − 3)² − 14.
  3. Multiply back by −1: −(x − 3)² + 14.
  4. Because a is negative, 14 is a maximum, at x = 3. Vertex (3, 14).

🧪 Tool: completing the square, step by step

Enter a, b and c for y = ax² + bx + c (fractions like 1/2 are fine).

    🎛️ Simulation: move a, b and c, watch the parabola

    • Drag the sliders. The roots, vertex, axis and discriminant update live.
    • Watch what D = b² − 4ac does when the curve lifts off the x axis.
    Dots on the x axis are the roots. The ring is the vertex and the dashed line is the line of symmetry. The x range is −6 to 6 and the y range is −10 to 10.

      ✏️ Try it

      1. Write x² − 8x + 3 in completed square form and give the vertex.
      2. Write 3x² + 12x + 7 in completed square form and give its minimum value.
      3. Solve x² + 4x − 1 = 0 by completing the square (3 d.p.).
      Answers
      • 1. Step 1: half of −8 is −4, and (−4)² = 16. Step 2: x² − 8x + 16 + 3 − 16. Step 3: (x − 4)² − 13. Step 4: vertex (4, −13).
      • 2. Step 1: factor out 3, 3(x² + 4x + 7/3). Step 2: half of 4 is 2, 2² = 4, so x² + 4x + 7/3 = (x + 2)² + 7/3 − 4 = (x + 2)² − 5/3. Step 3: multiply by 3, 3(x + 2)² − 5. Step 4: minimum value −5 at x = −2.
      • 3. Step 1: x² + 4x = 1. Step 2: add 4, (x + 2)² = 5. Step 3: x + 2 = ±√5. Step 4: x = −2 ± √5 = 0.236 or −4.236.

      Next: the quadratic formula and discriminant →

      The quadratic formula

      • Completing the square works on every quadratic, but it is slow. Doing it once on the general quadratic ax² + bx + c = 0 gives a formula that always works.
      Divide by ax² + (b/a)x + c/a = 0Move the constant acrossx² + (b/a)x = −c/aAdd (b/2a)² to both sidesx² + (b/a)x + b²/4a² = b²/4a² − c/aFactorise and tidy(x + b/2a)² = (b² − 4ac) / 4a²Square root both sides, then rearrangex = (−b ± √(b² − 4ac)) / 2a
      The derivation is just completing the square with letters.

      🔑 The quadratic formula

      x =

      • Solves ax² + bx + c = 0. Move everything to one side first.
      • Keep the signs of a, b and c when you substitute. Put negative numbers in brackets.
      Write down a, b and c (keep their signs)3x² − 6x + 2 = 0 gives a = 3, b = −6, c = 2Work out D = b² − 4acD = 36 − 24 = 12Read the sign of DD > 0: two real roots · D = 0: one repeated root · D < 0: no real rootsIf D ≥ 0, put it into the formulax = (6 ± √12) / 6
      The method in four moves, shown on 3x² − 6x + 2 = 0.

      📘 Example 1 · Solve 3x² − 6x + 2 = 0

      1. Compare with ax² + bx + c = 0: a = 3, b = −6, c = 2.
      2. Substitute: x = (6 ± √(36 − 24)) / 6 = (6 ± √12) / 6.
      3. Simplify the surd: √12 = 2√3, so x = (6 ± 2√3)/6 = 1 ± √3/3.
      4. Decimals: √3/3 = 0.577, so x = 1.577 or 0.423 (3 d.p.).
      5. Check x = 1.577: 3(2.487) − 9.462 + 2 ≈ 0 (rounding). ✔

      📘 Example 2 · Solve x² − 2x + 2 = 0

      1. a = 1, b = −2, c = 2.
      2. Under the root: (−2)² − 4(1)(2) = 4 − 8 = −4.
      3. You cannot take the square root of a negative number and get a real answer.
      4. No real solutions. The graph never reaches the x axis (see the figure below).
      −112312345xy vertex (1, 1)y = x² − 2x + 2
      y = x² − 2x + 2 = (x − 1)² + 1. Its lowest point is 1, above the axis, so it never equals 0.
      • Square roots of negative numbers are not real. In P3 you meet complex numbers, with i² = −1. The "roots" here would be 1 + i and 1 − i.
      • At this level, the answer for a negative discriminant is: no real roots.

      The discriminant, b² − 4ac

      • The part under the square root, b² − 4ac, decides how many real roots there are.
      • It is called the discriminant (D).
      D > 0two real roots D = 0one repeated root D < 0no real roots
      Left: the curve cuts the x axis twice. Middle: it just touches it. Right: it misses it. (Shown for a > 0; for a < 0 the curve is upside down but the count of roots is the same.)
      b² − 4acRootsCurve
      > 0two different real rootscrosses the x axis twice
      = 0one repeated root, x = −b/2atouches the x axis (vertex on the axis)
      < 0no real rootsdoes not meet the x axis
      • If D is a perfect square (like 1, 4, 9, 25), the quadratic factorises.
      • "Real roots" means D ≥ 0. "Two distinct real roots" means D > 0. "Equal roots" or "tangent to the axis" means D = 0.

      📘 Example 3 · Find k so that x² − 2x + k = 0 has one repeated root

      1. a = 1, b = −2, c = k.
      2. Repeated root means D = 0: (−2)² − 4(1)(k) = 0.
      3. 4 − 4k = 0, so k = 1.
      4. Check: x² − 2x + 1 = (x − 1)², one repeated root x = 1. ✔

      📘 Example 4 · Show that ax² + bx − a = 0 has real roots for all a and b (a ≠ 0)

      1. The coefficients are a, b and c = −a.
      2. D = b² − 4(a)(−a) = b² + 4a².
      3. b² ≥ 0 and 4a² > 0 (since a ≠ 0), so D > 0 always.
      4. So the equation always has two real roots.

      📘 Example 5 · A ball's height is h = 1 + 15t − 5t² metres after t seconds. When is h = 11, and what is the greatest height?

      1. Set h = 11: 1 + 15t − 5t² = 11, so 5t² − 15t + 10 = 0.
      2. Divide by 5: t² − 3t + 2 = 0, so (t − 1)(t − 2) = 0.
      3. t = 1 s or t = 2 s (on the way up and on the way down).
      4. Greatest height: complete the square. h = −5(t² − 3t) + 1 = −5(t − 1.5)² + 11.25 + 1 = −5(t − 1.5)² + 12.25.
      5. The maximum is 12.25 m, at t = 1.5 s (halfway between 1 and 2).
      6. Ball hits the ground when h = 0: 5t² − 15t − 1 = 0, t = (15 + √(225 + 20))/10 = 3.065 s (the negative root is rejected).

      🧪 Tool: quadratic formula and discriminant checker

      Enter a, b and c for ax² + bx + c = 0 (a is not 0; fractions like 1/2 are fine).

        ✏️ Try it

        1. Solve 2x² + 3x − 4 = 0, giving answers to 3 d.p.
        2. Find the discriminant of 3x² − 4x + 2 and say how many real roots there are.
        3. Find the values of k for which 4x² + kx + 9 = 0 has one repeated root.
        Answers
        • 1. Step 1: a = 2, b = 3, c = −4. Step 2: D = 9 + 32 = 41. Step 3: x = (−3 ± √41)/4. Step 4: x = 0.851 or x = −2.351.
        • 2. Step 1: a = 3, b = −4, c = 2. Step 2: D = 16 − 24 = −8. Step 3: D < 0, so no real roots.
        • 3. Step 1: D = k² − 4(4)(9) = k² − 144. Step 2: set D = 0, k² = 144. Step 3: k = 12 or k = −12.

        Next: simultaneous equations →

        Simultaneous equations

        • Some situations need more than one variable. To find two unknowns you need two equations, solved at the same time.
        • Here: two equations, two variables (but the methods extend).
        • Geometrically, the solution is where the two graphs meet.

        Linear simultaneous equations

        • Three methods: elimination, substitution, graphs.
        • Setting up: let letters stand for the unknowns and write one equation for each fact.
        1. Pick the variable to eliminatemake its coefficients the same size (multiply an equation)2. Same signs: subtract. Opposite signs: addthe variable disappears3. Solve for the remaining variableone linear equation, one unknown4. Substitute back into an original equationfind the other variable5. Check in the other original equationboth must work
        Elimination in five moves.

        📘 Example 1 · Elimination. Six hens and one duck cost $40. Four hens and three ducks cost $36. Find each price.

        1. Let a hen cost $h and a duck $d. Then (1) 6h + d = 40 and (2) 4h + 3d = 36.
        2. Multiply (1) by 3: (3) 18h + 3d = 120.
        3. Subtract (2) from (3): 14h = 84, so h = 6.
        4. Substitute into (1): 36 + d = 40, so d = 4.
        5. Check in (2): 4(6) + 3(4) = 24 + 12 = 36. ✔
        6. A hen costs $6 and a duck $4.

        📘 Example 2 · Adding instead of subtracting. Solve 3x + 5y = 12 and 2x − 6y = −20.

        1. Aim to match the y terms: multiply (1) by 6 and (2) by 5.
        2. 18x + 30y = 72 and 10x − 30y = −100.
        3. The y terms have opposite signs, so add: 28x = −28.
        4. x = −1.
        5. Substitute in (1): −3 + 5y = 12, so 5y = 15 and y = 3.
        6. Check in (2): 2(−1) − 6(3) = −2 − 18 = −20. ✔ x = −1, y = 3.

        📘 Example 3 · Substitution (same hens and ducks). Solve 6h + d = 40 and 4h + 3d = 36.

        1. Make d the subject of the first: d = 40 − 6h.
        2. Substitute into the second: 4h + 3(40 − 6h) = 36.
        3. Expand: 4h + 120 − 18h = 36, so −14h = −84.
        4. h = 6. Then d = 40 − 36 = 4.
        5. h = 6, d = 4, the same answer as elimination.

        📘 Example 4 · Forming the equations. A student spends exactly $10: 5 paperbacks and 8 hardbacks, or 10 paperbacks and 6 hardbacks. Find each price.

        1. Let a paperback be $p and a hardback $q. Equations: 5p + 8q = 10 and 10p + 6q = 10.
        2. Multiply the first by 2: 10p + 16q = 20.
        3. Subtract the second: 10q = 10, so q = 1.
        4. Substitute: 5p + 8 = 10, so p = 0.4.
        5. Check: 10(0.4) + 6(1) = 10. ✔ A paperback costs $0.40 and a hardback $1.
        123456789246810hd (6, 4)6h + d = 404h + 3d = 36
        Two straight lines meet at one point, (6, 4): the solution h = 6 and d = 4.

        Non-linear simultaneous equations

        • A linear equation has only x, y and a number (7x + 2y = 11). 7x² + 2y = 11 is not linear.
        • If one equation is linear and the other is not, use substitution.
        • Always substitute into the non-linear equation, then go back into the LINEAR one. Going back into the quadratic gives extra, wrong pairs.
        1. Make x or y the subject of the LINEAR equationx + 2y = 7 gives x = 7 − 2y2. Substitute into the non-linear equation(7 − 2y)² + y² = 103. Expand and rearrange to a quadratic5y² − 28y + 39 = 04. Solve the quadratic (factorise or formula)y = 3 or y = 2.65. Substitute each back into the LINEAR equationy = 3 gives x = 1 · y = 2.6 gives x = 1.8
        Linear with non-linear: substitute, solve the quadratic, then find the partner values.
        −3−2−112345−3−2−1123xy (1, 3)(1.8, 2.6)x² + y² = 10x + 2y = 7
        The line x + 2y = 7 cuts the circle x² + y² = 10 at two points: the two solutions of Example 5.

        📘 Example 5 · Solve x + 2y = 7 and x² + y² = 10

        1. Rearrange the linear equation: x = 7 − 2y.
        2. Substitute into the other: (7 − 2y)² + y² = 10.
        3. Expand (7 − 2y)² = 49 − 28y + 4y², so 49 − 28y + 4y² + y² = 10.
        4. Rearrange: 5y² − 28y + 39 = 0.
        5. Factorise (−15 and −13 add to −28, multiply to 195): 5y² − 15y − 13y + 39 = 5y(y − 3) − 13(y − 3) = (5y − 13)(y − 3).
        6. y = 2.6 or y = 3.
        7. Back into x = 7 − 2y: y = 2.6 gives x = 1.8, and y = 3 gives x = 1.
        8. (x, y) = (1.8, 2.6) or (1, 3). Check (1, 3): 1 + 6 = 7 ✔ and 1 + 9 = 10 ✔.

        📘 Example 6 · Solve 2x² + 3y = 12 and x − y = −1

        1. From the linear equation: y = x + 1.
        2. Substitute: 2x² + 3(x + 1) = 12, so 2x² + 3x − 9 = 0.
        3. Factorise: (2x − 3)(x + 3) = 0, so x = 1.5 or x = −3.
        4. Back into y = x + 1: x = 1.5 gives y = 2.5. x = −3 gives y = −2.
        5. Check (1.5, 2.5): 2(2.25) + 7.5 = 12 ✔. Check (−3, −2): 18 − 6 = 12 ✔.
        6. (1.5, 2.5) or (−3, −2).

        📘 Example 7 · Meeting or missing? How many times does y = 2x − 7 meet y = x² − 2x + 1?

        1. Where they meet, the y values are equal: x² − 2x + 1 = 2x − 7.
        2. Rearrange: x² − 4x + 8 = 0.
        3. Discriminant: (−4)² − 4(1)(8) = 16 − 32 = −16.
        4. D < 0, so they never meet. D = 0 would mean the line is a tangent.

        ✏️ Try it

        1. Solve 3x + 2y = 16 and x − y = 2.
        2. Solve x² + y² = 25 and x + y = 7.
        3. Show that the line y = x − 3 does not meet the curve y = x² + 1.
        Answers
        • 1. Step 1: x = y + 2. Step 2: 3(y + 2) + 2y = 16, so 5y = 10. Step 3: y = 2 and x = 4. Step 4: check 12 + 4 = 16 ✔. x = 4, y = 2.
        • 2. Step 1: y = 7 − x. Step 2: x² + (7 − x)² = 25, so 2x² − 14x + 24 = 0. Step 3: x² − 7x + 12 = 0, (x − 3)(x − 4) = 0. Step 4: x = 3 gives y = 4, and x = 4 gives y = 3. (3, 4) or (4, 3).
        • 3. Step 1: set equal, x² + 1 = x − 3. Step 2: x² − x + 4 = 0. Step 3: D = 1 − 16 = −15. Step 4: D < 0, so there are no intersections.

        Next: inequalities →

        Inequalities

        • An inequality uses < (less than), > (greater than), ≤ (at most), ≥ (at least).
        • The answer is a range of values, not one or two values.
        • Number line: open circle ○ when the end is not included (< or >), closed circle ● when it is (≤ or ≥).
        x ≥ 2 (closed circle: 2 is included)−5−4−3−2−10123456x < −1 (open circle: −1 is not included)−5−4−3−2−10123456−2 < x ≤ 3 (open at −2, closed at 3)−5−4−3−2−10123456x < 1 or x > 3 (two separate pieces)−5−4−3−2−10123456
        Four ways to show a solution on a number line.

        Linear inequalities

        • Same methods as equations, with one big warning.
        • Multiplying or dividing by a negative number reverses the inequality sign.
        • Example: 5 > 3 is true, but multiplying by −1 gives −5 > −3, which is false. It must become −5 < −3.
        • Safe alternative: move the variable term so its coefficient is positive.
        Start: 3 is less than 5, so 3 < 5−5−4−3−2−10123456 Multiply by −1: −5 is less than −3, so −5 < −3 (the sign has reversed)−5−4−3−2−10123456
        Multiplying by −1 reflects the number line, so the order flips. That is why the sign reverses.

        📘 Example 1 · Solve 5x − 3 ≤ 2x − 15

        1. Add 3 and subtract 2x from both sides: 5x − 2x ≤ −15 + 3.
        2. Tidy: 3x ≤ −12.
        3. Divide by 3 (positive, so the sign stays): x ≤ −4.

        📘 Example 2 · Solve 2y + 6 > 7y + 11

        1. Subtract 6 and 7y from both sides: 2y − 7y > 11 − 6.
        2. Tidy: −5y > 5.
        3. Divide both sides by −5 and reverse the sign: y < −1.
        4. Alternative with no reversing: add 5y to both sides and subtract 5, giving −5 > 5y, then −1 > y, which is the same as y < −1.
        5. y < −1. Check y = −2: 2(−2) + 6 = 2 and 7(−2) + 11 = −3, and 2 > −3. ✔

        Quadratic inequalities

        • Always sketch the graph. It stops you guessing the direction.
        • > 0 means the curve is above the x axis. < 0 means below.
        • For a U-shaped curve with roots p < q: > 0 gives x < p or x > q (outside). < 0 gives p < x < q (between).
        1. Move everything to one sideso it reads (quadratic) > 0, ≥ 0, < 0 or ≤ 02. Solve the matching equationfactorise or use the formula to find the roots3. Sketch the curvea > 0 is a U shape, a < 0 an upside-down U4. Read off the x values that make the curve above (>0) or below (<0) the axisopen circle for > and <, closed for ≥ and ≤
        Method for a quadratic inequality.
        1234−11234567xy x < 1x > 31 ≤ x ≤ 3 (below)y = x² − 4x + 3
        Thick line above the axis: where y > 0 (outside the roots 1 and 3). Dashed-colour line below: where y ≤ 0 (between the roots, ends included).

        📘 Example 3 · Solve (i) x² − 4x + 3 > 0 and (ii) x² − 4x + 3 ≤ 0

        1. Factorise: x² − 4x + 3 = (x − 1)(x − 3), so the roots are 1 and 3.
        2. Sketch a U-shaped curve crossing the x axis at 1 and 3 (as in the figure).
        3. (i) y > 0 means above the axis: x < 1 or x > 3 (open circles).
        4. (ii) y ≤ 0 means on or below the axis: 1 ≤ x ≤ 3 (solid circles).
        5. Check x = 2 in (ii): 4 − 8 + 3 = −1 ≤ 0 ✔.

        📘 Example 4 · Solve 3x² + 5x − 2 < 0

        1. Factorise: 3x² + 6x − x − 2 = 3x(x + 2) − (x + 2) = (3x − 1)(x + 2).
        2. Roots: x = 1/3 and x = −2.
        3. U-shaped curve (a = 3 > 0). Below the axis means between the roots.
        4. −2 < x < 1/3.
        5. Check x = 0: −2 < 0 ✔.

        📘 Example 5 · Solve z(z − 1) ≤ 20

        1. Expand and move: z² − z − 20 ≤ 0.
        2. Factorise: (z − 5)(z + 4) ≤ 0, with roots 5 and −4.
        3. U-shaped, and "≤ 0" is on or below the axis: between the roots, ends included.
        4. −4 ≤ z ≤ 5.

        Using the discriminant: finding a range of k

        • Two real roots (or "real and distinct"): D > 0. Real roots: D ≥ 0. No real roots: D < 0.
        • This turns "for which k?" into a quadratic inequality in k.
        −4−224−101020kD k ≤ −4k ≥ 4D = k² − 16
        For x² + kx + 4 = 0, D = k² − 16. Real roots need D ≥ 0, the part of the curve on or above the axis: k ≤ −4 or k ≥ 4.

        📘 Example 6 · Find the values of k for which x² + kx + 4 = 0 has real roots

        1. a = 1, b = k, c = 4. Real roots need b² − 4ac ≥ 0.
        2. k² − 4(1)(4) ≥ 0, so k² − 16 ≥ 0, so k² ≥ 16.
        3. Factorise: (k − 4)(k + 4) ≥ 0, roots k = 4 and k = −4, U-shaped, on or above the axis: outside the roots.
        4. k ≤ −4 or k ≥ 4.
        5. Take care with k² ≥ 16: k = −5 works (25 ≥ 16) but k = −3 does not (9 < 16), so on the negative side k must be at most −4.

        ✏️ Try it

        1. Solve 3 − 2x > 11.
        2. Solve x² − x − 12 ≤ 0.
        3. Find the set of values of k for which x² + kx + 9 = 0 has no real roots.
        Answers
        • 1. Step 1: subtract 3, −2x > 8. Step 2: divide by −2 and reverse the sign. Step 3: x < −4. Step 4: check x = −5: 3 + 10 = 13 > 11 ✔.
        • 2. Step 1: factorise, (x − 4)(x + 3) ≤ 0. Step 2: roots 4 and −3, U shape. Step 3: on or below the axis is between the roots, −3 ≤ x ≤ 4.
        • 3. Step 1: no real roots needs D < 0: k² − 4(1)(9) < 0. Step 2: k² < 36, (k − 6)(k + 6) < 0. Step 3: between the roots, −6 < k < 6.

        Next: summary and quiz →

        Chapter summary

        • Expressions: open brackets, collect like terms, factorise, cancel factors in fractions.
        • Linear equations: same to both sides; check the answer. An identity is true for every x.
        • Changing the subject: undo in reverse; if the subject appears twice, collect, factorise, divide.
        • Factorising: split the middle term (add to b, multiply to ac); perfect squares; a² − b² = (a + b)(a − b); common factor first.
        • Solving by factorising: null factor law. Disguised quadratics: substitute (y = x², u = √x), then go back to x.
        • Completing the square: x² + bx + c = (x + b/2)² + c − b²/4. Vertex (−b/2, c − b²/4), axis x = −b/2. If a ≠ 1, factor it out first.
        • Quadratic formula: x = (−b ± √(b² − 4ac)) / 2a.
        • Discriminant: b² − 4ac > 0 two real roots, = 0 one repeated root, < 0 no real roots.
        • Simultaneous equations: elimination or substitution. With one non-linear equation, make x or y the subject of the linear one, substitute, solve, then substitute back into the linear one.
        • Inequalities: reverse the sign when multiplying or dividing by a negative. For quadratics, sketch the graph; > 0 outside the roots, < 0 between them (for a U shape).

        📄 Practice questions

        • The book's Exercises 1A to 1H (every question) are in the printable assignment for this chapter.
        • It also has a "Check yourself" set and a printed copy of the quiz below.

        Mini-quiz

        1. Factorise 2x² − 5x − 3.
        2. Make a the subject of A = ½(a + b)h.
        3. Write x² − 6x + 2 in the form (x + p)² + q.
        4. What is the vertex of y = x² + 4x + 9?
        5. What is the greatest value of 14 − (x − 3)²?
        6. Find the discriminant of 3x² − 4x + 2.
        7. For which k does x² − 2x + k = 0 have one repeated root?
        8. Solve x⁴ − 13x² + 36 = 0.
        9. Solve x + 2y = 7 and x² + y² = 10. Which pair is a solution?
        10. Solve −5y > 5.
        11. Solve x² − 4x + 3 > 0.
        12. For which values of k does x² + kx + 4 = 0 have real roots?

        Source: Pure Mathematics 1 (Hodder Education, Sophie Goldie), Chapter 1 (Algebra). Explanations, extra examples, diagrams, the tools, the simulation, the Try it answers and the quiz are Guru Jazzy's own. This page is not made or endorsed by Hodder Education or Cambridge.