Exponential equations that become quadratics

Some exponential and logarithmic equations hide a quadratic. A substitution, or changing to one base, brings it out.

Practise this lesson free (6 questions)

Spot the quadratic

22x = (2x)2. So with y = 2x, the equation 22x โˆ’ 6(2x) + 8 = 0 becomes
y2 โˆ’ 6y + 8 = 0, so (y โˆ’ 2)(y โˆ’ 4) = 0 and y = 2 or 4.
2x = 2 gives x = 1; 2x = 4 gives x = 2.
Watch for 2x + 1 = 2 ร— 2x and 4x = (2x)2.

Reject impossible values

ax is always positive. If the quadratic gives 2x = โˆ’3, there is no solution from that root.
Also check the log of a negative number never appears in your answer.

Different bases

log4 x = log2 xlog2 4 = 12log2 x.
log2 x + log4 x = 6 becomes 32log2 x = 6, so log2 x = 4 and x = 16.
For 3x + 1 = 5x, take logs: (x + 1)log 3 = x log 5, so x = log 3(log 5 โˆ’ log 3) = 2.151.
Worked example

Solve 4x โˆ’ 2x + 1 โˆ’ 8 = 0.

  1. Let y = 2x: 4x = y2 and 2x + 1 = 2y.
  2. y2 โˆ’ 2y โˆ’ 8 = 0, so (y โˆ’ 4)(y + 2) = 0.
  3. y = โˆ’2 is impossible. 2x = 4, so x = 2.

Answer: x = 2

Key idea

Look for a2x = (ax)2 and substitute y = ax. Reject negative values of ax. Change logs to one base before combining them.

Quick check

Try two quick questions

See if it has sunk in. Answers are marked straight away.

Extra practice

2 more questions

Try each one, then tap to check.

  1. Solve 4x โˆ’ 2x + 2 โˆ’ 32 = 0.

    Show the answer

    Answer: 3

    Let y = 2x. 4x = y2 and 2x + 2 = 4y, so y2 โˆ’ 4y โˆ’ 32 = 0. y = 8 (y must be positive), so x = 3.

  2. Solve log3 x + log9 x = 6.

    Show the answer

    Answer: 81

    log9 x = log3 x2, so 32 log3 x = 6. log3 x = 4 and x = 81.

Check you have got it

Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.

Video for this lesson coming soon. Subscribe on YouTube

Sources and references

Checked by the GCSE-ready editorial team, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.

Related lessons