College Algebra / Logarithmic functions
Logarithmic functions
All 4 lessons, in order.
The unit at a glance
- What a logarithm asks
Some questions run an exponent backward. 2 to what power is 8?
- Values you can find without a calculator
Two values hold for every base. lo 1 = 0, because b⁰ = 1. lo b = 1, because b¹ = b.
- Common and natural logarithms
Two bases are used so often that they have their own names and their own calculator keys.
- The logarithmic function, its domain and its graph
The rule f(x) = lo x is a function: each positive input has one logarithm.
Rules (4)
- What a logarithm asks
For b > 0, b ≠ 1 and x > 0: lo x = y means exactly = x.
- Values you can find without a calculator
For b > 0 and b ≠ 1: lo 1 = 0, lo b = 1, lo () = x for every real x, and = x for every x > 0.
- Common and natural logarithms
log x = lo x and ln x = lo x, each for x > 0. For every real x, log = x and ln = x; for x > 0, = x and = x.
- The logarithmic function, its domain and its graph
For b > 0 and b ≠ 1, f(x) = lo 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 lo (g(x)) is the set of x with g(x) > 0.
Recipes (4)
- What a logarithm asks
- Name the base, the exponent and the result.
- To write logarithmic form, put the exponent alone: lo (result) = exponent.
- To write exponential form, raise the base to the logarithm's value: bas = the input.
- 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
- Write the input as a power of the base where you can: 81 = 3⁴, = , = .
- Read the exponent: lo () = x.
- When the input is not an integer power of the base (as 81 = 3⁴ and = are), find the two consecutive integer powers it lies between: for b > 1, if < x < , then n < lo x < n + 1 (n is negative for an input between 0 and 1); for 0 < b < 1 the powers shrink as n grows, so < x < gives n < lo x < n + 1.
- Common and natural logarithms
- Read log with no base as base 10, and ln as base e.
- For an input that is a power of the base, read the exponent: log 10⁴ = 4, ln = −2.
- Otherwise use the LOG or LN key.
- Check by raising the base to the answer: or should give back the input.
- The logarithmic function, its domain and its graph
- Find the domain: set the inside of the logarithm greater than 0 and solve.
- 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.
- 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).
- For lo (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)
- What a logarithm asks
Swapping the parts. lo 8 = 3 is = 8, not = 8 or = 2. The base of the logarithm is the base of the power, and the logarithm's value is the exponent.
- Values you can find without a calculator
Reading lo 1 as 1. The logarithm of 1 is 0 in every base, because b⁰ = 1. It is lo b that equals 1.
- Common and natural logarithms
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.
- The logarithmic function, its domain and its graph
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.
Lesson 1 of 4
What a logarithm asks
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
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 lo 8 = 3. A logarithm is an exponent: lo 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 lo 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
Reminder
Reminder: Negative exponents, Powers of 10
- Negative exponents. On a nonzero base, = : = = 0.01.
- Powers of 10. 10ⁿ for a positive whole number n is 1 followed by n zeros: = 1,000.
3 Why
The exponential function 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 lo 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 is positive for every y.
4 The rule
For b > 0, and x > 0: lo means exactly .
The same idea, other ways
= 8 and lo 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: = 8
logarithmic form: lo 8 = 3
the base is 2 in both
Powers of 10: 10¹ = 10, = 100, = 1,000. So lo 10 = 1, lo 100 = 2, lo 1,000 = 3. For these powers of 10 the logarithm is the number of zeros, because each zero is one more factor of 10.
Read lo 81 as a question: 3 to what power is 81? Try powers: 3¹ = 3, = 9, = 27, 3⁴ = 81. The answer is 4, so lo 81 = 4.
5 How
- Name the base, the exponent and the result.
- To write logarithmic form, put the exponent alone: lo (result) = exponent.
- To write exponential form, raise the base to the logarithm's value: bas = the input.
- 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 = 25 in logarithmic form, and write lo 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
- In the base is 5, the exponent is 2 and the result is 25.Naming the three parts first keeps them in the right places.
- lo.The logarithm gives the exponent: 5 to the power 2 is 25.
- In lo the base is 4, the value 3 is an exponent, and 64 is the result.A logarithm's value is always the exponent.
- .Raise the base to the logarithm's value to get the input.
- lo 25 = 2
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
- 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.
- lo.The logarithm to base 2 of the result is the exponent.
Rung 2 of 4
Logarithm to power
Write lo 0.001 = −3 in exponential form.
Show the steps and the answer
- The base is 10, the value is the exponent, and 0.001 is the result.A logarithm's value is the exponent.
- .Raise the base to the value.
Rung 3 of 4
A value by trying powers
Find lo 216.
Show the steps and the answer
- Ask: 6 to what power is 216?A logarithm is the exponent that gives its input.
- .Multiply by 6 until 216 appears.
- lo.The power that gives 216 is 3.
Rung 4 of 4
A fraction as the input
Find lo .
Show the steps and the answer
- Ask: 2 to what power is ?The question a logarithm asks.
- , so .A negative exponent means one over the positive power.
- lo.The power that gives is −4.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- A logarithm is an exponent.
- Base stays base: lo x = y is = x.
- The input of a logarithm is positive; the value can be any real number.
7 The trap
Swapping the parts. lo 8 = 3 is = 8, not = 8 or = 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 lo x = y mean as a power?
Write 3⁴ = 81 in logarithmic form.
Why does lo 0 have no value?
Lesson 2 of 4
Values you can find without a calculator
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
1 In plain words
Two values hold for every base. lo 1 = 0, because b⁰ = 1. lo b = 1, because b¹ = b. And a logarithm undoes its own base's power: lo () = x, because the exponent that turns b into is x. Going the other way, = 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
lo () = 5
= 32
lo 1 = 0 and lo 2 = 1
Reminder
Reminder: Roots as powers, Zero exponent
- Roots as powers. On a positive base, = and ∛{b} = .
- Zero exponent. b⁰ = 1 for any base other than 0.
3 Why
Each fact is the definition read once. lo 1 asks which power of b is 1, and only b⁰ = 1 for a base other than 1. lo () asks which power of b is , and the answer is x. raises b to the very power that gives x. Because 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 : lo, lo, lo for every real x, and for every x > 0.
The same idea, other ways
lo 1 = 0, lo 7 = 1, lo 7⁵ = 5, and = 20. None of these needs a calculator: each is a statement about which exponent goes with which power.
lo 1 = 0
lo b = 1
lo () = x
= x for x > 0
lo 10 is not a whole number, but you can trap it: = 8 and 2⁴ = 16, and 10 lies between 8 and 16. So lo 10 lies between 3 and 4. A calculator gives about 3.32.
5 How
- Write the input as a power of the base where you can: 81 = 3⁴, = , = .
- Read the exponent: lo () = x.
- When the input is not an integer power of the base (as 81 = 3⁴ and = are), find the two consecutive integer powers it lies between: for b > 1, if < x < , then n < lo x < n + 1 (n is negative for an input between 0 and 1); for 0 < b < 1 the powers shrink as n grows, so < x < gives n < lo x < n + 1.
6 Worked example
Worked example
A root as a power
Find lo 3 and lo . In plain words: write each input as a power of its base.
Show the steps and the answer
- .A square root is the power on a positive base.
- lo lo.A logarithm undoes its own base's power.
- , so lo.The same fact with base 5.
- lo 3 =
- lo =
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 lo 1 and lo 8.
Show the steps and the answer
- lo.8⁰ = 1.
- lo.8¹ = 8.
Rung 2 of 4
Undo a power
Find lo and .
Show the steps and the answer
- lo.A logarithm undoes its own base's power.
- .Raising 6 to the power that makes 11 gives 11.
Rung 3 of 4
A negative value
Find lo .
Show the steps and the answer
- , so .One over a power is the negative power.
- lo.The exponent of the power of 5.
Rung 4 of 4
Trap a value between whole numbers
Between which two whole numbers does lo 50 lie?
Show the steps and the answer
- and .List powers of 3 around 50.
- 27 < 50 < 81.50 lies between the third and fourth powers.
- So 3 < lo 50 < 4.For a base greater than 1, a larger input has a larger logarithm.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- lo 1 = 0 and lo 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 lo 1 as 1. The logarithm of 1 is 0 in every base, because b⁰ = 1. It is lo b that equals 1.
Flash cards
Say the answer out loud, then flip.
What is lo 1 for any allowed base b?
Simplify lo .
Simplify .
Lesson 3 of 4
Common and natural logarithms
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
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
Reminder
Reminder: The number e, Same base undoes
- The number e. e ≈ 2.718281828, the base of continuous growth.
- Same base undoes. lo () = x and = 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 = x and ln = x. The calculator keys exist because these two bases are the ones science, finance and engineering use most.
4 The rule
log lo x and ln lo x, each for x > 0.
For every real x, log and ln ; for x > 0, and .
The same idea, other ways
log 100 = 2 because = 100. log 0.1 = −1 because = 0.1. ln 1 = 0 because e⁰ = 1. ln = 2 because the natural logarithm undoes a power of e.
log 100 = 2
log 0.1 = −1
ln 1 = 0
ln = 2
log 500 ≈ 2.69897, so ≈ 500. ln 7 ≈ 1.94591, so ≈ 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.
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 of the last unit's continuous compounding.
5 How
- Read log with no base as base 10, and ln as base e.
- For an input that is a power of the base, read the exponent: log 10⁴ = 4, ln = −2.
- Otherwise use the LOG or LN key.
- Check by raising the base to the answer: or 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
- log .The LOG key gives the common logarithm, rounded to four decimals.
- ln .The LN key gives the natural logarithm.
- and .Raising each base to its answer kept to seven decimals gives about 44.99999857 and 45.00000046, both 45.0000 to four decimals.
- log 45 ≈ 1.6532
- ln 45 ≈ 3.8067
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
- 10,.Four zeros, four factors of 10.
- log 10,.The common logarithm of 10⁴ is 4.
Rung 2 of 4
A power of e
Find ln .
Show the steps and the answer
- ln .The natural logarithm undoes a power of e.
- The value is negative, which is allowed.A logarithm's input must be positive, and ≈ 0.0498 is positive; its value may be negative.
Rung 3 of 4
A decimal input
Find log 0.004 to four decimal places.
Show the steps and the answer
- log .Use the LOG key.
- The answer lies between and .0.004 lies between = 0.001 and = 0.01.
Rung 4 of 4
Undo e
Simplify and ln .
Show the steps and the answer
- .e raised to the power that makes 12 gives 12.
- ln .ln undoes a power of e.
Counterexamples
What it is not, and the tempting wrong moves.
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?
What is ln e?
Simplify .
Lesson 4 of 4
The logarithmic function, its domain and its graph
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
1 In plain words
The rule f(x) = lo x is a function: each positive input has one logarithm. Its graph is the graph of y = flipped across the line y = x, because the logarithm undoes the power: every point (a, c) of y = becomes the point (c, a) of y = lo 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
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 lo x is x > 0, and the domain of lo (g(x)) is every x where g(x) > 0. Every real number is a logarithm of some positive number, since lo () = 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 = c, then lo c = a.
4 The rule
For b > 0 and lo x has domain x > 0, range all real numbers, x-intercept (1, 0) and vertical asymptote .
For b > 1 it rises from left to right; for 0 < b < 1 it falls. The domain of lo (g(x)) is the set of x with g(x) > 0.
The same idea, other ways
Draw y = lo x. It passes (1, 0), (2, 1), (4, 2) and (, −1), rises slowly to the right, and drops toward the y-axis without touching it as x moves toward 0.
y = pairs x = −1, 0, 1, 2 with , 1, 2, 4. Swap the rows and you have y = lo x pairing , 1, 2, 4 with −1, 0, 1, 2. The outputs of one are the inputs of the other.
y = lo (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.
5 How
- Find the domain: set the inside of the logarithm greater than 0 and solve.
- 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.
- 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).
- For lo (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
- , so .The input of a logarithm must be positive.
- The vertical asymptote is .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.
- gives , so the x-intercept is .log 1 = 0, so the output is 0 where the inside is 1.
- Domain x > −4
- asymptote x = −4
- x-intercept (−3, 0)
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
- ln x needs x > 0.The input of a logarithm must be positive.
- The domain is x > 0, written .Every positive number has a natural logarithm.
Rung 2 of 4
A reflected inside
Find the domain of g(x) = lo (5 − x).
Show the steps and the answer
- .The inside must be positive.
- 5 > x, so x < 5.Add x to both sides.
Rung 3 of 4
Points of a graph
Give three points of y = lo x.
Show the steps and the answer
- at .lo 1 = 0.
- at .lo 5 = 1.
- at .lo = −1.
Rung 4 of 4
A shifted logarithm
For h(x) = lo (x − 1) + 3, find the domain, the asymptote and the value at x = 9.
Show the steps and the answer
- , so x > 1.The inside must be positive.
- The asymptote is .As x moves toward 1 from the right, x − 1 shrinks toward 0 through positive values, lo (x − 1) falls without bound, and adding 3 keeps it falling.
- lo.
- Domain x > 1
- asymptote x = 1
- h(9) = 6
Counterexamples
What it is not, and the tempting wrong moves.
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.