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:

  • โˆซ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).