Fiveable

Calculus II Unit 3 Review

QR code for Calculus II practice questions

3.7 Improper Integrals

3.7 Improper Integrals

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

Improper integrals extend the idea of definite integration to cases where the interval is infinite or the integrand blows up. They show up constantly in later courses (probability, differential equations, physics), so getting comfortable with the limit-based evaluation technique here pays off.

Improper Integrals

There are two reasons an integral becomes "improper":

  • Infinite limits of integration: The interval stretches to \infty or -\infty (or both), such as af(x)dx\int_a^{\infty} f(x)\, dx.
  • Unbounded integrand: The function has a vertical asymptote somewhere in [a,b][a, b], such as 011xdx\int_0^1 \frac{1}{\sqrt{x}}\, dx where the integrand blows up at x=0x = 0.

The core strategy is the same for both: replace the problematic piece with a variable, evaluate a proper definite integral, then take a limit.

Type 1: Infinite Limits of Integration

For an integral like af(x)dx\int_a^{\infty} f(x)\, dx, you can't plug in \infty directly. Instead, replace the infinite bound with a variable and take a limit.

Definitions:

af(x)dx=limtatf(x)dx\int_a^{\infty} f(x)\, dx = \lim_{t \to \infty} \int_a^t f(x)\, dx

bf(x)dx=limttbf(x)dx\int_{-\infty}^b f(x)\, dx = \lim_{t \to -\infty} \int_t^b f(x)\, dx

f(x)dx=cf(x)dx+cf(x)dx\int_{-\infty}^{\infty} f(x)\, dx = \int_{-\infty}^c f(x)\, dx + \int_c^{\infty} f(x)\, dx

for any real number cc (both pieces must converge independently).

Example: Evaluate 11x2dx\int_1^{\infty} \frac{1}{x^2}\, dx.

  1. Replace the upper bound: limt1tx2dx\lim_{t \to \infty} \int_1^t x^{-2}\, dx
  2. Integrate: limt[1x]1t=limt(1t+1)\lim_{t \to \infty} \left[-\frac{1}{x}\right]_1^t = \lim_{t \to \infty} \left(-\frac{1}{t} + 1\right)
  3. Evaluate the limit: 1t0-\frac{1}{t} \to 0, so the result is 11. The integral converges to 11.

Example: Evaluate 0exdx\int_{-\infty}^0 e^x\, dx.

  1. Replace the lower bound: limtt0exdx\lim_{t \to -\infty} \int_t^0 e^x\, dx

  2. Integrate: limt[ex]t0=limt(1et)\lim_{t \to -\infty} \left[e^x\right]_t^0 = \lim_{t \to -\infty} (1 - e^t)

  3. Evaluate the limit: et0e^t \to 0 as tt \to -\infty, so the result is 11. Converges to 11.

Integrals with infinite limits, calculus - Determining whether an improper integral converges or diverges. - Mathematics Stack ...

Type 2: Unbounded Integrand (Vertical Asymptote)

If f(x)f(x) has a vertical asymptote at some point in (or at an endpoint of) the interval, you approach that point with a limit.

  • Asymptote at the left endpoint aa: abf(x)dx=limta+tbf(x)dx\int_a^b f(x)\, dx = \lim_{t \to a^+} \int_t^b f(x)\, dx
  • Asymptote at the right endpoint bb: abf(x)dx=limtbatf(x)dx\int_a^b f(x)\, dx = \lim_{t \to b^-} \int_a^t f(x)\, dx
  • Asymptote at an interior point cc: Split into two integrals at cc and evaluate each with its own limit. Both must converge for the whole integral to converge.

abf(x)dx=limtcatf(x)dx+limtc+tbf(x)dx\int_a^b f(x)\, dx = \lim_{t \to c^-} \int_a^t f(x)\, dx + \lim_{t \to c^+} \int_t^b f(x)\, dx

Example: Evaluate 011xdx\int_0^1 \frac{1}{\sqrt{x}}\, dx.

The integrand blows up at x=0x = 0 (left endpoint).

  1. Replace the lower bound: limt0+t1x1/2dx\lim_{t \to 0^+} \int_t^1 x^{-1/2}\, dx

  2. Integrate: limt0+[2x]t1=limt0+(22t)\lim_{t \to 0^+} \left[2\sqrt{x}\right]_t^1 = \lim_{t \to 0^+} (2 - 2\sqrt{t})

  3. Evaluate the limit: 2t02\sqrt{t} \to 0, so the result is 22. Converges to 22.

Example: Evaluate 111x2dx\int_{-1}^1 \frac{1}{x^2}\, dx.

The integrand has a vertical asymptote at x=0x = 0, which is inside the interval. You must split here.

  1. Split: limt01t1x2dx+limt0+t11x2dx\lim_{t \to 0^-} \int_{-1}^t \frac{1}{x^2}\, dx + \lim_{t \to 0^+} \int_t^1 \frac{1}{x^2}\, dx
  2. Evaluate the first piece: limt0[1x]1t=limt0(1t1)=+\lim_{t \to 0^-} \left[-\frac{1}{x}\right]_{-1}^t = \lim_{t \to 0^-} \left(-\frac{1}{t} - 1\right) = +\infty

Since the first piece diverges, the entire integral diverges. You don't even need to check the second piece.

A common mistake: treating 111x2dx\int_{-1}^1 \frac{1}{x^2}\, dx as a regular integral and getting a negative answer. Always check for vertical asymptotes inside the interval before integrating.

Integrals with infinite limits, calculus - Some standard improper integrals - Mathematics Stack Exchange

Convergence and Divergence

  • An improper integral converges if the relevant limit(s) exist and are finite.
  • It diverges if any required limit fails to exist or is infinite.
  • For integrals split into multiple pieces (Type 2 with interior asymptote, or \int_{-\infty}^{\infty}), every piece must converge independently. If even one diverges, the whole integral diverges.

The p-test for 11xpdx\int_1^{\infty} \frac{1}{x^p}\, dx: This is a reference result worth memorizing.

  • Converges when p>1p > 1
  • Diverges when p1p \leq 1

For example, 11x2dx\int_1^{\infty} \frac{1}{x^2}\, dx converges (p=2p = 2), but 11xdx\int_1^{\infty} \frac{1}{x}\, dx diverges (p=1p = 1). The p-test is also the go-to comparison function for the Comparison Theorem below.

Comparison Theorem for Convergence

Sometimes you can't find an antiderivative, but you still need to determine whether an integral converges or diverges. The Comparison Theorem lets you do this by comparing to a simpler function.

Comparison Theorem: Suppose 0f(x)g(x)0 \leq f(x) \leq g(x) for all xax \geq a. Then:

  • If ag(x)dx\int_a^{\infty} g(x)\, dx converges, then af(x)dx\int_a^{\infty} f(x)\, dx also converges. (Smaller than something finite is finite.)
  • If af(x)dx\int_a^{\infty} f(x)\, dx diverges, then ag(x)dx\int_a^{\infty} g(x)\, dx also diverges. (Bigger than something infinite is infinite.)

How to apply it:

  1. Identify a simpler function g(x)g(x) that bounds f(x)f(x) from above (to prove convergence) or from below (to prove divergence), and whose integral you already know converges or diverges.
  2. Verify the inequality 0f(x)g(x)0 \leq f(x) \leq g(x) (or f(x)g(x)0f(x) \geq g(x) \geq 0) on the interval.
  3. Evaluate or cite the convergence/divergence of the comparison integral.
  4. State your conclusion.

Example: Does 11x2+1dx\int_1^{\infty} \frac{1}{x^2 + 1}\, dx converge or diverge?

  1. For x1x \geq 1: x2+1>x2x^2 + 1 > x^2, so 1x2+1<1x2\frac{1}{x^2 + 1} < \frac{1}{x^2}. Choose g(x)=1x2g(x) = \frac{1}{x^2}.
  2. We have 01x2+11x20 \leq \frac{1}{x^2+1} \leq \frac{1}{x^2} for all x1x \geq 1.
  3. 11x2dx\int_1^{\infty} \frac{1}{x^2}\, dx converges by the p-test (p=2>1p = 2 > 1).
  4. By the Comparison Theorem, 11x2+1dx\int_1^{\infty} \frac{1}{x^2 + 1}\, dx converges.

Watch the direction of the inequality. If you want to prove convergence, you need your function to be less than or equal to something that converges. If you want to prove divergence, you need it to be greater than or equal to something that diverges. Comparing in the wrong direction tells you nothing.