Hexa Scholar

Improper integrals

A navy and gold reel unwinds an unmarked cream ribbon that trails toward a hazy horizon.
A ribbon trailing toward the horizon stands for an interval whose endpoint keeps moving.

The question

For which powers p does the area under 1/xp, starting at x = 1, approach a finite total?

Choose first. Then move the endpoint and examine the totals.

  1. 1 SeeChoose powers, then extend the cutoff.
  2. 2 TryTest an endpoint and control the tail.
  3. 3 ProveBuild the convergence test.
  4. 4 ApplySolve five integral problems.
Before you start · 3 quick checks on antiderivatives, definite integrals and limits

Two ideas before you start

2 ideas

First choose a finite endpoint

A finite region under the line f(x) = x, ending at the chosen cutoff.

A cutoff turns the question into an ordinary definite integral. Change the cutoff to see which region is being measured.

Exact definition

Suppose f is continuous on every finite interval [a, R], with R greater than a. Define the accumulated integral

\[A(R)=\int_a^R f(x)\,dx.\]

The improper integral \(\int_a^\infty f(x)\,dx\) is the limit of A(R) as R tends to infinity. It converges when this limit exists as a finite real number. Otherwise it diverges. Infinity names the limiting process; it is not a number to substitute into an antiderivative.

A finite interval can need a cutoff too

The curve 1/x between a positive lower cutoff and the fixed endpoint 1.

If the function is unbounded near an endpoint, leave a gap before integrating. The question concerns what happens as that gap closes.

Exact definition

If f is continuous on (a, b] but unbounded near a, define

\[\int_a^b f(x)\,dx=\lim_{\varepsilon\to0^+}\int_{a+\varepsilon}^b f(x)\,dx\]

only when the limit is finite. The superscript plus means that ε stays positive while tending to zero. The graph on this card shows only the truncated region, away from the problematic endpoint. It makes no claim about the total at that endpoint.

Refresher: powers, logarithms and limits

For x positive and real q, the derivative of \(x^q\) is \(qx^{q-1}\). When q is nonzero, an antiderivative of \(x^{q-1}\) is \(x^q/q\). The exceptional exponent uses \((\ln x)'=1/x\). Differentiating a proposed antiderivative is a useful way to catch a missing factor or a sign error.

A function A approaches L at infinity when every positive tolerance eventually contains all later values: for every ε positive, there is B such that \(|A(R)-L|\lt\varepsilon\) whenever R exceeds B. This extends the idea in convergent sequences from integer indices to continuous cutoffs. For c positive, \(R^{-c}\to0\), \(R^c\to\infty\), and \(\ln R\to\infty\) as R increases without bound.

1 See

Place your choices before extending the cutoff

Here \(f(x)=x^{-p}\), with x at least 1 and p fixed. Each curve is positive and decreases for the powers in the activity. That observation alone does not settle the integral. You are judging the total area over the whole unbounded interval, not the function's height at a distant point.

2 Try

Change the endpoint, then control the remainder

Use what you found above: leave little area uncounted

Return to the tail from 1 to infinity, now with p = 2. Choose a cutoff R so the remaining area is at most the target. The remainder is \(E(R)=\int_R^\infty x^{-2}\,dx=1/R\). This is an exact bound for every later cutoff, not an estimate based on the last visible change.

The allowed cutoff is deliberately finite. Increasing it trades more computation for a smaller error. For an integrand without an elementary antiderivative, a comparison can give a bound of the same kind, but only for a nonnegative integrand: if \(0\le f(x)\le Cx^{-p}\) for x at least R, with C positive and p greater than 1, the omitted area is at most \(CR^{1-p}/(p-1)\). Always state whether your error guarantee is strict or allows equality at the target.

3 Prove

Build the power test

Theorem

Let p be any real number and let \(f(x)=x^{-p}\) for x positive. On every finite interval away from zero this function is continuous, so the fundamental theorem of calculus applies. Then

\[\int_1^\infty x^{-p}\,dx=\frac{1}{p-1}\quad(p\gt1).\]

Write \(A(R)=\int_1^R x^{-p}\,dx\) for R greater than 1. For p at most 1, these truncated integrals tend to positive infinity. They do not have a finite limit. In the proof R is always greater than 1; the power formula is used only when p differs from 1.

Choose each step, including the exceptional logarithmic case. Each incorrect statement fails throughout the parameter range it states. You can switch to the complete proof after trying a line.

The other endpoint, and splitting at a singularity

For the integral on (0, 1], use a positive lower cutoff instead. When p differs from 1,

\[\int_\varepsilon^1 x^{-p}\,dx=\frac{1-\varepsilon^{1-p}}{1-p}.\]

As ε tends to zero, this has the finite limit \(1/(1-p)\) exactly when p is less than 1. For p greater than 1 the totals tend to positive infinity; for p equal to 1 they are \(-\ln\varepsilon\), which also tends to positive infinity. The direction of the exponent test has changed because the variable approaches zero rather than infinity.

If there is a singularity at an interior point c, split the integral at c and require each one-sided integral to converge separately. Similarly, an integral over the whole real line requires its two tails to converge separately. A symmetric cutoff that cancels positive and negative divergences can produce a Cauchy principal value, but that is a different definition. Never subtract infinities to assign an ordinary improper integral a value.

4 Apply

Five problems with limits

State the cutoff limit on paper before entering a number. Each problem has hints and a worked solution. Enter decimals; the accepted absolute error is shown beside each problem.

Key point A finite numerical answer needs a convergent limit. Keep units in rate models, keep normalization in density models, and use a remainder bound to justify stopping at a finite cutoff.
Level IntroPrerequisites Definite integrals and antiderivatives; powers and limits refreshed aboveTime ~35 min

Related: convergent sequences explains what a limit demands. The exponential distribution uses an improper integral to give a density its total probability.

Further reading