Search the complete library

What do you want to learn or calculate?

Quick linksAll calculatorsMath subjectsPractice questionsFormula library

Unlock Unlimited Help

Try unlimited chats, explanations, practice, flashcards, and more free for 7 days.

7 days free · cancel anytime

MathGPT Unlimited

  • Chats and explanations
  • Personalized practice exams
  • Custom study guides
  • Flashcard sets
  • Interactive graphs
  • Cancel anytime
Choose a billing period
Ask a parent to pay

No charge for 7 days. After the trial, your selected plan renews automatically until cancelled. Cancel anytime from your plan page; payments are processed securely by Stripe.

← Back to calculators

Evaluate improper integrals and test convergence

Solve improper integral problems with clear steps, notation, and a final check.

∫

Calculate without using AI.

Evaluate the governing formula locally in your browser. Define each known quantity once, then change values to test another case instantly.

Local result—

Choose an example or enter a formula.

Show your work Step-by-step method
  1. No account, AI request, or paid token is used.

Recent calculations

No calculations yet.

Calculus

Improper Integral Calculator explained

The short version

  • An improper integral has an infinite limit, or an integrand that blows up somewhere in the interval.
  • You do not integrate to infinity. You integrate to b and then let b run away.
  • The answer is either a finite number, which is called converging, or infinite, which is called diverging.

The formula this page uses

∫ₐ^∞ f(x) dx = lim[b→∞] ∫ₐᵇ f(x) dx ∫₀¹ f(x) dx = lim[a→0⁺] ∫ₐ¹ f(x) dx when f blows up at 0

What each part means

SymbolWhat it means
a, b — The finite stand-in limitA real number that replaces the infinity or the bad point while you integrate.
f(x) — The integrandCheck where it is undefined before choosing which endpoint to replace.
p — The exponent in x^(−p)The single number that decides convergence for the whole family of power integrals.
limit — The final limitA finite value means convergence. Infinity, or no limit at all, means divergence.

Show your work: a full example

  1. The integral∫₁^∞ 1/x² dx
  2. Replace infinity with blim[b→∞] ∫₁ᵇ x⁻² dx
  3. Antiderivative−1/x
  4. Evaluate from 1 to b(−1/b) − (−1/1) = 1 − 1/b
  5. Let b growas b → ∞, 1/b → 0
  6. The limit1 − 0 = 1, so the integral converges to 1
  7. Sanity checkthe region is infinitely long but gets thin fast enough that its total area is only 1

A second, different case

  1. A different case: the integrand blows up at an endpoint∫₀¹ 1/√x dx, which is undefined at x = 0
  2. Replace the bad endpoint with alim[a→0⁺] ∫ₐ¹ x^(−1/2) dx
  3. Antiderivative2√x
  4. Evaluate from a to 12√1 − 2√a = 2 − 2√a
  5. Let a shrink to 02 − 0 = 2, so it converges even though the curve is infinitely tall
  6. Now change the exponent∫₀¹ 1/x dx has antiderivative ln x, giving 0 − ln a
  7. Let a shrink againln a → −∞, so 0 − ln a → ∞ and this one diverges
Copy-ready example

∫₁^∞ 1/x² dx

The integral

Power integrals: the exponent decides everything

IntegralpConverges?Value
∫₁^∞ 1/x² dx2yes1
∫₁^∞ 1/x^1.5 dx1.5yes2
∫₁^∞ 1/x dx1noinfinite
∫₁^∞ 1/√x dx0.5noinfinite
∫₀¹ 1/√x dx0.5yes2
∫₀¹ 1/x dx1noinfinite
∫₀¹ 1/x² dx2noinfinite
∫₀^∞ e^(−x) dx—yes1

Three mistakes to check for

What students writeWhy it's wrongDo this instead
Writing [−1/x] from 1 to ∞ and substituting infinity directlyInfinity is not a number, so it cannot be substituted into an antiderivative.Substitute b, then take the limit: 1 − 1/b → 1.
∫₋₁¹ 1/x² dx = −1/x from −1 to 1 = −2The integrand blows up at x = 0, right in the middle, so the fundamental theorem does not apply across the gap.Split at 0 and test each half. Both diverge, so the whole integral diverges — and a positive function could never give −2.
Assuming an infinitely tall spike must have infinite areaHeight and area are different questions. 1/√x is unbounded near 0 yet encloses only 2 square units.Do the limit and let the arithmetic decide.

Questions about the Improper Integral Calculator

Why does 1/x diverge when 1/x² converges?

Both shrink toward zero, but 1/x² shrinks fast enough that the leftover tail areas add to a finite total. 1/x is the exact borderline: its tail area from 1 to b is ln b, which grows without limit, just very slowly.

What is the p-test in one sentence?

For ∫₁^∞ x^(−p) dx you need p > 1 to converge, and for ∫₀¹ x^(−p) dx you need p < 1. Notice that the two conditions are opposite, which is why 1/√x converges near 0 but diverges out to infinity.

What if both endpoints are improper?

Split the integral at any convenient interior point and handle each half with its own limit. The whole thing converges only if both halves do; one divergent half makes the entire integral divergent.

Does diverging mean the calculation failed?

No, it is a real answer. It says the accumulated area grows without bound, which in a physics problem might mean an infinite total charge or an escape velocity that cannot be reached. Report it as divergent rather than as an error.

Where to go next

Continue from this result

Turn one calculation into understanding.

Compare another tool, review the underlying idea, then solve a fresh problem without copying the example.

Recommended next tools

Calculators that work well with this one

See all calculators →

Calculus calculator

Differentiate, integrate, evaluate limits, and inspect a live graph.

Open free tool

Taylor polynomial calculator

Compare a local polynomial approximation with its original function.

Open free tool

Graphing calculator

Plot functions, inspect intersections, and test limiting behavior.

Open free tool