Calculus · Infinite series
What is the sum of all numbers in a table that goes on forever, to the right and downward? You could add row by row, column by column, or diagonal by diagonal. For finite tables the answer is always the same. For infinite ones, it isn't, unless you are careful. This post introduces the three standard ways of summing an infinite matrix and the theorems that say when they agree.
We are given an infinite matrix
\[ A = \begin{bmatrix} a_{11} & a_{12} & a_{13} & \cdots & a_{1n} & \cdots \\ a_{21} & a_{22} & a_{23} & \cdots & a_{2n} & \cdots \\ a_{31} & a_{32} & a_{33} & \cdots & a_{3n} & \cdots \\ \vdots & & & & & \\ a_{m1} & a_{m2} & a_{m3} & \cdots & a_{mn} & \cdots \\ \vdots & & & & & \end{bmatrix}, \]and we want to give meaning to "the sum of all its elements". One natural idea: list all the elements \(a_{ij}\) in some order as a sequence
\[ u_1, u_2, u_3, \dots \tag{1} \](every element appearing exactly once) and form the ordinary series
\[ \sum_{n=1}^\infty u_n. \tag{2} \]But there are infinitely many ways to list the elements, and we know from the previous post that rearranging a series can change its sum. So we need specific, well-defined methods.
Such sums appear more often than you'd expect: when multiplying two series (the Cauchy product from the previous post is one), in probability (summing over pairs of outcomes), in physics (lattice sums), and as a trick for evaluating ordinary series.
Each \(S_n\) is the sum of a "triangle" in the upper-left corner of the matrix. This is exactly how the Cauchy product of two series was built in the previous post: \(c_n\) collected the products \(a_ib_k\) along one antidiagonal.
"Double limit" means that \(n\) and \(m\) go to infinity independently: for every \(\varepsilon > 0\) there is an \(N\) such that \( |A_{nm} - S| < \varepsilon \) for all \(n > N\) and \(m > N\), however the rectangle grows (tall and narrow, wide and flat, or square).
Here each step is an ordinary infinite series: first sum each row to infinity (an "infinitely wide rectangle" of height 1), then sum the results.
| 1 | −1 | 0 | 0 | ⋯ |
| 0 | 1 | −1 | 0 | ⋯ |
| 0 | 0 | 1 | −1 | ⋯ |
| 0 | 0 | 0 | 1 | ⋯ |
| ⋮ | ⋱ |
This mirrors Riemann's theorem from the previous post. And the cure is the same: absolute convergence.
How to read these theorems. Theorem 5 is the summary of the whole topic: check absolute convergence in whichever form is easiest (often an iterated sum of \(|a_{ij}|\)), and then you are free to sum in any order you like. Theorem 4 is the double-series version of the basic fact from the first post: a series with non-negative terms converges exactly when its partial sums are bounded. For non-negative terms, absolute convergence and convergence are the same thing, so for \(a_{ij} \ge 0\) every method gives the same answer (possibly \(+\infty\) for all of them).
These theorems are the discrete twins of the theorems on changing the order of integration from the posts on integrals with a parameter (non-negative integrand, or absolute integrability).
The terms are positive, so (Theorem 5) we may use the triangle method. On the antidiagonal \(i + j = k\) there are \(k - 1\) terms, all equal to \( \frac{1}{k^p} \):
\[ \sum_{i,j\ge1}\frac{1}{(i+j)^p} = \sum_{k=2}^\infty \frac{k - 1}{k^p}. \] Since \( \frac{k-1}{k^p} \sim \frac{1}{k^{p-1}} \), this converges exactly when \(p > 2\). In two dimensions, the borderline exponent moves from 1 to 2.Write \(j\) as \(1 + 1 + \cdots + 1\) (\(j\) times), i.e. use the matrix with \( a_{ij} = x^j \) for \(j \ge i\) and \(0\) otherwise. Column \(j\) contains \(j\) copies of \(x^j\), so summing by columns gives our series. Summing by rows instead:
\[ \sum_{j=i}^\infty x^j = \frac{x^i}{1 - x}, \qquad \sum_{i=1}^\infty \frac{x^i}{1 - x} = \frac{x}{(1 - x)^2}. \] Everything converges absolutely (repeat with \(|x|\)), so by Theorem 3 \[ \sum_{j=1}^\infty jx^j = \frac{x}{(1 - x)^2}. \]Let \( a_{kn} = \frac{1}{n^k} \) for \(k \ge 2\), \(n \ge 2\). All terms are positive, so the order may be swapped. Summing over \(k\) first (a geometric series):
\[ \sum_{k=2}^\infty \frac{1}{n^k} = \frac{1/n^2}{1 - 1/n} = \frac{1}{n(n-1)}. \] Then \[ \sum_{n=2}^\infty \frac{1}{n(n-1)} = \sum_{n=2}^\infty\Big(\frac{1}{n-1} - \frac1n\Big) = 1. \] (In the notation \( \zeta(k) = \sum_{n\ge1}\frac{1}{n^k} \) this reads \( \sum_{k\ge2}\big(\zeta(k) - 1\big) = 1 \).)| Method | What is summed | Sum defined as |
|---|---|---|
| 1° Triangles | antidiagonals \( u_n = \sum_{i=1}^n a_{i,\,n-i+1} \) | \( \lim S_n \), \( S_n = u_1 + \cdots + u_n \) |
| 2° Finite rectangles | \( A_{nm} = \sum_{i\le n,\,j\le m} a_{ij} \) | double limit \( \lim_{n,m\to\infty} A_{nm} \) |
| 3° Infinite rectangles | rows (or columns) to infinity first | \( \sum_i\sum_j a_{ij} \) or \( \sum_j\sum_i a_{ij} \) |
The golden rule: if the sum of the absolute values is finite by any one method, all methods converge to the same sum. For non-negative terms this is automatic, and convergence just means bounded partial sums. Without absolute convergence, different methods may give different answers.
Try each one before opening the solution. More solved problems from this topic are in Series.
The series factors (Example 1): \( \Big(\sum\frac1{2^i}\Big)\Big(\sum\frac1{3^j}\Big) = 1\cdot\frac12 = \frac12 \).
The terms are positive and the rectangle sums factor into \( \Big(\sum_{i\le n}\frac1{i^p}\Big)\Big(\sum_{j\le m}\frac1{j^q}\Big) \). These are bounded exactly when \(p > 1\) and \(q > 1\) (Theorem 4).
Since \( i^2 + j^2 \le (i + j)^2 \), we have \( \frac{1}{i^2 + j^2} \ge \frac{1}{(i+j)^2} \), and the double series \( \sum\frac{1}{(i+j)^2} \) diverges (Example 2 with \(p = 2\)). So it diverges.
Positive terms, so swap: \( \sum_{k\ge1}\frac1{n^{2k}} = \frac{1}{n^2 - 1} \). Then \( \sum_{n\ge2}\frac{1}{n^2-1} = \frac12\sum_{n\ge2}\Big(\frac{1}{n-1} - \frac{1}{n+1}\Big) = \frac12\Big(1 + \frac12\Big) = \frac34 \) (telescoping).
With \(x = \frac12\): \( \frac{1/2}{(1/2)^2} = 2 \).
Theorem 3 requires \( \sum_j\sum_i|a_{ij}| < \infty \). For that matrix, every column \(j \ge 2\) has absolute sum \(2\), so the iterated sum of absolute values is \( 1 + 2 + 2 + \cdots = \infty \). The hypothesis fails, so the theorem says nothing, and indeed the two orders give different results.
An infinite table of numbers has no single natural order, so "its sum" depends on how you walk through it: by diagonals, by growing rectangles, or row by row. The good news is a single clean rule: if the absolute values have a finite sum, the walking order doesn't matter. That rule turns the order of summation into a tool. Swapping rows and columns is one of the most effective tricks for evaluating series, as Examples 3 and 4 show.
Next in the series: series of functions and uniform convergence, then power series.