Fiveable

โˆซCalculus I Unit 6 Review

QR code for Calculus I practice questions

6.7 Integrals, Exponential Functions, and Logarithms

6.7 Integrals, Exponential Functions, and Logarithms

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
โˆซCalculus I
Unit & Topic Study Guides

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)=โˆซ1x1tโ€‰dt\ln(x) = \int_1^x \frac{1}{t}\, dt

This means lnโก(x)\ln(x) equals the area under the curve 1t\frac{1}{t} from t=1t = 1 to t=xt = x. When x>1x > 1, the area is positive. When 0<x<10 < x < 1, the integral goes "backwards," so lnโก(x)\ln(x) is negative.

The natural logarithm is the inverse of the exponential function exe^x, where eโ‰ˆ2.71828e \approx 2.71828. That inverse relationship gives you two identities worth memorizing:

  • elnโก(x)=xe^{\ln(x)} = x for x>0x > 0
  • lnโก(ex)=x\ln(e^x) = x for all xx

For example, elnโก(5)=5e^{\ln(5)} = 5 and lnโก(e3)=3\ln(e^3) = 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:

  • ddxlnโก(x)=1x\frac{d}{dx} \ln(x) = \frac{1}{x}
  • ddxex=ex\frac{d}{dx} e^x = e^x
  • โˆซ1xโ€‰dx=lnโกโˆฃxโˆฃ+C\int \frac{1}{x}\, dx = \ln|x| + C
  • โˆซexโ€‰dx=ex+C\int e^x\, dx = e^x + C

Notice the absolute value in lnโกโˆฃxโˆฃ+C\ln|x| + C. That's there because 1x\frac{1}{x} is defined for negative xx too, but lnโก(x)\ln(x) only takes positive inputs. The absolute value extends the antiderivative to negative values of xx.

With the chain rule, these extend naturally. For example:

  • ddxlnโก(x2)=2xx2=2x\frac{d}{dx} \ln(x^2) = \frac{2x}{x^2} = \frac{2}{x}
  • โˆซe3xโ€‰dx=13e3x+C\int e^{3x}\, dx = \frac{1}{3}e^{3x} + C (using substitution with u=3xu = 3x)
Definition of natural logarithm, Integrals Involving Exponential and Logarithmic Functions ยท Calculus

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:

  1. lnโก(ab)=lnโก(a)+lnโก(b)\ln(ab) = \ln(a) + \ln(b)

  2. lnโกโ€‰โฃ(ab)=lnโก(a)โˆ’lnโก(b)\ln\!\left(\frac{a}{b}\right) = \ln(a) - \ln(b)

  3. lnโก(ab)=blnโก(a)\ln(a^b) = b\ln(a)

Exponential properties:

  1. ea+b=eaโ‹…ebe^{a+b} = e^a \cdot e^b
  2. eaโˆ’b=eaebe^{a-b} = \frac{e^a}{e^b}
  3. (ea)b=eab(e^a)^b = e^{ab}

Here's a good example of simplifying before integrating. Suppose you need โˆซlnโก(x3)โ€‰dx\int \ln(x^3)\, 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\int \ln(x^3)\, dx = \int 3\ln(x)\, dx = 3\int \ln(x)\, dx = 3(x\ln(x) - x) + C

That last step uses the standard result โˆซlnโก(x)โ€‰dx=xlnโก(x)โˆ’x+C\int \ln(x)\, dx = x\ln(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โก\ln and exe^x rather than other bases. The change-of-base formula lets you convert:

  • General log to natural log: logโกb(x)=lnโก(x)lnโก(b)\log_b(x) = \frac{\ln(x)}{\ln(b)}
  • General exponential to natural exponential: bx=exlnโก(b)b^x = e^{x\ln(b)}

The second formula is especially useful. For instance, to differentiate or integrate 2x2^x, rewrite it as exlnโก(2)e^{x\ln(2)}, and now you can use the standard exe^x rules.

Example: logโก2(8)=lnโก(8)lnโก(2)=lnโก(23)lnโก(2)=3lnโก(2)lnโก(2)=3\log_2(8) = \frac{\ln(8)}{\ln(2)} = \frac{\ln(2^3)}{\ln(2)} = \frac{3\ln(2)}{\ln(2)} = 3

Definition of natural logarithm, Inverse Functions: Exponential, Logarithmic, and Trigonometric Functions | Boundless Calculus

Applications of Logarithmic and Exponential Integrals

Exponential growth and decay are modeled by:

A(t)=A0ektA(t) = A_0 e^{kt}

where A0A_0 is the initial amount, kk is the growth/decay rate, and tt is time. When k>0k > 0, you have growth; when k<0k < 0, decay.

To find the total accumulated quantity over a time interval, integrate:

โˆซt1t2A0ektโ€‰dt=A0k(ekt2โˆ’ekt1)\int_{t_1}^{t_2} A_0 e^{kt}\, dt = \frac{A_0}{k}\left(e^{kt_2} - e^{kt_1}\right)

Example: A radioactive substance has a half-life of 10 years and an initial amount of 100 grams. The decay rate is k=lnโก(1/2)10โ‰ˆโˆ’0.0693k = \frac{\ln(1/2)}{10} \approx -0.0693. To find the total gram-years (accumulated amount) over the first 5 years:

โˆซ05100eโˆ’0.0693tโ€‰dt=100โˆ’0.0693(eโˆ’0.0693(5)โˆ’e0)โ‰ˆ100โˆ’0.0693(0.707โˆ’1)โ‰ˆ422.8ย gram-years\int_0^5 100e^{-0.0693t}\, dt = \frac{100}{-0.0693}\left(e^{-0.0693(5)} - e^0\right) \approx \frac{100}{-0.0693}(0.707 - 1) \approx 422.8 \text{ gram-years}

Note: This integral gives the accumulated amount over time (the area under the curve), not the amount remaining at t=5t = 5. The amount remaining at t=5t = 5 is simply A(5)=100eโˆ’0.0693(5)โ‰ˆ70.7A(5) = 100e^{-0.0693(5)} \approx 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\int \ln(x)\, dx = x\ln(x) - x + C
  • โˆซexโ€‰dx=ex+C\int e^x\, dx = e^x + C

Over the interval [1,e][1, e]:

  • โˆซ1elnโก(x)โ€‰dx=[xlnโก(x)โˆ’x]1e=(eโ‹…1โˆ’e)โˆ’(1โ‹…0โˆ’1)=1\int_1^e \ln(x)\, dx = [x\ln(x) - x]_1^e = (e \cdot 1 - e) - (1 \cdot 0 - 1) = 1
  • โˆซ1eexโ€‰dx=eeโˆ’e1โ‰ˆ15.09โˆ’2.72โ‰ˆ12.37\int_1^e e^x\, dx = e^e - e^1 \approx 15.09 - 2.72 \approx 12.37

The exponential integral is much larger, which reflects how rapidly exe^x grows compared to the slow increase of lnโก(x)\ln(x).

Models of Exponential Growth

Many growth and decay models start from the differential equation:

dPdt=kP\frac{dP}{dt} = kP

Solving this by separating variables and integrating both sides:

  1. Separate: dPP=kโ€‰dt\frac{dP}{P} = k\, dt
  2. Integrate: โˆซdPP=โˆซkโ€‰dt\int \frac{dP}{P} = \int k\, dt
  3. Result: lnโกโˆฃPโˆฃ=kt+C1\ln|P| = kt + C_1
  4. Exponentiate: P=ekt+C1=eC1โ‹…ekt=P0ektP = e^{kt + C_1} = e^{C_1} \cdot e^{kt} = P_0 e^{kt}

where P0P_0 is the initial population at t=0t = 0.

Example: A bacterial population starts at 1000 cells and doubles every hour, so k=lnโก(2)โ‰ˆ0.693k = \ln(2) \approx 0.693. The total accumulated cell-hours over 3 hours:

โˆซ031000e0.693tโ€‰dt=10000.693(e0.693(3)โˆ’1)=10000.693(8โˆ’1)โ‰ˆ10,101ย cell-hours\int_0^3 1000e^{0.693t}\, dt = \frac{1000}{0.693}\left(e^{0.693(3)} - 1\right) = \frac{1000}{0.693}(8 - 1) \approx 10,101 \text{ cell-hours}

Note that e0.693ร—3=e3lnโก2=23=8e^{0.693 \times 3} = e^{3\ln 2} = 2^3 = 8, which confirms the population doubles each hour (reaching 8000 at t=3t = 3).

Integration Techniques for Logarithmic and Exponential Functions

Several techniques come together in this section. Here's when to use each:

  • Direct antiderivatives: Use โˆซexโ€‰dx=ex+C\int e^x\, dx = e^x + C and โˆซ1xโ€‰dx=lnโกโˆฃxโˆฃ+C\int \frac{1}{x}\, dx = \ln|x| + C whenever the integrand matches these forms directly.
  • Substitution (uu-sub): Use when you have a composite function. For example, โˆซ2xx2+1โ€‰dx\int \frac{2x}{x^2 + 1}\, dx works with u=x2+1u = x^2 + 1, giving lnโกโˆฃx2+1โˆฃ+C\ln|x^2 + 1| + C.
  • Integration by parts: Use for products involving lnโก(x)\ln(x). The standard choice is to let u=lnโก(x)u = \ln(x) and dvdv be everything else. This is how you derive โˆซlnโก(x)โ€‰dx=xlnโก(x)โˆ’x+C\int \ln(x)\, dx = x\ln(x) - x + C.
  • Fundamental Theorem of Calculus: Connects everything. To evaluate โˆซabf(x)โ€‰dx\int_a^b f(x)\, dx, find an antiderivative F(x)F(x) and compute F(b)โˆ’F(a)F(b) - F(a).