Skip to main content
The new Teacher Workspace is here. Your first 3 assignments are free. Try it →
A colleague sent you $30 off Fiveable. Get the annual plan for $99 →

5.6 Integrals Involving Exponential and Logarithmic Functions

Updated March 2026Fiveable Content Team
Fiveable

∫Calculus I Unit 5 Review

QR code for Calculus I practice questions

5.6 Integrals Involving Exponential and Logarithmic Functions

Exponential and logarithmic functions show up constantly in integration problems. Their integrals follow clean, predictable patterns, and once you know the core formulas and when to apply substitution, these problems become very manageable.

Integration Techniques for Exponential and Logarithmic Functions

Integrals of exponential functions

The natural exponential function is its own antiderivative, which makes it one of the simplest functions to integrate:

∫ex dx=ex+C\int e^x \, dx = e^x + C

For exponential functions with a base other than ee, you divide by the natural log of the base:

∫ax dx=axln⁡a+C,a>0,  a≠1\int a^x \, dx = \frac{a^x}{\ln a} + C, \quad a > 0, \; a \neq 1

For example, ∫2x dx=2xln⁡2+C\int 2^x \, dx = \frac{2^x}{\ln 2} + C and ∫10x dx=10xln⁡10+C\int 10^x \, dx = \frac{10^x}{\ln 10} + C.

Constants pull out front as usual:

  • ∫k⋅ex dx=k⋅ex+C\int k \cdot e^x \, dx = k \cdot e^x + C
  • ∫k⋅ax dx=k⋅axln⁡a+C\int k \cdot a^x \, dx = \frac{k \cdot a^x}{\ln a} + C

When an exponential is multiplied by xx, you need integration by parts (which you may or may not have covered yet depending on your course). The results are:

  • ∫x⋅ex dx=(x−1)⋅ex+C\int x \cdot e^x \, dx = (x - 1) \cdot e^x + C
  • ∫x⋅ax dx=x⋅axln⁡a−ax(ln⁡a)2+C\int x \cdot a^x \, dx = \frac{x \cdot a^x}{\ln a} - \frac{a^x}{(\ln a)^2} + C
Integrals of exponential functions, Equations of Exponential Functions | College Algebra Corequisite

Integration of logarithmic expressions

You can't integrate ln⁡x\ln x by a simple formula the way you can with exe^x. Instead, the result comes from integration by parts, but the formula itself is worth memorizing:

∫ln⁡x dx=xln⁡x−x+C\int \ln x \, dx = x \ln x - x + C

Constants factor out as expected:

  • ∫k⋅ln⁡x dx=k(xln⁡x−x)+C\int k \cdot \ln x \, dx = k(x \ln x - x) + C

For logarithms with a base other than ee, use the change of base identity log⁡ax=ln⁡xln⁡a\log_a x = \frac{\ln x}{\ln a} to convert, then integrate:

∫log⁡ax dx=xln⁡x−xln⁡a+C,a>0,  a≠1\int \log_a x \, dx = \frac{x \ln x - x}{\ln a} + C, \quad a > 0, \; a \neq 1

When a logarithm is multiplied by xx, integration by parts gives:

  • ∫x⋅ln⁡x dx=x22ln⁡x−x24+C\int x \cdot \ln x \, dx = \frac{x^2}{2} \ln x - \frac{x^2}{4} + C
Integrals of exponential functions, Unit 2: Rules for integration – National Curriculum (Vocational) Mathematics Level 4

Substitution for exponential and logarithmic integrals

Many exponential and logarithmic integrals aren't in their basic form. That's where uu-substitution comes in. The key idea: let uu equal whatever is "inside" the function (the exponent, or the argument of the logarithm), then rewrite everything in terms of uu.

Example 1: Exponential substitution

Evaluate ∫e2x dx\int e^{2x} \, dx.

  1. Let u=2xu = 2x, so du=2 dxdu = 2 \, dx, which means dx=du2dx = \frac{du}{2}.
  2. Rewrite: ∫e2x dx=∫eu⋅du2=12∫eu du\int e^{2x} \, dx = \int e^u \cdot \frac{du}{2} = \frac{1}{2} \int e^u \, du.
  3. Integrate and substitute back: 12eu+C=12e2x+C\frac{1}{2} e^u + C = \frac{1}{2} e^{2x} + C.

Example 2: Logarithmic substitution

Evaluate ∫ln⁡(3x) dx\int \ln(3x) \, dx.

  1. Let u=3xu = 3x, so du=3 dxdu = 3 \, dx, which means dx=du3dx = \frac{du}{3}.
  2. Rewrite: ∫ln⁡(3x) dx=∫ln⁡u⋅du3=13∫ln⁡u du\int \ln(3x) \, dx = \int \ln u \cdot \frac{du}{3} = \frac{1}{3} \int \ln u \, du.
  3. Integrate and substitute back: 13(uln⁡u−u)+C=13(3xln⁡(3x)−3x)+C\frac{1}{3}(u \ln u - u) + C = \frac{1}{3}(3x \ln(3x) - 3x) + C.

This simplifies to xln⁡(3x)−x+Cx \ln(3x) - x + C.

Compositions that simplify directly: Watch for cases where exponential and logarithmic functions cancel each other out. Since eln⁡x=xe^{\ln x} = x, you get:

∫eln⁡x dx=∫x dx=x22+C\int e^{\ln x} \, dx = \int x \, dx = \frac{x^2}{2} + C

Fundamental Concepts of Integration

A few background ideas tie everything together:

  • An indefinite integral represents a family of antiderivatives, all differing by a constant CC.
  • A definite integral calculates the net area under a curve between two bounds.
  • The Fundamental Theorem of Calculus connects differentiation and integration: if FF is an antiderivative of ff, then ∫abf(x) dx=F(b)−F(a)\int_a^b f(x) \, dx = F(b) - F(a).
  • The exponential function exe^x and the natural logarithm ln⁡x\ln x are inverses of each other. This relationship is why compositions like eln⁡x=xe^{\ln x} = x and ln⁡(ex)=x\ln(e^x) = x simplify so cleanly, and it's the reason these two function types keep appearing together in integration problems.

See Fiveable more often in Google

Mark Fiveable as a preferred source and Google is more likely to show you our guides in Top Stories, with a "preferred" badge in AI Mode and AI Overviews.

Prefer us on Google