- Foundation
- About 15 min
- 5 practice questions
Exponential and logarithmic functions
Know the domain, range and graphs of aˣ and logₐx, see that they are inverses, use the laws of logarithms, and find domains and inverses of simple exponential and log functions.
If something looks wrong, please tell us.
Exponential and logarithmic functions describe growth and decay, and they are inverses of each other. Seen as functions, they have clear domains and ranges that you can read off from a graph. This lesson collects those facts, together with the laws of logarithms that you need to simplify and compare them.
The exponential function
For a base a > 0 with a ≠ 1, f(x) = aˣ has domain R and range (0, ∞). The output is always positive, so aˣ is never zero or negative. If a > 1 the function is increasing, and if 0 < a < 1 it is decreasing. It is one-one, and every graph passes through (0, 1), because a⁰ = 1.
The logarithmic function
The logarithm logₐ x answers the question 'what power of a gives x?': y = logₐ x means aʸ = x. Its domain is (0, ∞), because aʸ is always positive, and its range is R. It passes through (1, 0) because a⁰ = 1. The two functions undo each other: logₐ(aˣ) = x for all real x, and a^(logₐ x) = x for x > 0. So they are inverse functions, and each graph is the mirror image of the other in the line y = x.
| Item | f(x) = aˣ | g(x) = logₐ x |
|---|---|---|
| Domain | R | (0, ∞) |
| Range | (0, ∞) | R |
| Passes through | (0, 1) | (1, 0) |
| Increasing when | a > 1 | a > 1 |
Laws of logarithms
- logₐ(MN) = logₐ M + logₐ N
- logₐ(M/N) = logₐ M − logₐ N
- logₐ(Mᵏ) = k logₐ M
- logₐ 1 = 0 and logₐ a = 1
y = logₐ x means aʸ = x. The domain of logₐ x is (0, ∞), the range of aˣ is (0, ∞). The laws: log(MN) = log M + log N, log(M/N) = log M − log N, log(Mᵏ) = k log M.
Worked example 1: using the laws
Simplify log₂ 40 − log₂ 5. By the quotient law this is log₂(40/5) = log₂ 8 = 3, because 2³ = 8. And log₂ 8 + log₃ 9 = 3 + 2 = 5. The laws only work when the bases are the same.
Worked example 2: domains
Find the domain of ln(x − 1). The argument of a logarithm must be positive: x − 1 > 0, so the domain is (1, ∞). For ln(4 − x²), we need 4 − x² > 0, that is x² < 4, so −2 < x < 2 and the domain is (−2, 2). Unlike a square root, zero is not allowed inside a logarithm.
Worked example 3: range of an exponential
The range of 2ˣ is (0, ∞), so the range of 2ˣ + 1 is (1, ∞). The value 1 is never reached, because 2ˣ is never 0.
Worked example 4: an inverse
Find the inverse of f(x) = 2ˣ + 1. Write y = 2ˣ + 1, so 2ˣ = y − 1 and x = log₂(y − 1). The inverse is g(x) = log₂(x − 1). Its domain, (1, ∞), is the range of f, and its range, R, is the domain of f. Check: g(f(0)) = g(2) = log₂ 1 = 0.
Key takeaways: aˣ has domain R and range (0, ∞); logₐ x has domain (0, ∞) and range R; they are inverses and their graphs reflect in y = x. The argument of a logarithm must be strictly positive. Use the laws only with a common base.
Check your understanding
-
1. What is the domain of ln(x − 1)?
- [1, ∞)
- (−∞, 1)
- R − {1}
- (1, ∞)
Show answer
Answer: D. A logarithm needs a positive argument: x − 1 > 0, so x > 1. The value x = 1 gives ln 0, which is undefined.
-
2. What is the range of 2ˣ + 1?
- (0, ∞)
- (1, ∞)
- [1, ∞)
- R
Show answer
Answer: B. 2ˣ takes every positive value and no others, so 2ˣ + 1 takes every value greater than 1. The value 1 itself is never reached.
-
3. What is log₂ 40 − log₂ 5?
- 8
- 35
- 3
- 5
Show answer
Answer: C. By the quotient law, log₂ 40 − log₂ 5 = log₂(40/5) = log₂ 8 = 3.
-
4. What is the inverse of f(x) = 3ˣ?
- log₃ x
- 3^(1/x)
- x³
- 1/3ˣ
Show answer
Answer: A. If y = 3ˣ, then x = log₃ y. Swapping the variable names gives the inverse function log₃ x.
-
5. What is the domain of ln(4 − x²)?
- [−2, 2]
- (−∞, −2) ∪ (2, ∞)
- (−2, 2)
- (−4, 4)
Show answer
Answer: C. We need 4 − x² > 0, so x² < 4, which means −2 < x < 2. The end points are excluded because ln 0 is undefined.
Sign in to keep track of the lessons you finish.