Sub topic 1
Exponentials and logarithms as inverses
Prerequisites
Assume you can work with integer and rational exponents, solve linear equations, use function notation, and recognize the basic idea of an inverse function. You should also be able to evaluate powers and logarithms with a calculator.
The inverse relationship
An exponential function places the variable in an exponent:
\[ f(x)=b^x \]
Here, \(b\) is the base, with \(b>0\) and \(b\ne1\). A logarithmic function asks which exponent produces a given value:
\[ \log_b(y)=x \quad \text{means} \quad b^x=y \]
These statements are equivalent. The logarithm reverses the action of the exponential.
For example:
\[ 2^3=8 \]
and therefore:
\[ \log_2(8)=3 \]
The exponent \(3\) is the logarithm because it tells you the power needed to produce \(8\).
| Exponential form | Logarithmic form |
|---|---|
| \(b^x=y\) | \(\log_b(y)=x\) |
| \(2^5=32\) | \(\log_2(32)=5\) |
| \(10^2=100\) | \(\log_{10}(100)=2\) |
Composition gives the original input
Inverse functions undo one another. For exponential and logarithmic functions, the inverse identities are:
\[ \log_b(b^x)=x \]
and
\[ b^{\log_b(x)}=x \]
The first identity is valid for every real \(x\). The second requires \(x>0\), because the input of a real logarithm must be positive.
These identities let you isolate a variable. Consider:
\[ \log_3(x)=4 \]
Rewrite the equation in exponential form:
\[ 3^4=x \]
Thus:
\[ x=81 \]
Now consider:
\[ 2^x=11 \]
The right side is not an obvious power of \(2\). Apply \(\log_2\) to both sides:
\[ \log2(2^x)=\log2(11) \]
Using the inverse identity gives:
\[ x=\log_2(11) \]
This is an exact answer. A calculator gives:
\[ x\approx3.4594 \]
Why the base matters
The exponential function \(b^x\) is one-to-one when \(b>0\) and \(b\ne1\). One-to-one means that different inputs produce different outputs. Therefore, if
\[ b^u=b^v \]
then the inputs must be equal:
\[ u=v \]
This property provides another way to solve equations. For example:
\[ 5^{2x-1}=5^7 \]
Since the bases match, set the exponents equal:
\[ 2x-1=7 \]
\[ 2x=8 \]
\[ x=4 \]
The same-base method is usually simpler than taking logarithms. Taking logarithms is useful when the two sides cannot be rewritten with a common base.
import math
# Solve 3**(2*x - 1) = 20
x = (1 + math.log(20) / math.log(3)) / 2
print(x)
print(3 ** (2 * x - 1))The program computes \(x\approx1.8634\) and substitutes it back into the original equation. The second output should be approximately \(20\).
A visual model
The inverse relationship is the central tool for equations involving exponents and logarithms. First identify which operation surrounds the variable. Then use the matching inverse operation to remove it.
Exercise
Solve \( \log_5(x)=3 \), and verify your answer using the inverse relationship.
Show answer
Rewrite in exponential form: \(5^3=x\). Therefore \(x=125\). Verification: \(\log_5(125)=3\).