Skip to content
    Calculus

    Improper Integrals: Convergence and the p-Test

    Can a region that stretches on forever have a finite area? Surprisingly, yes. The area under 1/x² from 1 to infinity is exactly 1, but the area under 1/x never stops growing. This guide shows you how to tell the difference with one simple test.

    Math Solver Academic Editorial Board6 min read

    Key takeaways

    • An improper integral has an infinite limit (or a curve that blows up).
    • p-test: ∫₁^∞ 1/xᵖ dx = 1 ÷ (p − 1) when p > 1, and diverges when p ≤ 1.
    • Never plug in ∞ like a number. Use a limit: stop at t, then let t grow.
    • p = 1 diverges: the area under 1/x grows like ln t forever.
    In this guide
    1. 01What is an improper integral?
    2. 02Why do improper integrals matter?
    3. 03The formula (the p-test)
    4. 04How to evaluate an improper integral step by step
    5. 05Common mistakes to avoid
    6. 06Tips and tricks
    7. 07Where you'll use it in real life
    8. 08Quick summary
    9. 09Worked example
    10. 10Frequently asked questions

    What is an improper integral?

    A normal definite integral has two finite limits, like 1 to 5. An improper integral has a limit of infinity (∞), or a curve that shoots up to infinity inside the interval. You can't stop at infinity, so you stop at a large number t, work out the area, and then watch what happens as t grows without end.

    Picture the curve y = 1/x² from x = 1 onwards. It gets thin very fast. The tail is so thin that the total area adds up to exactly 1. But y = 1/x shrinks too slowly, and its area keeps growing forever.

    Why do improper integrals matter?

    Many important quantities add up something that never quite ends: a signal fading over time, a force weakening with distance, or the tail of a probability curve. Improper integrals tell you whether those endless sums give a sensible, finite answer.

    The surprise is how thin the dividing line is. The curves 1/x and 1/x² both go to 0, yet one has infinite area and the other has area 1.

    Area from 1 to tUnder 1/xUnder 1/x²
    t = 1,000about 6.910.999
    t = 1,000,000about 13.820.999999
    t → ∞grows foreverexactly 1
    The area under 1/x grows so slowly that you'd need x beyond a million just to pass 14, but it never stops growing.

    The formula (the p-test)

    ∫₁^∞ 1/xᵖ dx = 1 ÷ (p − 1) if p > 1, and it diverges if p ≤ 1
    SymbolWhat it meansExample
    pThe power in the bottom of the fraction (calculator needs p > 0)3
    1The lower limit, where the area startsx = 1
    ∞The upper limit: the region never ends—
    1 ÷ (p − 1)The exact area when p > 11 ÷ 2 = 0.5

    If p ≤ 1 the integral diverges, and the calculator shows ∞.

    How to evaluate an improper integral step by step

    1. 1Rewrite the fraction. 1/xᵖ = x⁻ᵖ.
    2. 2Integrate with the power rule. You get x¹⁻ᵖ ÷ (1 − p). If p = 1, the antiderivative is ln x instead.
    3. 3Stop at t. Evaluate from 1 to t: (t¹⁻ᵖ − 1) ÷ (1 − p).
    4. 4Let t → ∞. If p > 1, t¹⁻ᵖ → 0 and the answer is 1 ÷ (p − 1). If p ≤ 1, t¹⁻ᵖ (or ln t) grows forever, so the integral diverges.

    Try a few powers yourself. Enter p below and see whether the area settles down or runs away.

    Try it yourself

    Pre-filled with the example — change any value.

    🧮
    Calculus
    University

    Improper Integral (1/xᵖ, 1 to ∞)

    Determine convergence and value of ∫[1,∞] x^(−p) dx.

    ∫[1,∞] 1/xᵖ dx = 1/(p−1) if p > 1, else diverges

    Area Under Curve ∫f(x)dx
    120

    💡 Example

    Reference
    Inputs:p=2
    Result:1
    Open the full Improper Integral (1/xᵖ, 1 to ∞) calculator

    Common mistakes to avoid

    • Plugging in ∞ like a number. Always replace ∞ with t, then take the limit as t grows.
    • Mixing up the direction of the test. Bigger p means a thinner tail, so p > 1 converges and p ≤ 1 diverges.
    • Starting at 0. Near x = 0, 1/xᵖ blows up. That is a different kind of improper integral with the opposite rule (it converges when p < 1).
    • Forgetting the sign. 1 ÷ (1 − p) is negative when p > 1, so write the answer as 1 ÷ (p − 1).

    Tips and tricks

    • Compare with a known curve. If your function sits below a convergent 1/xᵖ, its area is finite too. This is the comparison test.
    • Series link: the sum 1 + 1/2ᵖ + 1/3ᵖ + … converges for exactly the same p (p > 1). This is the integral test.
    • Finite limits? For ordinary integrals, use the definite integral calculator.

    Where you'll use it in real life

    • Probability: the total area under the normal distribution curve, which stretches to infinity both ways, is exactly 1.
    • Physics: the work to lift a rocket completely free of Earth's gravity is finite, because gravity weakens like 1/r².
    • Engineering: the Laplace transform is an improper integral from 0 to ∞.
    • Mathematics: testing whether infinite series add up to a finite number.

    Quick summary

    An improper integral handles an endless region by stopping at t and letting t grow. For ∫₁^∞ 1/xᵖ dx, the area is 1 ÷ (p − 1) when p > 1 and infinite when p ≤ 1. Use the calculator above to test any power and see the working.

    Worked example

    In physics, some forces weaken with distance like 1/x³. Does the total area under y = 1/x³ from x = 1 to infinity have a finite value, and what is it? Here p = 3.

    1. 01∫[1,∞] x^(−3) dx
    2. 02= [x^(−3+1) / (−3+1)]₁^∞
    3. 03= [x^-2 / -2]₁^∞
    4. 04As x→∞: x^-2 → 0 (since 2 > 0)
    5. 05= 0 − (1^-2 / -2)
    6. 06= 0 − (−1/2) = 1/2 = 0.5
    7. 07The integral CONVERGES to 0.5

    These numbers are pre-filled in the calculator above.

    Frequently asked questions

    How do I know if an improper integral converges?

    Replace ∞ with a variable t, integrate, and take the limit as t → ∞. If you get a finite number, it converges. For 1/xᵖ from 1 to ∞, it converges exactly when p > 1.

    What is the integral of 1/x² from 1 to infinity?

    It equals 1. The antiderivative is −1/x, which goes to 0 at infinity and equals −1 at x = 1, so the area is 0 − (−1) = 1.

    Why does 1/x diverge but 1/x² converge?

    Both go to 0, but 1/x² shrinks much faster. The area under 1/x from 1 to t is ln t, which grows forever, while the area under 1/x² is 1 − 1/t, which never passes 1.

    What does the calculator show when the integral diverges?

    For p between 0 and 1 (including p = 1) it shows ∞ and explains that the area grows without limit. It needs p > 0.

    #Calculus#University#Improper Integral (1/xᵖ, 1 to ∞)
    Updated

    Keep reading

    Sponsored ToolsAd

    More tools on Ytools →
    Calcu.click — 25+ Free Smart Calculators preview

    Calcu.click — 25+ Free Smart Calculators

    Brand new calculation platform with 0ms reactive math, 100% client-side privacy, and dedicated subdomains. Fast calculators for EMI, SIP, Mortgage, Income Tax, BMI, Age, Percentage, and more.

    25+ CalculatorsFinanceHealth0ms Real-TimeFree
    Keyboard Arena preview

    Keyboard Arena

    Master touch typing with real-time WPM speed tests, mechanical switch audio, A-Z finger biomechanics drills, 40+ structured lessons, and competitive arcade games.

    Typing TestWPMTouch Typing
    Flutter Log Explorer preview

    Flutter Log Explorer

    Real-time structured log viewer and search explorer for Flutter & Dart. Zero-config capture from Debug Adapter (DAP) & Dart VM Service with smart classification and filters.

    FlutterDartVS Code ExtensionOpen VSX