BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Infinite series and convergence tests

First, improper integrals of the second kind: near a singularity, 1/x^p is integrable exactly when p < 1, the opposite of the rule at infinity, and a singularity inside the interval must be split off. Then infinite series: the sum is the limit of the partial sums. The geometric series 1 + a + a² + … converges to 1/(1 − a) only for |a| < 1. A Riemann sum with steps of 1 ties Σ 1/n^p to ∫ dx/x^p: the harmonic series diverges, trapped between ln N and ln N + 1, while Σ 1/n² converges (to π²/6). Limit comparison handles the rest.

You need this first

Full reading path (18 pages)
  1. The derivative: slope of the tangent line and rate of change (18.01)
  2. Limits and continuity (18.01)
  3. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  4. The chain rule and higher derivatives (18.01)
  5. Implicit differentiation and the derivatives of inverse functions (18.01)
  6. Exponentials and logarithms: the number e and its derivatives (18.01)
  7. Linear and quadratic approximations (18.01)
  8. Indeterminate forms and L'Hôpital's rule (18.01)
  9. Curve sketching with the first and second derivative (18.01)
  10. Sketching strategy and maximum–minimum problems (18.01)
  11. More max–min, and related rates (18.01)
  12. A ring on a string, and Newton's method (18.01)
  13. The mean value theorem and inequalities (18.01)
  14. Differentials and antiderivatives (18.01)
  15. Definite integrals and Riemann sums (18.01)
  16. The first fundamental theorem of calculus (18.01)
  17. The second fundamental theorem of calculus (18.01)
  18. Improper integrals (18.01)
On this page · 6 sections
  1. Improper integrals of the second kind
  2. Geometric series
  3. Convergence of a series
  4. The harmonic series
  5. Integral comparison and limit comparison
  6. Summary

The lecture finishes improper integrals and then turns to infinite series, whose convergence works in the same way (transcript, pp. 1, 5).

Improper integrals of the second kind#

When ff blows up at a finite point, say x=0x = 0, the integral is defined by cutting off near the singularity (transcript, p. 1):

Improper integral of the second kind
∫01f(x) dx=lim⁡a→0+∫a1f(x) dx\int_0^1 f(x)\,dx = \lim_{a \to 0^+}\int_a^1 f(x)\,dx
In words

the integral from 0 to 1 of f(x) d x equals the limit as a goes to 0 from the right of the integral from a to 1 of f(x) d x

It converges if the limit exists and diverges if not (p. 1). For example ∫01x−1/2 dx=[2x1/2]01=2\int_0^1 x^{-1/2}\,dx = \Big[2x^{1/2}\Big]_0^1 = 2 converges, while ∫01dxx=ln⁡1−ln⁡0+=+∞\int_0^1\frac{dx}{x} = \ln 1 - \ln 0^+ = +\infty diverges (pp. 1–2). In general (p. 2):

Powers near zero
∫01dxxp={11−pp<1∞p≥1\int_0^1\frac{dx}{x^p} = \begin{cases}\dfrac{1}{1 - p} & p < 1\\[1ex] \infty & p \ge 1\end{cases}
In words

the integral from 0 to 1 of d x over x to the power p equals 1 over the quantity 1 minus p, when p less than 1; or infinity when p is greater than or equal to 1

This is the reverse of the rule at infinity. Near 0, x−1/2≪x−1≪x−2x^{-1/2} \ll x^{-1} \ll x^{-2}, and the small ones are integrable; near infinity the order flips and x−2x^{-2} is the integrable one. The crossover is 1x\frac{1}{x}, which loses at both ends: cut y=1xy = \frac{1}{x} at x=1x = 1 and both halves have infinite area, while 1x\frac{1}{\sqrt x} has a finite piece near 0 (area 2) and an infinite tail, and 1x2\frac{1}{x^2} the opposite (pp. 2–3).

A singularity inside the interval must be split off. ∫0∞dx(x−3)2\int_0^\infty\frac{dx}{(x - 3)^2} has two places to check, x=3x = 3 and infinity: split it at 5, say. Near 3 it behaves like 1x2\frac{1}{x^2} near 0 and diverges; the tail converges; so the whole integral diverges, and integrating blindly across x=3x = 3 gives a meaningless negative number (pp. 3–4). Always check ±∞\pm\infty and every point where the integrand is infinite, one at a time (p. 5).

Geometric series#

Add 1+12+14+18+⋯1 + \frac{1}{2} + \frac{1}{4} + \frac{1}{8} + \cdots on a number line: each step goes half the remaining way to 2, so the sum is 2, even though no finite number of steps gets there, which is the heart of Zeno's paradox (transcript, pp. 5–6). In general (p. 6; notes, p. 1):

Geometric series
1+a+a2+a3+⋯=11−a,∣a∣<11 + a + a^2 + a^3 + \cdots = \frac{1}{1 - a}, \qquad |a| < 1
In words

1 plus a plus a squared plus a cubed plus and so on equals 1 over the quantity 1 minus a, the absolute value of a less than 1

The notes derive it by multiplying the series by aa and subtracting: S−aS=1S - aS = 1 (notes, p. 1). Outside ∣a∣<1|a| < 1 the formula misleads (pp. 6–7). At a=1a = 1, 1+1+1+⋯1 + 1 + 1 + \cdots "=" 10\frac{1}{0}, almost right but not a number. At a=−1a = -1, the partial sums of 1−1+1−⋯1 - 1 + 1 - \cdots bounce between 1 and 0 forever, while the formula says 12\frac{1}{2}, halfway between. At a=2a = 2, 1+2+4+⋯1 + 2 + 4 + \cdots "=" −1-1 is plainly wrong in ordinary arithmetic; the lecturer mentions that number theory has a system (the 2-adic numbers) in which it does make sense, at the price of giving up the usual ordering of numbers. All three diverge (p. 7).

Convergence of a series#

As for integrals, define the sum through partial sums (transcript, p. 8; notes, pp. 1–2):

Sum of a series
SN=∑n=0Nan,∑n=0∞an=lim⁡N→∞SNS_N = \sum_{n=0}^{N} a_n, \qquad \sum_{n=0}^{\infty} a_n = \lim_{N \to \infty} S_N
In words

capital S sub N equals the sum from n equals 0 to capital N of a sub n, the sum from n equals 0 to infinity of a sub n equals the limit as capital N goes to infinity of capital S sub N

The series converges if the limit exists and diverges if not (p. 8). The analogy with integrals is close: ∑n=1∞1n2\sum_{n=1}^\infty\frac{1}{n^2} and ∫1∞dxx2\int_1^\infty\frac{dx}{x^2} both converge. The integral is easy, it is 1; the sum is hard, and Euler found it to be π26\frac{\pi^2}{6} (p. 8; notes, p. 2). Likewise ∑1n3\sum\frac{1}{n^3} and ∫1∞dxx3=12\int_1^\infty\frac{dx}{x^3} = \frac{1}{2} both converge, but the sum has no simple form; it was proved irrational only in 1978, by Apéry, which the 2006 lecture and notes call recent (pp. 8–9; notes, p. 2). (On p. 9 the transcript says "1/n1/n resembles 1/x21/x^2" where 1/n21/n^2 is meant.) Only the tail matters for convergence, so a series can start wherever is convenient (pp. 8–9).

The harmonic series#

Compare ∑1n\sum\frac{1}{n} with ∫1Ndxx=ln⁡N\int_1^N\frac{dx}{x} = \ln N using Riemann sums with Δx=1\Delta x = 1 (transcript, pp. 9–10). The upper sum, rectangles of heights 1,12,…,1N−11, \frac{1}{2}, \ldots, \frac{1}{N - 1}, covers the area under 1x\frac{1}{x}, so ln⁡N<1+12+⋯+1N−1<SN\ln N < 1 + \frac{1}{2} + \cdots + \frac{1}{N - 1} < S_N (p. 10). The lower sum, rectangles 12,…,1N\frac{1}{2}, \ldots, \frac{1}{N}, fits under the curve, so SN−1<ln⁡NS_N - 1 < \ln N (p. 11). Together, for N≥2N \ge 2 (p. 11; notes, p. 3):

The harmonic series
ln⁡N<SN=1+12+⋯+1N<ln⁡N+1\ln N < S_N = 1 + \frac{1}{2} + \cdots + \frac{1}{N} < \ln N + 1
In words

log capital N less than capital S sub N equals 1 plus one half plus and so on plus 1 over capital N less than log capital N plus 1

Source: 18.01 Lecture 37 transcript, pp. 10–11

So the harmonic series diverges, but only as slowly as ln⁡N\ln N (pp. 10–11).

Integral comparison and limit comparison#

The same argument works for any positive, decreasing ff (transcript, p. 11; notes, p. 4):

Integral comparison
∑n=1∞f(n)−∫1∞f(x) dx<f(1)\sum_{n=1}^{\infty} f(n) - \int_1^\infty f(x)\,dx < f(1)
In words

the sum from n equals 1 to infinity of f(n) minus the integral from 1 to infinity of f(x) d x less than f(1)

Source: 18.01 Lecture 37 transcript, pp. 11–12

(and the difference is positive), so the sum and the integral converge or diverge together (p. 12). Sums are much harder to evaluate than integrals, so this reduces the hard question to the easier one (p. 12). In particular ∑1np\sum\frac{1}{n^p} converges exactly when p>1p > 1 (notes, p. 4).

Limit comparison: if f(n)∼g(n)f(n) \sim g(n), meaning f(n)/g(n)→1f(n)/g(n) \to 1, with gg positive, then ∑f(n)\sum f(n) and ∑g(n)\sum g(n) both converge or both diverge (p. 12). The notes allow any finite positive limit of the ratio (notes, p. 4). For example, 1n2+1∼1n\frac{1}{\sqrt{n^2 + 1}} \sim \frac{1}{n}, so ∑1n2+1\sum\frac{1}{\sqrt{n^2 + 1}} diverges; and 1n5−n2∼1n5/2\frac{1}{\sqrt{n^5 - n^2}} \sim \frac{1}{n^{5/2}} (starting at n=2n = 2 to avoid dividing by 0), so ∑n=2∞1n5−n2\sum_{n=2}^\infty\frac{1}{\sqrt{n^5 - n^2}} converges (p. 12). The lecture ends with a teaser, a stack of blocks leaning ever further out, which the next lecture takes up (p. 13).

Worked example

Four series

(a) Sum ∑k=0∞(23)k\sum_{k=0}^\infty\left(\frac{2}{3}\right)^k. (b) Does ∑n=1∞1n2+n\sum_{n=1}^\infty\frac{1}{n^2 + n} converge? (c) Does ∑n=1∞1n+5\sum_{n=1}^\infty\frac{1}{\sqrt{n + 5}} converge? (d) Bound S1000=1+12+⋯+11000S_{1000} = 1 + \frac{1}{2} + \cdots + \frac{1}{1000}.

(a) Geometric

11−2/3=3\frac{1}{1 - 2/3} = 3.

(b) Limit comparison

1n2+n∼1n2\frac{1}{n^2 + n} \sim \frac{1}{n^2}, and ∑1n2\sum\frac{1}{n^2} converges, so it converges. (In fact 1n2+n=1n−1n+1\frac{1}{n^2 + n} = \frac{1}{n} - \frac{1}{n + 1}, so the partial sums are 1−1N+11 - \frac{1}{N + 1} and the sum is exactly 1.)

(c) Limit comparison

1n+5∼1n1/2\frac{1}{\sqrt{n + 5}} \sim \frac{1}{n^{1/2}}, and p=12≤1p = \frac{1}{2} \le 1: it diverges.

(d) The harmonic series

ln⁡1000≈6.91\ln 1000 \approx 6.91, so 6.91<S1000<7.916.91 < S_{1000} < 7.91. (Adding it up gives about 7.49.)

Summary#

Symbols on this page

Show the 29 symbols used here
Δ\Delta capital delta.
A change or difference in a quantity, e.g. Δx = x₂ − x₁. Say it: “capital delta”.
ζ\zeta zeta.
The Riemann zeta function: ζ(3) = 1 + 1/2³ + 1/3³ + … ≈ 1.202. Say it: “zeta” (sounds like “zay-ta or zee-ta”).
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
∞\infty infinity.
Infinity: larger than any number. Say it: “infinity”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
∼\sim tilde (similar).
Is of the order of: roughly equal, to within a factor of a few. Say it: “is of order”.
≪\ll much less than.
Is much less than. Say it: “is much less than”.
≤\le less than or equal.
Is less than or equal to. Say it: “is less than or equal to”.
≥\ge greater than or equal.
Is greater than or equal to. Say it: “is greater than or equal to”.
→\to arrow.
Goes to (tends to), or becomes. Say it: “goes to”.
±\pm plus or minus.
Plus or minus: both signs, or an uncertainty (67.3 ± 1.2). Say it: “plus or minus”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
∑\sum sum.
Sum: add up the terms over the range written below and above. Say it: “the sum of”.
lim⁡\lim limit.
Limit: the value approached as the variable written below approaches its target. Say it: “the limit”.
ln⁡\ln natural logarithm.
Natural logarithm (base e ≈ 2.718). Say it: “log”.
aa a.
The ratio of a geometric series; in a second-kind integral, the cut-off that tends to 0. Say it: “a”.
kk k.
The index of a geometric series (a whole number). Say it: “k”.
xx x.
The variable of integration. Say it: “x”.
yy y.
The height of a graph, as in y = 1/x. Say it: “y”.
dd d.
As in dx: the differential of the variable of integration. Say it: “d”.
nn n.
The index of the terms of a series (a whole number). Say it: “n”.
ff f.
A positive function (decreasing, in integral comparison); f(n) are the terms of a series. Say it: “f”.
gg g.
The simpler comparison function or terms. Say it: “g”.
NN N.
The number of terms in a partial sum. Say it: “capital N”.
pp p.
The power in 1/x^p or 1/n^p. Say it: “p”.
SS S.
The sum of a series. Say it: “capital S”.
ana_{n} a n.
The n-th term of a series. Say it: “a sub n”.
SNS_{N} S N.
The N-th partial sum of a series. Say it: “capital S sub N”.
S1000S_{1000} S 1000.
The partial sum of the harmonic series up to 1/1000. Say it: “capital S sub one thousand”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 27 words used here

New here

infinite series.
A sum with infinitely many terms, a₁ + a₂ + a₃ + …, whose value is the limit of its partial sums.
partial sum.
The sum of the first n terms of a series; the series converges if these sums approach a limit as n grows.
limit comparison.
A convergence test: if the ratio of the terms of two positive series tends to a finite, non-zero number, both converge or both diverge.

Also used

improper integral.
An integral over an infinite range, or of a function that blows up, defined as a limit of ordinary integrals. Explained in Improper integrals.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
integral.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
singularity.
A point where a quantity becomes infinite or undefined, so the usual equations stop working there. Explained in Black holes.
converge.
To settle towards a definite finite value: an integral, series or sequence converges when its partial results approach a limit. Explained in Improper integrals.
limit.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
diverge.
To fail to settle on a finite value: a series or integral diverges when its partial results grow without limit or never settle. Explained in Improper integrals.
interval.
A stretch between two values or two moments; in maths, all the numbers between two end points. Explained in Time dilation, length contraction and the interval.
integration.
Finding an integral: adding up very many small pieces, or finding an antiderivative. Explained in Differentials and antiderivatives.
integrand.
The function being integrated: the f(x) in ∫ f(x) dx. Explained in The logarithm from an integral, and areas between curves.
Riemann sum.
An estimate of an integral: cut the interval into strips, multiply each strip's width by a value of the function in it, and add. Explained in Definite integrals and Riemann sums.
harmonic series.
The series 1 + 1/2 + 1/3 + 1/4 + …, which diverges, though very slowly.
photon.
A particle of light: the smallest amount of energy that light of a given frequency can carry. Explained in Thermal radiation and Planck's photons.
black-body radiation.
The radiation given off by a body in thermal equilibrium, whose spread over wavelengths depends only on its temperature. Explained in Black-body radiation in statistical physics.
cosmic microwave background.
The faint glow of microwaves filling the universe, left over from when it was hot and dense, now at 2.7 kelvin. Explained in Towards the universe: light-travel time and looking back in time.
geometric series.
A series where each term is x times the one before; for x between −1 and 1 the total is 1/(1 − x).

Academic

transcript.
A written record of exactly what was said in a recorded lecture, word for word.
blow up.
In maths, to grow without limit; to become infinite.
paradox.
A statement or situation that seems to contradict itself, though it may turn out not to.
derive.
To obtain a result by reasoning or calculation from other known results.
theory.
An organised body of ideas, laws and methods about a subject: a tested explanation of nature, or a branch or method of mathematics.
analogy.
A comparison that explains one thing by pointing to a similar, better-known one.
likewise.
In the same way; similarly.
argument.
A chain of reasoning that leads to a conclusion; in maths also the input of a function, such as x in sin x.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

33 more cosmology pages that build on this

Pages that build on this

Check your understanding

  1. 1+23+(23)2+(23)3+⋯=1 + \frac{2}{3} + \left(\frac{2}{3}\right)^2 + \left(\frac{2}{3}\right)^3 + \cdots =
  2. Which converges?
  3. ∫01dxxp\int_0^1\frac{dx}{x^p} converges exactly when…
  4. The partial sum SN=1+12+⋯+1NS_N = 1 + \frac{1}{2} + \cdots + \frac{1}{N} satisfies…
0 of 4 answered

Flashcards

1 / 4