๐Ÿ“– Contents · Hub · Full version Chapter 12 ยท Logarithmic Functions
College Algebra Easy Read · Chapter 12

Logarithmic Functions

A logarithm is not a new kind of monster; it is an exponent wearing a different hat. Every time you ask "two raised to what power gives me thirty two?" you are asking a logarithm question. You have been doing this since you first learned exponents, just without the words for it. This chapter gives you those words and shows you how to move a statement back and forth between exponential form and logarithmic form. It teaches you to read the graph of a logarithm, and it hands you three properties that let you take a complicated logarithm apart or squeeze several logarithms into one. Go slowly, say the definition out loud a few times, and the rest follows.

By the end of this chapter you can

  • State what a logarithm is, as the inverse (the undoing) of an exponential function.
  • Change easily back and forth between exponential form and logarithmic form.
  • Name the restrictions on the base and the argument, and explain why they exist.
  • Evaluate common logs, natural logs, and many other logarithms by inspection.
  • Find the domain, the vertical asymptote, and the key points of the graph of a logarithm, including shifted and flipped versions.
  • Apply the product, quotient, and power rules, and avoid the three classic misuses of them.
  • Expand a single logarithm into a sum and difference, and condense a sum and difference back into one logarithm.
  • Use the change of base formula to find a logarithm of any base on a calculator, and check solutions for extraneous answers (answers that do not really work).

Section 1What a logarithm is

Graph showing a logarithmic curve as the mirror image of an exponential curve across the line y equals x
Reference. The logarithm is the inverse of the exponential, so each curve is the other one's mirror image across the line y = x. Source and license: see the figure credits

Undoing an exponential

Start with a question you already know how to answer: 2 raised to what power gives 8? You said 3 right away, because 23 = 8, and you just found the value of a logarithm. The only thing missing was a symbol for "the power you raise 2 to," and that symbol is log.

Here is the whole definition, and it is worth learning word for word:

logb(x) = y means exactly the same thing as by = x.

Read the left side out loud as "log base b of x equals y." Read what it means as "y is the exponent you put on b to get x." If you can only remember one sentence from this chapter, remember this one: a logarithm is an exponent. The answer to any log question is always an exponent, and that is why logs behave the way they do for the rest of the chapter.

Why do we need this at all? An exponential function like f(x) = 2x is one to one, which means every input gives a different output. So it has an inverse function, a function that undoes it, and that inverse is the logarithm. Exponentials answer "I have the exponent, so what is the result?" Logarithms answer "I have the result, so what was the exponent?" Each one undoes the other:

logb(bx) = x   and   blogb(x) = x

Converting between the two forms

Almost every logarithm problem in this chapter starts with a change of form, so make it automatic. Here is the trick that works for most people: the base stays the base, and the logarithm's answer becomes the exponent. Draw a little loop from the base, up over the equals sign, to the answer.

Exponential formLogarithmic formSaid out loud
25 = 32log2(32) = 55 is the power of 2 that makes 32
34 = 81log3(81) = 44 is the power of 3 that makes 81
10−2 = 0.01log10(0.01) = −2−2 is the power of 10 that makes 0.01
70 = 1log7(1) = 00 is the power of 7 that makes 1
251/2 = 5log25(5) = ½½ is the power of 25 that makes 5

The rules about what is allowed

Two limits come with the definition, and neither one is random.

First, the base must have b > 0 and b ≠ 1. A negative base breaks down as soon as you use fraction exponents (what would (−4)1/2 be?). A base of 1 is useless, because 1y = 1 for every y, so the question "1 to what power gives 8?" has no answer at all.

Second, the argument, the thing inside the log, must have x > 0; this one trips people up until they see why. Since b is positive, by is always positive, no matter what y is. A positive number raised to any power, whether positive, negative, zero, or a fraction, can never land on zero or on a negative number. So there is no exponent that makes 2y equal −8, and log2(−8) is simply undefined. Keep that in your pocket, because in Section 3 it becomes the rule that sets the domain of every logarithm function.

A fully worked example

Solve log5(2x − 3) = 2.

Step 1: Change to exponential form. The base is 5 and the answer is 2, so 2 becomes the exponent on 5:

log5(2x − 3) = 2   becomes   52 = 2x − 3

Step 2: Do the arithmetic on the left side. Since 52 = 5 · 5 = 25, the equation becomes

25 = 2x − 3

Step 3: Add 3 to both sides, so that the 2x term is left alone on the right.

25 + 3 = 2x − 3 + 3  →  28 = 2x

Step 4: Divide both sides by 2, which undoes the 2 that is multiplying x.

28 / 2 = 2x / 2  →  14 = x

Step 5: Check it, including the domain. Put x = 14 back into the original argument: 2(14) − 3 = 28 − 3 = 25. Is 25 > 0? Yes, so the argument is legal. And log5(25) = 2, because 52 = 25. The left side equals the right side, so x = 14 is the solution.

Say it in words before you write anything. When you see log4(64), do not reach for a formula. Say "4 to what power gives 64?" Your brain answers 3 before your pencil moves. Nearly every beginner's mistake with logarithms comes from treating "log" as a strange operation instead of as the plain question it really is.
Interactive Turn the base and exponent dials to watch one statement rewrite itself between logarithmic and exponential form, with a live flip diagram, a mirror graph across y = x, a power ladder, and five problems worked step by step. Open full ↑
Key points
  • logb(x) = y means by = x: the log is the exponent.
  • The logarithm is the inverse of the exponential: logb(bx) = x and blogb(x) = x.
  • The base must be positive and not 1; the argument must be positive.
  • To solve a simple log equation, change to exponential form first, then solve as usual, and check that the argument is positive.

Section 2Evaluating logarithms

Graphs of an exponential function and a logarithmic function shown together on the same coordinate plane
Reference. Exponential and logarithm functions plotted together; it is the same relationship, read in two directions. Source and license: see the figure credits

Two bases get their own shorthand

Any positive base other than 1 is allowed, but two bases show up so often that people in math stopped writing them.

The common logarithm has base 10, and we write it with no base at all: log(x) means log10(x). It shows up wherever we measure things in powers of ten: decibels, pH, the Richter scale, orders of magnitude.

The natural logarithm has base e, where e ≈ 2.718281828; we write it ln(x), which means loge(x). The number e looks strange the first time you meet it, but it is just a fixed number, like π. It is irrational, its decimals never repeat, and it is very useful because it is the natural base of anything that compounds continuously, without a break. It is the factor that an amount growing continuously at 100% per unit of time is multiplied by in one unit of time. On your calculator, LOG is base 10 and LN is base e. They are different buttons, and they give different answers, and mixing them up is the most common calculator error in this chapter.

Evaluating by inspection

Most logarithms you meet in a homework set are meant to be done in your head. The method never changes: set the log equal to y, change to exponential form, and rewrite both sides with the same base.

Four shortcuts come straight out of the definition, and they are worth knowing very well:

ShortcutWhy it is trueExample
logb(1) = 0Because b0 = 1 for every legal baselog9(1) = 0, ln(1) = 0
logb(b) = 1Because b1 = blog(10) = 1, ln(e) = 1
logb(bk) = kThe log undoes the exponentialln(e7) = 7, log(10−3) = −3
blogb(x) = xThe exponential undoes the log10log(47) = 47, eln(6) = 6

Two more patterns are worth practicing, because they look harder than they are. A reciprocal argument (a flipped number, like 1/8) gives a negative answer: log2(1/8) = −3, because 2−3 = 1/(23) = 1/8. And a root gives a fraction answer: log9(3) = ½, because 91/2 = √9 = 3.

A fully worked example

Find log8(4) without a calculator.

This one has no obvious answer. 8 to the first power is too big, and 8 to the zero power is too small, so the answer must be a fraction between 0 and 1. Here is the full method.

Step 1: Name the answer. Give the unknown exponent a letter, and let y = log8(4).

Step 2: Change to exponential form.

8y = 4

Step 3: Rewrite both sides with a common base. Both 8 and 4 are powers of 2: 8 = 23 and 4 = 22. So

(23)y = 22

Step 4: Use the power-of-a-power rule (multiply the exponents):

23y = 22

Step 5: Match the exponents. If the bases are equal and the expressions are equal, the exponents must be equal:

3y = 2

Step 6: Solve. Divide both sides by 3, which leaves y by itself:

y = (2)/(3)

Step 7: Check. Does 82/3 really equal 4? A fractional exponent means "root on the bottom, power on the top": 82/3 = (3√8)2 = (2)2 = 4. It checks. So log8(4) = 2/3, and notice it landed between 0 and 1 exactly as we predicted.

Estimate before you work it out. Before finding log7(200), notice that 72 = 49 and 73 = 343. Since 200 sits between them, the answer must sit between 2 and 3; that thirty second check catches almost every calculator slip. A wrong button gives you 0.37 or 5.3, and you will know right away that something went wrong.
Interactive Drag a number up and down a ladder of powers and read its logarithm off the rung, then step through six logarithms worked out one line at a time, including the ones that have no exact answer. Open full ↑
Key points
  • log(x) with no base written means base 10 (common log); ln(x) means base e (natural log), e ≈ 2.718.
  • logb(1) = 0, logb(b) = 1, logb(bk) = k, and blogb(x) = x.
  • To find a value just by looking, set it equal to y, change to exponential form, rewrite both sides with the same base, and match the exponents.
  • Reciprocal (flipped) arguments give negative answers, and roots give fraction answers.

Section 3Graphs of logarithmic functions

Logarithmic curve approaching a vertical asymptote at the y-axis and passing through the point one comma zero
Reference. The curve of a logarithm, hugging its vertical asymptote and crossing the x-axis at (1, 0). Source and license: see the figure credits

The shape of the parent function

Graph f(x) = log2(x) by picking handy x values. Here, handy means powers of 2, because then the logs come out clean.

xlog2(x)Because
1/4−22−2 = 1/4
1/2−12−1 = 1/2
1020 = 1
2121 = 2
4222 = 4
8323 = 8

Plot those points, and a clear picture appears. The curve rises forever, but it rises more and more slowly, because to gain one more unit of height you have to double your x. On the left side, as x shrinks toward 0, the curve plunges downward without limit, hugging the y-axis but never touching it. That vertical line x = 0 is the vertical asymptote.

Every parent logarithm function y = logb(x) with b > 1 shares these features:

Compare that list to the exponential function y = bx, whose domain is all real numbers, whose range is y > 0, and whose asymptote is the flat line y = 0. Every feature is swapped, because the two graphs are mirror images across the line y = x. That is what "inverse" looks like on paper.

Transformations, and where the asymptote goes

The general form is y = a·logb(x − h) + k. Each letter does one job, and the one you must never lose track of is h, because h drags the asymptote along with it.

ChangeEffect on the graphNew asymptoteNew domain
logb(x) + kShift up k (down if k is negative)x = 0 (unchanged)x > 0
logb(x − h)Shift right h (left if h is negative)x = hx > h
a·logb(x), a > 0Stretch vertically by a if a > 1; compress vertically by a if 0 < a < 1 (a negative a also reflects across the x-axis)x = 0x > 0
−logb(x)Reflect across the x-axis (curve now falls)x = 0x > 0
logb(−x)Reflect across the y-axisx = 0x < 0

Finding the domain is always the same one-line job: set the argument greater than zero and solve. For f(x) = log(3x − 12), require 3x − 12 > 0, so 3x > 12, so x > 4. Domain: (4, ∞), and the vertical asymptote is x = 4.

Here is one warning before you do this without thinking. When the variable has a negative coefficient, solving the domain inequality makes you divide by a negative number, and dividing (or multiplying) both sides of an inequality by a negative number reverses the inequality sign. For f(x) = log(8 − 2x), require 8 − 2x > 0, so −2x > −8, and dividing by −2 flips the sign: x < 4. The domain is (−∞, 4), with the asymptote still at x = 4, but now the curve lives to the left of it. Test a point to be sure: x = 0 gives log(8), which is defined, and 0 is indeed less than 4. ✓

A fully worked example

For f(x) = log2(x + 3) − 1, find the domain, the vertical asymptote, the x-intercept, and two more points to plot.

Step 1: Domain. The argument inside the log must be positive, so we need:

x + 3 > 0  →  x > −3.   Domain: (−3, ∞).

Step 2: Vertical asymptote. The asymptote sits where the argument equals zero: x + 3 = 0, so x = −3. (Notice the parent asymptote x = 0 moved left 3, matching the "+3" inside.)

Step 3: x-intercept. The graph crosses the x-axis where the output is zero, so set f(x) = 0 and solve:

log2(x + 3) − 1 = 0

Add 1 to both sides:   log2(x + 3) = 1

Change to exponential form:   x + 3 = 21 = 2

Subtract 3 from both sides:   x = 2 − 3 = −1

So the x-intercept is (−1, 0). Check: f(−1) = log2(−1 + 3) − 1 = log2(2) − 1 = 1 − 1 = 0. ✓

Step 4: Two more points. Choose x values that make x + 3 a power of 2, so that the logs come out as whole numbers.

Let x = −2:   f(−2) = log2(−2 + 3) − 1 = log2(1) − 1 = 0 − 1 = −1. Point: (−2, −1).

Let x = 1:   f(1) = log2(1 + 3) − 1 = log2(4) − 1 = 2 − 1 = 1. Point: (1, 1).

Step 5: Put it together. Draw the dashed vertical line x = −3, and plot (−2, −1), (−1, 0), and (1, 1). Then sketch a curve that dives down along the asymptote on the left and rises slowly to the right. The range is still all real numbers, because a shift up or down never changes that.

Here is one bonus feature worth noticing. Because the shift moved the asymptote to x = −3, the value x = 0 is now inside the domain, so this graph does have a y-intercept. Find it: f(0) = log2(0 + 3) − 1 = log2(3) − 1 ≈ 1.585 − 1 = 0.585, giving about (0, 0.585). The parent graph had no y-intercept, but a sideways shift can hand you one, so check the domain instead of reciting a rule.

The asymptote is not always the y-axis. People learn "the asymptote is x = 0" from the parent graph and then keep saying it after the graph has been shifted. Ask instead: what makes the inside of the log equal zero? That number is the asymptote, and the domain is everything on the side of it that keeps the argument positive.
Interactive Build the log graph by reflecting the exponential across y = x: live base and shift sliders, six tappable mirrored feature pairs, and a nine-step sketch worked out in full. Open full ↑
Key points
  • Parent graph y = logb(x): domain (0, ∞), range all reals, asymptote x = 0, passes through (1, 0) and (b, 1).
  • The parent graph has no y-intercept, but a sideways shift can create one, so check whether x = 0 is in the domain. The range is never limited.
  • Find the domain by setting the argument > 0; find the asymptote by setting the argument = 0.
  • Sideways shifts move the asymptote, but shifts up or down, stretches, and flips do not.

Section 4Properties of logarithms

Curves showing functions built from exponentiation and logarithms on a labeled coordinate grid
Reference. Functions built from exponents and logarithms; the two operations follow matching rules. Source and license: see the figure credits

Three rules, inherited from exponents

Because a logarithm is an exponent, every exponent rule you already know has a logarithm twin. There are three, and all of them assume M > 0, N > 0, b > 0, and b ≠ 1.

RuleStatementExponent rule behind itNumerical check
Productlogb(MN) = logb(M) + logb(N)bm·bn = bm+nlog2(8·4) = log2(32) = 5, and 3 + 2 = 5
Quotientlogb((M)/(N)) = logb(M) − logb(N)bm/bn = bm−nlog2(32/8) = log2(4) = 2, and 5 − 3 = 2
Powerlogb(Mp) = p·logb(M)(bm)p = bmplog2(43) = log2(64) = 6, and 3·2 = 6

Here is where the product rule comes from, in four lines. Let m = logb(M) and n = logb(N). Changing to exponential form, M = bm and N = bn. Multiply them: MN = bm·bn = bm+n. Change that back to logarithmic form: logb(MN) = m + n = logb(M) + logb(N). The quotient and power rules are proved the same way, from the matching exponent rule.

Notice the pattern in plain English: a product inside becomes a sum outside, a quotient inside becomes a difference outside, and an exponent inside becomes a number multiplied out front. That one sentence is the engine of Section 5.

Three ways to break the rules

These three errors cause most of the lost points on logarithm tests. Read them carefully once now, and you will spot them later.

Error 1: logb(M + N) is not logb(M) + logb(N). The product rule is about multiplying inside, not adding. Test it: log(5) + log(5) = log(25) by the product rule, but log(5 + 5) = log(10) = 1, and log(25) ≈ 1.3979. Those are different numbers, so the two expressions are truly not equal. A sum inside a logarithm cannot be broken apart at all.

Error 2: (logb(M))/(logb(N)) is not logb(M/N), and it is not logb(M) − logb(N) either. The quotient rule needs the dividing to happen inside one logarithm, but here the dividing happens outside, between two finished logarithms. Check with base 2, M = 8, and N = 2. The quotient is (log2(8))/(log2(2)) = 3/1 = 3, while log2(8/2) = log2(4) = 2, so they are not equal. Dividing two separate logarithms is a different operation entirely. In fact, that quotient is the change of base formula from Section 5, and it equals logN(M).

Error 3: (logb(M))2 is not 2·logb(M). The power rule only applies when the exponent is inside, on the argument. logb(M2) = 2·logb(M), but squaring the whole logarithm is something else. Check with M = 100, base 10: log(100) = 2, so (log(100))2 = 4, while log(1002) = log(10000) = 4 as well: here they happen to match, which is exactly why you cannot trust one example. Try M = 1000: (log(1000))2 = 32 = 9, but log(10002) = log(1000000) = 6. Not equal.

A fully worked example

Given log(2) ≈ 0.3010 and log(3) ≈ 0.4771, find log(72) without a calculator.

Step 1: Factor 72 into the numbers you were given, which are powers of 2 and powers of 3.

72 = 8 · 9 = 23 · 32

Step 2: Rewrite the logarithm using that factored form.

log(72) = log(23 · 32)

Step 3: Use the product rule (multiplying inside becomes adding outside):

log(23 · 32) = log(23) + log(32)

Step 4: Apply the power rule twice (exponents come out front):

= 3·log(2) + 2·log(3)

Step 5: Put in the values you were given for log(2) and log(3).

= 3(0.3010) + 2(0.4771)

Step 6: Multiply each value by the number in front of it.

3(0.3010) = 0.9030   and   2(0.4771) = 0.9542

Step 7: Add the two results together.

0.9030 + 0.9542 = 1.8572

So log(72) ≈ 1.8572.

Step 8: Check that it makes sense. Since 101 = 10 and 102 = 100, and 72 sits between 10 and 100, the answer must sit between 1 and 2. It does. (A calculator gives 1.85733, so we are right to three decimal places, and the small gap in the fourth place comes only from rounding in the values we were given.)

The properties only move things around, and they never create value. Every one of these rules can be run backward, and that gives you a free error check. If you expand an expression and then condense it back, you must land exactly where you started. When you do not, the mistake is usually a dropped negative sign in the quotient rule.
Interactive Prove the product, quotient, and power rules with stacks of factor tiles, then expand and condense six expressions one highlighted step at a time, with sliders that recompute every line to show they always stay equal. Open full ↑
Key points
  • Product: logb(MN) = logb(M) + logb(N).
  • Quotient: logb(M/N) = logb(M) − logb(N).
  • Power: logb(Mp) = p·logb(M).
  • All three require M > 0 and N > 0; a sum inside a logarithm can never be split apart.

Section 5Expanding and condensing

Logarithmic scales marked with numbered divisions, as used on a slide rule
Reference. Logarithm scales. Spacing numbers by their logarithms turns multiplying into adding. Source and license: see the figure credits

Expanding: taking one logarithm apart

Expanding means rewriting a single complicated logarithm as a sum and difference of simpler ones, with no products, quotients, or exponents left inside. Work from the outside in, and follow this order every time:

  1. Apply the quotient rule first, to split the big fraction into a difference.
  2. Use the product rule to split any multiplying that is left into sums.
  3. Apply the power rule to bring every exponent (including roots written as fractional exponents) out front.
  4. Evaluate any logarithm that comes out to a plain number.

Fully worked: expand log3((9x4)/(√y)), where x > 0 and y > 0.

Step 1: Use the quotient rule. One fraction inside becomes a subtraction outside:

log3((9x4)/(√y)) = log3(9x4) − log3(√y)

Step 2: Product rule on the first piece, since 9x4 is 9 times x4:

= log3(9) + log3(x4) − log3(√y)

Step 3: Rewrite the radical as a fractional exponent, because the power rule cannot see a radical sign:

= log3(9) + log3(x4) − log3(y1/2)

Step 4: Use the power rule on both terms that have a variable, so the exponents come out front:

= log3(9) + 4·log3(x) − ½·log3(y)

Step 5: Evaluate what you can. log3(9) = 2, because 32 = 9. Final answer:

2 + 4·log3(x) − ½·log3(y)

Watch the subtraction sign in Step 1. If the denominator had contained a product, say √y·z, then both resulting pieces would be subtracted, because the whole denominator is what gets taken away.

Condensing: squeezing several logarithms into one

Condensing runs the same machine backward; the goal is a single logarithm with a coefficient (number in front) of 1; the order reverses:

  1. Use the power rule first, moving every number in front up into an exponent. Nothing else can go on until every log has a coefficient of 1.
  2. Use the product rule to combine every term being added into one logarithm of a product.
  3. Use the quotient rule to move every term being subtracted into the denominator.

Fully worked: condense 3·log2(x) + ½·log2(y) − 2·log2(z).

Step 1: Use the power rule on all three terms. Each number in front becomes an exponent:

= log2(x3) + log2(y1/2) − log2(z2)

Step 2: Use the product rule on the two terms being added. Adding outside becomes multiplying inside:

= log2(x3 · y1/2) − log2(z2)

Step 3: Use the quotient rule. Subtracting outside becomes dividing inside:

= log2((x3 · y1/2)/(z2))

Step 4: Write the fractional exponent as a radical if you prefer:

= log2((x3√y)/(z2))

Step 5: Check by expanding it back. The quotient rule gives log2(x3y1/2) − log2(z2). The product rule gives log2(x3) + log2(y1/2) − log2(z2). The power rule gives 3·log2(x) + ½·log2(y) − 2·log2(z). We are back where we started. ✓

DirectionGoalOrder of rulesSignal in the problem
ExpandingMany simple logsQuotient → Product → Power"Write as a sum and/or difference"
CondensingOne single logPower → Product → Quotient"Write as a single logarithm"

Change of base

Your calculator has only two logarithm buttons, base 10 and base e, so what do you do with log5(89)? You change the base:

logb(M) = (logc(M))/(logc(b)) for any legal new base c

This is a fraction, so it is fair to ask when the denominator could be zero. It never can, because logc(b) = 0 would force b = 1, and b = 1 was already ruled out as a base back in Section 1. Both bases also have to stay positive, and M > 0 as always. So the formula works for every logarithm you are allowed to write in the first place.

In practice, c is 10 or e, which gives the two forms you will really type: logb(M) = (log(M))/(log(b)) or logb(M) = (ln(M))/(ln(b)). Both give the same number; here is a memory trick: the old base goes on the bottom.

Fully worked: evaluate log5(89) to four decimal places.

Step 1: Estimate first. 52 = 25 and 53 = 125. Since 89 sits between 25 and 125, the answer must sit between 2 and 3.

Step 2: Apply change of base with natural logs (old base 5 goes on the bottom):

log5(89) = (ln(89))/(ln(5))

Step 3: Find the value of each piece with the LN key on your calculator.

ln(89) ≈ 4.48864   and   ln(5) ≈ 1.60944

Step 4: Divide the top by the bottom.

4.48864 / 1.60944 ≈ 2.78895

Step 5: Round and check. log5(89) ≈ 2.7889, which lands between 2 and 3 exactly as predicted. Verify by reversing it: 52.7889 ≈ 89. ✓

One more use: solving equations, and checking for extraneous solutions

Condensing is the standard first move when an equation has two logarithms on one side. But logarithms have a domain limit, so the algebra can hand you an answer that the original equation cannot accept. Those are extraneous solutions (fake answers), and you must check for them every single time.

Fully worked: solve log5(x) + log5(x − 4) = 1.

Step 1: Note the domain up front. We need x > 0 and x − 4 > 0, so x > 4. Any answer at or below 4 will have to be thrown out.

Step 2: Condense the left side into one logarithm with the product rule:

log5(x(x − 4)) = 1

Step 3: Change to exponential form.

x(x − 4) = 51 = 5

Step 4: Distribute the x, and then set the equation equal to zero so that you can factor it.

x2 − 4x = 5  →  x2 − 4x − 5 = 0

Step 5: Factor. We need two numbers that multiply to −5 and add to −4: those are −5 and +1.

(x − 5)(x + 1) = 0  →  x = 5 or x = −1

Step 6: Test both answers against the domain. x = −1 fails, because log5(−1) is undefined, so it is extraneous and gets thrown out. x = 5 passes, since 5 > 4.

Step 7: Check the answer that is left in the original equation.

log5(5) + log5(5 − 4) = log5(5) + log5(1) = 1 + 0 = 1 ✓

The solution is x = 5, and only x = 5.

An extraneous solution is not a mistake, but a side effect. Condensing two logarithms into one quietly makes the domain bigger, because x(x − 4) is positive at x = −1, even though the two original logarithms were not defined there. The algebra is honest, but it answered a slightly bigger question. Checking every possible answer in the original equation is how you close that gap.
Interactive Your calculator has only two log buttons: drag the new base and watch the ratio refuse to move, then walk the power-rule derivation one highlighted step at a time and evaluate any logarithm with log or ln. Open full ↑
Key points
  • Expand with quotient → product → power; condense with power → product → quotient.
  • Rewrite radicals as fractional exponents before using the power rule.
  • Change of base: logb(M) = (ln(M))/(ln(b)) = (log(M))/(log(b)): the old base goes on the bottom.
  • Always check candidate solutions in the original equation and discard any that make an argument zero or negative.

The chapter in one breath

  • A logarithm is an exponent: logb(x) = y means by = x, and you can swap one form for the other.
  • The logarithm is the inverse of the exponential, so logb(bx) = x and blogb(x) = x.
  • The base must be positive and not 1. The argument must be positive, because a positive base raised to any power is positive.
  • log means base 10, and ln means base e. You can find most other logarithms by rewriting both sides with the same base.
  • The parent graph has domain (0, ∞), range all real numbers, and a vertical asymptote at x = 0, and it passes through (1, 0) and (b, 1). Only a sideways shift moves that asymptote.
  • Three properties do all the work: the product rule makes a sum, the quotient rule makes a difference, and the power rule brings a number out front.
  • A sum inside a logarithm cannot be split. A ratio of two logarithms is not the log of a quotient. Squaring a log is not the same as the power rule.
  • Change of base puts the old base on the bottom, and every logarithm equation ends with a check for extraneous solutions.

ReferenceWords worth knowing

Here is a quick list of the terms in this chapter. Skim it now, or come back whenever a word trips you up.

Argument
The quantity inside the logarithm. It must always be strictly greater than zero.
Asymptote, vertical
A vertical line the graph approaches without ever reaching. For y = logb(x − h) it is the line x = h.
Base
The number being raised to a power. In logb(x) it is b, and it must satisfy b > 0 and b ≠ 1.
Change-of-base formula
logb(M) = (logc(M))/(logc(b)). It lets a calculator find a logarithm of any base.
Common logarithm
A logarithm with base 10, written log(x) with the base left off.
Condensing
Combining a sum and difference of logarithms into one logarithm with a coefficient of 1.
Domain
The set of allowed inputs. For a logarithm function, it is every x that makes the argument positive.
e
The irrational constant that is about 2.718281828, the base of the natural logarithm.
Expanding
Rewriting one logarithm as a sum and difference of simpler logarithms with no products, quotients, or exponents inside.
Exponential form
The statement by = x, which means the same as the logarithmic form logb(x) = y.
Extraneous solution
A value that comes from correct algebra but fails in the original equation, usually because it makes a logarithm's argument zero or negative.
Inverse function
A function that undoes another. The logarithm and the exponential with the same base are inverses, and their graphs are mirror images across y = x.
Logarithm
The exponent to which a base must be raised to produce a given number: logb(x) = y means by = x.
Logarithmic form
The statement logb(x) = y, which means the same as the exponential form by = x.
Natural logarithm
A logarithm with base e, written ln(x).
One-to-one function
A function in which no two different inputs share an output. Exponential functions are one to one, which is why they have inverses.
Power rule
logb(Mp) = p·logb(M). An exponent inside becomes a number multiplied outside.
Product rule
logb(MN) = logb(M) + logb(N). Multiplying inside becomes adding outside.
Quotient rule
logb(M/N) = logb(M) − logb(N): division inside becomes subtraction outside.
Range
The set of possible outputs. For every parent logarithm function, it is all real numbers.
x-intercept
Where a graph crosses the x-axis. For y = logb(x) it is always (1, 0).

Check yourself

1. Rewrite 34 = 81 in logarithmic form, and say the result out loud in plain English.
log3(81) = 4. The base stays the base, and the exponent becomes the log's answer. In words: "4 is the power you raise 3 to in order to get 81."
2. Rewrite log7(49) = 2 in exponential form.
72 = 49. The base 7 stays the base, the answer 2 becomes the exponent, and the argument 49 is the result. Check: 7 · 7 = 49. ✓
3. Evaluate log2(32) by inspection.
5. Ask "2 to what power gives 32?" Count: 2, 4, 8, 16, 32, that is five doublings, so 25 = 32 and log2(32) = 5.
4. Evaluate log9(1/3). Show the steps.
−½. Let y = log9(1/3), so 9y = 1/3. Rewrite both sides base 3: (32)y = 3−1, so 32y = 3−1, giving 2y = −1 and y = −1/2. Check: 9−1/2 = 1/√9 = 1/3. ✓
5. Evaluate ln(e5) and 10log(12), and name the property you used.
ln(e5) = 5 and 10log(12) = 12. Both use the inverse link between the two: logb(bk) = k and blogb(x) = x. The log and the exponential with the same base cancel each other out.
6. Find the domain of f(x) = log4(3x − 12) and state its vertical asymptote.
Domain (4, ∞); vertical asymptote x = 4. Set the argument greater than zero: 3x − 12 > 0, so 3x > 12, so x > 4. The asymptote sits where the argument equals zero, at x = 4.
7. For y = log3(x − 5), give the vertical asymptote and the x-intercept.
Asymptote x = 5; x-intercept (6, 0). The graph is the parent shifted right 5, so the asymptote moves from x = 0 to x = 5. For the intercept set y = 0: log3(x − 5) = 0 → x − 5 = 30 = 1 → x = 6. Check: log3(1) = 0. ✓
8. Someone writes log(x + 5) = log(x) + log(5). Explain why that is wrong, and give an example with numbers that shows it fails (a counterexample).
The product rule works for multiplying inside, not adding: log(x) + log(5) equals log(5x), not log(x + 5). Here is a counterexample with x = 5. log(5 + 5) = log(10) = 1, but log(5) + log(5) = log(25) ≈ 1.3979. These are different numbers, so the statement is false. A sum inside a logarithm cannot be split apart at all.
9. Expand log2((8x3)/(y)) completely, assuming x > 0 and y > 0.
3 + 3·log2(x) − log2(y). Quotient rule: log2(8x3) − log2(y). Product rule: log2(8) + log2(x3) − log2(y). Power rule: log2(8) + 3·log2(x) − log2(y). Finally log2(8) = 3 because 23 = 8.
10. Condense 2·log(x) + log(y) − 3·log(z) into a single logarithm.
log((x2y)/(z3)). Power rule first: log(x2) + log(y) − log(z3). Product rule on the added terms: log(x2y) − log(z3). Quotient rule: log((x2y)/(z3)). Expand it back to confirm you land where you started.
11. Use the change-of-base formula to evaluate log3(20) to four decimal places, and estimate first.
≈ 2.7268. Estimate: 32 = 9 and 33 = 27, and 20 sits between them, so the answer is between 2 and 3. Now compute log3(20) = (ln(20))/(ln(3)) ≈ 2.99573 / 1.09861 ≈ 2.72683, which rounds to 2.7268. The old base 3 goes on the bottom.
12. Solve log2(x) + log2(x − 2) = 3, and state any extraneous solutions.
x = 4, and the value x = −2 is extraneous. Find the domain first: x > 0 and x − 2 > 0, so x > 2. Condense: log2(x(x − 2)) = 3. Change form: x2 − 2x = 23 = 8, so x2 − 2x − 8 = 0. Factor: (x − 4)(x + 2) = 0, which gives x = 4 or x = −2. Throw out −2, since log2(−2) is undefined. Check x = 4: log2(4) + log2(2) = 2 + 1 = 3. ✓