Harmonic and p-series
A p-series adds the reciprocals of the powers \(1^p,2^p,3^p,\dots\), for one fixed real number \(p\):
For \(p=1\), it is the harmonic series \(1+\frac12+\frac13+\cdots\), and for \(p=2\), it is \(1+\frac14+\frac19+\cdots\). Every term is positive, and every p-series starts with the term 1. This topic finds the values of \(p\) for which the series converges. It then shows how to recognize a p-series written in another form, with a constant factor, or with its first terms changed.
Which p-series converge
The curve y = 1 over x to the p for x from 0 to 11, with the numbers 1 to 11 on the x-axis and 0.5 and 1 on the y-axis. The curve passes through the point (1, 1). Left of it the curve rises out of the figure, and right of it the curve falls toward the x-axis. A slider sets the exponent p, which starts at 2. The region under the curve from x = 1 to 11 is shaded teal. Ten bars one unit wide stand on the x-axis from 1 to 11, and an orange dot marks the corner of each bar that touches the curve. At first each bar is as tall as the curve at its right end, so it lies under the curve. A button raises each bar to the height of the curve at its left end, so that the bars stand above the curve.
In Figure 1, the slider sets \(p\), which starts at 2. Each bar is one unit wide, and its height is a term \(\cy{\frac{1}{n^p}}\), so its area equals that term. The orange dot at a top corner of each bar is the point \(\left(n,\frac{1}{n^p}\right)\) on the curve. The numbers under the figure give the total area of the bars and the shaded area.
For \(p>0\), the power \(x^p\) grows as \(x\) grows, so the curve falls. For \(n\ge2\), the bar of the term \(\frac{1}{n^p}\) stands on \([n-1,n]\), left of its dot. On that interval the curve is at least as high as the dot, so the bar lies under the curve. In Figure 1, the ten bars therefore fit inside the shaded region, and their total area is less than the shaded area. In general, the bars of the terms from \(\frac{1}{2^p}\) to \(\frac{1}{N^p}\) fit under the curve from 1 to \(N\). The first term is 1, so the partial sum \(S_N\) of the first \(N\) terms is at most
Use the button under Figure 1 to raise the bars above the curve. Each bar now has the height of the curve at its left end, so the bar of \(\frac{1}{n^p}\) stands on \([n,n+1]\), right of its dot. The curve is no higher than the dot on that interval, so the bar lies above the curve. The total area of the bars is now larger than the shaded area. The first \(N\) bars cover the region under the curve from 1 to \(N+1\), so
These two comparisons are the ones behind the integral test (topic 10.4), with \(f(x)=1/x^p\), so that \(f(n)\) is the term \(\frac{1}{n^p}\). For \(p>0\), this function is positive, continuous and decreasing for \(x\ge1\), so the test applies. The series converges if and only if \(\int_1^{\infty}\frac{dx}{x^p}\) converges. By topic 6.13, this integral converges to \(\frac{1}{p-1}\) if \(p>1\), and it diverges if \(p\le1\).
If \(p>1\), the first comparison keeps every partial sum below \(1+\frac{1}{p-1}\). This bound is 3 for \(p=\frac32\) and 101 for \(p=1.01\). Any exponent greater than 1 gives a convergent series, however close it is to 1. If \(0<p\le1\), the second comparison makes the partial sums grow without bound, and the series diverges.
Move \(p\) toward 1 with the slider. The area from 1 to \(\infty\), shown under the figure, grows without bound. For \(p\le1\) it is infinite, although the bars still shrink as \(n\) grows. Near \(p=1\), most of that area lies past the right edge of the figure.
If \(p\le0\), the series needs no integral. Its terms \(\frac{1}{n^p}=n^{-p}\) are then at least 1, so they do not approach 0, and the series diverges by the nth-term test (topic 10.3).
Together, the cases give the p-series test: the series converges if \(p>1\) and diverges if \(p\le1\). The boundary value \(p=1\), the harmonic series, lies on the divergent side.
The harmonic series
The terms \(\frac1n\) of the harmonic series approach 0, so the nth-term test gives no conclusion. The series still diverges, as topic 10.3 showed by grouping its terms. The second comparison gives another proof: \(S_N\) is at least \(\ln(N+1)\), the area under \(y=1/x\) from 1 to \(N+1\), which grows without bound.
For \(p=1\), the two comparisons also show how fast the partial sums grow. The integrals are \(\ln N\) and \(\ln(N+1)\). For \(N\ge2\), each bar meets the curve only at its dot, so both comparisons are strict, and \(\ln(N+1)<S_N<1+\ln N\).
The partial sums grow without bound, but they stay within 1 of \(\ln N\), which grows slowly. The first 1000 terms add to about 7.49, between \(\ln1001\approx6.91\) and \(1+\ln1000\approx7.91\). A partial sum passes 20 only after more than 178 million terms, because \(1+\ln N>20\) requires \(N>e^{19}\).
Other forms of a p-series
A p-series is often written with roots, or with a power of \(n\) on top. To find \(p\), write each root as a power: by definition, \(\sqrt[k]{n^j}=n^{j/k}\). Then combine the powers of \(n\). Multiplying powers of \(n\) adds their exponents, and dividing one power by another subtracts them:
The series \(\sum\frac{1}{n\sqrt n}\) is therefore the p-series with \(p=\frac32\), and it converges. The rewriting must end with 1 over a single power of \(n\), with the same exponent for every \(n\). In \(\frac{1}{2^n}\), the index \(n\) is the exponent, so that series is geometric (topic 10.2), not a p-series.
A constant factor does not change whether a series converges. Let \(S_N\) be the partial sums of \(\sum a_n\). The partial sums of \(\sum c\,a_n\) are then \(cS_N\). If \(S_N\) approaches \(S\), then \(cS_N\) approaches \(cS\), by the limit laws for sequences (topic 10.1). If \(c\ne0\) and \(cS_N\) approaches a number \(T\), then \(S_N\) approaches \(\frac{T}{c}\). For \(c\ne0\), the two series therefore converge together or diverge together. The factor 0 is excluded, because it turns every series into \(0+0+\cdots\), which converges.
A change in finitely many terms does not change convergence either. Suppose that \(\sum a_n\) and \(\sum b_n\) have the same terms from \(n=m+1\) on. For every \(N>m\), their partial sums then differ by the same number:
One sequence of partial sums therefore approaches a limit if and only if the other does, and the two sums differ by this number. Starting a series at \(n=m+1\) removes its first \(m\) terms. What remains is the tail of topic 10.1. It converges if and only if the series does, and its sum is then \(S-S_m\).
A p-series multiplied by a constant \(c\ne0\), or started at another index, therefore still converges if \(p>1\) and diverges if \(p\le1\). Only the sum can change. The series \(\sum_{n=1}^{\infty}\frac{1}{n+1}\) has the terms \(\frac12,\frac13,\frac14,\dots\), so it is the harmonic series started at \(n=2\), and it diverges.
Example 1
Recognize a p-series
Decide whether each series is a p-series, and if it is, give \(p\). (a) \(\displaystyle\sum_{n=1}^{\infty}\frac{1}{\sqrt[4]{n^3}}\) (b) \(\displaystyle\sum_{n=1}^{\infty}\frac{\sqrt[3]{n}}{n^2}\) (c) \(\displaystyle\sum_{n=1}^{\infty}\frac{1}{n^2+1}\)
Solution
(a) The fourth root of \(n^3\) is the power \(n^{3/4}\), so each term is 1 over a single power of \(n\):
The series is the p-series with \(p=\frac34\).
(b) The cube root is \(n^{1/3}\). The power on top cancels part of the power below, so subtract the exponents:
The series is the p-series with \(p=\frac53\).
(c) Every p-series starts with the term \(\frac{1}{1^p}=1\), but this series starts with \(\frac{1}{1^2+1}=\frac12\). No exponent fits, so the series is not a p-series.
Example 2
Apply the p-series threshold
Find all values of \(q\) for which \(\displaystyle\sum_{n=1}^{\infty}\frac{\sqrt n}{n^{q}}\) converges.
Solution
For every \(q\), the term is 1 over a single power of \(n\):
The series is therefore the p-series with \(p=q-\frac12\). By the p-series test, it converges if \(p>1\) and diverges if \(p\le1\). The condition \(p>1\) means
The test covers every real \(p\), including \(p\le0\), so it decides the series for every \(q\). The series converges for \(q>\frac32\) and diverges for \(q\le\frac32\).
Example 3
Recognize harmonic divergence
Show that \(\frac{1}{N+1}+\frac{1}{N+2}+\cdots+\frac{1}{2N}\ge\frac12\) for every whole number \(N\ge1\). Use it to show that the first 1024 terms of the harmonic series add to at least 6, and that the series diverges.
Solution
The sum has \(N\) terms, and the smallest is the last, \(\frac{1}{2N}\). Each term is therefore at least \(\frac{1}{2N}\), so the sum is at least
The sum is \(S_{2N}-S_N\), the amount that doubling the number of terms adds to a partial sum of the harmonic series. From \(S_1=1\), ten doublings lead to \(2^{10}=1024\) terms, and each doubling adds at least \(\frac12\):
Each further doubling adds at least \(\frac12\) more, and the partial sums never decrease, because every term is positive. The partial sums therefore become larger than any number you choose and stay larger, so the harmonic series diverges.
Example 4
Handle constants and finite prefixes
Given that \(\displaystyle\sum_{n=1}^{\infty}\frac{1}{n^2}=\frac{\pi^2}{6}\), find \(\displaystyle\sum_{n=3}^{\infty}\frac{4}{n^2}\). Then determine whether \(\displaystyle\sum_{n=100}^{\infty}\frac{1}{1000\sqrt n}\) converges.
Solution
The first series is 4 times the p-series with \(p=2\), without its first terms, 1 and \(\frac14\). The p-series converges, because \(2>1\), and neither change affects convergence. Remove these terms from the sum. Then multiply the result by 4:
The second series is \(\frac{1}{1000}\) times the p-series with \(p=\frac12\), without its first 99 terms. That p-series diverges, because \(\frac12\le1\), and neither the factor nor the missing terms change this. The second series diverges.
Each example is one of the four skills of topic 10.5 in Which & Why: AP Calculus.