βš™οΈ Function Kingdom Β· Functions

Exponential & Logarithmic Equations

Solve for an exponent by taking a logarithm and for a logarithm by rewriting in exponential form, check every answer against the domain, and use the method on doubling times, pH, decibels and radioactive dating.

In short

  • If both sides can be written as powers of one base, set the exponents equal β€” and remember that rewriting a base multiplies the whole exponent, brackets and all.
  • Otherwise take a logarithm of both sides: the power law turns the exponent into a coefficient, giving x = ln(A) / ln(b), a quotient of logarithms and never a difference.
  • Isolate before you undo: divide off anything multiplying an exponential, and get a logarithm alone before rewriting it in exponential form.
  • log_b(A) = c and bc = A say the same thing; a logarithm is an exponent, so it is undone by raising the base.
  • Condensing several logarithms into one widens the domain, so every candidate must be tested in the ORIGINAL equation: every argument has to come out strictly positive.
  • Time questions all have the same shape β€” divide, take ln, divide by the rate β€” and doubling time ln(2)/k does not depend on the starting amount.

Two ways to get at an exponent

Doctor Kelvin keeps two tools on the bench at Exponential Frost, and the first thing to learn is which one to pick up.

Tool one: match the bases. If both sides of the equation can be written as powers of the *same* base, you are already finished, because a power function never gives two different exponents the same value. So

2x = 32 becomes 2x = 25, giving x = 5

and once the bases agree you simply set the exponents equal. This works far more often than students expect, because the numbers in a question are usually chosen kindly:

9x = 27 -> (32)x = 33 -> 32x = 33 -> 2x = 3, x = 3/2 (1/4)x = 8 -> 2-2x = 23 -> -2x = 3, x = -3/2 5^(2x - 1) = 125 -> 2x - 1 = 3, x = 2

Notice what rewriting a base does: 9x is (32)x = 32x, so the inner power multiplies the whole exponent, brackets and all. That is the single step people drop.

Tool two: take a logarithm of both sides. When the two sides cannot be made into powers of one base β€” 3x = 20 is the classic β€” no amount of staring helps. Take a logarithm instead. Any base works; ln is the usual choice because every calculator has it.

3x = 20 ln(3x) = ln(20) x * ln(3) = ln(20) (the power law brings x down) x = ln(20) / ln(3) = 2.727

That middle line is the whole trick of the topic: the power law turns an exponent into a coefficient, and a coefficient can be divided away.

Two warnings, both about the last line. It is a quotient of logarithms, ln(20) / ln(3), not ln(20) - ln(3) β€” that would be ln(20/3), a completely different number. And if anything is multiplying the power, isolate it first: 5 * 2x = 80 becomes 2x = 16 before you touch the exponent, and then it turns out you did not need a logarithm at all, since x = 4.

Undoing a logarithm: rewrite it

Now turn the equation around. When the unknown is *inside* the logarithm, the move is to rewrite the equation in exponential form β€” the same statement, said the other way.

log_b(A) = c means exactly bc = A

Read that as "the logarithm IS the exponent". So log_2(x) = 5 says "2 to the power 5 gives x", and x = 32. The commonest slip is to multiply instead: 2 * 5 = 10 is not it, and neither is 52. The base stays the base.

Once you can flip the statement, everything else is ordinary equation solving.

log_2(x - 3) = 4 -> x - 3 = 24 = 16 -> x = 19 ln(x) = 2 -> x = e2 = 7.389 log(2x + 1) = 2 -> 2x + 1 = 100 -> x = 99/2

Two conventions to keep straight. A logarithm written with no base at all is base 10 β€” log(1000) = 3. And ln means base e, so ln(x) = 2 gives e2, never 102.

Isolate the logarithm before you rewrite. If there is a coefficient or a constant hanging around, deal with it first, exactly as you would for any other equation:

3 * log_2(x - 5) + 4 = 16 3 * log_2(x - 5) = 12 (take the 4 off) log_2(x - 5) = 4 (divide by 3) x - 5 = 24 = 16 (now rewrite) x = 21

Rewriting too early is what turns a small question into a monster: raising a base to the power 12 instead of 4 is not a rounding difference, it is a different planet.

Condense first, then check the domain

Some equations arrive with two or three logarithms in them. They cannot be rewritten one at a time β€” you have to condense them into a single logarithm first, using the laws from the last lesson:

  • log_b(A) + log_b(B) = log_b(A * B) β€” the arguments multiply.
  • log_b(A) - log_b(B) = log_b(A / B) β€” the arguments divide.
  • n * log_b(A) = log_b(An) β€” a coefficient becomes a power.

Then either rewrite in exponential form, or, if both sides are single logarithms with the same base, just match the arguments (log_b(A) = log_b(B) gives A = B, because a logarithm is one-to-one).

log_2(x) + log_2(x - 2) = 3 log_2(x(x - 2)) = 3 (product law: multiply, do NOT add) x(x - 2) = 23 = 8 (exponential form) x2 - 2x - 8 = 0 (x - 4)(x + 2) = 0 so x = 4 or x = -2

Here is where the topic earns its reputation. x = -2 is not a solution. Put it back into the original equation and it asks for log_2(-2), and no power of 2 is ever negative, so that logarithm has no value at all. The candidate is extraneous β€” it exists only because condensing two logarithms into one quietly widened the domain. The answer is x = 4, alone.

So the last line of every one of these questions is a domain check: every argument of every logarithm, tested on the original equation, must come out strictly positive. Zero is not allowed either β€” log_b(0) has no value.

That check is also a question in its own right. log_2(x - 5) is defined exactly when x - 5 > 0, that is x > 5 β€” strictly greater, because at x = 5 the argument is 0. And an equation can lose *every* candidate: log_2(x) - log_2(x - 4) = -1 condenses to x/(x - 4) = 1/2, which gives x = -4, which the domain rejects. That equation has no solution, and saying so is the correct answer.

How long, and how loud

The reason anyone learned any of this: the unknown that sits in an exponent is almost always time.

Time to reach an amount. A herd of 500 grows 4% a year. When does it reach 800?

500 * 1.04t = 800 1.04t = 1.6 (divide first β€” always) t * ln(1.04) = ln(1.6) t = ln(1.6) / ln(1.04) = 12.0 years

If the question asks "after how many whole years does it first pass 800", round that answer up, never to the nearest: the herd is still short of the target for the whole of the year it crosses in.

Doubling time and half-life. With continuous growth A(t) = A0 * ekt, the starting amount divides out and never matters:

A0 * ekt = 2 * A0 -> ekt = 2 -> t = ln(2) / k

so a colony growing continuously at 5% per hour doubles in ln(2) / 0.05 = 13.9 hours. Half-life is the same sum with 0.5 in place of 2, and if you are only given two readings, find k first: 200 grams falling to 150 grams in 30 years gives k = ln(150/200) / 30, and then the half-life is ln(0.5) / k = 72.3 years.

The named scales. Three of the world's measuring scales are logarithms, which is why each of them hides a power of ten.

  • Richter, M = log(I / I0). Rearranged, I = I0 * 10M, so two tremors three whole magnitudes apart differ in intensity by 103 = 1000 times, not by 3.
  • Decibels, L = 10 * log(I / I0), so I = I0 * 10L/10 and a sound 30 dB louder is 103 = 1000 times as intense.
  • pH, pH = -log(H), where H is the hydrogen ion concentration. A concentration of 10-4 moles per litre gives pH 4 β€” the minus sign in the formula is what makes pH a friendly positive number.

Cooling and dating work the same way: set the model equal to the value you want, peel off anything added on (the room temperature in Newton's cooling law lives *outside* the exponential term, so subtract it before dividing), take ln, and divide by the rate.

Typing your answer here

Doctor Kelvin marks by value, but the form matters, and every prompt says which form it wants.

Exact answers. When the bases match, or a logarithm rewrites to a whole power, the answer is exact β€” type it as an integer or a fraction in lowest terms: 5, -6, 3/2, -3/2, 99/2. Do not turn 3/2 into 1.5 when the prompt asked for a fraction, and never leave 6/4 unsimplified.

Calculator answers. When the answer runs on forever, the prompt says "rounded to 3 decimal places": type 2.727, not ln(20)/ln(3) and not 2.73. Keep the full decimal in your calculator until the very last line β€” rounding ln(20) to 3.0 before dividing will move the answer far more than you expect.

Times. A time is usually "rounded to 1 decimal place" β€” 13.9, 72.3 β€” and the unit is written in the prompt, so you can type just the number. When the prompt asks for whole years, give the whole number you get by rounding up: 8, not 7 and not 7.5.

Questions with options. Anything that is not a single number arrives as a multiple choice, because a general base like log_2 cannot be typed into the answer box and neither can an inequality. That covers "which candidate must be rejected, and why", "how many solutions does this have", and "for which x is this defined" (answers like x > 5). Pick the option; you are not expected to type the inequality.

One last habit. Before you send an answer to a condensed equation, put it back into the equation you were given β€” not into the quadratic you made β€” and check that every logarithm is being handed a positive number. That thirty-second check is the difference between the right answer and a right-looking one.

Worked examples

Example 1

Solve 9x + 1 = 27x exactly.

  1. Look for a common base: 9 = 32 and 27 = 33, so both sides can be written as powers of 3.
  2. Rewrite each side, remembering that the inner power multiplies the whole exponent: 32(x + 1) = 33x.
  3. Expand the left exponent: 32x + 2 = 33x.
  4. Equal powers of the same base need equal exponents: 2x + 2 = 3x.
  5. Collect: 2 = x, so x = 2. No logarithm was needed at all.

Example 2

Solve 5 * 2x = 96, giving x to 3 decimal places.

  1. Isolate the power first β€” the 5 multiplies the whole of 2x: 2x = 96 / 5 = 19.2.
  2. 19.2 is not a power of 2, so the bases will never match; take a logarithm of both sides.
  3. ln(2x) = ln(19.2), and the power law brings x down: x * ln(2) = ln(19.2).
  4. x = ln(19.2) / ln(2). That is a quotient of two logarithms, not ln(19.2) - ln(2).
  5. ln(19.2) = 2.95491 and ln(2) = 0.69315, so x = 4.263 to 3 decimal places.

Example 3

Solve log_3(x) + log_3(x - 6) = 3.

  1. Two logarithms with the same base, so condense with the product law: log_3(x(x - 6)) = 3. The arguments multiply.
  2. Rewrite in exponential form: x(x - 6) = 33 = 27.
  3. Expand and set to zero: x2 - 6x - 27 = 0, which factors as (x - 9)(x + 3) = 0.
  4. The candidates are x = 9 and x = -3.
  5. Check them in the ORIGINAL equation. x = 9 gives log_3(9) + log_3(3), both fine. x = -3 asks for log_3(-3), and a logarithm of a negative number has no value.
  6. So x = -3 is extraneous and the solution is x = 9.

Example 4

A frost-lichen patch covers 400 square metres and spreads by 6% each year. After how many whole years does it first cover more than 700 square metres?

  1. Write the model: A(t) = 400 * 1.06t, with t in years.
  2. Set it equal to the target and divide first: 1.06t = 700 / 400 = 1.75.
  3. Take logarithms of both sides: t * ln(1.06) = ln(1.75).
  4. t = ln(1.75) / ln(1.06) = 0.55962 / 0.05827 = 9.6 years.
  5. The question asks for whole years and the patch is still under 700 for all of year 9, so round up: the answer is 10 years.

Practice problems, with solutions

Three problems of increasing difficulty, each with the full working. In the game these are generated fresh every time; these three are fixed so this page always shows the same ones.

Problem 1

Difficulty 1 of 5

Solve for x: 3x = 9. Give the exact value of x.

Answer: 2

  1. 9 is a power of 3: 9 = 32.
  2. So 3x = 32, and equal powers of the same base need equal exponents.
  3. x = 2.

Problem 2

Difficulty 3 of 5

Solve for x: 2 * 5x = 76. Give x as a decimal rounded to 3 decimal places.

Answer: 2.26

  1. Divide both sides by 2: 5x = 38.
  2. Take logarithms: x * ln(5) = ln(38).
  3. x = ln(38) / ln(5) = 2.26.

Problem 3

Difficulty 4 of 5

Solve for x: ln(x) = 4. Give x as a decimal rounded to 3 decimal places.

Answer: 54.598

  1. ln(x) = 4 means x = e4.
  2. e4 = 54.5981.
  3. x = 54.598.

Common mistakes

  • Dividing by the base instead of taking a logarithm: writing 3x = 20 as x = 20/3. Dividing removes one factor; only a logarithm counts them all.
  • Writing ln(20) - ln(3) where ln(20) / ln(3) is meant. The first is the logarithm of a quotient; the answer needs a quotient of logarithms.
  • Taking the logarithm before isolating the power, so 5 * 2x = 80 turns into log_2(80) instead of log_2(16).
  • Keeping the extraneous root: solving the quadratic from a condensed equation and reporting both candidates, when one of them makes an argument negative or zero.
  • Splitting the logarithm of a sum: treating log(x) + log(x - 2) as log(2x - 2). Sums of logarithms condense to a product, not to a sum inside one logarithm.
  • Rewriting only one side, or forgetting that a coefficient on the logarithm must be divided away first, so log_2(x - 5) = 4 becomes 212 rather than 24.
  • Rounding in the middle of the calculation, or giving a rounded decimal where the prompt asked for an exact fraction such as 3/2.

What you should be able to do

  • Solve an exponential equation by matching bases or by taking a logarithm of both sides.
  • Solve a logarithmic equation by rewriting it in exponential form or by condensing first.
  • Reject a solution that makes the argument of a logarithm zero or negative.
  • Find the time for an exponential model to reach a given amount.

Where this fits in the curriculum

Common Core

  • HSF-LE.A.4

    High school β€” For exponential models, express as a logarithm the solution to ab^(ct) = d where a, c and d are numbers and the base b is 2, 10 or e; evaluate the logarithm using technology.

  • HSA-REI.D.11

    High school β€” Explain why the x-coordinates of the points where the graphs of y = f(x) and y = g(x) intersect are the solutions of f(x) = g(x); find the solutions approximately, including cases where f(x) and/or g(x) are exponential or logarithmic functions.

  • HSF-BF.B.5

    High school β€” Understand the inverse relationship between exponents and logarithms and use this relationship to solve problems involving logarithms and exponents.

    HSF-BF.B.5 is a (+) standard β€” beyond the college- and career-ready threshold, i.e. precalculus rather than Algebra II.

  • HSF-IF.C.7.E

    High school β€” Graph exponential and logarithmic functions, showing intercepts and end behaviour, and trigonometric functions, showing period, midline and amplitude.

SAT

Learn these first