4.3.7Calculus III — Sequences & Series

Integral test — proof, p-series

1,641 words7 min readdifficulty · medium6 backlinks

Tag: #calculus3 #series/convergence

The big question (WHY)

We have a series an\sum a_n and we want to know: does the infinite sum settle on a finite number, or blow up? Adding infinitely many terms by hand is impossible. The integral test is a trick: replace the discrete sum (a staircase of rectangles) with a continuous integral (an area under a curve) that we can compute.


The test itself (WHAT)

The three conditions matter: positive (so areas don't cancel), decreasing (so the rectangle comparison goes one clean direction), continuous (so the integral exists).


Deriving it from scratch (HOW)

We build the inequality that traps the sum. Picture y=f(x)y=f(x) falling to the right.

Step 1 — Upper-sum rectangles (left endpoints). On each interval [n,n+1][n, n+1], since ff decreases, the largest value is at the left, f(n)f(n), and the smallest is at the right, f(n+1)f(n+1). Draw a rectangle of width 11 and height f(n)f(n) (left endpoint): it sits above the curve, so its area is the upper sum. Why this step? The left-endpoint height f(n)f(n) overestimates the area on [n,n+1][n,n+1], giving us an upper bound on the integral.

nn+1f(x)dx    f(n).\int_{n}^{n+1} f(x)\,dx \;\le\; f(n).

Sum from n=1n=1 to NN: 1N+1f(x)dx    n=1Nf(n)=SN.\int_{1}^{N+1} f(x)\,dx \;\le\; \sum_{n=1}^{N} f(n) = S_N.

Step 2 — Lower-sum rectangles (right endpoints). Now use height f(n+1)f(n+1) (right endpoint), which sits below the curve, so its area is the lower sum: f(n+1)    nn+1f(x)dx.f(n+1) \;\le\; \int_{n}^{n+1} f(x)\,dx. Sum from n=1n=1 to N1N-1: SNf(1)=n=2Nf(n)    1Nf(x)dx.S_N - f(1) = \sum_{n=2}^{N} f(n) \;\le\; \int_{1}^{N} f(x)\,dx.

Step 3 — Squeeze. Combine: 1N+1f(x)dx    SN    f(1)+1Nf(x)dx.\int_{1}^{N+1} f(x)\,dx \;\le\; S_N \;\le\; f(1) + \int_{1}^{N} f(x)\,dx.

Step 4 — Read off the conclusion.

  • If 1f\int_1^\infty f converges (finite), the right side stays bounded, so SNS_N is increasing and bounded above ⇒ an\sum a_n converges.
  • If 1f\int_1^\infty f diverges (\to\infty), the left side \to\infty, dragging SNS_N\to\inftyan\sum a_n diverges. \blacksquare
Figure — Integral test — proof, p-series

The payoff: the p-series (80/20)

Apply the test with f(x)=xpf(x)=x^{-p} (positive, continuous, decreasing for p>0p>0). Compute the integral.

Case p1p\ne 1: 1xpdx=limbx1p1p1b=limbb1p11p.\int_{1}^{\infty} x^{-p}\,dx = \lim_{b\to\infty}\frac{x^{1-p}}{1-p}\Big|_1^b = \lim_{b\to\infty}\frac{b^{1-p}-1}{1-p}.

  • If p>1p>1: 1p<01-p<0, so b1p0b^{1-p}\to 0, integral =1p1= \dfrac{1}{p-1} (finite) ⇒ converges.
  • If p<1p<1: 1p>01-p>0, so b1pb^{1-p}\to\inftydiverges.

Case p=1p=1 (harmonic series): 1dxx=limblnb=    diverges.\int_1^\infty \frac{dx}{x} = \lim_{b\to\infty}\ln b = \infty \;\Rightarrow\; \textbf{diverges}.


Worked examples


Steel-manning the classic mistakes


Active recall

Recall Cover and answer
  • What three conditions must ff satisfy? Positive, continuous, decreasing on [1,)[1,\infty).
  • For which pp does 1/np\sum 1/n^p converge? p>1p>1.
  • Why does the integral test not give the sum's value? It only traps the sum between two integrals.
  • Does the harmonic series converge? No, p=1p=1.
Recall Feynman: explain to a 12-year-old

Imagine stacking blocks: the nn-th block is 1/np1/n^p tall. We want to know if the total height is finite or grows forever. Instead of stacking forever, draw a smooth slide (y=1/xpy=1/x^p) and measure the area underneath. The blocks always sit snugly around the slide, so the blocks finish growing exactly when the slide's area is finite. If the slide is steep enough (p>1p>1) the area is finite — finite total height. If it's too gentle (p1p\le1) the area never stops growing — infinite tower.


Connections

  • Comparison test — uses p-series as the standard "yardstick".
  • Limit comparison test — compare against 1/np1/n^p.
  • Improper integrals — the engine inside the proof.
  • Harmonic series — the boundary case p=1p=1.
  • Riemann zeta functionζ(p)=1/np\zeta(p)=\sum 1/n^p for p>1p>1.
  • n-th term test for divergence — the necessary (not sufficient) condition.

What are the 3 hypotheses of the integral test?
ff positive, continuous, decreasing on [1,)[1,\infty), with an=f(n)a_n=f(n).
State the integral test conclusion.
an\sum a_n and 1fdx\int_1^\infty f\,dx both converge or both diverge.
Write the trapping inequality for SNS_N.
1N+1fSNf(1)+1Nf\int_1^{N+1} f \le S_N \le f(1)+\int_1^N f.
For which pp does 1/np\sum 1/n^p converge?
Exactly when p>1p>1.
Does the harmonic series converge or diverge?
Diverges (p=1p=1, integral =lnb=\ln b\to\infty).
Why isn't "an0a_n\to0" enough for convergence?
It's necessary not sufficient; harmonic series is the counterexample.
Does the integral test give the sum's value?
No, only convergence/divergence; it bounds but doesn't equal the sum.
Evaluate 1xpdx\int_1^\infty x^{-p}dx for p>1p>1.
1p1\frac{1}{p-1}.
Test 1nlnn\sum \frac1{n\ln n}.
Diverges; sub u=lnxu=\ln x gives du/u=\int du/u=\infty.

Concept Map

motivates

approximates

basis of

requires

gives

gives

combine

combine

squeeze proves

applied to

converges if

diverges if

Does sum a_n converge?

Integral Test

Staircase of rectangles

Area under y=f x

Positive continuous decreasing f

Left-endpoint upper sum

integral 1 to N+1 le S_N

Right-endpoint lower sum

S_N le f1 + integral 1 to N

Trapping inequality

p-series sum 1 over n^p

p greater than 1

p le 1

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, idea simple hai: ek series an\sum a_n ko hum directly add nahi kar sakte infinitely, toh hum usse ek integral se compare karte hain. Agar ff positive, continuous aur decreasing ho, toh series ke rectangles smooth curve y=f(x)y=f(x) ke around perfectly fit ho jaate hain. Isiliye sum aur integral dono ka anjaam ek hi hota hai — ya dono converge karenge, ya dono diverge. Yeh hi integral test hai.

Proof ka core: har interval [n,n+1][n,n+1] par left-endpoint rectangle (height f(n)f(n)) curve ke upar baithta hai — yeh upper sum hai; aur right-endpoint rectangle (height f(n+1)f(n+1)) curve ke neeche baithta hai — yeh lower sum hai. Inhe add karke ek "trapping inequality" milti hai: 1N+1fSNf(1)+1Nf\int_1^{N+1}f \le S_N \le f(1)+\int_1^N f. Agar integral finite hai toh SNS_N upar se bounded ho jaata hai (aur increasing hai) — toh converge. Agar integral infinite hai toh SNS_N ko bhi infinity tak ghaseet deta hai.

Sabse important application: p-series 1/np\sum 1/n^p. Yaha f(x)=xpf(x)=x^{-p} ka integral nikaalo — answer milta hai ki series tabhi converge karti hai jab p>1p>1. p=1p=1 wali harmonic series diverge karti hai, chahe terms zero ki taraf jaa rahe ho. Yeh sabse bada exam trap hai: "terms zero ho rahe hain isliye converge" — galat! Zero hona zaroori hai par kaafi nahi.

Yaad rakhne ka shortcut: "p Pushes Past 1 to Pass." Aur ek aur baat — integral test sirf batata hai ki converge karti hai ki nahi, exact value nahi deta. 1/n2=π2/6\sum 1/n^2 = \pi^2/6 hai par integral =1=1 hai, dono alag. Bas fate same hota hai, value nahi.

Go deeper — visual, from zero

Test yourself — Calculus III — Sequences & Series

Connections