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)=โซ1xโt1โdt
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:
- dxdโln(x)=x1โ
- dxdโex=ex
- โซx1โdx=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:
- dxdโln(x2)=x22xโ=x2โ
- โซe3xdx=31โe3x+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)=A0โekt
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:
โซt1โt2โโA0โektdt=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:
โซ05โ100eโ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]:
- โซ1eโln(x)dx=[xln(x)โx]1eโ=(eโ
1โe)โ(1โ
0โ1)=1
- โซ1eโexdx=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=P0โekt
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:
โซ03โ1000e0.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 โซx1โdx=lnโฃxโฃ+C whenever the integrand matches these forms directly.
- Substitution (u-sub): Use when you have a composite function. For example, โซx2+12xโdx 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 โซabโf(x)dx, find an antiderivative F(x) and compute F(b)โF(a).