Sub topic 10
Solving for Time with Logarithms
Assume you can evaluate powers, read exponential graphs, and solve basic equations. In this chapter, you will use logarithms to find the unknown time in an exponential model.
Why logarithms are needed
An exponential model often has the form
\[ A(t)=A_0b^t \]
where:
- \(A_0\) is the initial amount.
- \(b\) is the growth or decay factor.
- \(t\) is time.
- \(A(t)\) is the amount after time \(t\).
If \(t\) is unknown, ordinary algebra cannot isolate it because \(t\) is an exponent. A logarithm reverses exponentiation:
\[ \log_b(y)=x \quad \text{means} \quad b^x=y. \]
For example, \(\log_2(8)=3\) because \(2^3=8\).
The general time formula
Suppose a quantity reaches a target \(T\):
\[ A_0b^t=T. \]
Divide by \(A_0\):
\[ b^t=\frac{T}{A_0}. \]
Take a logarithm of both sides. Using any logarithm base, such as the natural logarithm \(\ln\),
\[ t\ln(b)=\ln\left(\frac{T}{A_0}\right). \]
Therefore,
\[ \boxed{t=\frac{\ln(T/A_0)}{\ln(b)}}. \]
The natural logarithm, written \(\ln\), is the logarithm with base \(e\), where \(e\) is approximately \(2.71828\). Calculators usually provide an ln key.
Worked example: solving for a target time
A savings account starts with $1,000 and grows by 5% each year. When will it reach $2,000?
The growth factor is \(b=1.05\), so the model is
\[ A(t)=1000(1.05)^t. \]
Set the amount equal to the target:
\[ 1000(1.05)^t=2000. \]
Apply the time formula:
\[ t=\frac{\ln(2000/1000)}{\ln(1.05)} =\frac{\ln(2)}{\ln(1.05)} \approx 14.21. \]
The account reaches $2,000 after about 14.21 years. If interest is credited only at the end of each year, it first exceeds $2,000 after 15 complete years.
Half-life and doubling time
A half-life is the time required for a quantity to decrease to half its current amount. If \(h\) is the half-life, write the model as
\[ N(t)=N_0\left(\frac12\right)^{t/h}. \]
To find when the amount reaches a target \(T\), solve:
\[ t=h\frac{\ln(T/N_0)}{\ln(1/2)}. \]
For growth, the doubling time is the time required to multiply by 2. If the growth factor per period is \(b\), then
\[ t_{\text{double}}=\frac{\ln(2)}{\ln(b)}. \]
| Situation | Model | Time formula |
|---|---|---|
| Growth to target | \(A_0b^t=T\), \(b>1\) | \(t=\ln(T/A_0)/\ln(b)\) |
| Decay to target | \(A_0b^t=T\), \(0<b<1\) | \(t=\ln(T/A_0)/\ln(b)\) |
| Half-life | \(N_0(1/2)^{t/h}=T\) | \(t=h\ln(T/N_0)/\ln(1/2)\) |
import math
# A 100-gram sample has an 8-day half-life.
initial = 100.0
half_life = 8.0
target = 10.0
time = half_life * math.log(target / initial) / math.log(0.5)
print(round(time, 2)) # 26.58 days
# Doubling time for 5% growth per period.
doubling_time = math.log(2) / math.log(1.05)
print(round(doubling_time, 2)) # 14.21 periodsCommon errors
- Use the growth factor, not the percentage. A 5% increase means \(b=1.05\), not \(b=5\).
- Keep the ratio in the correct order: target divided by initial amount.
- Remember that \(\ln(b)\) is negative for decay. The numerator is also negative when the target is below the initial amount, so the time is positive.
- Check whether the target is reachable. A growing model cannot reach a lower positive target as time increases. A decaying model cannot reach a higher target.
Exercise
A quantity follows A(t) = 500(0.92)^t. How long does it take to fall to 250?
Show answer
t = ln(250/500) / ln(0.92) ≈ 8.31 time units.