Logarithmic Functions
AP PrecalculusΒ· AP Precalculus CED β Exponential and Logarithmic FunctionsΒ· 14 min read
1. Definition of Logarithmic Functions as Inversesβ β ββββ± 3 min
A logarithmic function is the inverse of a one-to-one exponential function. Formally, for , if and only if . Standard notation uses for the common logarithm (base 10) and for the natural logarithm (base ), the most common form for calculus and continuous growth models.
Logarithmic functions reverse exponential operations, allowing us to solve for unknown exponents and model logarithmic scaling phenomena, from pH levels to decibel ratings. As the inverse of exponential functions, logarithmic functions swap the domain and range of exponential functions: logarithmic functions have a domain of only positive real numbers () and a range of all real numbers.
Logarithmic Function
, (base ), (base 10)
The inverse of a one-to-one exponential function with base , satisfying , defined only for positive .
Example:
, since
Rewrite in logarithmic form, and rewrite in exponential form.
- 1
The base of the exponential becomes the base of the logarithm, and the exponent becomes the output of the logarithm.
- 2
For the logarithmic statement, the base of the logarithm becomes the base of the exponential, and the output becomes the exponent.
2. Core Properties and Change of Base Formulaβ β ββββ± 4 min
All logarithm properties are derived directly from corresponding exponent rules, due to the inverse relationship between logarithms and exponentials. The key inverse identities connecting the two function types are:
Product Rule: (turns products of positive numbers into sums of logarithms)
Quotient Rule: (turns quotients of positive numbers into differences of logarithms)
Power Rule: for any real and positive
The change of base formula allows you to evaluate any logarithm using a standard calculator, which only computes base 10 or base logarithms:
Simplify to a simplified numerical value.
- 1
Apply the quotient rule to the first two terms:
- 2
Apply the power rule to the second term, using :
- 3
Rewrite 125 as a power of 5 and apply the inverse identity:
- 4
Add the results for the final value:
3. Solving Logarithmic Equationsβ β β βββ± 4 min
A logarithmic equation has an unknown variable inside the argument of a logarithm. The core solution strategy uses the inverse relationship between logs and exponentials: isolate a single logarithmic term, convert to exponential form, then solve for the variable. If you have multiple logarithms on the same side, combine them using logarithm properties first.
The most critical step often missed is checking for extraneous solutions. Combining multiple logarithms erases individual domain restrictions, so all candidate solutions must be checked against the original equation, and any solution that makes a logarithm's argument non-positive must be discarded.
Solve for all real solutions.
- 1
Write domain restrictions from the original equation: and , so overall valid domain is .
- 2
Combine the two logarithms with the product rule:
- 3
Convert to exponential form by definition of logarithms:
- 4
Factor the quadratic to get candidate solutions:
- 5
Check against the original domain: is extraneous and discarded, while is valid.
Test your understanding of logarithm properties:
Which of the following is equivalent to ?
A)
B)
C)
D)
Reveal answer
A) $\ln 2$ βApply the power rule: , then apply the quotient rule: .
4. Graphing and Transformations of Logarithmic Functionsβ β β βββ± 3 min
The parent logarithmic function has consistent core features: it has a vertical asymptote at (the y-axis), passes through (since for any valid ), has domain and range of all real numbers. If , the function is strictly increasing and concave down; if , it is strictly decreasing and concave up.
Transformations of logarithmic functions follow the same rules as all other function transformations: for , controls vertical stretch/compression/reflection, controls horizontal stretch/compression/reflection, is the horizontal shift, and is the vertical shift. To find the new vertical asymptote after shifting, simply set the argument of the logarithm equal to zero and solve for , which avoids mistakes from memorizing shift directions.
For , identify the domain, equation of the vertical asymptote, and one point on the graph, then describe the transformation from the parent .
- 1
Find the domain by requiring the argument to be positive:
- 2
Find the vertical asymptote by setting the argument equal to zero:
- 3
Find a simple point using the parent function's known intercept: when , the argument equals 1. Set , then calculate :
- 4
Describe the transformation:
The pH of an aqueous solution is defined as , where is hydrogen ion concentration in moles per liter (mol/L). A sample of orange juice has a pH of 3.8, and black coffee has a pH of 5.0. (a) Find the hydrogen ion concentration of orange juice (rounded to 3 significant figures). (b) How many times greater is the hydrogen ion concentration in orange juice than in black coffee?
- 1
Part (a): Substitute pH = 3.8 and rearrange:
- 2
Rewrite in exponential form and calculate:
- 3
Part (b): Find the hydrogen ion concentration of black coffee:
- 4
Calculate the ratio of concentrations:
- 5
Final result: The hydrogen ion concentration of orange juice is approximately 16 times greater than that of black coffee.
5. Common Pitfalls
Wrong move:
Why:
Students confuse the product rule with adding arguments, misremembering that logs turn products into sums, not sums into sums.
Correct move:
Only ; there is no general simplification for the logarithm of a sum.
Wrong move:
After solving , keeping as a valid solution
Why:
Students check solutions against the final combined equation, not the original equation, forgetting that individual terms have domain restrictions lost when combining.
Correct move:
Always list domain restrictions from the original equation before solving, and discard any candidate that violates any restriction.
Wrong move:
Why:
Students confuse the change of base formula with the quotient rule, mixing up the order of operations.
Correct move:
The quotient rule is , while by change of baseβthey are not equivalent.
Wrong move:
Stating the domain of is
Why:
Students generalize the domain rule for to without checking when the argument is positive.
Correct move:
Always check for positive arguments directly: for all , so domain is .
Wrong move:
Writing the vertical asymptote of as
Why:
Students mix up horizontal shift direction, assuming shifts right instead of left.
Correct move:
Always find the vertical asymptote by setting the argument equal to zero and solving: , which gives the correct asymptote regardless of shift direction.
6. Quick Reference Cheatsheet
Category | Formula | Notes |
|---|---|---|
Definition of Logarithm | Requires | |
Inverse Identity 1 | Only valid for , any valid base | |
Inverse Identity 2 | Valid for all real , any valid base | |
Product Rule | Requires ; does not apply to | |
Quotient Rule | Requires ; not equivalent to | |
Power Rule | Requires , works for any real | |
Change of Base Formula | Used to evaluate any log with a calculator; | |
Parent Log Graph Features | Vertical asymptote at , passes through , domain , range , increasing if , decreasing if |
What's Next
Mastery of logarithmic functions is required for all remaining topics in Unit 2 of AP Precalculus, starting with exponential and logarithmic modeling, where you will use logarithms to solve for unknown parameters in continuous growth and decay models. Without solid proficiency in simplifying logarithmic expressions and checking for extraneous solutions when solving logarithmic equations, you will struggle to calculate half-life, doubling time, or estimate parameters for exponential data, a frequent free-response question topic on the AP exam. Logarithmic functions also lay critical groundwork for future calculus study, where the natural logarithm is the antiderivative of , and logarithmic differentiation simplifies complex derivative problems.
