IB Math Revision Start free
Extension & competition maths

Intermediate algebra problems (ages 13 to 16)

28 original competition-style problems: equations, sequences, functions and inequalities. Try each one before opening the hints; the second hint gives more away, and the full solution explains why the method works and where the idea leads.

Filter by strategy

Answer a problem to track what you have solved.

For teachers: project, add to a worksheet or set as homework

Press Project on any problem to show it full screen with a timer, the hints, the answer and the worked solution one step at a time (arrow keys move between problems; Space reveals the next step; F full screen; Esc closes). Switch on the ‘Add to worksheet’ buttons, pick problems, then print them from the worksheet builder or set them as homework for a class, with the full solutions as the mark scheme. Free problems are free for every class; problems marked ‘With a plan’ can be set by teachers with a plan or school licence. Ready-made sessions: maths club packs.

Your worksheet basket is empty.Open worksheet builderSet as homework

Problem I22

AlgebraMultiple choice

If x − 1/x = 3, what is the value of x4 + 1/x4?

Hint

Square the equation to find x2 + 1/x2, then square again.

Second hint

(x − 1/x)2 = x2 − 2 + 1/x2, so x2 + 1/x2 = 11.

Full worked solution

Answer: D, 119

  1. Square x − 1/x = 3: x2 − 2 + 1/x2 = 9.
  2. So x2 + 1/x2 = 11.
  3. Square again: x4 + 2 + 1/x4 = 121.
  4. So x4 + 1/x4 = 119 (D).

Why this works: Squaring x ± 1/x always produces a constant cross term (±2), so you can climb to higher powers without ever finding x.

Where it leads: Repeated squaring like this gives x2k + x−2k quickly; a recurrence handles all powers.

Strategy: Spot the pattern and generalise

Problem I23

AlgebraShort answer

The two roots of x2 − 7x + k = 0 differ by 3. What is k?

Hint

The roots add to 7. If they differ by 3, what are they?

Second hint

Roots adding to 7 and differing by 3 are 5 and 2; their product is k.

Full worked solution

Answer: 10

  1. For x2 − 7x + k = 0 the roots add to 7 and multiply to k.
  2. The roots add to 7 and differ by 3, so the larger is (7 + 3)/2 = 5 and the smaller is (7 − 3)/2 = 2.
  3. k = 5 × 2 = 10.
  4. Check: x2 − 7x + 10 = (x − 2)(x − 5). ✓ Answer 10.

Why this works: For x2 − sx + p = 0 the roots add to s and multiply to p. Using these facts is often faster than the quadratic formula.

Where it leads: Vieta’s formulas: for x2 − sx + p, the roots add to s and multiply to p. (Difference)2 = s2 − 4p.

Strategy: Working backwards

Problem I24

AlgebraMultiple choice

f(x) = ax + b with a > 0, and f(f(x)) = 9x + 8 for every x. What is f(2)?

Hint

Work out f(f(x)) in terms of a and b and compare coefficients.

Second hint

f(f(x)) = a(ax + b) + b = a2x + ab + b, so a2 = 9 and ab + b = 8.

Full worked solution

Answer: C, 8

  1. f(f(x)) = a(ax + b) + b = a2x + ab + b.
  2. This equals 9x + 8 for every x, so the coefficients match: a2 = 9 and (a + 1)b = 8.
  3. a > 0, so a = 3, and then 4b = 8, b = 2.
  4. So f(x) = 3x + 2. Check: f(f(x)) = 3(3x + 2) + 2 = 9x + 8. ✓
  5. f(2) = 6 + 2 = 8 (C).

Why this works: Two polynomials that agree for every x have the same coefficients, so one identity gives several equations.

Where it leads: With a < 0 there is another solution, f(x) = −3x − 4. Functional square roots of linear maps come in pairs.

Strategy: Working backwards

Problem I25

AlgebraMultiple choice

Solve √(x + 7) = x − 5.

Hint

Square both sides — then check every answer in the original equation.

Second hint

Squaring gives x + 7 = x2 − 10x + 25. Solve, then test both roots.

Full worked solution

Answer: B, x = 9

  1. Square both sides: x + 7 = (x − 5)2 = x2 − 10x + 25.
  2. Rearrange: x2 − 11x + 18 = 0, i.e. (x − 2)(x − 9) = 0, so x = 2 or x = 9.
  3. Squaring can add false solutions, so check both in the original equation.
  4. x = 9: √16 = 4 and 9 − 5 = 4. ✓
  5. x = 2: √9 = 3 but 2 − 5 = −3. ✗ (A square root is never negative.)
  6. Only x = 9 (B).

Why this works: Squaring can create false solutions, because a = b and a = −b square to the same thing. A square root is never negative, so the right side must be ≥ 0.

Where it leads: Squaring can introduce false solutions, because √ is never negative; always check in the original equation.

Strategy: Organised cases

Problem I26

AlgebraShort answer

In an arithmetic sequence, the sum of the first 10 terms is 150 and the sum of the first 20 terms is 500. What is the sum of terms 21 to 30?

Hint

Compare the sum of terms 1–10 with the sum of terms 11–20. Blocks of ten go up by a fixed amount.

Second hint

The block sums 150, 350 go up by 200 each time (each term in the next block is 10d bigger).

Full worked solution

Answer: 550

  1. Let the first term be a and the common difference d. Sum of the first n terms: Sn = (n/2)(2a + (n − 1)d).
  2. Terms 11–20 add to S20 − S10 = 500 − 150 = 350.
  3. Each term in a block of ten is 10d bigger than the matching term ten places earlier, so each block’s sum is 100d bigger than the one before.
  4. 350 − 150 = 100d, so 100d = 200 (d = 2, and from S10 = 150, a = 6).
  5. Terms 21–30: 350 + 200 = 550. (Check: S30 = 15(12 + 58) = 1050 = 500 + 550.)

Why this works: Consecutive equal-length blocks of an arithmetic sequence form another arithmetic sequence. Seeing the structure saves solving for the first term at all.

Where it leads: Sums of consecutive blocks of an arithmetic sequence form another arithmetic sequence, with common difference (block length)2 × d.

Strategy: Spot the pattern and generalise

Problem I27

AlgebraMultiple choice

Positive numbers x and y satisfy 2x + 3y = 24. What is the largest possible value of xy?

Hint

The product (2x)(3y) is largest when 2x and 3y are equal.

Second hint

Let u = 2x and v = 3y with u + v = 24. uv is largest when u = v = 12.

Full worked solution

Answer: D, 24

  1. Let u = 2x and v = 3y. Then u + v = 24 and xy = uv/6.
  2. For a fixed sum, a product is largest when the two parts are equal (AM–GM: uv ≤ ((u + v)/2)2 = 144).
  3. So uv ≤ 144, with equality when u = v = 12.
  4. Then x = 6, y = 4, and xy = 144/6 = 24.
  5. The largest value of xy is 24 (D).

Why this works: For a fixed sum, a product is largest when the parts are equal. Choosing parts (2x and 3y) whose sum is fixed makes the idea apply.

Where it leads: For a fixed sum, a product is largest when the parts are equal: the AM–GM inequality.

Strategy: Extremal principle

Problem I28

AlgebraShort answer

How many whole numbers x satisfy |x − 3| + |x + 2| < 11?

Hint

|x − 3| + |x + 2| is the total distance from x to 3 and to −2 on the number line.

Second hint

Between −2 and 3 the total distance is 5. Outside, it grows by 2 for each unit you move away.

Full worked solution

Answer: 10

  1. |x − 3| + |x + 2| is the distance from x to 3 plus the distance from x to −2 on the number line.
  2. For −2 ≤ x ≤ 3 the two distances add to exactly 5, which is less than 11: x = −2, −1, 0, 1, 2, 3 all work (6 numbers).
  3. For x > 3: (x − 3) + (x + 2) = 2x − 1 < 11 gives x < 6: x = 4, 5.
  4. For x < −2: (3 − x) + (−2 − x) = 1 − 2x < 11 gives x > −5: x = −4, −3.
  5. Total: 6 + 2 + 2 = 10 whole numbers (−4 to 5).

Why this works: Reading |x − a| as a distance turns the inequality into a picture: the sum of distances to two points is constant between them and grows by 2 per step outside.

Where it leads: Thinking of |x − a| as distance on a number line turns absolute-value inequalities into pictures.

Strategy: Organised cases

Problem I104

AlgebraShort answer

x + y = 7 and x2 + y2 = 29. What is x3 + y3?

Hint

Find xy first, using (x + y)2.

Second hint

xy = 10. Then x3 + y3 = (x + y)3 − 3xy(x + y).

Full worked solution

Answer: 133

  1. (x + y)2 = x2 + y2 + 2xy, so 49 = 29 + 2xy and xy = 10.
  2. (x + y)3 = x3 + y3 + 3xy(x + y), so x3 + y3 = 343 − 3 × 10 × 7.
  3. = 343 − 210 = 133. (Check: x, y = 2, 5 gives 8 + 125 = 133.)

Why this works: Symmetric expressions can be built from the sum and the product, so you never need x and y individually.

Where it leads: Newton’s identities give xn + yn from x + y and xy for every n, through the recurrence pn = (x + y)pn−1 − xy pn−2.

Strategy: Symmetry

Problem I105

AlgebraShort answer

Solve 2x + 3 = 4x − 1.

Hint

Write 4 as a power of 2.

Second hint

4x − 1 = 22x − 2.

Full worked solution

Answer: x = 5

  1. 4x − 1 = (22)x − 1 = 22x − 2.
  2. So 2x + 3 = 22x − 2, and the powers must be equal: x + 3 = 2x − 2.
  3. x = 5. Check: 28 = 256 = 44. ✓

Why this works: Writing both sides with the same base turns an equation in powers into an equation in exponents.

Where it leads: When the bases cannot be matched (2x = 3), logarithms do the same job: x = log 3 / log 2.

Strategy: Working backwards

Problem I106

AlgebraShort answer

What is the sum 7 + 11 + 15 + 19 + … + 99?

Hint

How many terms are there?

Second hint

The terms go up by 4 from 7 to 99: (99 − 7)/4 + 1 terms.

Full worked solution

Answer: 1272

  1. Number of terms: (99 − 7)/4 + 1 = 23 + 1 = 24.
  2. Pair the first and last, second and second-last, …: each pair sums to 7 + 99 = 106, and there are 12 pairs.
  3. Sum = 12 × 106 = 1272.

Why this works: An arithmetic sequence pairs up from the two ends into equal sums, giving (number of terms) × (first + last)/2.

Where it leads: The ‘+ 1’ when counting terms is the fence-post rule again. Sums of arithmetic sequences also give the area of a trapezium.

Strategy: Symmetry

Problem I107

AlgebraMultiple choice

In a geometric sequence of real numbers, the 3rd term is 12 and the 6th term is 96. What is the first term?

Hint

Going from the 3rd term to the 6th multiplies by r three times.

Second hint

r3 = 96/12 = 8.

Full worked solution

Answer: C, 3

  1. From the 3rd term to the 6th you multiply by r three times: r3 = 96/12 = 8, so r = 2 (the only real cube root).
  2. The 3rd term is ar2 = 4a = 12, so a = 3.
  3. The first term is 3 (C): 3, 6, 12, 24, 48, 96.

Why this works: Dividing two terms cancels the first term and leaves a power of the ratio.

Where it leads: With complex numbers, r3 = 8 has two more solutions, 2ω and 2ω2, giving complex geometric sequences with the same 3rd and 6th terms.

Strategy: Working backwards

Problem I108

AlgebraShort answer

For how many whole numbers k with −10 ≤ k ≤ 10 does the equation x2 + kx + 9 = 0 have two different real solutions?

Hint

Use the discriminant.

Second hint

Two different real roots need k2 − 36 > 0.

Full worked solution

Answer: 8

  1. Two different real roots exactly when the discriminant k2 − 4 × 9 is positive: k2 > 36.
  2. So |k| > 6: k = 7, 8, 9, 10 or −7, −8, −9, −10.
  3. That is 8 values.

Why this works: The discriminant b2 − 4ac decides the number of real roots without solving the equation.

Where it leads: At k = ±6 the roots coincide (x = ∓3): the parabola just touches the x-axis. Tangency problems often reduce to ‘discriminant = 0’.

Strategy: Organised cases

Problem I109

AlgebraShort answer

What is the value of (x2 − 9)/(x2 + x − 6) when x = 102?

Hint

Factorise the top and the bottom before substituting.

Second hint

x2 − 9 = (x − 3)(x + 3) and x2 + x − 6 = (x + 3)(x − 2).

Full worked solution

Answer: 99/100

  1. Factorise: (x − 3)(x + 3) / ((x + 3)(x − 2)) = (x − 3)/(x − 2), for x ≠ −3.
  2. At x = 102: 99/100.
  3. The value is 99/100.

Why this works: Cancelling a common factor before substituting avoids big arithmetic.

Where it leads: The simplified form (x − 3)/(x − 2) is not defined at x = 2, and the original is also undefined at x = −3: cancelling can hide a ‘hole’ in a graph.

Strategy: Spot the pattern and generalise

Problem I110

AlgebraMultiple choice

f(x) = 2x + 1 and g(x) = x2. What is the sum of all the values of x for which f(g(x)) = g(f(x))?

Hint

Write out both sides: f(g(x)) and g(f(x)).

Second hint

2x2 + 1 = (2x + 1)2.

Full worked solution

Answer: B, −2

  1. f(g(x)) = 2x2 + 1 and g(f(x)) = (2x + 1)2 = 4x2 + 4x + 1.
  2. Setting them equal: 2x2 + 4x = 0, so 2x(x + 2) = 0, giving x = 0 or x = −2.
  3. The sum is −2 (B).

Why this works: Composite functions are applied inside-out; once written out, the equation is an ordinary quadratic.

Where it leads: f(g(x)) and g(f(x)) are usually different: composition is not commutative. Pairs of functions that do commute are rare and interesting.

Strategy: Organised cases

Problem I111

AlgebraShort answer

What is (√5 + √3)2 + (√5 − √3)2?

Hint

Expand both squares. What happens to the middle terms?

Second hint

The cross terms ±2√15 cancel.

Full worked solution

Answer: 16

  1. (√5 + √3)2 = 5 + 2√15 + 3 = 8 + 2√15.
  2. (√5 − √3)2 = 8 − 2√15.
  3. Sum: 16.

Why this works: (a + b)2 + (a − b)2 = 2(a2 + b2): the cross terms always cancel.

Where it leads: The same identity is the parallelogram law: the squares of the diagonals of a parallelogram add up to the sum of the squares of its four sides.

Strategy: Symmetry

Problem I112

AlgebraShort answer

3a = 5 and 5b = 9. What is the value of ab?

Hint

Substitute the first equation into the second.

Second hint

9 = 5b = (3a)b = 3ab.

Full worked solution

Answer: 2

  1. Replace 5 by 3a in the second equation: (3a)b = 9.
  2. So 3ab = 32.
  3. ab = 2.

Why this works: Substituting one exponential into another multiplies the exponents, which is exactly the product we want.

Where it leads: In log form, a = log3 5 and b = log5 9, and ab = log3 9 = 2: the change-of-base rule log3 5 × log5 9 = log3 9.

Strategy: Working backwards

Problem I113

AlgebraMultiple choice

What is (1 − 1/22)(1 − 1/32)(1 − 1/42) … (1 − 1/102)?

Hint

Factorise 1 − 1/n2 as a difference of squares.

Second hint

1 − 1/n2 = (n − 1)/n × (n + 1)/n.

Full worked solution

Answer: B, 11/20

  1. 1 − 1/n2 = (n − 1)(n + 1)/n2 = (n − 1)/n × (n + 1)/n.
  2. The product of the (n − 1)/n factors from n = 2 to 10 telescopes to 1/10. The product of the (n + 1)/n factors telescopes to 11/2.
  3. Total: 1/10 × 11/2 = 11/20 (B).

Why this works: Factorising each term into two fractions makes both products telescope.

Where it leads: Continuing to infinity, the product tends to 1/2. Infinite products like this (and Euler’s product for sin x) are a powerful tool in analysis.

Strategy: Spot the pattern and generalise

Problem I114

AlgebraShort answer

What is the sum of all the solutions of |2x − 5| = 7?

Hint

|A| = 7 means A = 7 or A = −7.

Second hint

2x − 5 = 7 or 2x − 5 = −7.

Full worked solution

Answer: 5

  1. 2x − 5 = 7 gives x = 6.
  2. 2x − 5 = −7 gives x = −1.
  3. The sum is 6 + (−1) = 5.

Why this works: Absolute value measures distance, so |2x − 5| = 7 has a solution on each side of x = 2.5; they are symmetric about 2.5, so they add to 5.

Where it leads: Thinking of |x − a| as the distance from a solves harder problems quickly, like minimising |x − 1| + |x − 4| + |x − 9| (answer: at the median, x = 4).

Strategy: Symmetry, Organised cases

Problem I115

AlgebraShort answer

x and y are positive numbers with x2 − y2 = 40 and x − y = 4. What is x?

Hint

Factorise x2 − y2.

Second hint

(x − y)(x + y) = 40, so x + y = 10.

Full worked solution

Answer: 7

  1. x2 − y2 = (x − y)(x + y) = 40, so 4(x + y) = 40 and x + y = 10.
  2. Adding x + y = 10 and x − y = 4: 2x = 14.
  3. x = 7 (and y = 3).

Why this works: The difference of two squares links the given difference to the sum, turning a quadratic system into a linear one.

Where it leads: This is how Fermat factorised numbers: write n = x2 − y2 = (x − y)(x + y), searching x upwards from √n.

Strategy: Symmetry

Problem I116

AlgebraMultiple choice

f(x) = 1/(1 − x). What is f(f(f(5)))?

Hint

Just compute step by step.

Second hint

f(5) = −1/4. Then f(−1/4) = 4/5.

Full worked solution

Answer: C, 5

  1. f(5) = 1/(1 − 5) = −1/4.
  2. f(−1/4) = 1/(1 + 1/4) = 4/5.
  3. f(4/5) = 1/(1 − 4/5) = 5 (C).

Why this works: Applying f three times returns to the start. In fact f(f(f(x))) = x for every x where it is defined.

Where it leads: Functions with f(n) = identity have finite order. 1/(1 − x) permutes the three points 0, 1 and ∞ of the projective line.

Strategy: Spot the pattern and generalise

Problem I117

AlgebraShort answer

How many whole numbers x satisfy (x − 2)(x − 9) < 0?

Hint

A product of two numbers is negative when they have opposite signs.

Second hint

x − 2 > 0 and x − 9 < 0, so 2 < x < 9.

Full worked solution

Answer: 6

  1. The product is negative when exactly one factor is negative.
  2. x − 2 < 0 and x − 9 > 0 is impossible; so x − 2 > 0 and x − 9 < 0: 2 < x < 9.
  3. Whole numbers: 3, 4, 5, 6, 7, 8: 6.

Why this works: The sign of a product changes only where a factor is zero, so the roots split the number line into intervals of constant sign.

Where it leads: A sign table at the roots solves any polynomial inequality. For a quadratic with positive x2 coefficient, ‘< 0’ is always the interval between the roots.

Strategy: Organised cases

Problem I118

AlgebraShort answer

What is 1 + 2 + 4 + 8 + … + 210?

Hint

Add 1 to the sum and watch what happens.

Second hint

1 + 1 = 2, 2 + 2 = 4, 4 + 4 = 8, …

Full worked solution

Answer: 2047

  1. Call the sum S. Then S + 1 = 1 + 1 + 2 + 4 + … + 210.
  2. The first two terms make 2, which with the next makes 4, then 8, …, finally 210 + 210 = 211.
  3. So S = 211 − 1 = 2047.

Why this works: Adding 1 makes the terms snowball, each doubling the last: the sum of powers of 2 is one less than the next power.

Where it leads: In binary, 2047 is 11111111111 (eleven 1s), and adding 1 carries all the way to 100000000000. The general formula is a(rn − 1)/(r − 1).

Strategy: Spot the pattern and generalise

Problem I119

AlgebraMultiple choice

Pipe A fills a tank in 3 hours and pipe B fills it in 6 hours. How long do the two pipes take to fill it together?

Hint

What fraction of the tank does each pipe fill in one hour?

Second hint

A fills 1/3 per hour and B fills 1/6 per hour.

Full worked solution

Answer: B, 2 hours

  1. A fills 1/3 of the tank per hour; B fills 1/6.
  2. Together: 1/3 + 1/6 = 1/2 of the tank per hour.
  3. So the tank takes 2 hours (B).

Why this works: Rates (tanks per hour) add; times do not. Convert to rates, add, then convert back.

Where it leads: The combined time is 1/(1/a + 1/b) = ab/(a + b), half the harmonic mean, the same algebra as resistors in parallel.

Strategy: Working backwards

Problem I120

AlgebraShort answer

a/b = 3/4 and b/c = 2/5. What is (a + b)/c?

Hint

Write a and b in terms of c.

Second hint

b = 2c/5 and a = 3b/4 = 3c/10.

Full worked solution

Answer: 7/10

  1. b = (2/5)c, and a = (3/4)b = (3/4)(2/5)c = (3/10)c.
  2. a + b = (3/10)c + (4/10)c = (7/10)c.
  3. So (a + b)/c = 7/10.

Why this works: Expressing everything in terms of one quantity lets the ratios combine.

Where it leads: Chained ratios are the same as multiplying fractions: a/c = (a/b)(b/c). This is the idea behind units cancelling in physics.

Strategy: Working backwards

Problem I121

AlgebraShort answer

How many real solutions does the equation x4 − 5x2 + 4 = 0 have?

Hint

Treat it as a quadratic in x2.

Second hint

Put u = x2: u2 − 5u + 4 = (u − 1)(u − 4).

Full worked solution

Answer: 4

  1. Let u = x2: u2 − 5u + 4 = 0, so (u − 1)(u − 4) = 0 and u = 1 or 4.
  2. x2 = 1 gives x = ±1; x2 = 4 gives x = ±2.
  3. So there are 4 real solutions.

Why this works: A substitution reveals a hidden quadratic; each positive value of u gives two values of x.

Where it leads: If one value of u had been negative, it would give no real x. Counting real roots of equations like this is the first step towards Descartes’ rule of signs.

Strategy: Organised cases

Problem I122

AlgebraMultiple choice

What is 20262 − 20252?

Hint

Use the difference of two squares.

Second hint

a2 − b2 = (a − b)(a + b).

Full worked solution

Answer: D, 4051

  1. 20262 − 20252 = (2026 − 2025)(2026 + 2025).
  2. = 1 × 4051.
  3. = 4051 (D).

Why this works: Factorising first replaces two large squarings with one easy multiplication.

Where it leads: Consecutive squares differ by consecutive odd numbers, which is why 1 + 3 + 5 + … + (2n − 1) = n2.

Strategy: Spot the pattern and generalise

Problem I123

AlgebraShort answer

A sequence has u1 = 4 and un+1 = 2un − 3. What is u10?

Hint

Look at un − 3.

Second hint

If vn = un − 3, then vn+1 = 2vn.

Full worked solution

Answer: 515

  1. Let vn = un − 3. Then vn+1 = un+1 − 3 = 2un − 6 = 2vn.
  2. v1 = 1, so vn = 2n−1 and v10 = 512.
  3. u10 = 512 + 3 = 515.

Why this works: Shifting by the fixed point (3, where u = 2u − 3) turns the recurrence into a plain geometric sequence.

Where it leads: Every recurrence un+1 = aun + b with a ≠ 1 can be solved this way, shifting by b/(1 − a). It models loans, cooling and populations.

Strategy: Spot the pattern and generalise, Invariants

Problem I124

AlgebraShort answer

The straight line through (2, 3) and (5, 9) crosses the x-axis at (p, 0). What is p?

Hint

Find the gradient first.

Second hint

The gradient is (9 − 3)/(5 − 2) = 2. Go down 3 from (2, 3).

Full worked solution

Answer: 1/2

  1. Gradient = (9 − 3)/(5 − 2) = 2.
  2. From (2, 3), to drop by 3 to the x-axis you move 3/2 to the left.
  3. p = 2 − 3/2 = 1/2. (Equation: y = 2x − 1.)

Why this works: The gradient tells you how far to move across for each unit down, so the intercept follows without writing the full equation.

Where it leads: The x-intercept of y = mx + c is −c/m. Newton’s method for solving equations repeatedly finds where a tangent line crosses the x-axis.

Strategy: Working backwards

Keep going

More Intermediate problems: Number theory · Combinatorics · Geometry · Probability · Logic

Algebra at other levels: Junior (ages 11 to 13) · Senior (ages 16 to 18) · Olympiad-style (ages 15 to 18)

Problem-solving strategies · Where next · Extension & competition maths