Convergence of improper integrals: the p-test

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Calculus BC (AP-aligned) › Improper integrals

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

Convergence of improper integrals: the p-test

Improper integrals.

Warm-up

Three quick questions from earlier lessons.

  1. Evaluate ∫0∞xe−2x dx\displaystyle\int_0^{\infty} x e^{-2x}\,dx.
    1. An antiderivative of xe−2xxe^{-2x} (by parts):   ?\;?
    2. Its limit as x→∞x \to \infty:   ?\;?
    3. The value of the integral:   ?\;?
    4. Compare with a p-integral: ∫1∞dxx3=  ?\displaystyle\int_1^{\infty} \dfrac{dx}{x^{ 3 } } = \;?
    5. An integrand that blows up at 0: ∫01dxx=  ?\displaystyle\int_0^1 \dfrac{dx}{\sqrt{x} } = \;?
  2. Evaluate ∫09dxx\displaystyle\int_0^{ 9 } \dfrac{dx}{\sqrt{x} }.
  3. What is ∫−22dxx2\displaystyle\int_{-2}^{ 2 } \dfrac{dx}{x^2}?
    1. It diverges: 1x2\dfrac{1}{x^2} is unbounded at x=0x = 0
    2. [−1x]−22=−22\left[-\dfrac{1}{x}\right]_{-2}^{ 2 } = -\dfrac{2}{ 2 }
    3. 0, by symmetry

Discover

∫1∞dxx\displaystyle\int_1^{\infty} \dfrac{dx}{x} diverges and ∫1∞dxx2\displaystyle\int_1^{\infty} \dfrac{dx}{x^2} converges. What about ∫1∞dxx3\displaystyle\int_1^{\infty} \dfrac{dx}{x^3}?

  1. It converges
  2. It diverges

Key idea

Powers of xx decide convergence at once.

p-test: ∫1∞dxxp\displaystyle\int_1^{\infty} \dfrac{dx}{x^p} converges exactly when p>1p > 1 (to 1p−1\tfrac{1}{p - 1}). ∫01dxxp\displaystyle\int_0^1 \dfrac{dx}{x^p} converges exactly when p<1p < 1 (to 11−p\tfrac{1}{1 - p}). For p=1p = 1 both diverge.

Worked example

Classify three integrals.

∫1∞x−3/2 dx\displaystyle\int_1^{\infty} x^{-3/2}\,dx converges, to 22
p = 3/2 > 1 at ∞.
∫01x−1/2 dx\displaystyle\int_0^1 x^{-1/2}\,dx converges, to 22
p = 1/2 < 1 near 0.
∫1∞x−1/2 dx\displaystyle\int_1^{\infty} x^{-1/2}\,dx diverges
p = 1/2 ≤ 1 at ∞.

Your turn, guided

Your turn: the value of ∫1∞dxx4\displaystyle\int_1^{\infty} \dfrac{dx}{x^4}.

13\tfrac{1}{3}
1/(p − 1) with p = 4.

Practice ★

  1. For which pp does ∫2∞dxxp\displaystyle\int_{ 2 }^{\infty} \dfrac{dx}{x^p} converge?
    1. p>1p > 1
    2. p≥1p \ge 1
    3. p<1p < 1
  1. Evaluate ∫3∞5x3 dx\displaystyle\int_{ 3 }^{\infty} \dfrac{ 5 }{x^3}\,dx.
  2. Evaluate ∫4∞1x3 dx\displaystyle\int_{ 4 }^{\infty} \dfrac{ 1 }{x^3}\,dx.

Watch out!

Practice ★★

  1. Which improper integrals converge? Tick all that do.
    1. ∫1∞3x2 dx\displaystyle\int_1^{\infty} \dfrac{ 3 }{x^2}\,dx
    2. ∫013x dx\displaystyle\int_0^1 \dfrac{ 3 }{\sqrt{x} }\,dx
    3. ∫0∞e−3x dx\displaystyle\int_0^{\infty} e^{-3x}\,dx
    4. ∫1∞3x dx\displaystyle\int_1^{\infty} \dfrac{ 3 }{\sqrt{x} }\,dx
    5. ∫013x2 dx\displaystyle\int_0^1 \dfrac{ 3 }{x^2}\,dx
  2. Which improper integrals converge? Tick all that do.
    1. ∫1∞5x2 dx\displaystyle\int_1^{\infty} \dfrac{ 5 }{x^2}\,dx
    2. ∫015x dx\displaystyle\int_0^1 \dfrac{ 5 }{\sqrt{x} }\,dx
    3. ∫0∞e−5x dx\displaystyle\int_0^{\infty} e^{-5x}\,dx
    4. ∫1∞5x dx\displaystyle\int_1^{\infty} \dfrac{ 5 }{\sqrt{x} }\,dx
    5. ∫015x2 dx\displaystyle\int_0^1 \dfrac{ 5 }{x^2}\,dx

Exit ticket

Three questions to check you have got it.

  1. Evaluate ∫3∞5x3 dx\displaystyle\int_{ 3 }^{\infty} \dfrac{ 5 }{x^3}\,dx.
  2. Evaluate ∫4∞1x3 dx\displaystyle\int_{ 4 }^{\infty} \dfrac{ 1 }{x^3}\,dx.
  3. Evaluate ∫4∞4x3 dx\displaystyle\int_{ 4 }^{\infty} \dfrac{ 4 }{x^3}\,dx.

Summary card

The p-test

  • ∫1∞x−p dx\int_1^{\infty} x^{-p}\,dx: converges for p>1p > 1.
  • ∫01x−p dx\int_0^1 x^{-p}\,dx: converges for p<1p < 1.
  • p=1p = 1: both diverge.

Watch out: the condition flips between ∞\infty and 00.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Evaluate ∫5∞3x2 dx\displaystyle\int_{ 5 }^{\infty} \dfrac{ 3 }{x^2}\,dx.
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits