Fiveable

Calculus II Unit 1 Review

QR code for Calculus II practice questions

1.6 Integrals Involving Exponential and Logarithmic Functions

1.6 Integrals Involving Exponential and Logarithmic Functions

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

Integration Techniques for Exponential and Logarithmic Functions

Exponential and logarithmic functions show up constantly in calculus, from modeling population growth to radioactive decay to compound interest. Knowing how to integrate them fluently is essential for the rest of Calculus II, especially when you hit differential equations and series later on.

Integration of Exponential Functions

The most important exponential integral to know is the natural exponential function exe^x, because it's its own antiderivative. Everything else builds from there.

Core formulas:

  • exdx=ex+C\int e^x \, dx = e^x + C
  • eaxdx=1aeax+C\int e^{ax} \, dx = \frac{1}{a} e^{ax} + C (where aa is a nonzero constant)
  • axdx=axlna+C\int a^x \, dx = \frac{a^x}{\ln a} + C (where a>0a > 0 and a1a \neq 1)

The second formula comes from a quick u-substitution: let u=axu = ax, so du=adxdu = a\,dx, and the 1a\frac{1}{a} falls out naturally. The third formula works because the derivative of axa^x is axlnaa^x \ln a, so you divide by lna\ln a to reverse it.

Example 1: e3xdx\int e^{3x}\,dx

Let u=3xu = 3x, so du=3dxdu = 3\,dx, meaning dx=du3dx = \frac{du}{3}.

e3xdx=13eudu=13e3x+C\int e^{3x}\,dx = \frac{1}{3}\int e^u\,du = \frac{1}{3}e^{3x} + C

Example 2: xe2xdx\int x\,e^{2x}\,dx

This requires integration by parts (not just a formula to memorize). Set u=xu = x and dv=e2xdxdv = e^{2x}\,dx, so du=dxdu = dx and v=12e2xv = \frac{1}{2}e^{2x}.

xe2xdx=x2e2x12e2xdx=x2e2x14e2x+C=14(2x1)e2x+C\int x\,e^{2x}\,dx = \frac{x}{2}e^{2x} - \int \frac{1}{2}e^{2x}\,dx = \frac{x}{2}e^{2x} - \frac{1}{4}e^{2x} + C = \frac{1}{4}(2x - 1)e^{2x} + C

For integrals of the form xneaxdx\int x^n e^{ax}\,dx with n2n \geq 2, you apply integration by parts repeatedly, reducing the power of xx by one each time.

Integration of exponential functions, Integrals, Exponential Functions, and Logarithms · Calculus

Integrals with Logarithmic Functions

The connection between logarithms and integration starts with one key fact: the derivative of lnx\ln x is 1x\frac{1}{x}. Reversing that gives you the most important formula in this section.

Core formulas:

  • 1xdx=lnx+C\int \frac{1}{x}\,dx = \ln|x| + C
  • lnxdx=xlnxx+C\int \ln x\,dx = x\ln x - x + C

The absolute value in the first formula matters. Since lnx\ln x is only defined for x>0x > 0, but 1x\frac{1}{x} exists for all x0x \neq 0, the absolute value extends the antiderivative to negative xx values as well.

The second formula comes from integration by parts. Here's how:

  1. Set u=lnxu = \ln x and dv=dxdv = dx
  2. Then du=1xdxdu = \frac{1}{x}\,dx and v=xv = x
  3. Apply the parts formula: lnxdx=xlnxx1xdx=xlnxx+C\int \ln x\,dx = x\ln x - \int x \cdot \frac{1}{x}\,dx = x\ln x - x + C

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

You can use parts the same way (set u=ln(2x)u = \ln(2x), dv=dxdv = dx), and you'll get xln(2x)x+Cx\ln(2x) - x + C.

Example 2: 13xdx\int \frac{1}{3x}\,dx

Pull the constant out: 131xdx=13lnx+C\frac{1}{3}\int \frac{1}{x}\,dx = \frac{1}{3}\ln|x| + C.

Logarithms with other bases: If you need to integrate logax\log_a x, use the change of base formula logax=lnxlna\log_a x = \frac{\ln x}{\ln a}, then integrate 1lnalnxdx\frac{1}{\ln a}\int \ln x\,dx using the formula above.

Integration of exponential functions, Unit 2: Rules for integration – National Curriculum (Vocational) Mathematics Level 4

Substitution for Exponential and Logarithmic Integrals

U-substitution is your main tool when the exponent or the argument of a logarithm is more complicated than just xx. The key idea: look for a function paired with its derivative inside the integrand.

Steps for u-substitution:

  1. Identify an inner function g(x)g(x) whose derivative g(x)g'(x) also appears in the integrand
  2. Let u=g(x)u = g(x), then compute du=g(x)dxdu = g'(x)\,dx
  3. Rewrite the entire integral in terms of uu and dudu
  4. Integrate with respect to uu
  5. Substitute back to express the result in terms of xx

Exponential example: 2xex2dx\int 2x\,e^{x^2}\,dx

The exponent is x2x^2, and its derivative 2x2x sits right there in the integrand.

  1. Let u=x2u = x^2, so du=2xdxdu = 2x\,dx
  2. The integral becomes eudu=eu+C\int e^u\,du = e^u + C
  3. Substitute back: ex2+Ce^{x^2} + C

Logarithmic example: 1xlnxdx\int \frac{1}{x\ln x}\,dx

Here the integrand has the form g(x)g(x)\frac{g'(x)}{g(x)} with g(x)=lnxg(x) = \ln x.

  1. Let u=lnxu = \ln x, so du=1xdxdu = \frac{1}{x}\,dx
  2. The integral becomes 1udu=lnu+C\int \frac{1}{u}\,du = \ln|u| + C
  3. Substitute back: lnlnx+C\ln|\ln x| + C

Pattern to watch for: Whenever you see g(x)g(x)\frac{g'(x)}{g(x)}, the integral is lng(x)+C\ln|g(x)| + C. This pattern shows up frequently and saves a lot of time once you recognize it.

Applications in Differential Equations and Inverse Functions

These integration techniques become essential tools in later topics. Separable differential equations, for instance, often produce integrals of the form 1ydy=lny+C\int \frac{1}{y}\,dy = \ln|y| + C or ektdt=1kekt+C\int e^{kt}\,dt = \frac{1}{k}e^{kt} + C when modeling exponential growth and decay.

Logarithmic integration also appears when finding antiderivatives of inverse trigonometric and other inverse functions, since integration by parts on these functions follows the same strategy as lnxdx\int \ln x\,dx (set the inverse function as uu and dv=dxdv = dx).

Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly → and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot

2,589 studying →