Logarithmic functions: crash course
about 8 min to listen4 lessons11 questions to tryUnit 19 of 25
Short view. Each lesson's rule, its steps and its trap. Switch to Full for a worked example and a question to try in every lesson.Full view. Each lesson's rule, its steps, one worked example with Watch it solved, the trap, and one question to try.
Starts here no skill from another unit needed first
1 What a logarithm asks
The rule
For b > 0, and x > 0: lo means exactly .
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.
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
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.
Quick check
Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.
Try it · level 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.
2 Values you can find without a calculator
The rule
For b > 0 and : lo, lo, lo for every real x, and for every x > 0.
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.
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 =
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.
Quick check
Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.
Try it · level 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.
3 Common and natural logarithms
The rule
log lo x and ln lo x, each for x > 0.
For every real x, log and ln ; for x > 0, and .
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.
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
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.
Quick check
Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.
Try it · level 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.
4 The logarithmic function, its domain and its graph
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.
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.
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)
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.
Quick check
Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.
Try it · level 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.
5 Quick checks for the whole unit
Quick check 1 of 7
Write 2⁶ = 64 in logarithmic form.
Show the steps and the answer
Quick check 2 of 7
Find lo 9.
Show the steps and the answer
Quick check 3 of 7
Find lo 0.1.
Show the steps and the answer
Quick check 4 of 7
What is ln 1?
Show the steps and the answer
Quick check 5 of 7
Simplify lo .
Show the steps and the answer
Quick check 6 of 7
What is the domain of f(x) = log (x − 6)?
Show the steps and the answer
Quick check 7 of 7
Which line is the vertical asymptote of y = ln x?