📖 Contents · Hub · Full version Chapter 13 · Exponential & Log Equations
College Algebra Easy Read · Chapter 13

Exponential & Logarithmic Equations

Up to now, the unknown has always sat on the ground floor, where it was added, multiplied, or squared. In this chapter the unknown climbs up into the exponent, and that one move changes everything about how you solve. The good news is that there are only two real methods, and you already have both of them: make the bases match, or take a logarithm of both sides. The other half of the chapter runs the same machine in reverse, pulling x out from inside a logarithm. That job comes with one extra chore, which is checking the domain, because logarithms refuse to accept inputs that are negative or zero. By the end, you will be answering the questions people really ask in the world, such as how long until this doubles, how old is this bone, and when will the account reach the number I need.

By the end of this chapter you can

  • Solve an exponential equation by rewriting both sides with a common base and setting the exponents equal.
  • Get an exponential expression by itself, and then solve by taking a logarithm of both sides, using natural or common logs.
  • Use the product, quotient, and power rules to condense a logarithm equation into a single logarithm.
  • Change between logarithmic form and exponential form to finish a logarithm equation.
  • State the domain restriction on every logarithm, and use it to spot extraneous solutions (answers that do not really work).
  • Explain why condensing can create answers that the original equation never had.
  • Name the excluded value of any rational expression you create, and use the sign flip rule when a domain inequality is divided by a negative.
  • Solve applied problems involving doubling time, half-life, and compound interest.
  • Fit an exponential or logarithm model to data, and explain what its constants mean in plain English.

Section 1Solving exponential equations

Graphs of several exponential functions on a coordinate plane
Reference. Exponential curves. Each one passes the flat line test, which is exactly why an equation of the form bx = c has at most one solution. An exponential equation whose exponent is not linear, such as 2x2 = 16, can still have several. Source and license: see the figure credits

Two doors into every exponential equation

An exponential equation is any equation with the variable in an exponent, such as 2x = 32, 4x+2 = 8x−1, or 4 · 5x + 3 = 87. You cannot divide the x out of an exponent, and you cannot subtract it down. So we need a different kind of move, and there are exactly two.

Before you pick one, notice a fact that makes all of this safe. An exponential function bx (with b > 0 and b ≠ 1) never repeats a value, so each output happens at exactly one input. That property has a name, the one to one property, and it is what lets you go from bu = bv straight to u = v. It also means that a plain equation of the form bx = c has at most one answer. Be exact about what the property promises, though, because it says the exponents must be equal, not that x has only one value. If those exponents are not linear, two real solutions are possible. For example, 2x2 = 16 forces x2 = 4, so x = ±2, and both are real.

Here is one more comfort: bx is always positive. So an equation like 3x = −7 or 2x = 0 has no solution, and you can say so in one line without doing any algebra at all.

Door 1: make the bases match

If both sides can be written as powers of the same number, do it, because then the exponents must be equal, and you are back to ordinary algebra. This is the faster door, and you should always check for it first.

Fully worked example. Solve 4x+2 = 8x−1.

Step 1: find a base that both sides share. Both 4 and 8 are powers of 2, since 4 = 22 and 8 = 23. Rewrite them that way:

(22)x+2 = (23)x−1

Step 2: multiply the exponents, using the power of a power rule. On the left, 2(x + 2) = 2x + 4. On the right, 3(x − 1) = 3x − 3:

22x+4 = 23x−3

Step 3: the bases are now the same, so set the exponents equal to each other:

2x + 4 = 3x − 3

Step 4: solve. Subtract 2x from both sides to get 4 = x − 3. Then add 3 to both sides to get 7 = x. So x = 7.

Step 5: check. The left side is 47+2 = 49 = 262,144, and the right side is 87−1 = 86 = 262,144. They match. (A quicker check: 49 = 218 and 86 = 218.) ✓

Door 2: take a logarithm of both sides

Most of the time, the bases refuse to match, because 5x = 21 is never going to become a tidy power of anything. That is what logarithms are for. A logarithm is the tool that reaches into an exponent and pulls the variable down, because log(Mp) = p · log(M).

The order of the steps matters here: get the exponential part by itself first, and then take the log. Taking the log of both sides while the exponential part is still buried under a number in front or a number added on is the most common mistake in this section.

Fully worked example. Solve 4 · 5x + 3 = 87.

Step 1: get the exponential part by itself. Subtract 3 from both sides to get 4 · 5x = 84. Then divide both sides by 4 to get 5x = 21.

Step 2: take the natural log of both sides. (The common log works just the same, and the calculator has both.)

ln(5x) = ln(21)

Step 3: bring the exponent down to the front with the power rule:

x · ln(5) = ln(21)

Step 4: divide both sides by ln(5). Notice that ln(5) is just a number, so this is ordinary division:

x = ln(21)/ln(5) = 3.044522/1.609438 = 1.8917 (to four decimals)

Step 5: check. 51.8917 ≈ 21.00, so 4(21.00) + 3 = 84 + 3 = 87. ✓

Here is one more, with base e. Solve e0.5x = 12. Because the base is already e, take the natural log, and it simplifies right away: ln(e0.5x) = ln(12), so 0.5x = ln(12) = 2.484907. Multiplying both sides by 2 gives x = 4.9698. Check: e0.5(4.9698) = e2.4849 = 12.00. ✓

What you seeWhich doorFirst moveResult
2x = 32Like bases32 = 25x = 5
9x = 27x−1Like basesBoth become powers of 3x = 3
5x = 21Take a logln both sidesx = ln21/ln5
4 · 5x + 3 = 87Take a logIsolate first, then lnx = ln21/ln5
e0.5x = 12Take a logUse ln (matches base e)x = 2 ln12
3x = −7NeitherNotice 3x > 0 alwaysNo solution
It does not matter which logarithm you use. ln, log base 10, and log base 7 all work, and all of them give the same final number. People often panic that they picked the "wrong" log, but you did not. Use ln when the base is e, use log when the base is 10, and use whichever your calculator likes for everything else. ln(21)/ln(5) and log(21)/log(5) both equal 1.8917.
Interactive Solve exponential equations two ways, match the bases and cancel them, or take a log of both sides, with a live graph showing why one-to-one works (drag the base to 1 and watch it fail) and a six-example step machine whose every line balances at once when you land on the solution. Open full ↑
Key points
  • An exponential equation has the variable in an exponent. Since bx is always positive, bx = (a negative number or zero) has no solution.
  • The one-to-one property: if bu = bv then u = v. Try this door first.
  • Otherwise, get the exponential part by itself, then take a log of both sides, and use log(Mp) = p log(M).
  • Any base of logarithm gives the same answer: ln(21)/ln(5) = log(21)/log(5).

Section 2Solving logarithmic equations

An exponential curve and a logarithmic curve reflected across the line y equals x
Reference. The exponential and logarithm curves are mirror images across the line y = x. Each one undoes the other, which is why changing between the two forms solves the equation. Source and license: see the figure credits

One logarithm, then convert

A logarithmic equation has the variable inside a logarithm. The whole plan fits in one sentence: get down to one logarithm, and then change to exponential form. The change itself is just the definition of a logarithm, read from right to left:

logb(M) = c   means exactly   bc = M

Say it out loud as "the base, raised to the answer, gives the inside." So ln(x) = 4 changes to e4 = x, which gives x = 54.598. And log5(2x + 3) = 2 changes to 52 = 2x + 3, so 25 = 2x + 3, so 22 = 2x, and x = 11.

Condensing first: the three rules you need

When the equation has two or more logarithms, you cannot convert yet: there is no single log to convert. First you condense: squeeze the logarithms into one using the three rules below. All three require the same base throughout, and all three read most usefully right-to-left when you are condensing.

RuleStatementUse it to condenseValid when
Productlogb(M) + logb(N) = logb(MN)A sum becomes a product insideM > 0 and N > 0
Quotientlogb(M) − logb(N) = logb((M)/(N))A difference becomes a quotient insideM > 0 and N > 0
Powerp · logb(M) = logb(Mp)A coefficient becomes an exponent insideM > 0

Read that last column carefully: it is the seed of the whole next section. Each rule is a two-way street only while every argument stays positive.

Fully worked example. Solve log2(x) + log2(x − 2) = 3.

Step 0: write the domain before you touch the algebra. The first log needs x > 0, and the second needs x − 2 > 0, which means x > 2. Both must be true, so the domain is x > 2. Any answer at or below 2 is ruled out before you even start.

Step 1: condense the two logs into one with the product rule:

log2(x(x − 2)) = 3

Step 2: change to exponential form. The base is 2, the answer is 3, and the inside is x(x − 2):

x(x − 2) = 23 = 8

Step 3: multiply out the left side, and set the equation equal to zero so it can be factored:

x2 − 2x = 8, so x2 − 2x − 8 = 0

Step 4: factor. We need two numbers that multiply to −8 and add to −2, and those are −4 and +2.

(x − 4)(x + 2) = 0, so x = 4 or x = −2

Step 5: use the domain. We need x > 2, so keep x = 4 and throw out x = −2.

Step 6: check the survivor. log2(4) + log2(4 − 2) = log2(4) + log2(2) = 2 + 1 = 3. ✓ The solution is x = 4.

Always finish by checking the domain

Here is a second worked case, this time with a difference and a common (base 10) logarithm. Solve log(x + 3) − log(x) = 1.

Domain first: x + 3 > 0 gives x > −3, and x > 0 gives x > 0. Both together: x > 0.

Condense with the quotient rule: log((x + 3)/(x)) = 1. That step creates a rational expression (a fraction), so name its excluded value right away. (x + 3)/(x) is undefined at x = 0, where the denominator becomes zero. Here the domain x > 0 has already ruled that out, but say it anyway, because it is what makes the next move allowed. Change to exponential form, remembering that a plain "log" means base 10 and the answer 1 sits in the exponent: (x + 3)/(x) = 101 = 10. Multiply both sides by x, which is allowed just because x ≠ 0: x + 3 = 10x. Subtract x to get 3 = 9x, and divide by 9 to get x = (1)/(3).

Is (1)/(3) > 0? Yes, so it survives the domain. Check it: log((1)/(3) + 3) − log((1)/(3)) = log((10)/(3)) − log((1)/(3)) = log(((10)/(3)) ÷ ((1)/(3))) = log(10) = 1. ✓ The solution is x = (1)/(3).

When the domain inequality needs a sign flip

Every domain you have written so far solved itself in one step, because the variable had a positive coefficient. Some arguments run backward. Look at log(4 − x), which needs 4 − x > 0. Subtract 4 from both sides to get −x > −4, and now you have to divide by −1.

Here is the rule for that move, and it is the one people lose the most points on: multiplying or dividing an inequality by a negative number reverses the direction of the inequality sign. So −x > −4 becomes x < 4, not x > 4. (Equations do not follow this rule, because only inequalities flip. That is why none of the equation solving steps above needed it.)

Never take the flip on trust, but test one number. Try x = 0: the argument is 4 − 0 = 4, which is positive, so log(4) is defined, and indeed 0 < 4. Try x = 10: the argument is 4 − 10 = −6, so log(−6) is undefined, and indeed 10 is not less than 4. If you had skipped the flip and written x > 4, you would have called every allowed input not allowed, and every input that is not allowed allowed, which is a perfectly upside down answer.

Here is a quick way to avoid the issue entirely: move the variable to the side where it is already positive. From 4 − x > 0, add x to both sides to get 4 > x, and then read it right to left as x < 4. You get the same answer with no flip needed.

Write the domain before you solve, not after. If you write "x > 2" at the top of your work, then the moment x = −2 appears, you already know what to do with it, with no second guessing and no rereading the problem. People who write the domain first almost never lose points to extraneous solutions. People who "check at the end if there is time" lose them all the time.
Interactive Solve logarithmic equations step by step, condense to one log, convert to exponential form, solve, and check, with a live convert graph, a factor-counting proof of the log rules, and a second graph showing exactly where extraneous roots come from. Open full ↑
Key points
  • Condense to one logarithm, then convert: logb(M) = c becomes bc = M.
  • Condense with the product, quotient, and power rules: all require the same base.
  • Every logarithm demands a positive argument; write the domain restriction before you begin.
  • If condensing creates a fraction, state its excluded value, because the denominator may never be zero.
  • When you solve a domain inequality, dividing by a negative reverses the inequality sign, so −x > −4 becomes x < 4.
  • Converting often produces a quadratic, so expect up to two candidates and expect to reject some.

Section 3Extraneous solutions

A logarithmic curve showing that the function is defined only for positive inputs
Reference. The logarithm as the inverse of the exponential. Notice that the curve exists only to the right of zero, which is the whole reason that logarithm equations need a domain check. Source and license: see the figure credits

Where the fake answers come from

An extraneous solution is a number that makes some equation you created along the way true, but does not make the equation you started with true. It is not a mistake in your arithmetic. It is a side effect of an allowed step, and knowing which steps cause it is how you stay ahead of it.

Here is the mechanism, stated as plainly as it can be stated. Look again at the product rule:

logb(M) + logb(N) = logb(MN)

The left side needs M > 0 and N > 0, which are two separate demands. The right side only needs the product MN > 0, and a product of two negatives is positive. So the condensed form quietly accepts a whole family of inputs that the original refused. Condensing does not break the equation, but it widens the door. The quadratic you then solve is the widened version, and it can hand you a number that would have been turned away at the original door.

The power rule does it too. Writing 2 log(x) as log(x2) turns a left side that needs x > 0 into a right side that accepts any x ≠ 0, including negatives. That is why 2 log(x) = log(36) gives x2 = 36 and the pair x = ±6, of which only x = 6 works in the original equation. Both answers are real numbers, but log(−6) does not exist, so −6 is extraneous.

A worked case: one keeper, one impostor

Fully worked example. Solve log3(x − 5) + log3(x + 3) = 2.

Step 0: domain. We need x − 5 > 0, so x > 5. We also need x + 3 > 0, so x > −3. The stricter one wins, so the domain is x > 5.

Step 1: condense the two logs into one: log3((x − 5)(x + 3)) = 2

Step 2: change to exponential form: (x − 5)(x + 3) = 32 = 9

Step 3: expand the left side. (x − 5)(x + 3) = x2 + 3x − 5x − 15 = x2 − 2x − 15. So:

x2 − 2x − 15 = 9

Step 4: subtract 9 from both sides so the equation equals zero: x2 − 2x − 24 = 0

Step 5: factor. We need two numbers that multiply to −24 and add to −2, and those are −6 and +4.

(x − 6)(x + 4) = 0, so x = 6 or x = −4

Step 6: test each answer against the domain, x > 5.

x = 6: passes. Verify in the original: log3(6 − 5) + log3(6 + 3) = log3(1) + log3(9) = 0 + 2 = 2. ✓

x = −4: fails, since −4 is not greater than 5. See why in the original: log3(−4 − 5) = log3(−9), and no power of 3 equals −9, so it is undefined. Extraneous.

Now watch the cause at work. Put x = −4 into the condensed equation: (−9)(−1) = 9, which is perfectly true, because two negatives multiplied to a positive. The condensed equation was happy, but the original was not, and that gap is exactly where extraneous solutions live. The answer is x = 6, alone.

How to check without a calculator

You do not need to work anything out to reject a possible answer. Put it into every logarithm's argument in the original equation, and ask only one question: is that number positive? If any argument comes out zero or negative, the answer is extraneous, and nothing else needs to be worked out.

Here are two warnings worth taking to heart. First, a positive answer can still be extraneous. In log(x − 5), the value x = 3 is positive, but it gives log(−2), which is undefined. So "positive answer" is not the test, and "positive argument" is. Second, the exponential equations from Section 1 do not create extraneous solutions this way, because bx accepts every real x. The domain chore belongs to logarithms.

EquationDomainCandidatesVerdict
log3(x−5) + log3(x+3) = 2x > 56 and −4Keep 6; −4 extraneous
log2(x) + log2(x−2) = 3x > 24 and −2Keep 4; −2 extraneous
2 log(x) = log(36)x > 06 and −6Keep 6; −6 extraneous
log(x+3) − log(x) = 1x > 0(1)/(3)Keep: none rejected
4 · 5x + 3 = 87all real x1.8917No domain issue at all
Rejecting an answer is doing the problem right. Many people assume that throwing out an answer means they made an error somewhere, but they did not. On a well built logarithm problem, getting two possible answers and throwing one away is the intended path, and the rejection step earns points. Show the domain, show the test, and write the word "extraneous."
Interactive A live graph plus a worked-step machine that reveal how the product rule widens a log equation's domain and manufactures an extraneous answer that must be rejected. Open full ↑
Key points
  • An extraneous solution solves a later equation in your work, but not the original one.
  • Condensing widens the domain: two negatives can multiply to a positive, so the condensed equation accepts inputs the original rejects.
  • The power rule does the same thing: log(x2) accepts negatives that 2 log(x) does not.
  • Test candidates in the original equation, checking only that every logarithm's argument is positive.

Section 4Applications: doubling, half-life, and interest

A comparison of doubling time for growth and half-life for decay
Reference. Doubling time and half-life side by side: the same equation solved for the same unknown, once for growth and once for decay. Source and license: see the figure credits

Doubling time

Continuous growth is modeled by A = A0ert, where A0 is the starting amount, r is the continuous rate as a decimal, and t is time. Every one of these problems is the same exponential equation from Section 1, wearing a costume.

Fully worked example. A culture of bacteria starts with 500 cells and grows continuously at 6% per hour, so A(t) = 500e0.06t. How long until there are 2000 cells?

Step 1: set up the equation by putting 2000 in for the amount: 2000 = 500e0.06t

Step 2: get the exponential part by itself. Divide both sides by 500, and since 2000/500 = 4, you get e0.06t = 4.

Step 3: take the natural log of both sides (base is e, so ln is the natural choice): 0.06t = ln(4) = 1.386294.

Step 4: divide both sides by 0.06: t = 1.386294/0.06 = 23.1049 hours, which is about 23.1 hours.

Step 5: check. e0.06(23.1049) = e1.386294 = 4, and 500(4) = 2000. ✓

Now the shortcut. Doubling time is how long it takes for any starting amount to double, and it never depends on A0: set A = 2A0, divide both sides by A0, and you get 2 = ert, so t = ln(2)/r. For our culture, doubling time = 0.693147/0.06 = 11.5525 hours. Sanity check the two results against each other: going from 500 to 2000 is exactly two doublings, and 2(11.5525) = 23.105 hours. Same answer. ✓

Half-life

Decay runs the same algebra with a factor that shrinks. The handiest form uses the half life h directly: A = A0((1)/(2))t/h. Read it as "cut in half once for every half life."

Fully worked example. Carbon 14 has a half life of 5730 years. A piece of bone still holds 62% of its original carbon 14. How old is it?

Step 1: set up the equation. "62% remains" means A/A0 = 0.62, so 0.62 = ((1)/(2))t/5730. Notice that A0 cancels, so you never needed to know the original amount.

Step 2: take the natural log of both sides, and bring the exponent down: ln(0.62) = (t/5730) · ln((1)/(2)).

Step 3: find the two logs. ln(0.62) = −0.478036 and ln(0.5) = −0.693147. Both are negative, which is what we expect, because both inputs are less than 1.

Step 4: divide both sides by −0.693147. The negatives cancel, which leaves a positive number: t/5730 = (−0.478036)/(−0.693147) = 0.689660.

Step 5: multiply both sides by 5730: t = 0.689660 × 5730 = 3951.75, so about 3950 years old.

Step 6: check that it makes sense. 62% remaining is more than half, so the bone should be younger than one half life, and 3951.75 < 5730. ✓

Interest: the money version of the same equation

Compound interest uses A = P(1 + r/n)nt, where P is the principal (the starting money), r is the yearly rate as a decimal, n is the number of compoundings per year, and t is the number of years. If interest compounds continuously, without a break, it becomes A = Pert.

Fully worked example. You deposit $3000 at 4.5% annual interest compounded monthly. When does the balance reach $5000?

Step 1: identify the pieces: P = 3000, r = 0.045, n = 12, A = 5000. Set up:

5000 = 3000(1 + 0.045/12)12t

Step 2: simplify inside the parentheses. Since 0.045/12 = 0.00375, the base is 1.00375.

Step 3: get the exponential part by itself. Divide both sides by 3000, and since 5000/3000 = 5/3 = 1.666667, you get (1.00375)12t = 1.666667.

Step 4: take the natural log of both sides and bring the exponent down: 12t · ln(1.00375) = ln(1.666667).

Step 5: find the two logs: ln(1.00375) = 0.0037430 and ln(1.666667) = 0.510826.

Step 6: divide one by the other: 12t = 0.510826/0.0037430 = 136.475 months.

Step 7: divide by 12 to turn months into years: t = 136.475/12 = 11.373, so about 11.4 years.

Step 8: check, and then think. (1.00375)136.475 = 1.66667, and 3000(1.66667) = 5000. ✓ But this account adds interest only once a month, so the balance does not really cross $5000 in the middle of a month. You need the 137th monthly payment, which comes at 11 years and 5 months. Reading the units of the answer is part of the answer.

SituationModelSolve for time byShortcut
Continuous growthA = A0ertDivide by A0, take ln, divide by rDoubling time = ln(2)/r
Continuous decayA = A0e−rt, with r > 0Divide by A0, take ln, divide by −rHalf-life = ln(2)/r
Known half-lifeA = A0((1)/(2))t/hDivide by A0, take ln, solve for tA0 always cancels
Compounded n times/yearA = P(1 + r/n)ntDivide by P, take ln, divide by n ln(1+r/n)Answer lands in periods: convert
Compounded continuouslyA = PertDivide by P, take ln, divide by rFastest growth for a given r
The starting amount almost never matters. In doubling time, half life, and tripling time, the A0 or P divides out in the very first step. That is why "how long until it doubles" has an answer even when nobody tells you how much you started with. It is also why a half life of 5730 years can date a whole bone and a single flake equally well.
Interactive Drag a live growth-and-decay curve to solve for the time while the logarithm computes in real time, then step through three worked problems organized by which quantity is unknown: the amount, the time, or the doubling time. Open full ↑
Key points
  • For continuous growth or decay, A = A0ert. Solve for t by getting the exponential part by itself and taking ln.
  • Doubling time = ln(2)/r, and it does not depend on the starting amount.
  • With a known half-life h, use A = A0((1)/(2))t/h; the ratio A/A0 is all you need.
  • Compound interest is A = P(1 + r/n)nt: watch whether your answer is in periods or years.

Section 5Modeling with exponential and logarithmic functions

A linear model and an exponential model plotted against the same data
Reference. A linear model and an exponential model on the same axes. Choosing between them is the first decision in any modeling problem. Source and license: see the figure credits

Fitting an exponential model to two points

A general exponential model is y = abx. It has two unknown constants, so two data points are enough to pin it down. Here is the trick that makes this easy: if one of your points has x = 0, then b0 = 1, and a falls out for free.

Fully worked example. A town had 12,000 people at the start of a study (t = 0) and 15,000 people five years later (t = 5). Fit y = abt.

Step 1: use the point (0, 12000): 12000 = a · b0 = a · 1, so a = 12000.

Step 2: use the point (5, 15000) with a now known: 15000 = 12000 · b5.

Step 3: divide both sides by 12000: 15000/12000 = 1.25, so b5 = 1.25.

Step 4: take the fifth root, which means raising both sides to the (1)/(5) power: b = 1.251/5. Compute it with logs if you like: ln(1.25) = 0.223144, divided by 5 gives 0.0446287, and e0.0446287 = 1.045640. So b ≈ 1.04564.

Step 5: write the model: y = 12000(1.04564)t.

Step 6: check it against the data you were given. At t = 5: 12000(1.04564)5 = 12000(1.25) = 15000. ✓ At t = 0: 12000(1) = 12000. ✓

Reading the model out loud

A model you cannot explain is just decoration. In y = abx, the constant a is the initial value, which is the output when x = 0. The constant b is the growth factor, which is the number you multiply by each time x goes up by one. And b − 1, written as a percent, is the growth rate.

So our model says the town started at 12,000 people and grows by a factor of 1.04564 per year. That is 1.04564 − 1 = 0.04564, or about 4.56% per year. If b had come out less than 1, say 0.92, we would call it a decay factor and report a drop of 8% per year.

Now use the model, which means solving the exponential equations from Section 1 all over again. Predict: the population at t = 12 is 12000(1.04564)12. Since 12 × 0.0446287 = 0.535544 and e0.535544 = 1.708382, we get 12000(1.708382) = 20,500 people. Solve backward: when does the town reach 20,000? Set 20000 = 12000(1.04564)t, and divide by 12000 to get (1.04564)t = 1.666667. Take ln of both sides to get t · 0.0446287 = 0.510826, and divide to get t = 11.45 years.

Here is one honest warning worth saying to yourself every time. A model fit to two points is a guess about the shape, and exponential guesses grow silly if you push them far. This town model predicts nearly 98,000 people in 47 years, and more than a million in a century. Models describe the range they were built from, so stretch them past it (extrapolate) only gently.

Logarithmic models and the straight-line trick

A logarithm model, y = a + b ln(x), does the opposite job. It rises quickly at first and then flattens, which fits things like practice and performance, or how loud a sound seems. Its meaning is lovely once you see it: y gains the same fixed amount, b·ln(k), every time x is multiplied by a factor k. For a doubling, that gain is b ln(2), and only when k = e does the gain equal b itself.

Fully worked example. A skill study gives a score model S = 45 + 12 ln(x), where x is hours of practice.

At x = 1: S = 45 + 12 ln(1) = 45 + 12(0) = 45. At x = 10: S = 45 + 12(2.302585) = 45 + 27.63 = 72.63. At x = 20: S = 45 + 12(2.995732) = 45 + 35.95 = 80.95.

Notice what doubling did. From 10 to 20 hours, the score rose 80.95 − 72.63 = 8.32 points, and 12 ln(2) = 12(0.693147) = 8.32. Every doubling of practice adds the same 8.32 points, whether you go from 5 to 10 hours or from 500 to 1000. That is the shape of shrinking returns (diminishing returns), written as algebra.

Going backward, how many hours does it take to reach a score of 90? Set 90 = 45 + 12 ln(x). Subtract 45 to get 45 = 12 ln(x), and divide by 12 to get ln(x) = 3.75. Change to exponential form: x = e3.75 = 42.52, so about 42.5 hours. Check: 45 + 12 ln(42.52) = 45 + 12(3.75) = 90. ✓

Last of all, here is the trick that makes real world curve fitting possible. Take the natural log of both sides of y = abx to get ln(y) = ln(a) + x ln(b). Look at the shape of that, because it is a straight line in x, with intercept ln(a) and slope ln(b). For our town, ln(12000) = 9.3927 and ln(1.04564) = 0.044629, so ln(y) = 9.3927 + 0.044629t. This is why data plotted on semi log paper straightens out when the growth behind it is exponential. It is also exactly how spreadsheets and calculators do an exponential regression (a best fit curve): they take logs, fit a line, and change back.

ModelFormSignature in the dataConstant to interpret
Lineary = mx + cEqual differences per stepm = amount added per step
Exponential growthy = abx, b > 1Equal ratios per stepb − 1 = percent growth per step
Exponential decayy = abx, 0 < b < 1Constant fraction remains per step1 − b = percent lost per step
Logarithmicy = a + b ln(x)Rises fast, then flattens; needs x > 0b ln(2) = gain per doubling of x
Differences mean linear, and ratios mean exponential. Given a table, make two quick passes. Subtract each output from the next one, and if those differences are roughly the same, reach for a line. Divide each output by the one before it, and if those ratios are roughly the same, reach for y = abx, because the shared ratio is your b. Ten seconds of arithmetic replaces a lot of guessing.
Interactive Drag two sliders to fit a curve to real growth and decay data, watch the residuals and R² respond, snap to the true least-squares best fit, and read what the starting value and growth factor actually mean. Open full ↑
Key points
  • Fit y = abx from two points, and a point at x = 0 hands you a right away.
  • In y = abx: a is the initial value, b is the growth factor, and b − 1 is the percent change per step.
  • In y = a + b ln(x), every doubling of x adds the same fixed amount, b ln(2), which shows shrinking returns.
  • Taking ln of y = abx gives the line ln(y) = ln(a) + x ln(b), which is how regression tools fit exponential curves.

The chapter in one breath

  • An exponential equation puts the variable in the exponent, and there are only two doors: match the bases, or take a logarithm of both sides.
  • The one to one property (bu = bv gives u = v) handles the tidy cases. For the rest, get the exponential part by itself first, and then take the log.
  • A logarithmic equation is solved by condensing to one log and changing form: logb(M) = c becomes bc = M.
  • Every logarithm needs a positive argument, so write the domain restriction before you solve, not after. Remember that dividing an inequality by a negative flips the sign.
  • Extraneous solutions appear because condensing widens the domain, since two negatives multiply to a positive. So always test possible answers in the original equation.
  • Doubling time is ln(2)/r and half-life problems use A = A0((1)/(2))t/h; the starting amount cancels in both.
  • Compound interest, A = P(1 + r/n)nt, is the same equation with money in it: mind whether the answer is in periods or years.
  • To model, fit y = abx from two points. Read a as the initial value and b − 1 as the percent change, and remember that steady ratios mean exponential.

ReferenceWords worth knowing

Here is a quick list of the words in this chapter. Skim it now, and come back whenever a word slows you down in the middle of a problem.

Argument (of a logarithm)
The expression inside the logarithm. In log3(x − 5) the argument is x − 5, and it must be strictly greater than zero.
Base
The number being raised to a power, or the subscript on a logarithm. Must be positive and not equal to 1 for either to be well behaved.
Change-of-base formula
logb(M) = ln(M)/ln(b) = log(M)/log(b). This is how you find a log with an unusual base on a calculator that has only ln and log.
Common logarithm
A logarithm with base 10, written simply as log(x) with no subscript shown.
Compound interest formula
A = P(1 + r/n)nt, with principal P, annual rate r, n compoundings per year, and t years.
Condensing
Using the product, quotient, and power rules to combine several logarithms into a single logarithm: the required first step before converting.
Continuous growth model
A = A0ert, where r is the continuous rate. A positive r means growth, and a negative r means decay.
Decay factor
The value b in y = abx when 0 < b < 1. The amount 1 − b is the fraction lost at each step.
Domain restriction
The condition every logarithm imposes: its argument must be positive. Write it down before solving.
Doubling time
How long an amount that grows continuously takes to double: t = ln(2)/r. It does not depend on the starting amount.
Euler's number (e)
The irrational constant 2.71828…, the natural base for growth and decay; its logarithm is written ln.
Excluded value
An input that makes the denominator of a rational expression zero, so the expression is undefined there. In (x + 3)/(x), the excluded value is x = 0.
Exponential equation
An equation with the variable in an exponent, such as 4 · 5x + 3 = 87.
Extraneous solution
A possible answer that makes an equation you created along the way true, but fails the original, usually because it makes a logarithm's argument zero or negative.
Growth factor
The value b in y = abx when b > 1. The amount b − 1 is the percent growth at each step.
Half-life
The time for a decaying quantity to fall to half its amount; modeled by A = A0((1)/(2))t/h.
Logarithm
The exponent that answers "what power of b gives M?": logb(M) = c means exactly bc = M.
Logarithmic equation
An equation with the variable inside a logarithm, such as log2(x) + log2(x − 2) = 3.
Natural logarithm
A logarithm with base e, written ln(x); the default choice when the equation already contains e.
One-to-one property
Since bx never repeats an output, bu = bv forces u = v; the basis of the like-bases method.
Power rule for logarithms
p · logb(M) = logb(Mp), valid for M > 0; used right-to-left it pulls a variable out of an exponent.
Product rule for logarithms
logb(M) + logb(N) = logb(MN), valid when M > 0 and N > 0.
Quotient rule for logarithms
logb(M) − logb(N) = logb((M)/(N)), valid when M > 0 and N > 0.
Sign-flip rule
Multiplying or dividing an inequality by a negative number reverses its direction, so −x > −4 becomes x < 4. Equations are not affected.

Check yourself

1. Solve 9x = 27x−1 using like bases, and check your answer.
x = 3. Both sides are powers of 3: (32)x = (33)x−1, so 32x = 33x−3. Setting exponents equal, 2x = 3x − 3, so 3 = x. Check: 93 = 729 and 272 = 729. ✓
2. Solve 2x = 17, rounded to four decimal places.
x = ln(17)/ln(2) ≈ 4.0875. The bases cannot be matched (17 is not a power of 2), so take ln of both sides: x ln(2) = ln(17), giving x = 2.833213/0.693147 = 4.087463. Sanity check: 24 = 16 and 25 = 32, so the answer must sit just above 4. ✓
3. Solve 6e2x = 42.
x = ln(7)/2 ≈ 0.9730. Isolate first: divide both sides by 6 to get e2x = 7. Take ln: 2x = ln(7) = 1.945910. Divide by 2: x = 0.972955. Check: 6e2(0.972955) = 6e1.94591 = 6(7) = 42. ✓
4. Solve log5(2x + 3) = 2, and state the domain restriction.
x = 11, and the domain is 2x + 3 > 0, which means x > −1.5. Change to exponential form: 52 = 2x + 3, so 25 = 2x + 3, so 22 = 2x and x = 11. Since 11 > −1.5, it is valid. Check: log5(25) = 2. ✓
5. Solve log(x) + log(x − 3) = 1. Show the domain and both candidates.
x = 5, and the possible answer x = −2 is extraneous. The domain is x > 0 and x − 3 > 0, so x > 3. Condense: log(x(x − 3)) = 1. Change form: x2 − 3x = 101 = 10, so x2 − 3x − 10 = 0, and (x − 5)(x + 2) = 0. Only 5 clears x > 3. Check: log(5) + log(2) = log(10) = 1. ✓
6. Explain in one or two sentences why log2(−8) is undefined.
Because log2(−8) asks "2 to what power gives −8?" and 2y is positive for every real y. No exponent can make a positive base give a negative output, so the logarithm of a negative number has no real value. That is exactly the domain restriction that creates extraneous solutions.
7. Solve ln(x + 4) − ln(x − 2) = ln(5).
x = 3.5. The domain is x + 4 > 0 and x − 2 > 0, so x > 2. Condense the left side: ln((x + 4)/(x − 2)) = ln(5). That fraction has an excluded value at x = 2, which the domain already rules out. Since ln is one to one, the insides must match: (x + 4)/(x − 2) = 5. Multiply both sides by x − 2, which is allowed because x ≠ 2: x + 4 = 5x − 10, which gives 14 = 4x and x = 3.5. It clears x > 2, so it is not extraneous. Check in the original: ln(7.5) − ln(1.5) = ln(7.5/1.5) = ln(5). ✓
8. An investment grows continuously at 3.2% per year. Find how long it takes to double.
About 21.66 years. Set 2A0 = A0e0.032t. The A0 divides out, which leaves 2 = e0.032t. Take ln: 0.032t = ln(2) = 0.693147, so t = 0.693147/0.032 = 21.661 years. Notice that the starting balance never entered the work.
9. A medicine has a half life of 8 days. How long until only 10% of a dose is left?
About 26.6 days. Use 0.10 = ((1)/(2))t/8. Take ln of both sides: ln(0.10) = (t/8) ln(0.5), so −2.302585 = (t/8)(−0.693147). Divide to get t/8 = 3.321928, so t = 26.575 days. Check that it makes sense: 10% left is between three half lives (12.5%) and four (6.25%), and 26.6 days is between 24 and 32. ✓
10. How long does $2000 take to double at 5% annual interest compounded quarterly?
About 13.95 years. Set 4000 = 2000(1 + 0.05/4)4t; dividing by 2000 gives (1.0125)4t = 2. Take ln: 4t · ln(1.0125) = ln(2), so 4t = 0.693147/0.0124225 = 55.798 quarters, and t = 55.798/4 = 13.949 years. In practice you would need the 56th quarterly posting, so 14 years.
11. Fit a model of the form y = abx through the points (0, 250) and (4, 1000).
y = 250(√2)x, since a = 250 and b = 41/4 = √2 ≈ 1.4142. From (0, 250): a · b0 = a = 250. From (4, 1000): 1000 = 250b4, so b4 = 4 and b = 41/4 = √2. Check: 250(√2)4 = 250(4) = 1000. ✓ The quantity grows about 41.4% per step.
12. Solve log4(x) + log4(x − 6) = 2, and explain exactly why the rejected candidate slipped through.
x = 8, and the possible answer x = −2 is extraneous. The domain is x > 0 and x − 6 > 0, so x > 6. Condensing gives log4(x(x − 6)) = 2, and changing form gives x2 − 6x = 42 = 16, so x2 − 6x − 16 = 0 and (x − 8)(x + 2) = 0. The −2 slipped through because at x = −2, the condensed argument is (−2)(−8) = 16, a positive number, since two negatives multiply to a positive. But the original log4(−2) is undefined. Check the answer we keep: log4(8) + log4(2) = 1.5 + 0.5 = 2. ✓