Sum the grid by rows first or by columns first — with absolute convergence the answer is the same. ∑m,nm2n21=(6π2)2=36π4. Conditional convergence lets the order change the answer.
m∑n∑am,n=n∑m∑am,n=finite FsupF∑am,n
m,n≥1∑m2n21=36π4≈2.7058
Examples & Exercises
Prove Fubini for infinite sums (nonnegative terms) completely: if am,n≥0 then ∑m∑nam,n=∑n∑mam,n. Show both sides equal the supremum S of sums over finite rectangles.
S=M,Nsupm≤M∑n≤N∑am,n∈[0,∞]
m=1∑∞n=1∑∞am,n=S=n=1∑∞m=1∑∞am,n
N=5: sum by rows ≈2.1422, sum by columns ≈2.1422 — both head to (π2/6)2=π4/36≈2.7058.Show proof
Put T(M,N)=∑m≤M∑n≤Nam,n (a finite sum, ≥0) and S=supM,NT(M,N)∈[0,∞]. T is monotone in each of M,N. For each fixed m, the inner series ∑n=1∞am,n∈[0,∞] converges (finitely or to +∞) since the terms are nonnegative.
Put R=∑m=1∞∑n=1∞am,n. For each M,N: T(M,N)=∑m≤M∑n≤Nam,n≤∑m≤M∑n=1∞am,n≤R (inner finite sum ≤ inner infinite sum, outer finite ≤ outer infinite — all terms nonnegative). Taking the supremum over M,N gives S≤R.
The other direction: for each M, ∑m≤M∑n=1∞am,n=supNT(M,N)≤S (the inner infinite sum is the supremum of the inner finite sums). Taking the supremum over M gives R=supM∑m≤M∑n=1∞am,n≤S. Hence R=S.
Swapping the roles of rows and columns, the identical argument gives C=∑n=1∞∑m=1∞am,n=S (the same supremum of the same T(M,N)). Hence R=C=S — the two iterated sums agree. If S<∞ the common value is finite; if S=∞ both sides diverge to +∞. QED.
Extend to the absolutely convergent case (short complete proof): if ∑m,n∣am,n∣<∞, use the decomposition a=a+−a− to apply the first problem to each part and conclude ∑m∑nam,n=∑n∑mam,n.
N=5: signs are present but ∑∣a∣ converges, so sum by rows ≈0.7033 and sum by columns ≈0.7033 agree, both heading to π4/144≈0.6765.Show proof
Put am,n+=max(am,n,0) and am,n−=max(−am,n,0). Then 0≤am,n±≤∣am,n∣, with ∣a∣=a++a− and a=a+−a−. By comparison, both ∑am,n+ and ∑am,n− converge, bounded by ∑∣am,n∣<∞.
Since a+ and a− are nonnegative, apply the first problem (Fubini, nonnegative terms) to each: ∑m∑na+=∑n∑ma+<∞, and likewise for a−. All iterated sums are finite, so subtraction is legitimate, and ∑m∑na=∑m∑na+−∑m∑na−=∑n∑ma+−∑n∑ma−=∑n∑ma. QED.
Show the hypothesis is sharp: with an,n=1, an,n+1=−1 (n≥1) and 0 elsewhere, verify completely that every row sum is 0 (so ∑m∑nam,n=0) but column 1 sums to 1 and columns n≥2 sum to 0 (so ∑n∑mam,n=1), and note ∑∣a∣=∞.
an,n=1,an,n+1=−1(n≥1),else 0
m∑n∑am,n=m∑0=0=1=1+n≥2∑0=n∑m∑am,n
The alternating series in the picture above is absolutely convergent, so reordering is safe — but as the counterexample below shows, with ∑∣a∣=∞ the order can change the answer.Show proof
Fix a row (m fixed). The only nonzero entries are am,m=1 at n=m and am,m+1=−1 at n=m+1. Hence the row sum is ∑n=1∞am,n=1+(−1)=0 (a finite sum, so no convergence issue). This holds for every m, so ∑m=1∞∑n=1∞am,n=∑m=1∞0=0.
Fix a column (n fixed). The nonzero entries: an,n=1 (row m=n) and, for n≥2, an−1,n=−1 (row m=n−1, from am,m+1=−1 with m=n−1). Column 1: only a1,1=1, so the sum is 1. Column n≥2: 1+(−1)=0. Hence ∑n=1∞∑m=1∞am,n=1+∑n=2∞0=1.
The two iterated sums differ, 0=1 — the order changes the answer. The broken hypothesis is absolute convergence: ∑m,n∣am,n∣=∑n=1∞(1+1)=∞, so the second problem's hypothesis fails. Without the nonnegative (or absolutely convergent) hypothesis Fubini fails, and this example shows the hypothesis is sharp. QED.