A-level Mathematics6.4 Solving equations of the form a^x = b

All books

6.4 Solving equations of the form a^x = b — Learn

Prerequisites: the laws of logarithms from Section 6.3; solving a quadratic by factorising from Chapter 2; the domain of a logarithm.

By the end of this section you can: solve ax=ba^x = b by taking logarithms; solve an equation where the exponent is a linear expression; solve a quadratic equation in exe^x or axa^x; solve a simple logarithmic equation; and check each answer against the domain.

1. Take logarithms of both sides

To solve ax=ba^x = b, take the logarithm of both sides. The power law then brings the xx down from the exponent, where it can be handled.

Starting from ax=ba^x = b and taking natural logarithms:

xln⁡a=ln⁡b,x=ln⁡bln⁡a.x\ln a = \ln b, \qquad x = \frac{\ln b}{\ln a}.

This is the change-of-base rule in action: x=log⁡abx = \log_a b. Any base of logarithm works, but ln⁡\ln is the usual choice.

Example 1. Solve 3x=203^x = 20, giving xx exactly and to three significant figures.

Take logarithms: xln⁡3=ln⁡20x\ln 3 = \ln 20, so

x=ln⁡20ln⁡3=2.7268…≈2.73.x = \frac{\ln 20}{\ln 3} = 2.7268\ldots \approx 2.73.

Example 2. Solve e2x=7e^{2x} = 7.

The natural logarithm undoes the exponential directly:

2x=ln⁡7,x=ln⁡72≈0.973.2x = \ln 7, \qquad x = \frac{\ln 7}{2} \approx 0.973.

Divide by the coefficient of xx only at the end.

Example 3. Solve 52x−1=305^{2x-1} = 30.

Take logarithms of both sides:

(2x−1)ln⁡5=ln⁡30.(2x - 1)\ln 5 = \ln 30.

Make 2x−12x - 1 the subject, then solve for xx:

2x−1=ln⁡30ln⁡5,x=12(1+ln⁡30ln⁡5)≈1.557.2x - 1 = \frac{\ln 30}{\ln 5}, \qquad x = \frac{1}{2}\left(1 + \frac{\ln 30}{\ln 5}\right) \approx 1.557.

2. An equation that is a quadratic in disguise

When an equation contains both a2xa^{2x} and axa^{x}, write a2x=(ax)2a^{2x} = \left(a^{x}\right)^2 and treat axa^x as a single unknown. Factorise, then solve each exponential equation.

Example 4. Solve e2x−5ex+6=0e^{2x} - 5e^x + 6 = 0.

Let u=exu = e^x. The equation becomes u2−5u+6=0u^2 - 5u + 6 = 0, which factorises:

(u−2)(u−3)=0.(u - 2)(u - 3) = 0.

So ex=2e^x = 2 or ex=3e^x = 3, giving x=ln⁡2≈0.693x = \ln 2 \approx 0.693 or x=ln⁡3≈1.099x = \ln 3 \approx 1.099. Both values are valid, because exe^x is positive for every xx.

Example 5. Solve 22x−5(2x)+4=02^{2x} - 5\left(2^x\right) + 4 = 0.

Write 22x=(2x)22^{2x} = \left(2^x\right)^2 and let u=2xu = 2^x:

u2−5u+4=0,(u−1)(u−4)=0.u^2 - 5u + 4 = 0, \qquad (u - 1)(u - 4) = 0.

So 2x=12^x = 1, giving x=0x = 0, or 2x=42^x = 4, giving x=2x = 2.

3. Solving a logarithmic equation

Reverse the logarithm with its matching exponential. If ln⁡x=c\ln x = c, then x=ecx = e^c. If log⁡ax=c\log_a x = c, then x=acx = a^c. Always check that the answer lies in the domain, because a logarithm needs a positive input.

Example 6. Solve ln⁡(x−2)=1\ln(x - 2) = 1.

The input must be positive, so x>2x > 2. Exponentiate both sides:

x−2=e1=e,x=e+2≈4.72.x - 2 = e^1 = e, \qquad x = e + 2 \approx 4.72.

The answer is greater than 22, so it lies in the domain.

Progress check

Return to the cooling coffee in the chapter problem. Its excess temperature is E=60e−ktE = 60e^{-kt}, and after 1010 minutes the excess temperature is 45∘45^\circC.

  1. Substitute t=10t = 10 and E=45E = 45 to write an equation for kk.
  2. Solve it exactly, and give kk to three significant figures.
  3. Find the exact time for the excess temperature to fall to 15∘15^\circC, and give the time in minutes to one decimal place.
  4. Explain why the second time is longer than the first, even though the second temperature fall is smaller.

You should now be able to

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.