Lesson 3.2 · Exponential and Logarithmic Functions
Logarithmic functions
An exponential function answers "what do I get if I raise to this power?" The reverse question, "what power of gives this number?", is answered by a logarithm. Logarithms let you solve for exponents, and they turn quantities that span enormous ranges (acidity, loudness, earthquake energy) into manageable numbers.
Logarithms as exponents
Since is one-to-one, it has an inverse function. That inverse is the logarithm with base .
Definition
Logarithm
For , and ,
Read as "log base of ." It is the exponent you put on to get .
So every logarithm statement is an exponential statement in disguise:
| Logarithmic form | Exponential form |
|---|---|
In both forms the base stays the base. The logarithm is the exponent.
Two bases get their own notation because calculators have keys for them:
- The common logarithm means .
- The natural logarithm means .
Evaluating logarithms
To evaluate by hand, write as a power of .
Worked example: Evaluate without a calculator
Evaluate (a) , (b) , (c) , (d) .
Solution.
(a) , so .
(b) , so .
(c) Write both numbers as powers of : and . You need , so , giving and .
(d) asks what power of gives . The answer is .
Part (d) is an instance of the inverse relationship. Because and undo each other:
Inverse properties
For , :
In particular, , , and .
For instance, and without any computation.
Common mistake
You cannot take the log of or of a negative number. No power of a positive base equals or a negative number, so expressions like and are undefined. The output of a log can be negative, though: is perfectly fine.
Graphs of logarithmic functions
The graph of an inverse function is the reflection of the original graph across the line . Every point on becomes on . For example, becomes .
Swapping and swaps every feature: the domain and range trade places, and the horizontal asymptote becomes a vertical one.
Features of y = log_b x
- Domain: . Range: all real numbers.
- -intercept: . There is no -intercept.
- Vertical asymptote: .
- Increasing if ; decreasing if .
- The graph also passes through .
Logarithms grow extremely slowly. For to reach , must reach .
Transformations and domain
For , the vertical asymptote moves with the horizontal shift to , and the domain is . More generally, the domain of any logarithmic function is found by requiring the argument to be positive.
Worked example: Domain, asymptote and intercept
Let . Find the domain, the vertical asymptote and the -intercept.
Solution. The argument must be positive: , so . The domain is and the vertical asymptote is .
For the -intercept, set :
The intercept is just to the right of the asymptote, as the graph suggests.
Tip
To convert a log equation, use the "spiral": in , start at the base , go to the other side for the exponent , and come back for . That reads .
Logarithmic scales
When a quantity varies over many powers of ten, it is often reported on a logarithmic scale, where each step of means a factor of .
- Acidity: , where is the hydrogen-ion concentration in moles per liter.
- Loudness: decibels, where watts per square meter is the quietest sound a person can hear.
- Earthquakes: each whole-number step on the magnitude scale means times the ground motion.
Worked example: pH and decibels
(a) A sample of tomato juice has . Find its pH.
(b) One sound is times as intense as another. How many decibels louder is it?
Solution.
(a) . The juice is acidic (below ).
(b) If , then
It is decibels louder. Multiplying intensity by adds steps of dB.
Part (b) previews the next lesson: the log of a product is the sum of the logs. That property is exactly why log scales turn multiplication into addition.
Practice
Evaluate .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Evaluate .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Which equation is equivalent to ?
Simplify .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the domain of .
Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5
Find the -intercept of . Round to the nearest hundredth.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Seawater that has been contaminated has a hydrogen-ion concentration of moles per liter. Find its pH using . Round to the nearest hundredth.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A rock concert produces sound that is times as intense as a busy street. Using , how many decibels louder is the concert than the street?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.