Tutorials › Calculus II › Why Divergent Integrals Cannot Be Canceled Algebraically

Infinite-Interval Integrals · Tutorial 292 of 998

Why Divergent Integrals Cannot Be Canceled Algebraically

Use cutoff limits to distinguish valid linearity for convergent improper integrals from apparent cancellation between divergent ones.

Beginner 9 min read

What You'll Learn

  • Define convergence of an improper integral using a finite cutoff limit.
  • Explain why subtracting two divergent integral values is undefined.
  • Compare matched and independent cutoffs to expose cutoff-dependent cancellation.
  • Compute examples involving constant and logarithmic divergence.
  • Distinguish an integral of a difference from the difference of two improper integrals.

Why Cancellation Needs Care

For ordinary finite numbers, subtraction is always defined. If two quantities are both large, their difference may nevertheless be small. Improper integrals create a subtlety: a divergent improper integral is not a finite number, even when its cutoff expressions look like quantities that could cancel.

The key is to keep track of the cutoff limits. A cutoff expression is a finite integral, but the improper integral is defined only when its limit exists as a finite real number. If two improper integrals do not converge, there are no two finite integral values to subtract.

Key takeaway: Linearity applies to convergent improper integrals. Divergent improper integrals cannot be subtracted as though they were finite values. If the integrand difference has its own convergent improper integral, that is a separate integral that must be evaluated on its own terms.

Cutoff Limits and Convergence

For a function \(f\) that is integrable on every finite interval \([a,R]\), its improper integral over \([a,\infty)\) is defined by a limit:

$$ \int_a^\infty f(x)\,dx = \lim_{R\to\infty}\int_a^R f(x)\,dx, $$

provided that this limit exists as a finite real number. If the limit is infinite or does not exist, the improper integral diverges; it does not have a finite value that can be used in ordinary arithmetic.

Suppose \(f\) and \(g\) are each integrable on every finite interval starting at \(a\). For a finite cutoff \(R\), ordinary linearity gives

$$ \int_a^R \bigl(f(x)-g(x)\bigr)\,dx = \int_a^R f(x)\,dx-\int_a^R g(x)\,dx. $$

This equality is valid for every finite \(R\). To use it to subtract the two improper integrals, however, both cutoff integrals on the right must converge to finite values as \(R\to\infty\). In that case, the limit laws for finite real numbers justify taking the limit of the difference. If either improper integral fails to converge, this reasoning does not produce a difference of two improper-integral values.

Worked Example: A Constant Tail

Worked Example: A Constant Tail

Consider \(\int_1^\infty 1\,dx\). First evaluate it with a finite cutoff \(R>1\):

$$ \int_1^R 1\,dx = \left[x\right]_1^R = R-1. $$

The antiderivative \(x\) is correct because its derivative is \(1\). As \(R\to\infty\), \(R-1\to+\infty\). Therefore \(\int_1^\infty 1\,dx\) diverges to \(+\infty\) and is not a finite real number.

This example also shows why the cutoff expression and the improper integral must not be confused: \(R-1\) is a finite number for each finite \(R\), but the improper integral is the limit, and that limit is not finite.

Matched Cutoffs Do Not Define a Difference of Divergent Integrals

Consider subtracting \(\int_1^\infty 1\,dx\) from itself. Both improper integrals diverge. If we use the same finite cutoff \(R\) for both, their truncated difference is zero:

$$ \int_1^R 1\,dx-\int_1^R 1\,dx = (R-1)-(R-1) = 0. $$

This calculation is correct for each \(R\). It shows that the integral of the pointwise difference \(1-1=0\), evaluated with a common cutoff, is zero. It does not show that the difference of the two divergent improper integrals is defined. That expression would attempt to subtract two quantities that are not finite integral values.

One way to see the distinction is to let the two cutoffs vary independently. For \(R,S>1\), the truncated difference is

$$ \int_1^R 1\,dx-\int_1^S 1\,dx = (R-1)-(S-1) = R-S. $$

Its behavior depends on how \(R\) and \(S\) tend to infinity. Setting \(S=R\) gives \(0\). Setting \(S=R+1\) gives \(-1\). Setting \(S=2R\) gives \(-R\), which tends to \(-\infty\). Thus there is no single value produced by letting both cutoffs grow independently.

Important distinction: A common cutoff imposes a particular relationship between two cutoffs. Cancellation under that chosen relationship is not a definition of the difference of two divergent improper integrals.

Worked Example: Two Divergent Integrals with Logarithmic Terms

Worked Example: Two Divergent Integrals with Logarithmic Terms

Consider the cutoff integrals for \(f(x)=1+\frac{1}{x}\) and \(g(x)=1\), starting at \(1\). For \(R>1\), an antiderivative of \(f\) is \(x+\ln x\), since its derivative is \(1+\frac{1}{x}\). Therefore

$$ \int_1^R \left(1+\frac{1}{x}\right)\,dx = \left[x+\ln x\right]_1^R = R+\ln R-1. $$

An antiderivative of \(g\) is \(x\), with derivative \(1\), so for \(S>1\),

$$ \int_1^S 1\,dx = \left[x\right]_1^S = S-1. $$

The first cutoff integral tends to \(+\infty\), as does the second. Subtracting their finite cutoff expressions gives

$$ (R+\ln R-1)-(S-1) = R-S+\ln R. $$

Different ways of linking the cutoffs produce different results:

  • If \(S=R\), the difference is \(\ln R\), which tends to \(+\infty\).
  • If \(S=R+\ln R\), the difference is \(0\) for every \(R>1\).
  • If \(S=R+2\ln R\), the difference is \(-\ln R\), which tends to \(-\infty\).

Each substitution follows from \(R-S+\ln R\). These outcomes show that the truncated difference has no value independent of the cutoff relationship. With the common cutoff, the truncated difference is \(\int_1^R \frac{1}{x}\,dx=\ln R\), which also confirms that the improper integral of the pointwise difference diverges.

The Difference Integrand Is a Separate Question

For finite cutoffs, linearity always permits combining the integrands:

$$ \int_a^R \bigl(f(x)-g(x)\bigr)\,dx = \int_a^R f(x)\,dx-\int_a^R g(x)\,dx. $$

Taking \(R\to\infty\) on the left asks whether the improper integral of \(f-g\) converges. It is possible for that integral to converge even when the two separate integrals of \(f\) and \(g\) diverge. In that situation, the value belongs to the integral of the difference; it is not obtained by subtracting the two divergent integrals.

For example, if \(f(x)=g(x)=1\), then \(f-g=0\), and \(\int_1^\infty 0\,dx=0\). The separate integrals \(\int_1^\infty 1\,dx\) both diverge. The zero value is justified by integrating the zero function, not by assigning values to the divergent integrals and subtracting them.

This distinction is useful whenever two expressions seem to have large terms that cancel. Before using cancellation, ask what has actually been defined: a limit of the difference of cutoff expressions, an integral of the difference function, or a difference of two convergent improper integrals. These are not interchangeable when separate integrals diverge.

Why Linearity Requires Convergence

For convergent improper integrals, linearity follows directly from the finite-cutoff identity and the limit laws. Suppose

$$ \lim_{R\to\infty}\int_a^R f(x)\,dx=A \qquad\text{and}\qquad \lim_{R\to\infty}\int_a^R g(x)\,dx=B, $$

where \(A\) and \(B\) are finite real numbers. Then

$$ \begin{aligned} \int_a^\infty \bigl(f(x)-g(x)\bigr)\,dx &= \lim_{R\to\infty} \left(\int_a^R f(x)\,dx-\int_a^R g(x)\,dx\right)\\ &= A-B. \end{aligned} $$

The last equality is the limit law for the difference of two convergent real-valued quantities. It requires both limits to be finite. If the cutoff integrals diverge, the hypotheses for this limit law are not met, and the calculation cannot be used to define \(A-B\).

1
Evaluate on a finite interval.
Use ordinary linearity to combine the integrands or subtract the finite cutoff values.
2
Check each improper integral.
Determine whether each cutoff expression has a finite limit as its cutoff tends to infinity.
3
Use only justified limits.
If both separate limits are finite, their difference is valid. Otherwise, assess the integral of the difference separately, if that is the quantity of interest.

Common Mistake: Treating Infinity as a Number

A common error is to write “\(\infty-\infty=0\)” because two expressions look identical, or because they grow at the same rate. This is not a valid real-number calculation: \(+\infty\) is not a finite number, and subtraction of two divergent limits is not defined by ordinary limit laws.

For a concrete correction, compare the two cutoff expressions \(R-1\) and \(S-1\). Their difference is

$$ (R-1)-(S-1)=R-S. $$

If \(S=2R\), the result is \(R-2R=-R\), which tends to \(-\infty\). It is not \(1-R\). More importantly, other choices of the cutoffs give other outcomes, so this subtraction does not define a value for the two divergent improper integrals.

Practical rule: Do not cancel divergent improper integrals algebraically. Write the cutoff expressions, state how each cutoff tends to infinity, and verify that the limit being used is well-defined.

Check Your Understanding

Use cutoff expressions to justify each answer. Do not treat a divergent integral as a finite value.

  1. Does \(\int_2^\infty 1\,dx\) converge? Show its cutoff expression.
  2. For two cutoffs \(R,S>1\), simplify \(\int_1^R 1\,dx-\int_1^S 1\,dx\). What happens for \(S=R+3\)?
  3. Why does using the same cutoff in \(\int_1^R 1\,dx-\int_1^R 1\,dx\) not define the difference of the two improper integrals?
  4. For the functions \(1+\frac{1}{x}\) and \(1\) on \([1,\infty)\), what is the integrand difference, and does its improper integral converge?
  5. State the condition that permits subtracting two improper integrals using linearity.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon