14.6 Solving Equations Using Logarithms
A-level Maths Year 1 (AS) · Edexcel 9MA0 · Chapter 14: Exponentials and Logarithms
A free A-level Maths Year 1 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: using logarithms to solve equations of the form aˣ = b, including harder forms. Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Solve aˣ = b by taking logarithms, giving exact and decimal answers
- Solve equations where the power is a linear expression, such as 2³ˣ⁻¹ = 50
- Solve equations with different bases, such as 4ˣ = 3ˣ⁺¹
- Solve disguised quadratics such as 2²ˣ − 6(2ˣ) + 8 = 0
- Solve problems that need the smallest whole number n with aⁿ above or below a target
Key words
- Take logs: Apply the same logarithm (usually ln or base 10) to both sides of an equation.
- Exact answer: An answer left in a form such as log₃ 20 or (ln 5)/(ln 2), with no rounding.
- Disguised quadratic: An equation that becomes a quadratic after a substitution such as y = 2ˣ
- Change of base: Writing logₐ b as (log b)/(log a), using logs to any base.
Taking logarithms of both sides
To find the unknown in 3ˣ = 20, you need the power of 3 that gives 20, which is log₃ 20. To get a decimal, take logs of both sides and use the power law to bring x down.
Worked example: a simple equation
Solve 3ˣ = 20, giving your answer to 3 decimal places.
Take logs: log 3ˣ = log 20, so x log 3 = log 20
x = (log 20)/(log 3) = 1.30103.../0.47712... = 2.72683...
Answer: x = log₃ 20 = 2.727 (3 d.p.)
Key fact: If aˣ = b then x = logₐ b = (log b)/(log a) (any base works, for example (ln b)/(ln a)) There is a solution only if b > 0.
Worked example: using the log key
Solve 5ˣ = 40, giving your answer to 3 significant figures.
x = (ln 40)/(ln 5) = 2.2920... (or use the log key with base 5: log₅ 40)
Answer: x = 2.29
When the power is an expression
Treat the whole power as one unknown. Find its value first, then rearrange.
Worked example: a linear power
Solve 2³ˣ⁻¹ = 50, giving your answer to 3 decimal places.
3x − 1 = log₂ 50 = 5.64385...
3x = 6.64385..., so x = 2.21461...
Answer: x = 2.215
Worked example: different bases
Solve 4ˣ = 3ˣ⁺¹, giving your answer to 3 significant figures.
Take logs: x ln 4 = (x + 1) ln 3 = x ln 3 + ln 3
Collect the x terms: x(ln 4 − ln 3) = ln 3, so x = (ln 3)/(ln 4 − ln 3) = 3.8188...
Answer: x = 3.82
Keep ln 4 and ln 3 as they are until the last line. Rounding early can change the third significant figure.
Disguised quadratics
Look for a term like 2²ˣ or 3²ˣ. Since 2²ˣ = (2ˣ)², the substitution y = 2ˣ turns the equation into a quadratic in y. Remember that 2ˣ can never be zero or negative.
Worked example: two solutions
Solve 2²ˣ − 6(2ˣ) + 8 = 0
Let y = 2ˣ: y² − 6y + 8 = 0, so (y − 2)(y − 4) = 0
2ˣ = 2 gives x = 1; 2ˣ = 4 gives x = 2
Answer: x = 1 or x = 2
Worked example: rejecting a negative
Solve 3²ˣ − 3ˣ⁺¹ − 10 = 0, giving your answer to 3 decimal places.
3ˣ⁺¹ = 3 × 3ˣ. Let y = 3ˣ: y² − 3y − 10 = 0, so (y − 5)(y + 2) = 0
3ˣ = −2 has no solution. 3ˣ = 5 gives x = log₃ 5 = 1.46497...
Answer: x = 1.465
Inequalities and "how many years?"
Many problems ask for the smallest whole number n for which aⁿ passes a target. Solve the equation, then round in the direction that makes sense.
Worked example: doubling
£1000 is invested at 5% a year compound interest. After how many whole years will it first be worth more than £2000?
1000 × 1.05ⁿ > 2000, so 1.05ⁿ > 2
n ln 1.05 > ln 2, so n > (ln 2)/(ln 1.05) = 14.20...
Answer: 15 years
Take care: If 0 < a < 1 then ln a < 0. Dividing an inequality by a negative number reverses it. 0.8ⁿ < 0.1 ⇒ n ln 0.8 < ln 0.1 ⇒ n > (ln 0.1)/(ln 0.8) = 10.31..., so n = 11
Common mistakes
- Writing log 3ˣ = log 20 and then x = 20/3. You must divide the logs: x = (log 20)/(log 3).
- Dividing too early: in 2³ˣ⁻¹ = 50, find 3x − 1 first, then add 1 and divide by 3.
- Keeping a solution of 3ˣ = −2. An exponential is always positive, so there is no solution.
- Forgetting to reverse an inequality when dividing by the log of a number between 0 and 1.
Revision questions
Try these, then check your answers below each one.
Question 1. Solve 2ˣ = 13, giving your answer to 3 significant figures.
Answer: 3.70
Working: x = (ln 13)/(ln 2) = 3.7004..., so 3.70.
Question 2. What is the exact solution of 7ˣ = 30? (Choose from: x = log₇ 30; x = log₃₀ 7; x = 30/7; x = (log 7)/(log 30).)
Answer: x = log₇ 30
Working: The power of 7 that gives 30 is log₇ 30.
Question 3. Kai says that the equation 5ˣ = −3 has a solution. Is Kai correct?
Answer: No
Working: 5ˣ > 0 for every value of x, so it can never equal −3. There is no solution.
Related lessons
- Previous lesson: 14.5 Laws of Logarithms
- Next lesson: 14.7 Working with Natural Logarithms
- In this chapter: 14.1 Exponential Functions
- In this chapter: 14.2 y = eˣ
- In this chapter: 14.3 Exponential Modelling
Continue in the full course
This lesson is section 14.6 of our free A-level Maths Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved. Go to the full A-level Maths Year 1 (AS) course.