Grade by GradeEssential student suppliesSign in
C. Content · Pre-calculus 12: Transformations, Exponents and Logarithms, Series, Polynomials, Rational Functions and Trigonometry

Solving Exponential and Logarithmic Equations

BC PREC 12: logarithms BC PREC 12: exponentialAbout 75 minutes
Learning goals
  • I can solve exponential equations with different bases, including base e, using logarithms.
  • I can solve logarithmic equations and reject extraneous roots.
  • I can solve problems about growth, decay, pH and earthquake magnitude.

Words to know

take the log of both sides
Apply log (or ln) to both sides of an equation so the power law can bring the exponent down.
extraneous root
A value found by the algebra that does not work in the original equation, such as one that makes a log's argument zero or negative.
argument
The expression inside a logarithm. It must be positive.
doubling time
The time it takes for a growing quantity to double.
pH
A measure of acidity: pH = -log [H+], where [H+] is the hydrogen ion concentration in mol/L.

When the bases do not match

3^x = 20 cannot be written with one base, because 20 is not a power of 3. Instead, take the log of both sides and use the power law:

log 3^x = log 20 → x log 3 = log 20 → x = log 20 / log 3 ≈ 2.727

When the base is e, use ln, because ln e = 1.

xy1231020y = 3^xy = 20x ≈ 2.727
Solving 3^x = 20 graphically: the curve y = 3^x meets the line y = 20 at x ≈ 2.727.
Worked example

Example 1: Variables on both sides

Solve 5^(x + 1) = 2^x to three decimal places.

  1. Take log: (x + 1) log 5 = x log 2.
  2. Expand: x log 5 + log 5 = x log 2.
  3. Collect x: x(log 5 - log 2) = -log 5.
  4. x = -log 5 / (log 5 - log 2) ≈ -0.69897/0.39794 ≈ -1.756.
  5. Check: 5^(-0.756) ≈ 0.296 and 2^(-1.756) ≈ 0.296 ✓

x ≈ -1.756

Worked example

Example 2: Base e

Solve 4e^(0.5x) = 30.

  1. Isolate the power: e^(0.5x) = 7.5.
  2. Take ln: 0.5x = ln 7.5 ≈ 2.0149.
  3. x ≈ 4.030.

x ≈ 4.03

Worked example

Example 3: A logarithmic equation

Solve log_2 x + log_2 (x - 2) = 3.

  1. Restriction: x > 0 and x - 2 > 0, so x > 2.
  2. Product law: log_2 (x(x - 2)) = 3, so x(x - 2) = 2^3 = 8.
  3. x^2 - 2x - 8 = 0, so (x - 4)(x + 2) = 0 and x = 4 or x = -2.
  4. x = -2 breaks the restriction (log_2 (-2) is undefined), so reject it.

x = 4 (x = -2 is extraneous)

Equation typeStrategyExample
Both sides powers of one baseRewrite with the same base; set exponents equal8^x = 32 → 3x = 5
Different basesTake log or ln of both sides; power law3^x = 20
log_c (A) = log_c (B)Set A = B, then check A > 0 and B > 0log_3 (2x + 1) = log_3 (x + 7) → x = 6
log_c (A) = kRewrite as A = c^klog_5 (x + 3) = 2 → x = 22
Sum or difference of logsCondense first, then rewrite; reject extraneous rootsExample 3
Choosing a strategy.
Worked example

Example 4: How long to grow?

Suppose $5000 is invested at 4.5% interest per year, compounded annually (a made-up rate). After how many years will it first reach $8000?

  1. 5000(1.045)^n = 8000, so 1.045^n = 1.6.
  2. n = log 1.6 / log 1.045 ≈ 0.20412/0.01912 ≈ 10.68.
  3. Interest is added only once a year, so the amount first passes $8000 after the 11th year.
  4. Check: 5000(1.045)^10 ≈ $7764.85 and 5000(1.045)^11 ≈ $8114.27 ✓

11 years

Logarithmic scales

Some science uses logs because the numbers cover a huge range.

  • pH: pH = -log [H+]. If [H+] = 3.2 × 10^(-4) mol/L, then pH = -log (3.2 × 10^(-4)) ≈ 3.49. Each drop of 1 in pH means 10 times more hydrogen ions.
  • Earthquake magnitude: on the magnitude scale used in many textbooks, an increase of 1 means 10 times the amplitude of the ground shaking. An earthquake of magnitude 6.4 has 10^(6.4 - 4.2) = 10^2.2 ≈ 158 times the amplitude of one of magnitude 4.2. B.C.'s coast is an active earthquake zone, so this is real-life math here.

Check every log answer

After solving a log equation, put each answer back into the original equation. If any log's argument is zero or negative, reject that answer, even if it came from correct algebra.

Hands-on activity

Half-life with coins

Start with 64 coins. Shake them in a cup, pour them out and remove every coin that lands heads. Count what is left; that is one "half-life". Repeat until fewer than 2 remain. Compare your counts with 64(1/2)^n, then use logs to solve 64(1/2)^n = 3 (n ≈ 4.4). Why does the real experiment not match the model exactly?

Just for fun

Odd fact: the "rule of 72" says money growing at r% a year doubles in about 72/r years. At a made-up rate of 6%, that is about 12 years; logs give the exact answer, log 2 / log 1.06 ≈ 11.9 years. The rule works because ln 2 ≈ 0.69 and a little rounding makes 72 easy to divide.

Your turn

1

Solve 2^x = 50 to three decimal places.

2

Solve 3^(2x) = 7 to three decimal places.

3

Solve e^x = 12.

4

Solve log_5 (x + 3) = 2.

5

Solve log x + log (x - 3) = 1.

6

Carbon-14 has a half-life of about 5730 years. How long until 40% of the original amount is left?

More practice

1

Solve 6^(x - 1) = 4^x to three decimal places.

2

Solve ln (x + 1) = 2.

3

Solve log_2 (x + 6) - log_2 (x - 1) = 3.

4

Find the pH when [H+] = 1.0 × 10^(-7) mol/L.

5

How many times the amplitude does a magnitude 7.0 earthquake have compared with a magnitude 5.0 earthquake?

Check your understanding

Quiz

1.

Solve 4^x = 30 to three decimal places.

2.

Solve log_3 (x - 1) = 2.

3.

Solve log_2 x + log_2 (x + 2) = 3.

4.

What is the solution of e^(2x) = 9?

5.

A solution has [H+] = 1.0 × 10^(-3) mol/L. What is its pH?

For parents and teachers

How to help: Ask your teen which strategy fits before they start: same base, take logs, or rewrite a log in exponential form. Then insist on a check in the original equation.

Common mistakes:

  • Dividing 30 by 4 to solve 4^x = 30.
  • Taking logs before isolating the power (in 4e^(0.5x) = 30, divide by 4 first).
  • Keeping extraneous roots in log equations.
  • Rounding too early; keep full calculator values until the last step.