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 →

1.6 Integrals Involving Exponential and Logarithmic Functions

Updated March 2026Fiveable Content Team
Fiveable

➗Calculus II Unit 1 Review

QR code for Calculus II practice questions

1.6 Integrals Involving Exponential and Logarithmic Functions

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:

  • ∫ex dx=ex+C\int e^x \, dx = e^x + C
  • ∫eax dx=1aeax+C\int e^{ax} \, dx = \frac{1}{a} e^{ax} + C (where aa is a nonzero constant)
  • ∫ax dx=axln⁡a+C\int a^x \, dx = \frac{a^x}{\ln a} + C (where a>0a > 0 and a≠1a \neq 1)

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

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

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

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

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

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

∫x e2x dx=x2e2x−∫12e2x dx=x2e2x−14e2x+C=14(2x−1)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 ∫xneax dx\int x^n e^{ax}\,dx with n≥2n \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 ln⁡x\ln x is 1x\frac{1}{x}. Reversing that gives you the most important formula in this section.

Core formulas:

  • ∫1x dx=ln⁡∣x∣+C\int \frac{1}{x}\,dx = \ln|x| + C
  • ∫ln⁡x dx=xln⁡x−x+C\int \ln x\,dx = x\ln x - x + C

The absolute value in the first formula matters. Since ln⁡x\ln x is only defined for x>0x > 0, but 1x\frac{1}{x} exists for all x≠0x \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=ln⁡xu = \ln x and dv=dxdv = dx
  2. Then du=1x dxdu = \frac{1}{x}\,dx and v=xv = x
  3. Apply the parts formula: ∫ln⁡x dx=xln⁡x−∫x⋅1x dx=xln⁡x−x+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: ∫13x dx\int \frac{1}{3x}\,dx

Pull the constant out: 13∫1x dx=13ln⁡∣x∣+C\frac{1}{3}\int \frac{1}{x}\,dx = \frac{1}{3}\ln|x| + C.

Logarithms with other bases: If you need to integrate log⁡ax\log_a x, use the change of base formula log⁡ax=ln⁡xln⁡a\log_a x = \frac{\ln x}{\ln a}, then integrate 1ln⁡a∫ln⁡x dx\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: ∫2x ex2 dx\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=2x dxdu = 2x\,dx
  2. The integral becomes ∫eu du=eu+C\int e^u\,du = e^u + C
  3. Substitute back: ex2+Ce^{x^2} + C

Logarithmic example: ∫1xln⁡x dx\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)=ln⁡xg(x) = \ln x.

  1. Let u=ln⁡xu = \ln x, so du=1x dxdu = \frac{1}{x}\,dx
  2. The integral becomes ∫1u du=ln⁡∣u∣+C\int \frac{1}{u}\,du = \ln|u| + C
  3. Substitute back: ln⁡∣ln⁡x∣+C\ln|\ln x| + C

Pattern to watch for: Whenever you see g′(x)g(x)\frac{g'(x)}{g(x)}, the integral is ln⁡∣g(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 ∫1y dy=ln⁡∣y∣+C\int \frac{1}{y}\,dy = \ln|y| + C or ∫ekt dt=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 ∫ln⁡x dx\int \ln x\,dx (set the inverse function as uu and dv=dxdv = dx).

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