Chalk−1

Math · Calculus II · Worked example

Test a p-series with the integral test

Does the series of 1⁢/n2, starting at n=1, converge? Estimate its sum from the first ten terms.

∑n=1∞1n2

Try one — Chalk checks each line

Check the conditions

f⁡(x)=1⁢/x2 is positive and continuous for x≥1, and it decreases there because its derivative, −2⁢/x3, is negative. Since f⁡(n)=1⁢/n2, the integral test applies.

Write the integral as a limit

An integral to ∞ means the limit of the integral to b as b grows.

∫1∞1x2d⁢x=limb→∞∫1b1x2d⁢x
∫1∞1x2d⁢x=limb→∞∫1b1x2d⁢x

Integrate to b

An antiderivative of 1⁢/x2 is −1⁢/⁢x, so the integral from 1 to b is −1⁢/⁢b−(−1)=1−1⁢/⁢b.

limb→∞(1−1b)

Take the limit

As b grows, 1⁢/⁢b shrinks to 0, so the integral equals 1. It is finite.

1

Conclude

The integral converges, so the series converges. The same test shows the harmonic series diverges, because the integral of 1⁢/⁢x from 1 to b is lnb, which grows without bound.

Bound the sum

The first ten terms add to 1.5498. The rest of the series lies between the integrals of 1⁢/x2 from 11 to ∞ and from 10 to ∞, which are 1⁢/11 and 1⁢/10. The sum is therefore between 1.6407 and 1.6498. Euler showed that it is π2/6≈1.6449.

1.5498+111<S<1.5498+110

Result

It converges. Its sum lies between 1.6407 and 1.6498, and it is π2/6.

∑n=1∞1n2=π26≈1.6449

Your turn

1. One like the example

Use the integral test on the series of 1⁢/n3.

Show the answer and explanation

It converges, because the integral of 1⁢/x3 from 1 to ∞ is 1⁢/2.

f⁡(x)=1⁢/x3 is positive, continuous and decreasing for x≥1. An antiderivative is −1⁢/⁢(2x2), so the integral from 1 to b is 1⁢/2−1⁢/⁢(2b2), which approaches 1⁢/2. A finite integral means the series converges.

∫1∞1x3d⁢xlimb→∞∫1b1x3d⁢xlimb→∞(12−12b2)12

2. A variation

Use the integral test on the series of 1⁢/n.

Show the answer and explanation

It diverges, because the integral of 1⁢/x from 1 to ∞ is infinite.

f⁡(x)=1⁢/x is positive, continuous and decreasing for x≥1. An antiderivative is 2x, so the integral from 1 to b is 2b−2, which grows without bound. This is the p-series with p=1⁢/2, and p≤1.

∫1∞1xd⁢xlimb→∞∫1b1xd⁢xlimb→∞(2b−2)∞

3. Somewhere new

The integral test’s rectangles also bound partial sums. Show that the first 1,000,000 terms of the harmonic series add to between ln1,000,001 and 1+ln1,000,000.

Show the answer and explanation

Between about 13.816 and 14.816. The actual total is about 14.393.

Rectangles of height 1⁢/⁢n on [n,n+1] lie above the curve 1⁢/⁢x, so the partial sum is more than the integral from 1 to 1,000,001, which is ln1,000,001. Without the first rectangle they lie below the curve on [1,1,000,000], so the partial sum is less than 1+ln1,000,000.

S=∑n=110000001nln1000001≈13.8161+ln1000000≈14.816

Keep exploring

In Graph, on the Explore tab, inspect n=10. The p-series test says p=2>1, so the series converges, and the rest of the series after S10 lies between about 0.0909 and 0.1, the integrals 1⁢/11 and 1⁢/10. Change n2 to n, the harmonic series: S10 is about 2.93 and still climbing, and the test says p=1≤1, so the series diverges.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Test it in Graph Check the integral in Math Study the 12 key terms Open worked example on a board Infinite geometric sum in Math Reference

Your existing work stays on this device. Examples open as editable copies.