Skip to main content
The new Teacher Workspace is here. Your first 3 assignments are free. Try it →

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:

exdx=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:

axdx=axlna+C,a>0,  a1\int a^x \, dx = \frac{a^x}{\ln a} + C, \quad a > 0, \; a \neq 1

For example, 2xdx=2xln2+C\int 2^x \, dx = \frac{2^x}{\ln 2} + C and 10xdx=10xln10+C\int 10^x \, dx = \frac{10^x}{\ln 10} + C.

Constants pull out front as usual:

  • kexdx=kex+C\int k \cdot e^x \, dx = k \cdot e^x + C
  • kaxdx=kaxlna+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:

  • xexdx=(x1)ex+C\int x \cdot e^x \, dx = (x - 1) \cdot e^x + C
  • xaxdx=xaxlnaax(lna)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 lnx\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:

lnxdx=xlnxx+C\int \ln x \, dx = x \ln x - x + C

Constants factor out as expected:

  • klnxdx=k(xlnxx)+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 logax=lnxlna\log_a x = \frac{\ln x}{\ln a} to convert, then integrate:

logaxdx=xlnxxlna+C,a>0,  a1\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:

  • xlnxdx=x22lnxx24+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 e2xdx\int e^{2x} \, dx.

  1. Let u=2xu = 2x, so du=2dxdu = 2 \, dx, which means dx=du2dx = \frac{du}{2}.
  2. Rewrite: e2xdx=eudu2=12eudu\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=3dxdu = 3 \, dx, which means dx=du3dx = \frac{du}{3}.
  2. Rewrite: ln(3x)dx=lnudu3=13lnudu\int \ln(3x) \, dx = \int \ln u \cdot \frac{du}{3} = \frac{1}{3} \int \ln u \, du.
  3. Integrate and substitute back: 13(ulnuu)+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 elnx=xe^{\ln x} = x, you get:

elnxdx=xdx=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 lnx\ln x are inverses of each other. This relationship is why compositions like elnx=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.