Fiveable

Calculus II Unit 2 Review

QR code for Calculus II practice questions

2.7 Integrals, Exponential Functions, and Logarithms

2.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 II
Unit & Topic Study Guides

Natural Logarithms and Exponential Functions

The natural logarithm and the exponential function form the backbone of most integration techniques you'll encounter in Calculus II. The natural log gives us a way to integrate 1x\frac{1}{x}, and exe^x is its own antiderivative. These two facts alone unlock a huge number of problems.

Definition of the Natural Logarithm

The natural logarithm is defined as an integral:

ln(x)=1x1tdt\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. That's not just a property; it's the definition you'll use to derive everything else.

The base of the natural logarithm is Euler's number e2.71828e \approx 2.71828, defined as the unique number satisfying ln(e)=1\ln(e) = 1. Equivalently, ee arises from the limit:

e=limn(1+1n)ne = \lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n

The natural exponential function exe^x and natural logarithm ln(x)\ln(x) are inverse functions, so they undo each other:

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

Differentiation and Antidifferentiation Rules

These four results come up constantly:

FunctionDerivativeAntiderivative
ln(x)\ln(x)ddx[ln(x)]=1x\frac{d}{dx}[\ln(x)] = \frac{1}{x}
exe^xddx[ex]=ex\frac{d}{dx}[e^x] = e^xexdx=ex+C\int e^x\, dx = e^x + C
1x\frac{1}{x}$$\int \frac{1}{x}, dx = \ln

Notice the absolute value in lnx+C\ln|x| + C. That's there because 1x\frac{1}{x} is defined for negative xx too, but ln(x)\ln(x) only accepts positive inputs. The absolute value extends the antiderivative to both sides of the domain.

The fact that exe^x is its own derivative (and its own antiderivative) is what makes it unique. No other function has this property.

Properties for Simplifying Integrals

Before integrating, you'll often need to rewrite expressions using these properties.

Logarithm properties:

  • Product rule: ln(xy)=ln(x)+ln(y)\ln(xy) = \ln(x) + \ln(y)
  • Quotient rule: ln ⁣(xy)=ln(x)ln(y)\ln\!\left(\frac{x}{y}\right) = \ln(x) - \ln(y)
  • Power rule: ln(xn)=nln(x)\ln(x^n) = n\ln(x)

Exponential properties:

  • ex+y=exeye^{x+y} = e^x \cdot e^y
  • exy=exeye^{x-y} = \frac{e^x}{e^y}
  • (ex)n=enx(e^x)^n = e^{nx}

These aren't just algebra review. You'll actively use the power rule, for instance, to pull exponents out front before integrating, and the product/quotient rules to split complicated logarithmic expressions into simpler pieces.

Definition of natural logarithm, Natural logarithm - Wikipedia

Converting Between Bases

Most calculus work uses base ee, so you need to convert other bases before differentiating or integrating.

Change of base formula for logarithms:

logb(x)=ln(x)ln(b)\log_b(x) = \frac{\ln(x)}{\ln(b)}

Since 1ln(b)\frac{1}{\ln(b)} is just a constant, this turns any base-bb logarithm into a constant times ln(x)\ln(x), which you already know how to handle.

Converting general exponentials:

bx=exln(b)b^x = e^{x \ln(b)}

This works because b=eln(b)b = e^{\ln(b)}, so bx=(eln(b))x=exln(b)b^x = (e^{\ln(b)})^x = e^{x\ln(b)}. Once it's in the form ekxe^{kx}, you can integrate using the standard rule ekxdx=1kekx+C\int e^{kx}\, dx = \frac{1}{k}e^{kx} + C.

Integration Techniques and Applications

Integration of Logarithmic and Exponential Expressions

Substitution is your first tool to try. A few common patterns:

  • If you see f(x)f(x)\frac{f'(x)}{f(x)}, substitute u=f(x)u = f(x). The integral becomes lnu+C=lnf(x)+C\ln|u| + C = \ln|f(x)| + C.
  • If the exponent of ee is a function of xx, try substituting uu equal to that exponent. For example, in 2xex2dx\int 2x\, e^{x^2}\, dx, let u=x2u = x^2.

Integration by parts handles products where substitution doesn't simplify things. Here are two essential examples:

Example 1: xexdx\int x\, e^x\, dx

  1. Let u=xu = x and dv=exdxdv = e^x\, dx
  2. Then du=dxdu = dx and v=exv = e^x
  3. Apply the formula udv=uvvdu\int u\, dv = uv - \int v\, du:

xexexdx=xexex+Cx\, e^x - \int e^x\, dx = x\, e^x - e^x + C

Example 2: ln(x)dx\int \ln(x)\, dx

  1. Let u=ln(x)u = \ln(x) and dv=dxdv = dx
  2. Then du=1xdxdu = \frac{1}{x}\, dx and v=xv = x
  3. Apply the formula: xln(x)x1xdx=xln(x)x+Cx\ln(x) - \int x \cdot \frac{1}{x}\, dx = x\ln(x) - x + C

The trick with ln(x)dx\int \ln(x)\, dx is recognizing that you should set dv=dxdv = dx. There's no obvious "second function," but integration by parts still works.

Definition of natural logarithm, Logaritmo - Logarithm - qaz.wiki

Behavior of Logarithmic and Exponential Functions

Understanding the graphs helps you check whether your answers make sense.

  • ln(x)\ln(x): Domain (0,)(0, \infty), range (,)(-\infty, \infty). Increasing for all x>0x > 0, but slowly. Vertical asymptote at x=0x = 0. Passes through (1,0)(1, 0).
  • exe^x: Domain (,)(-\infty, \infty), range (0,)(0, \infty). Always increasing and always positive. Horizontal asymptote at y=0y = 0 as xx \to -\infty. Passes through (0,1)(0, 1).

Since exe^x grows faster than any polynomial and ln(x)\ln(x) grows slower than any polynomial, limits involving these functions often produce indeterminate forms like \frac{\infty}{\infty} or 00 \cdot \infty. L'Hôpital's rule resolves these by differentiating the numerator and denominator separately.

Applications of Logarithmic and Exponential Integrals

Exponential growth and decay models take the form A(t)=A0ektA(t) = A_0\, e^{kt}, where A0A_0 is the initial quantity and kk is the growth (k>0k > 0) or decay (k<0k < 0) rate. Integrating this function over an interval gives the total accumulated quantity. For example, 010A0ektdt\int_0^{10} A_0\, e^{kt}\, dt gives the total output over the first 10 time units.

These integrals appear in population growth, radioactive decay, continuously compounded interest, and Newton's law of cooling.

Fundamental Theorem of Calculus and Types of Integrals

Fundamental Theorem of Calculus

The FTC connects differentiation and integration, and both parts are directly relevant to working with ln(x)\ln(x) and exe^x.

Part 1 (FTC1): If F(x)=axf(t)dtF(x) = \int_a^x f(t)\, dt, then F(x)=f(x)F'(x) = f(x). The derivative of a definite integral with respect to its upper limit equals the integrand evaluated at that limit. This is exactly how we know ddx[ln(x)]=1x\frac{d}{dx}[\ln(x)] = \frac{1}{x}, since ln(x)\ln(x) is defined as 1x1tdt\int_1^x \frac{1}{t}\, dt.

Part 2 (FTC2): If FF is any antiderivative of ff, then abf(x)dx=F(b)F(a)\int_a^b f(x)\, dx = F(b) - F(a). This is the evaluation theorem you use every time you compute a definite integral.

Types of Integrals

  • Indefinite integrals represent the general antiderivative: f(x)dx=F(x)+C\int f(x)\, dx = F(x) + C. The +C+C accounts for the family of all antiderivatives.
  • Definite integrals compute the signed area between the function and the xx-axis over [a,b][a, b]. You evaluate them using FTC2: find an antiderivative, then compute F(b)F(a)F(b) - F(a).