Logarithms and Exponential Functions
The natural logarithm and the exponential function show up constantly in calculus because they have uniquely clean derivatives and integrals. This section covers how to differentiate, integrate, and apply these functions, along with the properties that make them so useful for modeling growth and decay.
Definition of the Natural Logarithm
The natural logarithm is defined as an integral:
ln(x)=∫1xt1dt
This means ln(x) equals the area under the curve t1 from t=1 to t=x. When x>1, the area is positive. When 0<x<1, the integral goes "backwards," so ln(x) is negative.
The natural logarithm is the inverse of the exponential function ex, where e≈2.71828. That inverse relationship gives you two identities worth memorizing:
- eln(x)=x for x>0
- ln(ex)=x for all x
For example, eln(5)=5 and ln(e3)=3. These come up constantly when you need to "undo" a logarithm or an exponential.
Differentiation and Integration Rules
These four results are the core formulas for this section:
- dxdln(x)=x1
- dxdex=ex
- ∫x1dx=ln∣x∣+C
- ∫exdx=ex+C
Notice the absolute value in ln∣x∣+C. That's there because x1 is defined for negative x too, but ln(x) only takes positive inputs. The absolute value extends the antiderivative to negative values of x.
With the chain rule, these extend naturally. For example:
- dxdln(x2)=x22x=x2
- ∫e3xdx=31e3x+C (using substitution with u=3x)
Properties for Simplifying Calculations
Before integrating or differentiating, you can often simplify using logarithm and exponential properties. This can save you from harder techniques like integration by parts.
Logarithm properties:
-
ln(ab)=ln(a)+ln(b)
-
ln(ba)=ln(a)−ln(b)
-
ln(ab)=bln(a)
Exponential properties:
- ea+b=ea⋅eb
- ea−b=ebea
- (ea)b=eab
Here's a good example of simplifying before integrating. Suppose you need ∫ln(x3)dx. Use property 3 to pull the exponent out first:
∫ln(x3)dx=∫3ln(x)dx=3∫ln(x)dx=3(xln(x)−x)+C
That last step uses the standard result ∫ln(x)dx=xln(x)−x+C, which comes from integration by parts.
Conversion Between Logarithm and Exponential Types
In calculus, you almost always want to work with ln and ex rather than other bases. The change-of-base formula lets you convert:
- General log to natural log: logb(x)=ln(b)ln(x)
- General exponential to natural exponential: bx=exln(b)
The second formula is especially useful. For instance, to differentiate or integrate 2x, rewrite it as exln(2), and now you can use the standard ex rules.
Example: log2(8)=ln(2)ln(8)=ln(2)ln(23)=ln(2)3ln(2)=3
Applications of Logarithmic and Exponential Integrals
Exponential growth and decay are modeled by:
A(t)=A0ekt
where A0 is the initial amount, k is the growth/decay rate, and t is time. When k>0, you have growth; when k<0, decay.
To find the total accumulated quantity over a time interval, integrate:
∫t1t2A0ektdt=kA0(ekt2−ekt1)
Example: A radioactive substance has a half-life of 10 years and an initial amount of 100 grams. The decay rate is k=10ln(1/2)≈−0.0693. To find the total gram-years (accumulated amount) over the first 5 years:
∫05100e−0.0693tdt=−0.0693100(e−0.0693(5)−e0)≈−0.0693100(0.707−1)≈422.8 gram-years
Note: This integral gives the accumulated amount over time (the area under the curve), not the amount remaining at t=5. The amount remaining at t=5 is simply A(5)=100e−0.0693(5)≈70.7 grams.
Behavior Analysis Through Integration
Comparing definite integrals of logarithmic and exponential functions reveals how differently they grow.
- ∫ln(x)dx=xln(x)−x+C
- ∫exdx=ex+C
Over the interval [1,e]:
- ∫1eln(x)dx=[xln(x)−x]1e=(e⋅1−e)−(1⋅0−1)=1
- ∫1eexdx=ee−e1≈15.09−2.72≈12.37
The exponential integral is much larger, which reflects how rapidly ex grows compared to the slow increase of ln(x).
Models of Exponential Growth
Many growth and decay models start from the differential equation:
dtdP=kP
Solving this by separating variables and integrating both sides:
- Separate: PdP=kdt
- Integrate: ∫PdP=∫kdt
- Result: ln∣P∣=kt+C1
- Exponentiate: P=ekt+C1=eC1⋅ekt=P0ekt
where P0 is the initial population at t=0.
Example: A bacterial population starts at 1000 cells and doubles every hour, so k=ln(2)≈0.693. The total accumulated cell-hours over 3 hours:
∫031000e0.693tdt=0.6931000(e0.693(3)−1)=0.6931000(8−1)≈10,101 cell-hours
Note that e0.693×3=e3ln2=23=8, which confirms the population doubles each hour (reaching 8000 at t=3).
Integration Techniques for Logarithmic and Exponential Functions
Several techniques come together in this section. Here's when to use each:
- Direct antiderivatives: Use ∫exdx=ex+C and ∫x1dx=ln∣x∣+C whenever the integrand matches these forms directly.
- Substitution (u-sub): Use when you have a composite function. For example, ∫x2+12xdx works with u=x2+1, giving ln∣x2+1∣+C.
- Integration by parts: Use for products involving ln(x). The standard choice is to let u=ln(x) and dv be everything else. This is how you derive ∫ln(x)dx=xln(x)−x+C.
- Fundamental Theorem of Calculus: Connects everything. To evaluate ∫abf(x)dx, find an antiderivative F(x) and compute F(b)−F(a).