Infinite Sequences and Series

Study Sheet

Infinite Sequences and Series

Everything you need for AP Calculus BC, Topic 10

Sequences: Convergence, Divergence & Limits

Concept
What a sequence limit means

A sequence {an}\{a_n\} is an ordered list a1,a2,a3,…a_1,a_2,a_3,\dots We say {an}\{a_n\} converges to LL if lim⁡n→∞an=L\displaystyle\lim_{n\to\infty}a_n=L (a finite number); otherwise it diverges. To find the limit, treat nn as a continuous variable and use the same tools as limits at infinity: dominant terms, dividing by the highest power, or L'Hôpital's Rule.

Reminder — L'Hôpital's Rule:  lim⁡x→cf(x)g(x)=lim⁡x→cf′(x)g′(x)when 00 or ∞∞\lim_{x\to c}\frac{f(x)}{g(x)} = \lim_{x\to c}\frac{f'(x)}{g'(x)} \quad\text{when } \tfrac{0}{0} \text{ or } \tfrac{\infty}{\infty}

A series converges when its partial sums approach a limit. Geometric and pp-series are the reference cases; the comparison, ratio, root, integral and alternating-series tests decide the rest. Power series turn functions into infinite polynomials — Taylor series — with a radius of convergence, and they are how calculators compute sin⁡\sin, exe^x and ln⁡\ln.

Example
Rational and root sequences
lim⁡n→∞3n2−n5n2+7=35,lim⁡n→∞ln⁡nn=L’Hlim⁡n→∞1/n1=0,lim⁡n→∞(1+2n)n=e2.\lim_{n\to\infty}\frac{3n^2-n}{5n^2+7}=\frac35,\qquad \lim_{n\to\infty}\frac{\ln n}{n}\overset{\text{L'H}}{=}\lim_{n\to\infty}\frac{1/n}{1}=0,\qquad \lim_{n\to\infty}\Big(1+\tfrac{2}{n}\Big)^{n}=e^{2}.

The first divides by n2n^2; the middle uses L'Hôpital; the last is the definition of exe^x.

Side note
Where it goes wrong

Concluding a series converges because its terms go to zero. The harmonic series ∑1n\sum\tfrac1n has terms tending to zero and diverges. The nnth-term test only detects divergence.

Tip

Tip: Useful facts — lim⁡n→∞rn=0\displaystyle\lim_{n\to\infty}r^{n}=0 if ∣r∣<1|r|<1; n1/n→1n^{1/n}\to1; nkn!→0\dfrac{n^k}{n!}\to0 and rnn!→0\dfrac{r^n}{n!}\to0 for any fixed k,rk,r (factorials beat everything). A bounded, monotonic sequence always converges.

Try it
Quick check

Find lim⁡n→∞5n−22n+1\displaystyle\lim_{n\to\infty}\frac{5n-2}{2n+1}, or state that the sequence diverges.

Work it on paper before revealing the answer.

Show the answer

Answer: 52\dfrac{5}{2} (divide by nn).

Series, Partial Sums, Geometric Series & the nnth-Term Test

Concept
Series and partial sums
NS123456780.250.50.751S = 1
Partial sums of ∑23n\sum\frac{2}{3^n}: 23, 89, 2627,…\tfrac23,\ \tfrac89,\ \tfrac{26}{27},\dots approach 11.

A series is the sum ∑n=1∞an\displaystyle\sum_{n=1}^{\infty}a_n. Its value is the limit of the partial sums SN=∑n=1NanS_N=\sum_{n=1}^{N}a_n: the series converges to SS if lim⁡N→∞SN=S\displaystyle\lim_{N\to\infty}S_N=S. Do not confuse the sequence of terms ana_n with the sequence of partial sums SNS_N.

Concept
Geometric series

∑n=0∞arn=a+ar+ar2+⋯\displaystyle\sum_{n=0}^{\infty}ar^{n}=a+ar+ar^2+\cdots converges if and only if ∣r∣<1|r|<1, and then

∑n=0∞arn=a1−r(a is the first term, r the common ratio).\sum_{n=0}^{\infty}ar^{n}=\frac{a}{1-r}\qquad(\text{$a$ is the \emph{first} term, $r$ the common ratio}).

If ∣r∣≥1|r|\ge 1 it diverges.

Subtracting rSNrS_N from SN=a+ar+⋯+arN−1S_N=a+ar+\cdots+ar^{N-1} cancels everything but the ends, so SN=a1−rN1−rS_N=a\dfrac{1-r^N}{1-r}. The only thing that changes as NN grows is rNr^N, which goes to 00 exactly when ∣r∣<1|r|<1; then SN→a1−rS_N\to\dfrac{a}{1-r}. For ∣r∣≥1|r|\ge1 the terms do not even shrink to 00, and the nnth-term test rules the series out.

Example
Summing a geometric series
∑n=1∞23n=2/31−13=2/32/3=1,∑n=0∞5(−12)n=51−(−12)=53/2=103.\sum_{n=1}^{\infty}\frac{2}{3^{n}}=\frac{2/3}{1-\frac13}=\frac{2/3}{2/3}=1, \qquad \sum_{n=0}^{\infty}5\Big(-\tfrac{1}{2}\Big)^{n}=\frac{5}{1-(-\frac12)}=\frac{5}{3/2}=\frac{10}{3}.

For the first, the first term (at n=1n=1) is 23\frac23 and r=13r=\frac13.

Concept
The nnth-Term Test (Test for Divergence)

If lim⁡n→∞an≠0\displaystyle\lim_{n\to\infty}a_n\neq 0 (or does not exist), then ∑an\displaystyle\sum a_n diverges. Warning: if lim⁡an=0\lim a_n=0, the test is inconclusive — the series may converge or diverge. It can never prove convergence.

Example
Divergence test

∑n=1∞n2n+1\displaystyle\sum_{n=1}^{\infty}\frac{n}{2n+1} diverges because lim⁡n→∞n2n+1=12≠0\displaystyle\lim_{n\to\infty}\frac{n}{2n+1}=\frac12\neq0. But for ∑1n\sum\frac1n, lim⁡1n=0\lim\frac1n=0, so the test says nothing (in fact it diverges — see the pp-series).

Tip

Tip: Always run the nnth-term test first. If the terms don't shrink to 00, you're done — it diverges. If they do go to 00, you must try another test.

Try it
Quick check

(a) Sum ∑n=1∞4(−23)n−1\displaystyle\sum_{n=1}^{\infty}4\left(-\tfrac23\right)^{n-1}. (b) Does ∑n=1∞nn+2\displaystyle\sum_{n=1}^{\infty}\frac{n}{n+2} converge?

Show the answer

(a) 125\dfrac{12}{5}: 41−(−2/3)=45/3\dfrac{4}{1-(-2/3)}=\dfrac{4}{5/3}. (b) No: the terms approach 11, not 00, so it diverges by the nnth-term test.

The Integral Test & pp-Series

Concept
Integral Test

If ff is positive, continuous, and decreasing for x≥1x\ge 1 and an=f(n)a_n=f(n), then

∑n=1∞an and ∫1∞f(x) dx either both converge or both diverge.\sum_{n=1}^{\infty}a_n \text{ and } \int_{1}^{\infty}f(x)\,dx \text{ either both converge or both diverge.}

The integral's value is not the sum; it only decides convergence.

Draw the terms as rectangles of width 11. For a positive decreasing ff, the rectangles of heights a2,a3,…a_2,a_3,\dots fit under the curve from x=1x=1, and those of heights a1,a2,…a_1,a_2,\dots stick out above it. So the series and the integral are each bounded by the other plus one term: both finite or both infinite.

Concept
pp-Series

∑n=1∞1np\displaystyle\sum_{n=1}^{\infty}\frac{1}{n^{p}} converges if p>1p>1 and diverges if p≤1p\le 1. The case p=1p=1, ∑1n\sum\frac1n, is the harmonic series, which diverges.

Example
Integral test in action
xy1234560.25
Rectangles of height an=1n2+1a_n=\frac{1}{n^2+1} for n≥2n\ge2 fit under the curve, so their total is at most ∫1∞=π4\int_1^\infty=\frac{\pi}{4}.

Test ∑n=1∞1n2+1\displaystyle\sum_{n=1}^{\infty}\frac{1}{n^2+1}. With f(x)=1x2+1f(x)=\frac{1}{x^2+1} (positive, decreasing),

∫1∞dxx2+1=lim⁡b→∞[arctan⁡x]1b=π2−π4=π4 (finite),\int_{1}^{\infty}\frac{dx}{x^2+1}=\lim_{b\to\infty}\big[\arctan x\big]_1^{b}=\frac{\pi}{2}-\frac{\pi}{4}=\frac{\pi}{4}\ (\text{finite}),

so the series converges. (The sum is not π4\frac{\pi}{4}; the integral only certifies convergence.)

Tip

Tip: ∑1n2\displaystyle\sum\frac{1}{n^{2}}, ∑1n3\sum\frac{1}{n^{3}} converge; ∑1n=∑1n1/2\sum\frac{1}{\sqrt n}=\sum\frac{1}{n^{1/2}} and ∑1n\sum\frac1n diverge. Memorize the p>1p>1 threshold — it powers most comparison tests.

Try it
Quick check

Which converge? (a) ∑1n1.5\displaystyle\sum\frac{1}{n^{1.5}} (b) ∑1n\displaystyle\sum\frac{1}{\sqrt n} (c) ∑5n3\displaystyle\sum\frac{5}{n^3}

Show the answer

Answer: (a) and (c) converge; (b) diverges. They are pp-series with p=1.5p=1.5, p=12p=\tfrac12 and p=3p=3; a pp-series converges exactly when p>1p>1. The constant 55 does not affect convergence.

Comparison & Limit Comparison Tests

Concept
Direct Comparison Test

Suppose 0≤an≤bn0\le a_n\le b_n for all large nn.

  • If ∑bn\sum b_n converges, then ∑an\sum a_n converges (smaller than convergent).
  • If ∑an\sum a_n diverges, then ∑bn\sum b_n diverges (bigger than divergent).

Compare against a known geometric or pp-series.

Concept
Limit Comparison Test

If an,bn>0a_n,b_n>0 and lim⁡n→∞anbn=L\displaystyle\lim_{n\to\infty}\frac{a_n}{b_n}=L with 0<L<∞0<L<\infty (a finite positive number), then ∑an\sum a_n and ∑bn\sum b_n both converge or both diverge. Choose bnb_n from the dominant-term behavior of ana_n.

Example
Direct comparison

∑n=1∞1n2+n\displaystyle\sum_{n=1}^{\infty}\frac{1}{n^2+n} converges: since 1n2+n≤1n2\frac{1}{n^2+n}\le\frac{1}{n^2} and ∑1n2\sum\frac1{n^2} (p=2p=2) converges.

Example
Limit comparison

Test ∑n=1∞2n+1n3−n+4\displaystyle\sum_{n=1}^{\infty}\frac{2n+1}{n^3-n+4}. For large nn the terms behave like 2nn3=2n2\frac{2n}{n^3}=\frac{2}{n^2}, so compare with bn=1n2b_n=\frac{1}{n^2}:

lim⁡n→∞2n+1n3−n+41n2=lim⁡n→∞2n3+n2n3−n+4=2  (0<2<∞).\lim_{n\to\infty}\frac{\frac{2n+1}{n^3-n+4}}{\frac{1}{n^2}}=\lim_{n\to\infty}\frac{2n^3+n^2}{n^3-n+4}=2\ \ (0<2<\infty).

Since ∑1n2\sum\frac1{n^2} converges, the series converges.

Tip

Tip: Pick the comparison series by keeping only the highest-degree term of numerator and denominator. Limit comparison is more forgiving than direct comparison when the inequality direction is awkward.

Try it
Quick check

Decide convergence: (a) ∑12n+n\displaystyle\sum\frac{1}{2^n+n}; (b) ∑n+1n2+5\displaystyle\sum\frac{n+1}{n^2+5}.

Show the answer

(a) Converges: 12n+n<12n\dfrac{1}{2^n+n}<\dfrac{1}{2^n}, a convergent geometric series. (b) Diverges: compare with 1n\tfrac1n: (n+1)/(n2+5)1/n=n2+nn2+5→1\dfrac{(n+1)/(n^2+5)}{1/n}=\dfrac{n^2+n}{n^2+5}\to1, and ∑1n\sum\tfrac1n diverges.

The Ratio Test & the Root Test

Concept
Ratio Test

Let L=lim⁡n→∞∣an+1an∣\displaystyle L=\lim_{n\to\infty}\left|\frac{a_{n+1}}{a_n}\right|.

L<1⇒converges (absolutely);L>1 (or ∞)⇒diverges;L=1⇒inconclusive.L<1\Rightarrow \text{converges (absolutely)};\quad L>1\ (\text{or }\infty)\Rightarrow\text{diverges};\quad L=1\Rightarrow\text{inconclusive.}

Best when ana_n contains factorials or nnth powers.

Concept
Root Test

Let L=lim⁡n→∞∣an∣n=lim⁡n→∞∣an∣1/n\displaystyle L=\lim_{n\to\infty}\sqrt[n]{|a_n|}=\lim_{n\to\infty}|a_n|^{1/n}. Same conclusions as the ratio test (L<1L<1 converges, L>1L>1 diverges, L=1L=1 inconclusive). Best when ana_n is raised to the nnth power, e.g. (n2n+1)n\left(\frac{n}{2n+1}\right)^{n}.

Example
Ratio test with a factorial

Test ∑n=1∞2nn!\displaystyle\sum_{n=1}^{\infty}\frac{2^{n}}{n!}:

L=lim⁡n→∞2n+1(n+1)!⋅n!2n=lim⁡n→∞2n+1=0<1,L=\lim_{n\to\infty}\frac{2^{n+1}}{(n+1)!}\cdot\frac{n!}{2^{n}} =\lim_{n\to\infty}\frac{2}{n+1}=0<1,

so it converges. (In fact it sums to e2−1e^2-1.)

Example
Root test

Test ∑n=1∞(3n+14n−1)n\displaystyle\sum_{n=1}^{\infty}\Big(\frac{3n+1}{4n-1}\Big)^{n}:

L=lim⁡n→∞(3n+14n−1)=34<1 ⇒ converges.L=\lim_{n\to\infty}\Big(\frac{3n+1}{4n-1}\Big)=\frac34<1\ \Rightarrow\ \textbf{converges}.
Tip

Tip: If the ratio/root test gives L=1L=1, switch tests (often a pp-series or comparison). Ratio-test L=1L=1 happens for every pp-series, so it can never settle those.

Try it
Quick check

Use the Ratio Test on ∑n=1∞n23n\displaystyle\sum_{n=1}^{\infty}\frac{n^2}{3^n}.

Show the answer

Answer: converges (L=13L=\tfrac13). an+1an=(n+1)2n2⋅13→13<1\dfrac{a_{n+1}}{a_n}=\dfrac{(n+1)^2}{n^2}\cdot\dfrac13\to\dfrac13<1. The polynomial factor's ratio tends to 11, so the geometric factor decides.

Alternating Series, Error Bound & Absolute vs. Conditional Convergence

Concept
Alternating Series Test (AST)
NS−1123456789100.250.50.75ln 2
Partial sums of 1−12+13−⋯1-\tfrac12+\tfrac13-\cdots jump above and below ln⁡2\ln 2 by less each time.

A series ∑(−1)nbn\displaystyle\sum(-1)^{n}b_n with bn>0b_n>0 converges if both hold:

  • bnb_n is decreasing (bn+1≤bnb_{n+1}\le b_n), and
  • lim⁡n→∞bn=0\displaystyle\lim_{n\to\infty}b_n=0.

With decreasing terms the partial sums zigzag: each step overshoots in the opposite direction, but by less than the step before. So the odd partial sums fall and the even ones rise, trapped between each other, and since the step sizes go to 00 they squeeze onto a single limit. The same picture gives the error bound: the limit lies between two consecutive partial sums, so it is within the next term.

Concept
Alternating Series Error Bound

If an alternating series meets the AST conditions and converges to SS, then the error after NN terms is bounded by the first omitted term:

∣S−SN∣≤bN+1.|S-S_N|\le b_{N+1}.
Concept
Absolute vs. conditional convergence

∑an\sum a_n converges absolutely if ∑∣an∣\sum|a_n| converges (this forces ∑an\sum a_n to converge). It converges conditionally if ∑an\sum a_n converges but ∑∣an∣\sum|a_n| diverges.

Example
Conditional convergence & error

The alternating harmonic series ∑n=1∞(−1)n+1n\displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n+1}}{n} converges by the AST (1n↓0\frac1n\downarrow0), but ∑1n\sum\frac1n diverges, so it converges conditionally. To approximate its sum within 0.010.01, we need bN+1=1N+1≤0.01b_{N+1}=\frac{1}{N+1}\le0.01, i.e. N≥99N\ge99 terms.

Tip

Tip: To classify: test ∑∣an∣\sum|a_n| first (ratio/comparison/pp-series). Converges ⇒\Rightarrow absolute. Diverges but the alternating series itself passes the AST ⇒\Rightarrow conditional.

Try it
Quick check

Does ∑n=1∞(−1)n+1n2\displaystyle\sum_{n=1}^\infty\frac{(-1)^{n+1}}{n^2} converge absolutely or conditionally? Bound the error in using S4S_4.

Show the answer

Answer: absolutely; error at most 125=0.04\tfrac{1}{25}=0.04. ∑1n2\sum\tfrac{1}{n^2} is a convergent pp-series, so the alternating one converges absolutely. The Alternating Series bound is the first omitted term, b5=125b_5=\tfrac{1}{25}.

Power Series: Radius & Interval of Convergence

Concept
Power series and its radius

A power series centered at cc is ∑n=0∞an(x−c)n\displaystyle\sum_{n=0}^{\infty}a_n(x-c)^{n}. There is a radius of convergence RR so it converges for ∣x−c∣<R|x-c|<R and diverges for ∣x−c∣>R|x-c|>R. Find RR with the ratio test: solve lim⁡n→∞∣an+1(x−c)n+1an(x−c)n∣<1\displaystyle\lim_{n\to\infty}\left|\frac{a_{n+1}(x-c)^{n+1}}{a_n(x-c)^{n}}\right|<1.

The Ratio Test applied to a power series compares ∣x−c∣|x-c| with a fixed number RR: the terms shrink geometrically when ∣x−c∣<R|x-c|<R and grow when ∣x−c∣>R|x-c|>R. That is why the set of convergence is always an interval centered at cc. At the two endpoints the ratio is exactly 11 and the test is silent, so each endpoint must be checked by hand.

Concept
Interval of convergence — check the endpoints!

The set of xx where the series converges is the interval of convergence, (c−R, c+R)(c-R,\,c+R) possibly including one or both endpoints. The ratio test never decides the endpoints (L=1L=1 there): substitute each endpoint and test the resulting numeric series separately.

Example
Full interval of convergence
1center 23convergesdiverges
Interval [1,3)[1,3): radius 11 about x=2x=2; the endpoints behave differently.

Find the interval for ∑n=1∞(x−2)nn\displaystyle\sum_{n=1}^{\infty}\frac{(x-2)^{n}}{n}. Ratio test:

lim⁡n→∞∣(x−2)n+1n+1⋅n(x−2)n∣=∣x−2∣<1 ⇒ R=1, 1<x<3.\lim_{n\to\infty}\left|\frac{(x-2)^{n+1}}{n+1}\cdot\frac{n}{(x-2)^{n}}\right|=|x-2|<1\ \Rightarrow\ R=1,\ 1<x<3.

Endpoints: at x=3x=3, ∑1n\sum\frac{1}{n} diverges (harmonic). At x=1x=1, ∑(−1)nn\sum\frac{(-1)^n}{n} converges (AST). Interval: [1,3)\boxed{[1,3)}.

Concept
Differentiating & integrating a power series

Within the open interval of convergence you may differentiate or integrate term by term, and RR stays the same (endpoints may change):

f(x)=∑an(x−c)n ⇒ f′(x)=∑n an(x−c)n−1,∫f dx=C+∑ann+1(x−c)n+1.f(x)=\sum a_n(x-c)^n \ \Rightarrow\ f'(x)=\sum n\,a_n(x-c)^{n-1},\quad \int f\,dx=C+\sum \frac{a_n}{n+1}(x-c)^{n+1}.
Tip

Tip: R=∞R=\infty means it converges for all xx (e.g. ex,sin⁡x,cos⁡xe^x,\sin x,\cos x); R=0R=0 means only at x=cx=c. Endpoints require a fresh test every time — never assume.

Try it
Quick check

Find the interval of convergence of ∑n=1∞xnn 3n\displaystyle\sum_{n=1}^{\infty}\frac{x^n}{n\,3^n}.

Show the answer

Answer: [−3,3)[-3,3). Ratio: ∣x∣3⋅nn+1→∣x∣3\dfrac{|x|}{3}\cdot\dfrac{n}{n+1}\to\dfrac{|x|}{3}, so R=3R=3. At x=3x=3 the series is ∑1n\sum\tfrac1n (diverges); at x=−3x=-3 it is ∑(−1)nn\sum\tfrac{(-1)^n}{n} (converges by the Alternating Series Test).

Taylor & Maclaurin Series; the Lagrange Error Bound

Concept
Taylor and Maclaurin series

The Taylor series of ff centered at cc is

f(x)=∑n=0∞f(n)(c)n!(x−c)n=f(c)+f′(c)(x−c)+f′′(c)2!(x−c)2+⋯f(x)=\sum_{n=0}^{\infty}\frac{f^{(n)}(c)}{n!}(x-c)^{n}=f(c)+f'(c)(x-c)+\frac{f''(c)}{2!}(x-c)^2+\cdots

A Maclaurin series is the special case c=0c=0.

A Taylor polynomial is built to match the function's value, slope, bending, and higher derivatives at one point. Each coefficient f(k)(c)k!\dfrac{f^{(k)}(c)}{k!} is chosen so that differentiating the polynomial kk times at cc gives exactly f(k)(c)f^{(k)}(c). Matching more derivatives makes the polynomial agree with ff over a wider stretch around cc.

Concept
Common Maclaurin series (memorize)
ex=∑n=0∞xnn!=1+x+x22!+⋯(all x)sin⁡x=∑n=0∞(−1)nx2n+1(2n+1)!=x−x33!+x55!−⋯(all x)cos⁡x=∑n=0∞(−1)nx2n(2n)!=1−x22!+x44!−⋯(all x)11−x=∑n=0∞xn=1+x+x2+⋯(∣x∣<1)\begin{aligned} e^{x}&=\sum_{n=0}^{\infty}\frac{x^{n}}{n!}=1+x+\frac{x^2}{2!}+\cdots &&(\text{all }x)\\ \sin x&=\sum_{n=0}^{\infty}\frac{(-1)^{n}x^{2n+1}}{(2n+1)!}=x-\frac{x^3}{3!}+\frac{x^5}{5!}-\cdots &&(\text{all }x)\\ \cos x&=\sum_{n=0}^{\infty}\frac{(-1)^{n}x^{2n}}{(2n)!}=1-\frac{x^2}{2!}+\frac{x^4}{4!}-\cdots &&(\text{all }x)\\ \frac{1}{1-x}&=\sum_{n=0}^{\infty}x^{n}=1+x+x^2+\cdots &&(|x|<1) \end{aligned}
Example
Building a Taylor polynomial
xy−0.50.511.5−2−1.5−1−0.50.51P₃P₂ln(1 + x)
Near x=0x=0 the polynomials hug ln⁡(1+x)\ln(1+x); farther out, P2P_2 and P3P_3 peel away on opposite sides.

Third-degree Maclaurin polynomial of f(x)=ln⁡(1+x)f(x)=\ln(1+x): f(0)=0f(0)=0, f′=11+xf'=\frac{1}{1+x} so f′(0)=1f'(0)=1, f′′=−1(1+x)2f''=-\frac{1}{(1+x)^2} so f′′(0)=−1f''(0)=-1, f′′′=2(1+x)3f'''=\frac{2}{(1+x)^3} so f′′′(0)=2f'''(0)=2. Thus

P3(x)=0+1⋅x+−12!x2+23!x3=x−x22+x33.P_3(x)=0+1\cdot x+\frac{-1}{2!}x^2+\frac{2}{3!}x^3=x-\frac{x^2}{2}+\frac{x^3}{3}.
Concept
Lagrange Error Bound

If Pn(x)P_n(x) is the nnth-degree Taylor polynomial about cc, the remainder satisfies

∣Rn(x)∣=∣f(x)−Pn(x)∣≤M(n+1)! ∣x−c∣ n+1,|R_n(x)|=|f(x)-P_n(x)|\le \frac{M}{(n+1)!}\,|x-c|^{\,n+1},

where MM is any bound on ∣f(n+1)∣|f^{(n+1)}| between cc and xx. This measures how good the polynomial approximation is.

Example
Lagrange error bound applied
xy−1.5−1−0.50.510.51
At x=0.2x=0.2, P2P_2 (dashed) and cos⁡x\cos x are indistinguishable; the gap grows like ∣x∣3|x|^3.

Approximate cos⁡(0.2)\cos(0.2) with P2(x)=1−x22P_2(x)=1-\frac{x^2}{2}. Here c=0c=0, n=2n=2, and ∣f(3)(x)∣=∣sin⁡x∣≤1|f^{(3)}(x)|=|\sin x|\le 1, so M=1M=1:

∣R2(0.2)∣≤13!∣0.2∣3=0.0086≈0.00133.|R_2(0.2)|\le\frac{1}{3!}|0.2|^{3}=\frac{0.008}{6}\approx0.00133.

So P2(0.2)=1−0.02=0.98P_2(0.2)=1-0.02=0.98 is accurate to about 0.00130.0013.

Try it
Quick check

Use P2(x)=1+x+x22P_2(x)=1+x+\tfrac{x^2}{2} to approximate e0.1e^{0.1}, and bound the error with the Lagrange bound.

Show the answer

Answer: e0.1≈1.105e^{0.1}\approx1.105, with error less than 0.00020.0002. 1+0.1+0.005=1.1051+0.1+0.005=1.105. The third derivative of exe^x is at most e0.1<1.2e^{0.1}<1.2 on [0,0.1][0,0.1], so ∣R2∣≤1.2 (0.1)33!=0.0002|R_2|\le\dfrac{1.2\,(0.1)^3}{3!}=0.0002. (The true value is 1.10517…1.10517\ldots, off by 0.000170.00017.)

Which Convergence Test Should I Use?

Concept
A decision checklist
  • nnth-term test — does an→0a_n\to0? If not, it diverges. (Always start here.)
  • Geometric? form arnar^n: converges iff ∣r∣<1|r|<1, sum a1−r\frac{a}{1-r}.
  • pp-series? form 1np\frac{1}{n^p}: converges iff p>1p>1.
  • Factorials or nnth powers? Use the ratio (or root) test.
  • Looks like a pp-series/geometric? Use direct or limit comparison.
  • Positive, decreasing, easily integrated? Use the integral test.
  • Alternating (−1)nbn(-1)^n b_n? Use the AST; then check ∑∣an∣\sum|a_n| for absolute vs. conditional.

Going Deeper: Advanced Series

Concept
Building new series from known ones (substitution)

Substitute into a known Maclaurin series instead of computing derivatives. Replace xx by any expression:

e−x2=∑n=0∞(−x2)nn!=∑n=0∞(−1)nx2nn!,11+x2=∑n=0∞(−x2)n=∑n=0∞(−1)nx2n (∣x∣<1).e^{-x^2}=\sum_{n=0}^{\infty}\frac{(-x^2)^{n}}{n!}=\sum_{n=0}^{\infty}\frac{(-1)^n x^{2n}}{n!},\qquad \frac{1}{1+x^2}=\sum_{n=0}^{\infty}(-x^2)^{n}=\sum_{n=0}^{\infty}(-1)^n x^{2n}\ (|x|<1).
Example
Building by differentiating / integrating

Integrate 11+x2=∑(−1)nx2n\dfrac{1}{1+x^2}=\sum(-1)^n x^{2n} term by term to get arctan⁡x\arctan x:

arctan⁡x=∑n=0∞(−1)nx2n+12n+1=x−x33+x55−⋯ (∣x∣≤1).\arctan x=\sum_{n=0}^{\infty}\frac{(-1)^n x^{2n+1}}{2n+1}=x-\frac{x^3}{3}+\frac{x^5}{5}-\cdots\ (|x|\le1).

Similarly integrating 11−x\frac{1}{1-x} gives −ln⁡(1−x)=∑n=1∞xnn-\ln(1-x)=\sum_{n=1}^{\infty}\frac{x^n}{n}.

Example
Telescoping series

Use partial fractions so most terms cancel:

∑n=1∞1n(n+1)=∑n=1∞(1n−1n+1).\sum_{n=1}^{\infty}\frac{1}{n(n+1)}=\sum_{n=1}^{\infty}\Big(\frac1n-\frac1{n+1}\Big).

SN=1−1N+1→1S_N=1-\frac{1}{N+1}\to1, so the sum is 1\boxed{1}. The value comes straight from the partial-sum limit, not a named test.

Example
Using a series to evaluate a tricky limit
lim⁡x→0sin⁡x−xx3=lim⁡x→0(x−x36+x5120−⋯)−xx3=lim⁡x→0(−16+x2120−⋯)=−16.\lim_{x\to0}\frac{\sin x - x}{x^3} =\lim_{x\to0}\frac{\big(x-\frac{x^3}{6}+\frac{x^5}{120}-\cdots\big)-x}{x^3} =\lim_{x\to0}\Big(-\frac16+\frac{x^2}{120}-\cdots\Big)=-\frac16.

Substituting the Maclaurin series makes the 00\frac00 form transparent.

Example
Using a series to evaluate a non-elementary integral

∫e−x2dx\int e^{-x^2}dx has no elementary antiderivative, but integrate the series term by term:

∫01e−x2 dx=∫01∑n=0∞(−1)nx2nn! dx=∑n=0∞(−1)nn! (2n+1)=1−13+110−142+⋯\int_0^{1}e^{-x^2}\,dx=\int_0^{1}\sum_{n=0}^{\infty}\frac{(-1)^n x^{2n}}{n!}\,dx =\sum_{n=0}^{\infty}\frac{(-1)^n}{n!\,(2n+1)}=1-\frac13+\frac{1}{10}-\frac{1}{42}+\cdots

The result is an alternating series, so its error bound is the first omitted term.

Concept
Endpoint analysis: the four possibilities

After finding RR by the ratio test, each endpoint is tested separately and independently. A single power series can produce any of (c−R,c+R)(c-R,c+R), [c−R,c+R)[c-R,c+R), (c−R,c+R](c-R,c+R], or [c−R,c+R][c-R,c+R]. Typical tools at an endpoint: the pp-series test, the nnth-term test, or the alternating series test. Never assume symmetry.

Example
Lagrange bound to guarantee accuracy

How many terms of the sin⁡x\sin x series approximate sin⁡(1)\sin(1) within 10−410^{-4}? All derivatives of sin⁡\sin are bounded by M=1M=1, so with c=0c=0, x=1x=1:

∣Rn(1)∣≤1(n+1)!.|R_n(1)|\le\frac{1}{(n+1)!}.

Since 17!=15040≈0.0002\frac{1}{7!}=\frac{1}{5040}\approx0.0002 and 18!=140320≈0.0000248<10−4\frac{1}{8!}=\frac{1}{40320}\approx0.0000248<10^{-4}, taking n=7n=7 (through the x7x^7 term) guarantees the accuracy.

Tip

Big picture: Nearly every hard series problem reduces to a known one — a geometric series, a pp-series, or one of the four Maclaurin series — reached by algebra, substitution, differentiation, or integration. Recognize the skeleton, then transform.

Why It Works

The harmonic series diverges by grouping: 1+12+(13+14)+(15+⋯+18)+⋯1 + \tfrac12 + (\tfrac13 + \tfrac14) + (\tfrac15 + \cdots + \tfrac18) + \cdots, and each parenthesized block is at least 12\tfrac12 — infinitely many halves. The ratio test works because a series whose terms eventually shrink by a factor r<1r < 1 each step is dominated by a geometric series. Taylor's formula comes from matching derivatives: cn=f(n)(a)n!c_n = \tfrac{f^{(n)}(a)}{n!} is the only coefficient that makes the nnth derivative of the series agree with ff at aa.

Tip
Reading a proof

Do not read a proof the way you read a rule. Cover the last line, ask what the previous line forces, and only then uncover it. If a step feels like magic, that is the step to work by hand with a concrete number.

Formulas, Proofs & Tips

Tip
L'Hôpital's Rule
lim⁡x→cf(x)g(x)=lim⁡x→cf′(x)g′(x)when 00 or ∞∞\lim_{x\to c}\frac{f(x)}{g(x)} = \lim_{x\to c}\frac{f'(x)}{g'(x)} \quad\text{when } \tfrac{0}{0} \text{ or } \tfrac{\infty}{\infty}

What it means. If a limit gives the indeterminate form 00\tfrac{0}{0} or ∞∞\tfrac{\infty}{\infty}, differentiate the top and bottom separately and try again.

Why it works. Near cc both functions are approximated by their tangent lines, f(x)≈f′(c)(x−c)f(x)\approx f'(c)(x-c) and g(x)≈g′(c)(x−c)g(x)\approx g'(c)(x-c). The common factor (x−c)(x-c) cancels in the ratio, leaving f′(c)g′(c)\tfrac{f'(c)}{g'(c)}.

Tip. Check the form FIRST — applying it to a limit that isn't indeterminate gives a wrong answer. It is not the quotient rule: do not differentiate fg\tfrac{f}{g} as a whole.

Tip
Convergence tests
∑arn converges  ⟺  ∣r∣<1;∑1np converges  ⟺  p>1\sum ar^{n} \text{ converges} \iff |r|<1; \qquad \sum \frac{1}{n^{p}} \text{ converges} \iff p>1

What it means. Geometric series need shrinking terms; pp-series need them to shrink fast enough.

Example. ∑n≥1(12)n\sum_{n\ge1}\left(\tfrac12\right)^n converges since ∣r∣=12<1|r|=\tfrac12<1, to 1/21−1/2=1\tfrac{1/2}{1-1/2}=1.

Why it works. The harmonic series p=1p=1 diverges: grouping terms as 12\tfrac12, 13+14>12\tfrac13+\tfrac14>\tfrac12, 15+⋯+18>12\tfrac15+\cdots+\tfrac18>\tfrac12, and so on adds 12\tfrac12 infinitely often. Larger pp shrinks the terms fast enough for the total to settle.

Tip. Terms tending to 00 is necessary but not sufficient — the harmonic series is the standard counterexample.