Quarry School

College Algebra / Logarithmic functions

Logarithmic functions

Subject: Mathematics

All 4 lessons, in order.

The unit at a glance

  1. What a logarithm asks

    Some questions run an exponent backward. 2 to what power is 8?

  2. Values you can find without a calculator

    Two values hold for every base. logb 1 = 0, because b⁰ = 1. logb b = 1, because b¹ = b.

  3. Common and natural logarithms

    Two bases are used so often that they have their own names and their own calculator keys.

  4. The logarithmic function, its domain and its graph

    The rule f(x) = logb x is a function: each positive input has one logarithm.

Rules (4)
  • What a logarithm asks

    For b > 0, b ≠ 1 and x > 0: logb x = y means exactly by = x.

  • Values you can find without a calculator

    For b > 0 and b ≠ 1: logb 1 = 0, logb b = 1, logb (bx) = x for every real x, and blogbx = x for every x > 0.

  • Common and natural logarithms

    log x = log10 x and ln x = loge x, each for x > 0. For every real x, log 10x = x and ln ex = x; for x > 0, 10logx = x and elnx = x.

  • The logarithmic function, its domain and its graph

    For b > 0 and b ≠ 1, f(x) = logb x has domain x > 0, range all real numbers, x-intercept (1, 0) and vertical asymptote x = 0. For b > 1 it rises from left to right; for 0 < b < 1 it falls. The domain of logb (g(x)) is the set of x with g(x) > 0.

Recipes (4)
  • What a logarithm asks
    1. Name the base, the exponent and the result.
    2. To write logarithmic form, put the exponent alone: logbase (result) = exponent.
    3. To write exponential form, raise the base to the logarithm's value: basevalue = the input.
    4. Check that the base is positive and not 1, and that the input of the logarithm is positive.
  • Values you can find without a calculator
    1. Write the input as a power of the base where you can: 81 = 3⁴, 125 = 5−2, 2 = 212.
    2. Read the exponent: logb (bx) = x.
    3. When the input is not an integer power of the base (as 81 = 3⁴ and 18 = 2−3 are), find the two consecutive integer powers it lies between: for b > 1, if bn < x < bn+1, then n < logb x < n + 1 (n is negative for an input between 0 and 1); for 0 < b < 1 the powers shrink as n grows, so bn+1 < x < bn gives n < logb x < n + 1.
  • Common and natural logarithms
    1. Read log with no base as base 10, and ln as base e.
    2. For an input that is a power of the base, read the exponent: log 10⁴ = 4, ln e−2 = −2.
    3. Otherwise use the LOG or LN key.
    4. Check by raising the base to the answer: 10answer or eanswer should give back the input.
  • The logarithmic function, its domain and its graph
    1. Find the domain: set the inside of the logarithm greater than 0 and solve.
    2. For a linear inside with a nonzero slope, such as x − h or a − x, mark the vertical asymptote where the inside equals 0: as x moves toward that line from the domain side, the inside shrinks to 0 through positive values and the logarithm grows without bound in size.
    3. Mark the point where the inside equals 1 (the logarithm there is 0, so the output is whatever is added after the logarithm) and the point where the inside equals b (the logarithm there is 1).
    4. For logb (x − h) with b > 1, draw the curve rising steeply immediately to the right of the asymptote and flattening as x grows; with 0 < b < 1 it falls instead. When the inside is a − x, the curve is the mirror image across the asymptote, so each direction reverses.
Traps (4)

Lesson 1 of 4

What a logarithm asks

Subject: MathematicsLeans on: Negative exponentsLeans on: Powers of 10Open this lesson
Leans on 0Comes back in 0

1 In plain words

Some questions run an exponent backward. 2 to what power is 8? The answer, 3, is the logarithm of 8 to base 2, written log2 8 = 3. A logarithm is an exponent: logb x is the power you raise b to in order to get x. It works like a chain message in which each person sends it to two new people: starting from one sender, round 1 reaches 2 people, round 2 reaches 4 and round 3 reaches 8, so the round that reaches 8 people is round log2 8 = 3. The base b is a positive number other than 1, and x must be positive, because a positive base raised to any power gives a positive result.

2 Picture it

input youtput 2^y−21/4−11/201122438
Powers of 2 read backward: log2 of each output is the input above it.

Reminder

Reminder: Negative exponents, Powers of 10
  • Negative exponents. On a nonzero base, b−n = 1bn: 10−2 = 1100 = 0.01.
  • Powers of 10. 10ⁿ for a positive whole number n is 1 followed by n zeros: 103 = 1,000.

3 Why

The exponential function bx with b > 0 and b ≠ 1 gives each positive output for exactly one input, so the question 'b to what power is x?' has one answer for each positive x. That answer is logb x. A base of 1 is ruled out because 1 to every power is 1, so the question would have no answer for x = 5 and every answer for x = 1. A negative x has no answer, because by is positive for every y.

4 The rule

For b > 0, b≠1 and x > 0: logbx=y means exactly by=x.

The same idea, other ways

As two forms of one fact

23 = 8 and log2 8 = 3 say the same thing. The first is the exponential form, which gives the result of a power; the second is the logarithmic form, which gives the exponent. The base stays the base in both.

exponential form: 23 = 8

logarithmic form: log2 8 = 3

the base is 2 in both

With small numbers

Powers of 10: 10¹ = 10, 102 = 100, 103 = 1,000. So log10 10 = 1, log10 100 = 2, log10 1,000 = 3. For these powers of 10 the logarithm is the number of zeros, because each zero is one more factor of 10.

input xoutput log₁₀ x10101100210003100004
For these powers of 10, log10 x is the exponent on 10, here the number of zeros.
As a question

Read log3 81 as a question: 3 to what power is 81? Try powers: 3¹ = 3, 32 = 9, 33 = 27, 3⁴ = 81. The answer is 4, so log3 81 = 4.

5 How

  1. Name the base, the exponent and the result.
  2. To write logarithmic form, put the exponent alone: logbase (result) = exponent.
  3. To write exponential form, raise the base to the logarithm's value: basevalue = the input.
  4. Check that the base is positive and not 1, and that the input of the logarithm is positive.

6 Worked example

Worked example

Both forms of one fact

Write 52 = 25 in logarithmic form, and write log4 64 = 3 in exponential form. In plain words: turn a power into a logarithm, then a logarithm into a power.

Show the steps and the answer
  1. In 52=25 the base is 5, the exponent is 2 and the result is 25.Naming the three parts first keeps them in the right places.
  2. log525=2.The logarithm gives the exponent: 5 to the power 2 is 25.
  3. In log464=3 the base is 4, the value 3 is an exponent, and 64 is the result.A logarithm's value is always the exponent.
  4. 43=64.Raise the base to the logarithm's value to get the input.
Answer
  • log5 25 = 2
  • 43=64
Double-check 5 · 5 = 25 and 4 · 4 · 4 = 64, so both facts are true.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

Power to logarithm

Write 2⁵ = 32 in logarithmic form.

Show the steps and the answer
  1. The base is 2, the exponent is 5, the result is 32.Naming the base, the exponent and the result shows where each goes in logarithmic form.
  2. log232=5.The logarithm to base 2 of the result is the exponent.
Answer
log2 32 = 5
Double-check 2 · 2 · 2 · 2 · 2 = 32, so 2 to the power 5 is 32.

Rung 2 of 4

Logarithm to power

Write log10 0.001 = −3 in exponential form.

Show the steps and the answer
  1. The base is 10, the value −3 is the exponent, and 0.001 is the result.A logarithm's value is the exponent.
  2. 10−3=0.001.Raise the base to the value.
Answer
10−3=0.001
Double-check 10−3=1103=11,000=0.001.

Rung 3 of 4

A value by trying powers

Find log6 216.

Show the steps and the answer
  1. Ask: 6 to what power is 216?A logarithm is the exponent that gives its input.
  2. 61=6,62=36,63=216.Multiply by 6 until 216 appears.
  3. log6216=3.The power that gives 216 is 3.
Answer
3
Double-check 6 · 6 · 6 = 216.

Rung 4 of 4

A fraction as the input

Find log2 116.

Show the steps and the answer
  1. Ask: 2 to what power is 116?The question a logarithm asks.
  2. 24=16, so 2−4=12⁴=116.A negative exponent means one over the positive power.
  3. log2116=−4.The power that gives 116 is −4.
Answer
−4
Double-check 2−4 = 116: 16 · 116 = 1 and 2⁴ · 2−4 = 2⁰ = 1.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: log2 8 = 3 means 32 = 8.
That makes 3 the base. 32 is 9.
✓ Instead: log2 8 = 3 means 23 = 8.
✗ Not this: log10 (−100) = −2.
10−2 = 0.01, a positive number. No power of 10 is negative.
✓ Instead: log10 (−100) has no real value.

Tips and tricks

  • A logarithm is an exponent.
  • Base stays base: logb x = y is by = x.
  • The input of a logarithm is positive; the value can be any real number.

7 The trap

Swapping the parts. log2 8 = 3 is 23 = 8, not 32 = 8 or 83 = 2. The base of the logarithm is the base of the power, and the logarithm's value is the exponent.

Flash cards

Say the answer out loud, then flip.

What does logb x = y mean as a power?
by = x, with b > 0, b ≠ 1 and x > 0.
Write 3⁴ = 81 in logarithmic form.
log3 81 = 4.
Why does log10 0 have no value?
No power of 10 equals 0: 10y is positive for every y.

Lesson 2 of 4

Values you can find without a calculator

Subject: MathematicsLeans on: Roots as powersLeans on: Zero exponentOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Two values hold for every base. logb 1 = 0, because b⁰ = 1. logb b = 1, because b¹ = b. And a logarithm undoes its own base's power: logb (bx) = x, because the exponent that turns b into bx is x. Going the other way, blogbx = x for x > 0: raise b to the power that makes x, and you get x. These two facts say the logarithm and the exponential function with the same base undo each other, the way tying a knot and untying it do.

2 Picture it

log2 (25) = 5

2log232 = 32

log2 1 = 0 and log2 2 = 1

Reminder

Reminder: Roots as powers, Zero exponent
  • Roots as powers. On a positive base, b = b12 and ∛{b} = b13.
  • Zero exponent. b⁰ = 1 for any base other than 0.

3 Why

Each fact is the definition read once. logb 1 asks which power of b is 1, and only b⁰ = 1 for a base other than 1. logb (bx) asks which power of b is bx, and the answer is x. blogbx raises b to the very power that gives x. Because by grows as y grows when b > 1, a number between two powers of b has its logarithm between their exponents.

4 The rule

For b > 0 and b≠1: logb1=0, logbb=1, logb(bx)=x for every real x, and blogbx=x for every x > 0.

The same idea, other ways

With small numbers

log7 1 = 0, log7 7 = 1, log7 7⁵ = 5, and 7log720 = 20. None of these needs a calculator: each is a statement about which exponent goes with which power.

logb 1 = 0

logb b = 1

logb (bx) = x

blogbx = x for x > 0

Between powers

log2 10 is not a whole number, but you can trap it: 23 = 8 and 2⁴ = 16, and 10 lies between 8 and 16. So log2 10 lies between 3 and 4. A calculator gives about 3.32.

input youtput 2^y2438416532
10 lies between 23 = 8 and 2⁴ = 16, so log2 10 lies between 3 and 4.

5 How

  1. Write the input as a power of the base where you can: 81 = 3⁴, 125 = 5−2, 2 = 212.
  2. Read the exponent: logb (bx) = x.
  3. When the input is not an integer power of the base (as 81 = 3⁴ and 18 = 2−3 are), find the two consecutive integer powers it lies between: for b > 1, if bn < x < bn+1, then n < logb x < n + 1 (n is negative for an input between 0 and 1); for 0 < b < 1 the powers shrink as n grows, so bn+1 < x < bn gives n < logb x < n + 1.

6 Worked example

Worked example

A root as a power

Find log9 3 and log5 5. In plain words: write each input as a power of its base.

Show the steps and the answer
  1. 3=9=912.A square root is the power 12 on a positive base.
  2. log93= log9912=12.A logarithm undoes its own base's power.
  3. 5=512, so log55=12.The same fact with base 5.
Answer
  • log9 3 = 12
  • log5 5 = 12
Double-check 912 = 9 = 3 and 512 = 5, so both values give back their inputs.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

The two values every base has

Find log8 1 and log8 8.

Show the steps and the answer
  1. log81=0.8⁰ = 1.
  2. log88=1.8¹ = 8.
Answer
0 and 1
Double-check 8⁰ = 1 and 8¹ = 8.

Rung 2 of 4

Undo a power

Find log4 42.5 and 6log611.

Show the steps and the answer
  1. log442.5=2.5.A logarithm undoes its own base's power.
  2. 6log611=11.Raising 6 to the power that makes 11 gives 11.
Answer
2.5 and 11
Double-check 42.5 = (4)5 = 2⁵ = 32, and log4 32 = 2.5 because 42.5 = 32; log6 11 is the exponent that turns 6 into 11, so 6 to that power is 11.

Rung 3 of 4

A negative value

Find log5 1125.

Show the steps and the answer
  1. 125=53, so 1125=5−3.One over a power is the negative power.
  2. log51125=−3.The exponent of the power of 5.
Answer
−3
Double-check 5−3=153=1125.

Rung 4 of 4

Trap a value between whole numbers

Between which two whole numbers does log3 50 lie?

Show the steps and the answer
  1. 33=27 and 34=81.List powers of 3 around 50.
  2. 27 < 50 < 81.50 lies between the third and fourth powers.
  3. So 3 < log3 50 < 4.For a base greater than 1, a larger input has a larger logarithm.
Answer
Between 3 and 4
Double-check 33 = 27 is less than 50 and 3⁴ = 81 is more, so log3 50 lies between 3 and 4.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: log4 1 = 1.
4¹ = 4, not 1.
✓ Instead: log4 1 = 0, because 4⁰ = 1.
✗ Not this: log2 2x = 2x.
The logarithm returns the exponent, not the base times the exponent.
✓ Instead: log2 2x = x.

Tips and tricks

  • logb 1 = 0 and logb b = 1.
  • Same base: the logarithm and the power undo each other.
  • No calculator: write the input as a power of the base.

7 The trap

Reading logb 1 as 1. The logarithm of 1 is 0 in every base, because b⁰ = 1. It is logb b that equals 1.

Flash cards

Say the answer out loud, then flip.

What is logb 1 for any allowed base b?
0, because b⁰ = 1.
Simplify log3 37.
7, because the logarithm undoes its own base's power.
Simplify 10log1042.
42.

Lesson 3 of 4

Common and natural logarithms

Subject: MathematicsLeans on: The number eLeans on: Same base undoesOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Two bases are used so often that they have their own names and their own calculator keys. The common logarithm has base 10 and is written log x with no base shown: log 1,000 = 3. The natural logarithm has base e ≈ 2.718 and is written ln x: ln e = 1. They are like the two most-used tools on a workbench, kept within reach while the others stay in the drawer: a calculator's LOG key gives log x and its LN key gives ln x.

2 Picture it

input xoutput log x0.01−20.1−1101011002
Common logarithms of powers of 10: each value is the exponent.

Reminder

Reminder: The number e, Same base undoes
  • The number e. e ≈ 2.718281828, the base of continuous growth.
  • Same base undoes. logb (bx) = x and blogbx = x for x > 0.

3 Why

Common and natural logarithms are the logarithms of the last two lessons with the base 10 or e filled in, so every fact holds for them: log 1 = ln 1 = 0, log 10 = 1, ln e = 1, log 10x = x and ln ex = x. The calculator keys exist because these two bases are the ones science, finance and engineering use most.

4 The rule

log x= log10 x and ln x= loge x, each for x > 0.

For every real x, log 10x=x and ln ex=x; for x > 0, 10logx=x and elnx=x.

The same idea, other ways

With small numbers

log 100 = 2 because 102 = 100. log 0.1 = −1 because 10−1 = 0.1. ln 1 = 0 because e⁰ = 1. ln e2 = 2 because the natural logarithm undoes a power of e.

log 100 = 2

log 0.1 = −1

ln 1 = 0

ln e2 = 2

With a calculator

log 500 ≈ 2.69897, so 102.69897 ≈ 500. ln 7 ≈ 1.94591, so e1.94591 ≈ 7. Raising the base to the calculator's rounded answer brings back the input approximately, which is a quick check on any logarithm you look up.

Where you meet them

Base 10 matches how numbers are written, so the common logarithm tells how many digits a number has: for x ≥ 1, the digits before the decimal point number one more than the whole part of log x, so a number with 4 digits before the point has a common logarithm from 3 up to but not including 4. Base e matches continuous growth, so the natural logarithm undoes the ert of the last unit's continuous compounding.

5 How

  1. Read log with no base as base 10, and ln as base e.
  2. For an input that is a power of the base, read the exponent: log 10⁴ = 4, ln e−2 = −2.
  3. Otherwise use the LOG or LN key.
  4. Check by raising the base to the answer: 10answer or eanswer should give back the input.

6 Worked example

Worked example

Look up and check

Find log 45 and ln 45 to four decimal places, and check each. In plain words: use the LOG and LN keys, then raise each base to its answer.

Show the steps and the answer
  1. log 45≈1.6532.The LOG key gives the common logarithm, rounded to four decimals.
  2. ln 45≈3.8067.The LN key gives the natural logarithm.
  3. 101.6532125≈45 and e3.8066625≈45.Raising each base to its answer kept to seven decimals gives about 44.99999857 and 45.00000046, both 45.0000 to four decimals.
Answer
  • log 45 ≈ 1.6532
  • ln 45 ≈ 3.8067
Double-check Rounded to four decimals, 1.6532125 is 1.6532 and 3.8066625 is 3.8067; and 101.6532125 ≈ 45.0000 and e3.8066625 ≈ 45.0000.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

A power of 10

Find log 10,000.

Show the steps and the answer
  1. 10,000=104.Four zeros, four factors of 10.
  2. log 10,000=4.The common logarithm of 10⁴ is 4.
Answer
4
Double-check 10⁴ = 10,000.

Rung 2 of 4

A power of e

Find ln e−3.

Show the steps and the answer
  1. ln e−3=−3.The natural logarithm undoes a power of e.
  2. The value is negative, which is allowed.A logarithm's input must be positive, and e−3 ≈ 0.0498 is positive; its value may be negative.
Answer
−3
Double-check e−3 ≈ 0.0498, and e raised to −3 gives it back.

Rung 3 of 4

A decimal input

Find log 0.004 to four decimal places.

Show the steps and the answer
  1. log 0.004≈−2.3979.Use the LOG key.
  2. The answer lies between −3 and −2.0.004 lies between 10−3 = 0.001 and 10−2 = 0.01.
Answer
−2.3979
Double-check 10−2.3979400≈0.004.

Rung 4 of 4

Undo e

Simplify eln12 and ln e0.05.

Show the steps and the answer
  1. eln12=12.e raised to the power that makes 12 gives 12.
  2. ln e0.05=0.05.ln undoes a power of e.
Answer
12 and 0.05
Double-check ln 12 ≈ 2.48491 and e2.48491 ≈ 12.000; e0.05 ≈ 1.05127 and ln 1.05127 ≈ 0.05000.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: ln 100 = 2.
ln has base e, and e2 ≈ 7.39, not 100.
✓ Instead: log 100 = 2; ln 100 ≈ 4.605.
✗ Not this: log (−5) ≈ 0.699.
0.699 is about log 5. No power of 10 is negative.
✓ Instead: log (−5) has no real value.

Tips and tricks

  • log is base 10; ln is base e.
  • Check a logarithm by raising its base to the answer.
  • Digits before the point minus 1 is the whole part of log x for x ≥ 1.

7 The trap

Reading log x as base e, or ln x as base 10. In this unit log with no base is base 10 and ln is base e: log 100 = 2, but ln 100 ≈ 4.605.

Flash cards

Say the answer out loud, then flip.

What base does log x have when no base is written?
10.
What is ln e?
1, because e¹ = e.
Simplify eln9.
9.

Lesson 4 of 4

The logarithmic function, its domain and its graph

Subject: MathematicsLeans on: Solving a linear inequalityLeans on: Inverse graphsOpen this lesson
Leans on 0Comes back in 0

1 In plain words

The rule f(x) = logb x is a function: each positive input has one logarithm. Its graph is the graph of y = bx flipped across the line y = x, because the logarithm undoes the power: every point (a, c) of y = bx becomes the point (c, a) of y = logb x. Picture a road map and the same map held up to a mirror placed along y = x: every landmark moves to the swapped position. So the exponential graph's horizontal asymptote y = 0 becomes the vertical asymptote x = 0, its y-intercept (0, 1) becomes the x-intercept (1, 0), and its range of positive numbers becomes the logarithm's domain, x > 0.

2 Picture it

−4−22468−4−22468−4−22468−4−22468
y = log2 x (solid) and y = 2x (dashed) are mirror images across the line y = x.

Reminder

Reminder: Solving a linear inequality, Inverse graphs
  • Solving a linear inequality. x + 4 > 0 gives x > −4; 5 − x > 0 gives x < 5. Multiplying or dividing by a negative number turns the sign around.
  • Inverse graphs. The graph of an inverse function is the graph of the function flipped across the line y = x: (a, c) becomes (c, a).

3 Why

A logarithm is defined only for a positive input, so the domain of logb x is x > 0, and the domain of logb (g(x)) is every x where g(x) > 0. Every real number is a logarithm of some positive number, since logb (by) = y, so the range is all real numbers. The graph is the exponential graph flipped across y = x because the two functions undo each other: if ba = c, then logb c = a.

4 The rule

For b > 0 and b≠1,f(x)= logb x has domain x > 0, range all real numbers, x-intercept (1, 0) and vertical asymptote x=0.

For b > 1 it rises from left to right; for 0 < b < 1 it falls. The domain of logb (g(x)) is the set of x with g(x) > 0.

The same idea, other ways

As a picture

Draw y = log2 x. It passes (1, 0), (2, 1), (4, 2) and (12, −1), rises slowly to the right, and drops toward the y-axis without touching it as x moves toward 0.

(1, 0)(2, 1)(4, 2)2468−4−224
y = log2 x passes (1, 0), (2, 1) and (4, 2); the y-axis, x = 0, is its vertical asymptote.
As a swap of a table

y = 2x pairs x = −1, 0, 1, 2 with 12, 1, 2, 4. Swap the rows and you have y = log2 x pairing 12, 1, 2, 4 with −1, 0, 1, 2. The outputs of one are the inputs of the other.

input xoutput log₂ x1/2−110214283
y = log2 x: the rows of y = 2x swapped.
With a shift

y = log2 (x − 3) moves the graph 3 units right. Its inside must be positive, so x − 3 > 0 and the domain is x > 3. The asymptote moves too, to x = 3.

(4, 0)(5, 1)2610−4−224
y = log2 (x − 3): the curve moves 3 units right, and its vertical asymptote is the line x = 3.

5 How

  1. Find the domain: set the inside of the logarithm greater than 0 and solve.
  2. For a linear inside with a nonzero slope, such as x − h or a − x, mark the vertical asymptote where the inside equals 0: as x moves toward that line from the domain side, the inside shrinks to 0 through positive values and the logarithm grows without bound in size.
  3. Mark the point where the inside equals 1 (the logarithm there is 0, so the output is whatever is added after the logarithm) and the point where the inside equals b (the logarithm there is 1).
  4. For logb (x − h) with b > 1, draw the curve rising steeply immediately to the right of the asymptote and flattening as x grows; with 0 < b < 1 it falls instead. When the inside is a − x, the curve is the mirror image across the asymptote, so each direction reverses.

6 Worked example

Worked example

Domain and asymptote of a shifted logarithm

Find the domain, the vertical asymptote and the x-intercept of f(x) = log (x + 4). In plain words: the inside must be positive; find where it is 0 and where it is 1.

Show the steps and the answer
  1. x+4>0, so x>−4.The input of a logarithm must be positive.
  2. The vertical asymptote is x=−4.As x moves toward −4 from the right, x + 4 shrinks toward 0 through positive values and log (x + 4) falls without bound, so the graph runs down beside the line x = −4.
  3. x+4=1 gives x=−3, so the x-intercept is (−3,0).log 1 = 0, so the output is 0 where the inside is 1.
Answer
  • Domain x > −4
  • asymptote x = −4
  • x-intercept (−3, 0)
Double-check x + 4 > 0 exactly when x > −4; as x moves toward −4 from the right, x + 4 shrinks toward 0 through positive values and log (x + 4) falls without bound; and f(−3) = log 1 = 0, f(6) = log 10 = 1.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

The plain domain

What is the domain of f(x) = ln x?

Show the steps and the answer
  1. ln x needs x > 0.The input of a logarithm must be positive.
  2. The domain is x > 0, written (0,∞).Every positive number has a natural logarithm.
Answer
x > 0
Double-check ln x is defined exactly when x > 0, because the values of ey are exactly the positive numbers.

Rung 2 of 4

A reflected inside

Find the domain of g(x) = log3 (5 − x).

Show the steps and the answer
  1. 5−x>0.The inside must be positive.
  2. 5 > x, so x < 5.Add x to both sides.
Answer
x < 5
Double-check 5 − x > 0 for every x < 5 and 5 − x ≤ 0 for every x ≥ 5; for example, g(4) = log3 1 = 0.

Rung 3 of 4

Points of a graph

Give three points of y = log5 x.

Show the steps and the answer
  1. y=0 at x=1.log5 1 = 0.
  2. y=1 at x=5.log5 5 = 1.
  3. y=−1 at x=15.log5 15 = −1.
Answer
(1,0),(5,1),(15,−1)
Double-check 5⁰ = 1, 5¹ = 5 and 5−1 = 15.

Rung 4 of 4

A shifted logarithm

For h(x) = log2 (x − 1) + 3, find the domain, the asymptote and the value at x = 9.

Show the steps and the answer
  1. x−1>0, so x > 1.The inside must be positive.
  2. The asymptote is x=1.As x moves toward 1 from the right, x − 1 shrinks toward 0 through positive values, log2 (x − 1) falls without bound, and adding 3 keeps it falling.
  3. h(9)= log28+3=3+3=6.9−1=8=23.
Answer
  • Domain x > 1
  • asymptote x = 1
  • h(9) = 6
Double-check x − 1 > 0 exactly when x > 1; as x moves toward 1 from the right, log2 (x − 1) falls without bound and adding 3 keeps it falling; and 2h(9)−3 = 23 = 8 = 9 − 1.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The domain of log2 (x − 3) is x > 0.
At x = 2 the inside is −1, and log2 (−1) has no value.
✓ Instead: x − 3 > 0, so x > 3.
✗ Not this: The graph of y = log x crosses the y-axis at (0, 0).
log 0 has no value, so the graph has no point with x = 0.
✓ Instead: It crosses the x-axis at (1, 0) and has the y-axis as its asymptote.

Tips and tricks

  • Inside > 0 gives the domain.
  • For a linear inside with a nonzero slope, inside = 0 gives the asymptote.
  • Inside = 1 makes the logarithm 0.

7 The trap

Taking the domain as x > 0 for every logarithm. The condition is on the inside: log (x + 4) is defined for x > −4, and log (5 − x) for x < 5.

Flash cards

Say the answer out loud, then flip.

What is the domain of logb x?
x > 0.
Where is the vertical asymptote of y = log (x − 2)?
x = 2, where the inside is 0.
Which point lies on y = logb x for every allowed base b?
(1, 0), because logb 1 = 0.