← AS & A Level Mathematics

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

Algebra

  • This chapter builds the core algebraic toolkit for Pure Mathematics 2 and Pure Mathematics 3.
  • First you master the modulus function |x|: solving modulus equations, sketching V-shaped graphs and solving modulus inequalities.
  • Then you extend algebra to cubic and quartic polynomials using polynomial division, the factor theorem and the remainder theorem.

Learning objectives

  1. Understand the meaning of |x| and use piecewise definitions to evaluate and rewrite modulus expressions.
  2. Sketch the graph of y = |ax + b| and related transformations, and compare y = |f(x)| with y = f(|x|).
  3. Use relations such as |a| = |b| ⇔ a² = b² and |x − a| < b ⇔ a − b < x < a + b to solve modulus equations and inequalities.
  4. Divide a polynomial of degree up to 4 by a linear or quadratic polynomial, identifying the quotient and remainder.
  5. Use the factor theorem and the remainder theorem to factorise polynomials, find unknown constants and solve cubic and quartic equations.

Book exercises: 1A, 1B, 1C, 1D, 1E, 1F and End-of-chapter review exercise 1.

1.1 The modulus function

  • The modulus of a number (also called its absolute value) is its magnitude without a sign attached.
  • The modulus of x is written |x|: for example, |3| = 3 and |−3| = 3.
  • For any real number x, |x| is always greater than or equal to 0:

🔑 Definition of |x|

  • |x| = x if x ≥ 0
  • |x| = −x if x < 0 (when x is negative, −x is positive)
−4 −3 −2 −1 0 1 2 3 4 |−3| = 3 units |3| = 3 units |x| measures the distance of x from 0 on the number line
Both −3 and +3 are 3 units from 0, so |−3| = |3| = 3.

Key properties of the modulus (Explore 1.1 & 1.2)

  • Some modulus rules hold for all real numbers a and b, while others hold only sometimes.
  • Knowing which rules are always true prevents common algebraic slips:
StatementAlways or sometimes true?Reason / example
|ab| = |a| × |b|Always trueMagnitude of a product equals the product of magnitudes
|a / b| = |a| ÷ |b| (b ≠ 0)Always trueWorks for any fraction with non-zero denominator
|a|² = a²Always trueBoth sides are non-negative and equal to a²
|a|ⁿ = aⁿ (n positive integer)Sometimes trueAlways true when n is even; for odd n it needs a ≥ 0
|a + b| = |a| + |b|Sometimes trueTrue if a and b have the same sign (or 0); false for a = 3, b = −2
|a − b| = |a| − |b|Sometimes trueTrue only when |a| ≥ |b| and a, b share the same sign
|a + b| ≤ |a| + |b|Always trueThe triangle inequality: cancelling signs can only shrink the sum
|a − b| ≤ |a − c| + |c − b|Always trueReplace a, b by a − c and c − b in the triangle inequality
  • Because |a|² = a², we can rewrite a² − b² as |a|² − |b|² = (|a| − |b|)(|a| + |b|).
  • Since |a| + |b| > 0 whenever a and b are not both zero, the sign of a² − b² is the same as the sign of |a| − |b|:

🔑 Key Point 1.1 · Equivalence rules for |a| and |b|

  • |a| = |b| ⇔ a² = b² (and equivalently a = b or a = −b)
  • |a| > |b| ⇔ a² > b²
  • |a| < |b| ⇔ a² < b² (for b ≠ 0)

Solving modulus equations

  • The statement |x| = k (where k ≥ 0) means x = k or x = −k.
  • For |ax + b| = k (k ≥ 0), split into ax + b = k and ax + b = −k.
  • For |ax + b| = cx + d, split into ax + b = cx + d and ax + b = −(cx + d), then check both answers in the original equation (because cx + d must be ≥ 0).
  • For |cx + d| = |ex + f|, either split into cx + d = ±(ex + f) or square both sides: (cx + d)² = (ex + f)².
1. Isolate the modulus on one sidewrite in the form |ax + b| = k or |ax + b| = cx + d2. Split into the positive and negative branchesax + b = +(RHS) or ax + b = −(RHS)3. Or if both sides have modulus |cx + d| = |ex + f|either split cx + d = ±(ex + f) or square: (cx + d)² = (ex + f)²4. Solve each resulting equation for xcollect terms and simplify fractions5. CHECK every candidate in the original equationreject any value where |ax + b| would equal a negative RHS
General procedure for solving any modulus equation.
Method 1: Split into ± branches |3x + 4| = |x + 5| 3x + 4 = x + 5 or 3x + 4 = −(x + 5) 2x = 1 or 4x = −9 x = 1/2 or x = −9/4 Method 2: Square both sides (3x + 4)² = (x + 5)² 9x² + 24x + 16 = x² + 10x + 25 8x² + 14x − 9 = (2x − 1)(4x + 9) = 0 x = 1/2 or x = −9/4
Two ways to solve |cx + d| = |ex + f|: splitting into two linear equations is usually faster than expanding squares.

📘 Worked Example 1.1 · Solve (a) |2x − 1| = 3 and (b) |x − 4| = 2x + 1

  1. (a) Split |2x − 1| = 3 into two linear equations: 2x − 1 = 3 or 2x − 1 = −3.
  2. Solve each: 2x = 4 gives x = 2, and 2x = −2 gives x = −1.
  3. Check in |2x − 1| = 3: |2(2) − 1| = |3| = 3 ✔ and |2(−1) − 1| = |−3| = 3 ✔. Solution: x = −1 or x = 2.
  4. (b) Split |x − 4| = 2x + 1 into two equations: x − 4 = 2x + 1 or x − 4 = −(2x + 1).
  5. Solve the first: x − 4 = 2x + 1 gives x = −5. Solve the second: x − 4 = −2x − 1 gives 3x = 3, so x = 1.
  6. Check x = −5: LHS = |−5 − 4| = 9, RHS = 2(−5) + 1 = −9 (LHS ≠ RHS, so reject x = −5).
  7. Check x = 1: LHS = |1 − 4| = 3, RHS = 2(1) + 1 = 3 ✔. Solution: x = 1.

📘 Worked Example 1.2 · Solve the equation |3x + 4| = |x + 5|

  1. Method 1 (splitting): Write 3x + 4 = x + 5 or 3x + 4 = −(x + 5).
  2. From 3x + 4 = x + 5: 2x = 1, so x = . From 3x + 4 = −x − 5: 4x = −9, so x = −.
  3. Method 2 (squaring): Use |a| = |b| ⇔ a² = b² to write (3x + 4)² = (x + 5)².
  4. Expand and rearrange: 9x² + 24x + 16 = x² + 10x + 25 ⇒ 8x² + 14x − 9 = 0.
  5. Factorise: (2x − 1)(4x + 9) = 0, giving x = or x = −.
  6. Check x = 1/2: |11/2| = |11/2| ✔. Check x = −9/4: |−11/4| = |11/4| ✔. Solution: x = 1/2 or x = −9/4.

📘 Worked Example 1.3 · Solve |x + 3| + |x + 5| = 10

  1. Subtract |x + 5| from both sides so one modulus is isolated: |x + 3| = 10 − |x + 5|.
  2. Split into two equations: (1) x + 3 = 10 − |x + 5| and (2) x + 3 = |x + 5| − 10.
  3. Rearrange (1) to isolate |x + 5|: |x + 5| = 7 − x. Split into x + 5 = 7 − x (giving 2x = 2 ⇒ x = 1) or x + 5 = −(7 − x) (giving 5 = −7, false).
  4. Rearrange (2) to isolate |x + 5|: |x + 5| = x + 13. Split into x + 5 = x + 13 (giving 5 = 13, false) or x + 5 = −(x + 13) (giving 2x = −18 ⇒ x = −9).
  5. Check x = 1: |4| + |6| = 4 + 6 = 10 ✔. Check x = −9: |−6| + |−4| = 6 + 4 = 10 ✔. Solution: x = 1 or x = −9.

📘 Quadratic modulus example · Solve |x² − 7x + 6| = 6 − x

  1. Split into two quadratic equations: x² − 7x + 6 = 6 − x or x² − 7x + 6 = −(6 − x).
  2. First equation: x² − 6x = 0 ⇒ x(x − 6) = 0, so x = 0 or x = 6.
  3. Second equation: x² − 8x + 12 = 0 ⇒ (x − 2)(x − 6) = 0, so x = 2 or x = 6.
  4. Check in |x² − 7x + 6| = 6 − x (note 6 − x ≥ 0 holds for all three): x = 0 gives |6| = 6 ✔; x = 2 gives |−4| = 4 ✔; x = 6 gives |0| = 0 ✔.
  5. Solution: x = 0, x = 2 or x = 6.

✏️ Try it

  1. Solve |4x − 3| = 7.
  2. Solve |3x − 5| = x + 1.
  3. Solve |2x − 5| = |1 − x|.
Answers
  • 1. Step 1: split into 4x − 3 = 7 or 4x − 3 = −7. Step 2: 4x = 10 ⇒ x = 5/2, or 4x = −4 ⇒ x = −1. Step 3: check |4(5/2) − 3| = 7 ✔ and |4(−1) − 3| = 7 ✔. Answer: x = −1 or x = 5/2.
  • 2. Step 1: split into 3x − 5 = x + 1 or 3x − 5 = −(x + 1). Step 2: 2x = 6 ⇒ x = 3, or 4x = 4 ⇒ x = 1. Step 3: check x = 3: |4| = 4 ✔; check x = 1: |−2| = 2 ✔. Answer: x = 1 or x = 3.
  • 3. Step 1: split into 2x − 5 = 1 − x or 2x − 5 = −(1 − x). Step 2: 3x = 6 ⇒ x = 2, or x − 5 = −1 ⇒ x = 4. Step 3: check x = 2: |−1| = |−1| ✔; check x = 4: |3| = |−3| ✔. Answer: x = 2 or x = 4.

Next: modulus graphs →

1.2 Graphs of y = |f(x)| where f(x) is linear

  • To sketch y = |ax + b|, first sketch the straight line y = ax + b.
  • Keep the part of the line on or above the x-axis (where y ≥ 0) unchanged.
  • Reflect in the x-axis the part of the line that lies below the x-axis.
  • The resulting V-shaped graph has its vertex on the x-axis at x = −b/a.
−112345−112xy vertex (2, 0)(0, 1)(0, −1) reflected upy = |½x − 1|
Worked Example 1.4: Sketch y = ½x − 1 (dashed below the axis), then reflect the negative portion in the x-axis to get y = |½x − 1|.

📘 Worked Example 1.4 · Sketch y = |½x − 1| and write |½x − 1| in alternative (piecewise) form

  1. Sketch the line y = ½x − 1: it has gradient ½, y-intercept (0, −1) and x-intercept (2, 0).
  2. Reflect the portion for x < 2 (where the line is below the x-axis) in the x-axis so the y-intercept becomes (0, 1).
  3. For x ≥ 2, the graph is the original line y = ½x − 1. For x < 2, it is the reflected line y = −(½x − 1) = 1 − ½x.
  4. Alternative form: |½x − 1| = ½x − 1 if x ≥ 2, and −(½x − 1) if x < 2.

Transformations of y = |x|

  • Every graph of the form y = a|x − h| + k is a transformation of y = |x| with vertex at (h, k):
FunctionTransformation from y = |x|VertexShape
y = |x − h| + kTranslation by vector (h, k)(h, k)Upward V (∪-like)
y = a|x| (a > 0)Stretch parallel to y-axis, scale factor a(0, 0)Steeper V if a > 1
y = −|x|Reflection in the x-axis(0, 0)Inverted V (∧)
y = k − a|x − h| (a > 0)Translate right h, stretch by a, reflect in x-axis, translate up k(h, k)Inverted V (maximum k)

Solving modulus equations graphically & spotting false roots

  • The real roots of |x − 4| = 2x + 1 are the x-coordinates where y = |x − 4| and y = 2x + 1 intersect.
  • Look at the graph below: y = 2x + 1 meets the reflected branch y = −(x − 4) at (1, 3), so x = 1 is a genuine root.
  • Why did algebra also produce x = −5 in Worked Example 1.1(b)? Because at x = −5, y = 2x + 1 = −9 meets the unreflected dashed line y = x − 4 below the x-axis, not y = |x − 4|.
−11234567−1123456xy intersection (1, 3) → x = 1y = |x − 4|y = 2x + 1
The line y = 2x + 1 (dashed) intersects y = |x − 4| at only one point, (1, 3), confirming that x = 1 is the only root.

Comparing y = |f(x)| and y = f(|x|)

  • y = |f(x)|: draw y = f(x), then reflect any part below the x-axis (y < 0) upwards in the x-axis.
  • y = f(|x|): since |−x| = |x|, the graph is symmetric about the y-axis. Keep the curve for x ≥ 0 and reflect it across the y-axis into x < 0.
  • To solve f(|x|) = 0: first find the roots of f(u) = 0; every positive root u > 0 gives two roots x = ±u (and u = 0 gives x = 0; negative values of u give no roots since |x| ≥ 0).
1234246xy y = |x² − 5x + 6| (reflect y < 0 in x-axis) −3−223246xy y = x² − 5|x| + 6 (reflect x ≥ 0 in y-axis)
Left: y = |x² − 5x + 6| flips the trough between x = 2 and x = 3 upwards. Right: y = x² − 5|x| + 6 (Exercise 1A Q7) mirrors the x ≥ 0 parabola across the y-axis (line of symmetry x = 0), with four roots x = ±2, ±3.

🎛️ Simulation: explore |ax + b| and its intersections

  • Move the sliders for a, b, c and d. Toggle the RHS between a straight line y = cx + d and a second modulus y = |cx + d|.
  • Watch the vertex, the reflected branch (dashed below the axis) and the live intersection roots update step by step.

Solid primary curve: y = |ax + b|. Dashed secondary curve: y = cx + d or y = |cx + d|. Filled dots mark valid intersection roots; open rings mark vertex points.

    ✏️ Try it

    1. State the coordinates of the vertex and the y-intercept of y = 2|x − 2| + 1.
    2. Describe the two transformations that map y = |x| onto y = |x − 3| + 2.
    3. Given f(x) = (x − 5)(2x + 3)(3x − 1), write down the roots of f(|x|) = 0.
    Answers
    • 1. Step 1: |x − 2| = 0 when x = 2, giving y = 2(0) + 1 = 1, so the vertex is (2, 1). Step 2: set x = 0 to find y = 2|−2| + 1 = 5, so the y-intercept is (0, 5).
    • 2. Step 1: replacing x by x − 3 translates 3 units in the positive x-direction. Step 2: adding 2 translates 2 units in the positive y-direction. Answer: translation by vector (3, 2).
    • 3. Step 1: the roots of f(u) = 0 are u = 5, u = −3/2 and u = 1/3. Step 2: since u = |x| ≥ 0, reject u = −3/2 and solve |x| = 5 and |x| = 1/3. Step 3: x = ±5 or x = ±1/3.

    Next: modulus inequalities →

    1.3 Solving modulus inequalities

    • Two fundamental properties turn modulus inequalities into standard linear inequalities (for b > 0):

    🔑 Modulus inequality rules

    • |a| ≤ b ⇔ −b ≤ a ≤ b (and |x − a| < b ⇔ a − b < x < a + b: a single interval between the critical values)
    • |a| ≥ b ⇔ a ≤ −b or a ≥ b (two separate rays outside the critical values)
    • |ax + b| ≥ |cx + d| ⇔ (ax + b)² ≥ (cx + d)² (square both sides to get a quadratic inequality, or sketch both graphs)
    |x − a| ≤ b ⇔ a − b ≤ x ≤ a + b (within distance b of a: one connected interval) a − b a a + b |x − a| ≥ b ⇔ x ≤ a − b or x ≥ a + b (at least distance b from a: two outer rays) a − b a a + b
    Geometrically, |x − a| is the distance between x and a on the number line.

    Type 1: |ax + b| < k or |ax + b| ≥ k

    1234512345xy A(1, 3)B(4, 3)y = |2x − 5|y = 31 < x < 4
    Worked Example 1.5: y = |2x − 5| is below the horizontal line y = 3 between A(1, 3) and B(4, 3), giving 1 < x < 4.

    📘 Worked Example 1.5 · Solve |2x − 5| < 3

    1. Method 1 (algebra): Rewrite |2x − 5| < 3 as a double inequality: −3 < 2x − 5 < 3.
    2. Add 5 to all three parts: 2 < 2x < 8.
    3. Divide by 2: 1 < x < 4.
    4. Method 2 (graph): Sketch y = |2x − 5| (vertex at x = 2.5) and y = 3.
    5. At A, the reflected branch −(2x − 5) = 3 gives −2x + 5 = 3 ⇒ x = 1. At B, 2x − 5 = 3 ⇒ x = 4.
    6. The V-graph is below y = 3 between A and B, so 1 < x < 4. Check x = 2.5: |0| < 3 ✔.

    Type 2: |ax + b| ≥ |cx + d| (modulus on both sides)

    −2−112345123456xy A(−2, 5)B(4/3, 5/3)y = |2x − 1|y = |3 − x|
    Worked Example 1.6: y = |2x − 1| (solid) lies on or above y = |3 − x| (dashed) to the left of A (x ≤ −2) and to the right of B (x ≥ 4/3).

    📘 Worked Example 1.6 · Solve the inequality |2x − 1| ≥ |3 − x|

    1. Method 1 (squaring): Use |a| ≥ |b| ⇔ a² ≥ b² to write (2x − 1)² ≥ (3 − x)².
    2. Expand both sides: 4x² − 4x + 1 ≥ 9 − 6x + x².
    3. Collect terms on the left: 3x² + 2x − 8 ≥ 0.
    4. Factorise: (3x − 4)(x + 2) ≥ 0, so the critical values are x = −2 and x = .
    5. Since 3x² + 2x − 8 is a U-shaped parabola, ≥ 0 holds outside the roots: x ≤ −2 or x ≥ 4/3.
    6. Method 2 (graph): At A, −(2x − 1) = 3 − x gives x = −2. At B, 2x − 1 = 3 − x gives 3x = 4 ⇒ x = 4/3. The graph of y = |2x − 1| is above y = |3 − x| for x ≤ −2 or x ≥ 4/3.

    Type 3: |ax + b| ≤ cx + d (variable outside the modulus)

    • When one side is not inside a modulus, squaring does not preserve the sign of cx + d.
    • Always sketch the V-graph y = |ax + b| and the line y = cx + d, find their intersections (critical values), and read off which part of the line lies above or below the V-graph.

    📘 Example · Solve |2x − 5| ≤ x − 2

    1. Find the critical values where y = |2x − 5| meets y = x − 2.
    2. Right branch: 2x − 5 = x − 2 ⇒ x = 3 (check: y = 3 − 2 = 1 ≥ 0 ✔).
    3. Left branch: −(2x − 5) = x − 2 ⇒ −2x + 5 = x − 2 ⇒ 3x = 7 ⇒ x = (check: y = 7/3 − 2 = 1/3 ≥ 0 ✔).
    4. The V-graph y = |2x − 5| (slope ±2) is steeper than y = x − 2 (slope 1), so it lies on or below the line between the two intersection points: 7/3 ≤ x ≤ 3.
    5. Check x = 2.5: |0| ≤ 0.5 ✔.

    ✏️ Try it

    1. Solve |3x − 2| ≥ 7.
    2. Solve |x + 4| < |2x|.
    3. Solve |x − 7| − 2x ≤ 4.
    Answers
    • 1. Step 1: split into 3x − 2 ≤ −7 or 3x − 2 ≥ 7. Step 2: 3x ≤ −5 or 3x ≥ 9. Step 3: x ≤ −5/3 or x ≥ 3.
    • 2. Step 1: square both sides, (x + 4)² < (2x)². Step 2: x² + 8x + 16 < 4x² ⇒ 3x² − 8x − 16 > 0. Step 3: factorise (3x + 4)(x − 4) > 0, critical values −4/3 and 4. Step 4: outside the roots, x < −4/3 or x > 4.
    • 3. Step 1: rewrite as |x − 7| ≤ 2x + 4. Step 2: find intersections with y = 2x + 4: x − 7 = 2x + 4 gives x = −11 (reject since 2(−11) + 4 = −18 < 0), and −(x − 7) = 2x + 4 gives 3x = 3 ⇒ x = 1. Step 3: for x ≥ 1, the line y = 2x + 4 (slope 2) rises faster than y = |x − 7| (slope ±1), so x ≥ 1. Check x = 2: |−5| − 4 = 1 ≤ 4 ✔.

    Next: division of polynomials →

    1.4 Division of polynomials

    • A polynomial in x is an expression of the form aₙxⁿ + aₙ₋₁xⁿ⁻¹ + … + a₂x² + a₁x + a₀, where n is a non-negative integer.
    • The highest power n (with aₙ ≠ 0) is the degree of the polynomial; aₙ is the leading coefficient and a₀ is the constant term.
    • For example, 5x³ − 6x² + 2x − 6 has degree 3 (a cubic), leading coefficient 5 and constant term −6.

    🔑 Key Point 1.2 · The division algorithm for polynomials

    P(x) = D(x) × Q(x) + R(x)     (dividend = divisor × quotient + remainder)

    • When a polynomial P(x) is divided by D(x), the remainder R(x) is either 0 or has degree strictly less than the degree of D(x).
    • Dividing by a linear divisor (degree 1) leaves a constant remainder R; dividing by a quadratic (degree 2) leaves a remainder of the form ax + b.
    • If the remainder is 0, then D(x) is a factor of P(x).
    x³ + 2x² − 11x + 6 Dividend P(x) (deg 3) = (x − 2) Divisor D(x) (deg 1) × (x² + 4x − 3) Quotient Q(x) (deg 2) + 0 Remainder deg(Quotient) = deg(Dividend) − deg(Divisor) = 3 − 1 = 2
    Every polynomial division can be written in the form dividend = divisor × quotient + remainder.
    1. Write dividend and divisor in descending powers of xinsert 0x² or 0x placeholders for any missing powers2. Divide the leading term of the current dividend by leading term of divisorwrite the result on top as the next term of the quotient3. Multiply the whole divisor by that new quotient termwrite the product underneath, lining up like powers of x4. Subtract carefully and bring down the next termrepeat until the remainder has degree strictly less than the divisor
    The four-step cycle of algebraic long division.

    Worked examples of polynomial long division

    Worked Example 1.7 (exact factor) x² + 4x − 3 x − 2 ) x³ + 2x² − 11x + 6 x³ − 2x² 4x² − 11x 4x² − 8x −3x + 6 −3x + 6 0 (remainder) Worked Example 1.8 (missing 0x²) 2x² − 6x + 17 x + 3 ) 2x³ + 0x² − x + 52 2x³ + 6x² −6x² − x −6x² − 18x 17x + 52 17x + 51 1 (remainder)
    Side-by-side comparison of Worked Examples 1.7 and 1.8. Notice how inserting + 0x² keeps like powers aligned vertically.

    📘 Worked Example 1.7 · Divide x³ + 2x² − 11x + 6 by x − 2

    1. Divide the leading term x³ by x to get x². Multiply (x − 2) by x² to get x³ − 2x². Subtract from x³ + 2x² to get 4x², and bring down −11x.
    2. Divide 4x² by x to get +4x. Multiply (x − 2) by 4x to get 4x² − 8x. Subtract from 4x² − 11x to get −3x, and bring down +6.
    3. Divide −3x by x to get −3. Multiply (x − 2) by −3 to get −3x + 6. Subtract to get remainder 0.
    4. Hence (x³ + 2x² − 11x + 6) ÷ (x − 2) = x² + 4x − 3 (and x − 2 is a factor).

    📘 Worked Example 1.8 · Find the remainder when 2x³ − x + 52 is divided by x + 3

    1. Insert + 0x² for the missing x² term: write the dividend as 2x³ + 0x² − x + 52.
    2. Divide 2x³ by x to get 2x². Multiply (x + 3) by 2x² = 2x³ + 6x². Subtract: (2x³ + 0x²) − (2x³ + 6x²) = −6x². Bring down −x.
    3. Divide −6x² by x to get −6x. Multiply (x + 3) by −6x = −6x² − 18x. Subtract: (−6x² − x) − (−6x² − 18x) = 17x. Bring down +52.
    4. Divide 17x by x to get +17. Multiply (x + 3) by 17 = 17x + 51. Subtract: (17x + 52) − (17x + 51) = 1.
    5. Quotient: 2x² − 6x + 17; remainder: 1. Check: (x + 3)(2x² − 6x + 17) + 1 = 2x³ − x + 52 ✔.

    📘 Dividing by a quadratic · Find the quotient and remainder when x³ + 5x² − 3x − 1 is divided by x² + 2x + 1

    1. Divide leading terms: x³ ÷ x² = x. Multiply (x² + 2x + 1) by x to get x³ + 2x² + x.
    2. Subtract: (x³ + 5x² − 3x) − (x³ + 2x² + x) = 3x² − 4x. Bring down −1 to get 3x² − 4x − 1.
    3. Divide 3x² by x² to get +3. Multiply (x² + 2x + 1) by 3 to get 3x² + 6x + 3.
    4. Subtract: (3x² − 4x − 1) − (3x² + 6x + 3) = −10x − 4 (degree 1 < degree 2, so stop).
    5. Quotient: x + 3; remainder: −10x − 4.

    ✏️ Try it

    1. Simplify (x³ + 5x² + 5x − 2) ÷ (x + 2).
    2. Find the quotient and remainder when (6x³ + 7x² − 6) is divided by (x − 2).
    3. Find the quotient and remainder when (4x⁴ + 4x³ − 7x² − 4x + 8) is divided by (x² − 1).
    Answers
    • 1. Step 1: x³ ÷ x = x², subtract x³ + 2x² to get 3x² + 5x. Step 2: 3x² ÷ x = 3x, subtract 3x² + 6x to get −x − 2. Step 3: −x ÷ x = −1, subtract −x − 2 to get 0. Answer: x² + 3x − 1.
    • 2. Step 1: write as 6x³ + 7x² + 0x − 6. Step 2: 6x³ ÷ x = 6x², subtract 6x³ − 12x² to get 19x² + 0x. Step 3: 19x² ÷ x = 19x, subtract 19x² − 38x to get 38x − 6. Step 4: 38x ÷ x = 38, subtract 38x − 76 to get 70. Answer: quotient 6x² + 19x + 38, remainder 70.
    • 3. Step 1: 4x⁴ ÷ x² = 4x², subtract 4x⁴ − 4x² to get 4x³ − 3x² − 4x + 8. Step 2: 4x³ ÷ x² = 4x, subtract 4x³ − 4x to get −3x² + 8. Step 3: −3x² ÷ x² = −3, subtract −3x² + 3 to get 5. Answer: quotient 4x² + 4x − 3, remainder 5.

    Next: the factor theorem →

    1.5 The factor theorem

    • If a polynomial P(x) divides exactly by (x − c) with quotient Q(x), then P(x) = (x − c)Q(x).
    • Substituting x = c gives P(c) = 0. This gives a fast test for factors without doing long division first:

    🔑 Key Points 1.3 & 1.4 · The factor theorem

    • If for a polynomial P(x), P(c) = 0, then (x − c) is a factor of P(x).
    • More generally, if P(b/a) = 0, then (ax − b) is a factor of P(x).
    • Watch the sign: testing whether (x + 3) is a factor means evaluating P(−3); testing (2x + 1) means evaluating P(−1/2).
    1. Test factor candidates c that divide the constant termevaluate f(c); if f(c) = 0, then (x − c) is a linear factor2. Write f(x) = (x − c)(ax² + bx + d)divide by (x − c) using long division or equating coefficients3. Factorise the remaining quadratic ax² + bx + dsplit the middle term or use the quadratic formula4. Write the complete factorisation or list all rootsset each linear factor equal to zero to solve f(x) = 0
    How to factorise and solve a cubic equation P(x) = 0 from scratch.

    📘 Worked Example 1.9 · Use the factor theorem to show that x − 3 is a factor of x³ + 2x² − 16x + 3

    1. Let f(x) = x³ + 2x² − 16x + 3 and substitute x = 3.
    2. Calculate f(3) = (3)³ + 2(3)² − 16(3) + 3 = 27 + 18 − 48 + 3 = 0.
    3. Since f(3) = 0, by the factor theorem (x − 3) is a factor of x³ + 2x² − 16x + 3.

    📘 Worked Example 1.10 · Given that 3x² + 5x − 2 is a factor of 3x³ + 17x² + ax + b, find a and b and factorise the cubic completely

    1. Factorise the quadratic divisor first: 3x² + 5x − 2 = (3x − 1)(x + 2). So both (3x − 1) and (x + 2) are linear factors of f(x) = 3x³ + 17x² + ax + b.
    2. Apply the factor theorem with x = 1/3: f(1/3) = 3(1/27) + 17(1/9) + a(1/3) + b = 0 ⇒ 1/9 + 17/9 + a/3 + b = 0 ⇒ a + 3b = −6 (1).
    3. Apply the factor theorem with x = −2: f(−2) = 3(−8) + 17(4) − 2a + b = 0 ⇒ −24 + 68 − 2a + b = 0 ⇒ 2a − b = 44 (2).
    4. Eliminate b: (1) + 3 × (2) gives 7a = 126 ⇒ a = 18. Substitute into (2): 36 − b = 44 ⇒ b = −8.
    5. Now write 3x³ + 17x² + 18x − 8 = (3x² + 5x − 2)(cx + d). Comparing x³ coefficients gives c = 1 (since 3 × 1 = 3); comparing constants gives d = 4 (since −2 × 4 = −8).
    6. Complete factorisation: (3x − 1)(x + 2)(x + 4).

    Equating coefficients (inspection)

    x³ + 4x² − 19x + 14 = (x − 1)(ax² + bx + c) x³ term: 1 = 1 × a so a = 1 Constant: 14 = (−1) × c so c = −14 x² term: 4 = −a + b 4 = −1 + b ⇒ b = 5 Result: (x − 1)(x² + 5x − 14) = (x − 1)(x − 2)(x + 7)
    Once you know one linear factor (x − 1), you can read off a, c and b in seconds by matching the x³, constant and x² terms.
    −7−5−3−1123−202040xy (−7, 0)(1, 0)(2, 0)y = (x + 7)(x − 1)(x − 2)
    Worked Example 1.11: The three linear factors (x + 7), (x − 1) and (x − 2) give the three x-intercepts x = −7, 1 and 2.

    📘 Worked Example 1.11 · Solve x³ + 4x² − 19x + 14 = 0

    1. Let f(x) = x³ + 4x² − 19x + 14. The integer factors of 14 are ±1, ±2, ±7, ±14.
    2. Test x = 1: f(1) = 1 + 4 − 19 + 14 = 0, so (x − 1) is a factor.
    3. Equate coefficients (or divide by x − 1): x³ + 4x² − 19x + 14 = (x − 1)(x² + 5x − 14).
    4. Factorise the quadratic: x² + 5x − 14 = (x − 2)(x + 7), so f(x) = (x − 1)(x − 2)(x + 7).
    5. Set each factor to 0: x = 1, x = 2 or x = −7.

    ✏️ Try it

    1. Use the factor theorem to show that 2x − 5 is a factor of 2x³ − 7x² + 9x − 10.
    2. Given that x + 4 is a factor of x³ + ax² − 29x + 12, find the value of a.
    3. Solve the cubic equation x³ − 5x² − 4x + 20 = 0.
    Answers
    • 1. Step 1: let f(x) = 2x³ − 7x² + 9x − 10 and substitute x = 5/2. Step 2: f(5/2) = 2(125/8) − 7(25/4) + 9(5/2) − 10 = 125/4 − 175/4 + 90/4 − 40/4 = 0. Step 3: since f(5/2) = 0, (2x − 5) is a factor.
    • 2. Step 1: by the factor theorem, f(−4) = 0. Step 2: (−4)³ + a(−4)² − 29(−4) + 12 = 0 ⇒ −64 + 16a + 116 + 12 = 0. Step 3: 16a = −64 ⇒ a = −4.
    • 3. Step 1: test x = 2: 8 − 20 − 8 + 20 = 0, so (x − 2) is a factor. Step 2: divide to get (x − 2)(x² − 3x − 10) = 0. Step 3: factorise (x − 2)(x − 5)(x + 2) = 0, giving x = −2, 2 or 5.

    Next: the remainder theorem →

    1.6 The remainder theorem

    • When a polynomial P(x) is divided by (x − c), the division algorithm says P(x) = (x − c)Q(x) + R, where R is a constant.
    • Substituting x = c makes the (x − c)Q(x) term vanish, leaving P(c) = R immediately!
    • Notice that the factor theorem is just the special case of the remainder theorem when R = 0.

    🔑 Key Points 1.5 & 1.6 · The remainder theorem

    • If a polynomial P(x) is divided by x − c, the remainder is R = P(c).
    • If a polynomial P(x) is divided by ax − b, the remainder is R = P(b/a).
    Start with the division identity: P(x) = (ax − b) · Q(x) + R True for every value of x, so choose x = b/a to make (ax − b) equal zero Substitute x = b/a: P(b/a) = (a(b/a) − b) · Q(b/a) + R = 0 + R = R No long division needed if only the remainder is asked for!
    Why the remainder theorem works: substituting the root of the divisor annihilates the unknown quotient Q(x).
    1. Identify each divisor and convert it to a root valuefor (x − c) use x = c; for (ax − b) use x = b/a2. Apply the factor or remainder theorem to each conditionfactor means f(c) = 0; remainder R means f(c) = R3. Substitute to form linear equations in the unknowns (a, b, …)simplify fractions carefully when substituting x = b/a4. Solve the simultaneous equations and check in f(x)verify that the found values reproduce the given remainders
    Using factor and remainder conditions together to find unknown coefficients.

    📘 Worked Example 1.12 · Find the remainder when 4x³ − 2x² + 5x − 8 is divided by x + 1

    1. Let f(x) = 4x³ − 2x² + 5x − 8. Since x + 1 = x − (−1), evaluate f(−1).
    2. Substitute x = −1: f(−1) = 4(−1)³ − 2(−1)² + 5(−1) − 8.
    3. Simplify: −4 − 2 − 5 − 8 = −19. The remainder is −19.

    📘 Worked Example 1.13 · Let f(x) = 6x³ + ax² + bx − 4. When f(x) is divided by x − 1 the remainder is 3, and when divided by 3x + 2 the remainder is −2. Find a and b.

    1. Dividing by x − 1 leaves remainder 3, so f(1) = 3: 6(1)³ + a(1)² + b(1) − 4 = 3 ⇒ a + b = 1 (1).
    2. Dividing by 3x + 2 leaves remainder −2, so f(−2/3) = −2: 6(−2/3)³ + a(−2/3)² + b(−2/3) − 4 = −2.
    3. Simplify the fractions: 6(−8/27) + (4/9)a − (2/3)b − 4 = −2 ⇒ −16/9 + (4/9)a − (2/3)b = 2.
    4. Multiply through by 9: −16 + 4a − 6b = 18 ⇒ 4a − 6b = 34 ⇒ 2a − 3b = 17 (2).
    5. Compute 2 × (1) − (2): (2a + 2b) − (2a − 3b) = 2 − 17 ⇒ 5b = −15 ⇒ b = −3.
    6. Substitute b = −3 into (1): a − 3 = 1 ⇒ a = 4. Check: f(1) = 6 + 4 − 3 − 4 = 3 ✔.

    🧪 Tool: polynomial division, factor & remainder calculator

    Divide P(x) = ax³ + bx² + cx + d by (x − k) and see the long division and remainder theorem check step by step.

      ✏️ Try it

      1. Find the remainder when 4x³ − x² − 18x + 1 is divided by 2x − 1.
      2. When x³ − 3x² + ax − 7 is divided by x + 2, the remainder is −37. Find the value of a.
      3. P(x) = 2x + 4x² + 6x³ + … + 100x⁵⁰. Find the remainder when P(x) is divided by (x − 1).
      Answers
      • 1. Step 1: evaluate f(1/2) = 4(1/2)³ − (1/2)² − 18(1/2) + 1. Step 2: 4/8 − 1/4 − 9 + 1 = 1/2 − 1/4 − 8 = −31/4 (or −7.75).
      • 2. Step 1: by the remainder theorem, f(−2) = −37. Step 2: (−2)³ − 3(−2)² + a(−2) − 7 = −37 ⇒ −8 − 12 − 2a − 7 = −37. Step 3: −2a − 27 = −37 ⇒ −2a = −10 ⇒ a = 5.
      • 3. Step 1: the remainder is P(1) = 2 + 4 + 6 + … + 100. Step 2: this is an arithmetic series of 50 terms with first term 2 and last term 100. Step 3: sum = (50/2)(2 + 100) = 25 × 102 = 2550.

      Next: summary and quiz →

      Chapter summary

      • Modulus function: |x| = x if x ≥ 0, and |x| = −x if x < 0. Always |ab| = |a||b|, |a/b| = |a|/|b|, |a|² = a², and |a + b| ≤ |a| + |b|.
      • Modulus equations: for |ax + b| = cx + d, solve ax + b = ±(cx + d) and always check your solutions in the original equation. For |cx + d| = |ex + f|, either split into ± branches or square both sides: (cx + d)² = (ex + f)².
      • Modulus graphs: for y = |f(x)|, reflect the part of y = f(x) below the x-axis upwards in the x-axis. For y = f(|x|), reflect the part of y = f(x) for x ≥ 0 across the y-axis. The graph of y = a|x − h| + k has vertex (h, k).
      • Modulus inequalities: |a| ≤ b ⇔ −b ≤ a ≤ b (inside); |a| ≥ b ⇔ a ≤ −b or a ≥ b (outside); |a| ≥ |b| ⇔ a² ≥ b². Sketching both graphs makes it easy to see where one lies above or below the other.
      • Division algorithm: P(x) = D(x) × Q(x) + R(x), where deg(R) < deg(D). Remember to insert 0x² or 0x placeholders for missing terms in long division.
      • Factor theorem: P(c) = 0 ⇔ (x − c) is a factor of P(x); P(b/a) = 0 ⇔ (ax − b) is a factor of P(x).
      • Remainder theorem: when P(x) is divided by (x − c), the remainder is P(c); when divided by (ax − b), the remainder is P(b/a).

      📄 Practice questions

      • The book's Exercises 1A to 1F and End-of-chapter review exercise 1 (every question and sub-part) are in the printable assignment for this chapter.
      • It also includes a "Check yourself" set and a printed copy of the chapter quiz below.

      Mini-quiz

      1. Solve |3x − 2| = 7.
      2. Solve |x − 5| = 2x + 1.
      3. What are the coordinates of the vertex of y = 2|x − 3| − 5?
      4. How is the graph of y = f(|x|) obtained from the graph of y = f(x)?
      5. Solve the inequality |2x + 3| < 7.
      6. Solve the inequality |x + 2| ≥ |2x − 1|.
      7. Find the quotient when x³ + 4x² − 7x − 10 is divided by x − 2.
      8. Find the remainder when 2x³ − 3x² + 4x − 5 is divided by x + 2.
      9. Given that x − 3 is a factor of x³ + kx² − 5x + 6, find the value of k.
      10. Find the remainder when 4x³ − 4x² + 3x + 2 is divided by 2x − 1.
      11. When a polynomial P(x) is divided by a quadratic x² − 1, the remainder R(x) has degree:
      12. Solve the cubic equation x³ − 2x² − 5x + 6 = 0.

      Source: Cambridge International AS & A Level Mathematics: Pure Mathematics 2 & 3 Coursebook (Cambridge University Press, Sue Pemberton and Julianne Hughes), Chapter 1 (Algebra). Explanations, extra examples, diagrams, the tool, the simulation, the Try it answers and the quiz are Guru Jazzy's own. This page is not made or endorsed by Cambridge University Press or Cambridge Assessment International Education.