← Back to modules

Series & Sequences

Analyze convergence and common series tests.

Sequences are ordered lists of numbers, and series are their sums. The fundamental question of this entire topic: when you add up infinitely many numbers, can you get a finite answer?

Series are not just theoretical: they underpin how computers calculate sinx\sin x, exe^x, and lnx\ln x. Taylor series let you approximate any smooth function with a polynomial. Power series extend calculus into the realm of infinite-degree polynomials.

This module covers convergence tests (the toolkit for determining if a series converges), power series, and Taylor/Maclaurin series. Master the tests systematically and you'll always know which tool to reach for.

Sequences and their limits

A sequence {an}\{a_n\} is an ordered list: a1,a2,a3,a_1, a_2, a_3, \ldots The sequence converges if limnan=L\lim_{n\to\infty} a_n = L for some finite LL. If no such LL exists, the sequence diverges.

Common sequences: an=1/n0a_n = 1/n \to 0, an=(1+1/n)nea_n = (1+1/n)^n \to e (the definition of ee), an=(1)na_n = (-1)^n diverges (oscillates between 1-1 and 11, never settling), an=n2a_n = n^2 diverges to \infty.

Tools for evaluating sequence limits: L'Hôpital's Rule (treat nn as a continuous variable and apply to f(x)f(x)), the Squeeze Theorem (trap the sequence between two that converge to the same limit), and the growth-rate hierarchy: lnnnpann!nn\ln n \ll n^p \ll a^n \ll n! \ll n^n for a>1a > 1, p>0p > 0. This hierarchy means, for example, that n100/2n0n^{100}/2^n \to 0 — any exponential eventually crushes any polynomial.

A sequence is monotonic if it is always increasing (an+1ana_{n+1} \geq a_n) or always decreasing (an+1ana_{n+1} \leq a_n). A bounded monotonic sequence always converges (Monotone Convergence Theorem). This is useful for proving convergence when you can't find the limit directly.

A sequence is bounded if there exist numbers mm and MM such that manMm \leq a_n \leq M for all nn. Bounded alone doesn't guarantee convergence ((1)n(-1)^n is bounded but divergent). You need bounded plus monotonic.

Helpful?

Series: partial sums and convergence

A series n=1an\sum_{n=1}^{\infty} a_n is the limit of its partial sums: SN=n=1NanS_N = \sum_{n=1}^{N} a_n. If limNSN\lim_{N\to\infty} S_N exists and is finite, the series converges.

Key distinction: a sequence {an}\{a_n\} converging to 00 is necessary for the series to converge, but not sufficient. an=1/n0a_n = 1/n \to 0, yet 1/n\sum 1/n diverges.

The harmonic series 1/n\sum 1/n diverges. This is one of the most important facts in the theory of series. It shows that terms going to zero isn't enough.

Helpful?

Geometric series

A geometric series has the form n=0arn\sum_{n=0}^{\infty} ar^n where aa is the first term and rr is the common ratio.

It converges if and only if r<1|r| < 1, and the sum is a1r\frac{a}{1-r}.

Example: n=032n=311/2=6\sum_{n=0}^{\infty} \frac{3}{2^n} = \frac{3}{1-1/2} = 6.

This is the only common series where we can easily compute the exact sum. Many convergence tests compare other series to geometric ones.

Helpful?

Telescoping series

A telescoping series is one where consecutive terms in the partial sum cancel, leaving only a few surviving terms — like a collapsing telescope.

The classic example: n=11n(n+1)\sum_{n=1}^{\infty} \frac{1}{n(n+1)}. Use partial fractions: 1n(n+1)=1n1n+1\frac{1}{n(n+1)} = \frac{1}{n} - \frac{1}{n+1}.

Write out the partial sum: SN=(112)+(1213)+(1314)++(1N1N+1)S_N = \left(1 - \frac{1}{2}\right) + \left(\frac{1}{2} - \frac{1}{3}\right) + \left(\frac{1}{3} - \frac{1}{4}\right) + \cdots + \left(\frac{1}{N} - \frac{1}{N+1}\right). Almost everything cancels! What survives: SN=11N+1S_N = 1 - \frac{1}{N+1}. As NN \to \infty, SN1S_N \to 1.

To recognize telescoping: use partial fractions to split the general term into a difference f(n)f(n+1)f(n) - f(n+1) (or f(n)f(n+k)f(n) - f(n+k) for wider telescoping). If consecutive terms cancel, the partial sum collapses to a simple expression.

Telescoping series are one of the few types where you can find the exact sum, not just determine convergence. Always check for this pattern when partial fractions reveal a clean difference.

Helpful?

The Divergence Test (nth-term test)

If limnan0\lim_{n\to\infty} a_n \neq 0, then an\sum a_n diverges. Full stop. If the terms don't approach zero, they can't possibly add up to a finite sum — the partial sums keep jumping by non-negligible amounts.

This should always be your first check for any series. It's quick and catches obvious divergence. Example: nn+1\sum \frac{n}{n+1} diverges because an=nn+110a_n = \frac{n}{n+1} \to 1 \neq 0.

Critical limitation: if limnan=0\lim_{n\to\infty} a_n = 0, the test tells you nothing. The series might converge (1/n2\sum 1/n^2 converges) or diverge (1/n\sum 1/n diverges). Terms going to zero is necessary for convergence but not sufficient. You need another test to decide.

Think of this test as a 'quick rejection filter.' It can rule out convergence (if terms don't go to zero), but it can never confirm convergence.

Helpful?

p-series and the harmonic series

A p-series has the form n=11np\sum_{n=1}^{\infty} \frac{1}{n^p} where pp is a positive constant. These are the most important benchmark series in all of convergence testing.

The rule: converges if p>1p > 1, diverges if p1p \leq 1. The critical boundary is p=1p = 1.

Key examples: p=1p=1: the harmonic series 1/n\sum 1/n diverges (this is the most important single fact about series). p=2p=2: 1/n2=π2/6\sum 1/n^2 = \pi^2/6 (Euler proved this in 1734 — a celebrated result). p=1/2p=1/2: 1/n\sum 1/\sqrt{n} diverges (the terms shrink, but too slowly).

Why p=1p=1 diverges: group terms in powers of 2. 1+12+(13+14)+(15+16+17+18)+>1+12+12+12+=1 + \frac{1}{2} + (\frac{1}{3}+\frac{1}{4}) + (\frac{1}{5}+\frac{1}{6}+\frac{1}{7}+\frac{1}{8}) + \cdots > 1 + \frac{1}{2} + \frac{1}{2} + \frac{1}{2} + \cdots = \infty. Each group contributes at least 1/21/2.

p-series serve as the go-to comparison: when you encounter a series with terms that 'look like' 1/np1/n^p for large nn, use the limit comparison test against the appropriate p-series.

Helpful?

The Integral Test

If f(x)f(x) is positive, continuous, and decreasing for xNx \geq N, and an=f(n)a_n = f(n), then n=Nan\sum_{n=N}^{\infty} a_n and Nf(x)dx\int_N^{\infty} f(x)\,dx either both converge or both diverge. The series and the integral live or die together.

Why it works: the sum an\sum a_n is a left Riemann sum for f(x)dx\int f(x)\,dx (or a right Riemann sum, depending on the direction). Since ff is decreasing, these Riemann sums sandwich the integral. If one is finite, the other must be too.

The integral test does not give the exact sum — just convergence or divergence. The integral's value is related to but not equal to the series sum.

Example: does n=21n(lnn)2\sum_{n=2}^{\infty} \frac{1}{n(\ln n)^2} converge? Let f(x)=1x(lnx)2f(x) = \frac{1}{x(\ln x)^2}. It's positive, continuous, and decreasing for x2x \geq 2. 21x(lnx)2dx\int_2^\infty \frac{1}{x(\ln x)^2}\,dx: substitute u=lnxu = \ln x, giving ln2u2du=1ln2\int_{\ln 2}^{\infty} u^{-2}\,du = \frac{1}{\ln 2}. The integral converges, so the series converges.

Remainder estimate: N+1f(x)dxRNNf(x)dx\int_{N+1}^{\infty} f(x)\,dx \leq R_N \leq \int_N^{\infty} f(x)\,dx where RN=n=N+1anR_N = \sum_{n=N+1}^{\infty} a_n is the error from truncating at NN terms. This gives concrete error bounds.

Helpful?

Comparison and Limit Comparison Tests

Direct comparison: if 0anbn0 \leq a_n \leq b_n for all sufficiently large nn and bn\sum b_n converges, then an\sum a_n converges (a smaller series is forced to converge if a larger one does). Conversely, if an\sum a_n diverges, then bn\sum b_n diverges.

Direct comparison requires an inequality that holds term by term. This can be tricky to establish. The limit comparison test removes that difficulty.

Limit comparison: if limnan/bn=L\lim_{n\to\infty} a_n / b_n = L where 0<L<0 < L < \infty, then an\sum a_n and bn\sum b_n either both converge or both diverge. The series behave the same because their terms are proportional for large nn.

Strategy: look at your series for large nn and simplify by dropping lower-order terms. nn3+1\frac{n}{n^3+1} behaves like nn3=1n2\frac{n}{n^3} = \frac{1}{n^2} for large nn. Use bn=1/n2b_n = 1/n^2 in the limit comparison test. Since 1/n2\sum 1/n^2 converges (p=2>1p = 2 > 1), the original series converges.

Choosing bnb_n: almost always a p-series or geometric series. Keep only the highest-power terms in the numerator and denominator, cancel, and you'll get bn=1/npb_n = 1/n^p for some pp. Then the p-series rule tells you the answer.

Helpful?

Ratio and Root Tests

Ratio test: compute L=limnan+1anL = \lim_{n\to\infty} \left|\frac{a_{n+1}}{a_n}\right|. If L<1L < 1: converges absolutely. L>1L > 1: diverges. L=1L = 1: inconclusive.

Root test: compute L=limnannL = \lim_{n\to\infty} \sqrt[n]{|a_n|}. Same criteria as the ratio test.

The ratio test excels for series with factorials (like n!/3nn!/3^n) or products. The root test is ideal for terms raised to the nnth power (like (2/3)n(2/3)^n).

Warning: both tests are inconclusive when L=1L=1. This happens for all p-series, so you can't use ratio/root tests on 1/np\sum 1/n^p.

Helpful?

Alternating Series Test

An alternating series has terms that switch sign: (1)nan\sum (-1)^n a_n or (1)n+1an\sum (-1)^{n+1} a_n where an>0a_n > 0. The positive and negative terms partially cancel each other.

The Alternating Series Test (Leibniz's test): the series converges if two conditions hold: (1) {an}\{a_n\} is eventually decreasing (an+1ana_{n+1} \leq a_n for large enough nn), and (2) limnan=0\lim_{n\to\infty} a_n = 0.

Example: the alternating harmonic series n=1(1)n+1n=11/2+1/31/4+=ln2\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{n} = 1 - 1/2 + 1/3 - 1/4 + \cdots = \ln 2. The regular harmonic series diverges, but the alternation saves it — the positive and negative terms cancel just enough to give a finite sum.

Alternating series estimation theorem: the error from truncating after NN terms satisfies RNaN+1|R_N| \leq a_{N+1} (the first omitted term). This is an exceptionally convenient error bound — you know exactly how accurate your partial sum is. If aN+1=0.001a_{N+1} = 0.001, your approximation is within 0.0010.001 of the true sum.

This estimation theorem is why alternating series are 'friendly' — they come with a built-in accuracy guarantee, unlike most other convergent series.

Helpful?

Absolute vs. conditional convergence

A series an\sum a_n converges absolutely if an\sum |a_n| converges. It converges conditionally if an\sum a_n converges but an\sum |a_n| diverges.

Absolute convergence implies convergence. So if the absolute value series converges, you're done.

Example: (1)n/n2\sum (-1)^n/n^2 converges absolutely because 1/n2\sum 1/n^2 converges.

Example: (1)n/n\sum (-1)^n/n converges conditionally. It converges by the alternating series test, but 1/n\sum 1/n diverges.

Why it matters: absolutely convergent series can be rearranged freely without changing the sum. Conditionally convergent series cannot (Riemann rearrangement theorem).

Helpful?

Power series

A power series centered at aa is n=0cn(xa)n=c0+c1(xa)+c2(xa)2+\sum_{n=0}^{\infty} c_n(x-a)^n = c_0 + c_1(x-a) + c_2(x-a)^2 + \cdots. It's an 'infinite polynomial' with infinitely many terms.

The radius of convergence RR determines where it converges: xa<R|x-a| < R (converges absolutely), xa>R|x-a| > R (diverges). At xa=R|x-a| = R (the endpoints), you must check separately — the series may converge at one, both, or neither endpoint.

Three possible scenarios: R=0R = 0 (converges only at x=ax = a), 0<R<0 < R < \infty (converges on a finite interval), or R=R = \infty (converges for all xx, like the series for exe^x).

Find RR using the ratio test: R=limncncn+1R = \lim_{n\to\infty} \left|\frac{c_n}{c_{n+1}}\right| (or equivalently, 1/R=limncn+1/cn1/R = \lim_{n\to\infty}|c_{n+1}/c_n|). The root test also works: 1/R=lim supncn1/n1/R = \limsup_{n\to\infty} |c_n|^{1/n}.

Inside the radius, power series behave like polynomials: you can differentiate and integrate them term by term, and the radius of convergence stays the same (endpoints may change).

The simplest power series: 11x=n=0xn\frac{1}{1-x} = \sum_{n=0}^{\infty} x^n for x<1|x| < 1 (R=1R = 1). From this, many other series can be derived by substitution, differentiation, or integration.

Helpful?

Taylor and Maclaurin series

The Taylor series of f(x)f(x) centered at aa is: f(x)=n=0f(n)(a)n!(xa)nf(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n!}(x-a)^n.

A Maclaurin series is a Taylor series centered at a=0a=0.

Essential Maclaurin series to memorize:

ex=n=0xnn!=1+x+x22!+x33!+e^x = \sum_{n=0}^{\infty} \frac{x^n}{n!} = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots for all xx.

sinx=n=0(1)nx2n+1(2n+1)!=xx33!+x55!\sin x = \sum_{n=0}^{\infty} \frac{(-1)^n x^{2n+1}}{(2n+1)!} = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots for all xx.

cosx=n=0(1)nx2n(2n)!=1x22!+x44!\cos x = \sum_{n=0}^{\infty} \frac{(-1)^n x^{2n}}{(2n)!} = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots for all xx.

ln(1+x)=n=1(1)n+1xnn=xx22+x33\ln(1+x) = \sum_{n=1}^{\infty} \frac{(-1)^{n+1} x^n}{n} = x - \frac{x^2}{2} + \frac{x^3}{3} - \cdots for 1<x1-1 < x \leq 1.

11x=n=0xn\frac{1}{1-x} = \sum_{n=0}^{\infty} x^n for x<1|x| < 1.

Helpful?

Taylor remainder and error bounds

The nnth degree Taylor polynomial Tn(x)T_n(x) approximates f(x)f(x) near x=ax = a. The error (remainder) is Rn(x)=f(x)Tn(x)R_n(x) = f(x) - T_n(x) — the difference between the true function and the polynomial approximation.

Taylor's inequality (Lagrange error bound): Rn(x)M(n+1)!xan+1|R_n(x)| \leq \frac{M}{(n+1)!}|x-a|^{n+1}, where MM is an upper bound for f(n+1)(t)|f^{(n+1)}(t)| on the interval between aa and xx. The (n+1)!(n+1)! in the denominator grows extremely fast, which is why Taylor polynomials get accurate quickly.

For alternating Taylor series (like sinx\sin x, cosx\cos x, ln(1+x)\ln(1+x)), the alternating series estimation applies: Rnan+1|R_n| \leq |a_{n+1}| (the first omitted term). This is usually easier to use than the Lagrange bound.

Practical use: 'How many terms of the Maclaurin series for exe^x do I need to approximate e0.5e^{0.5} to within 0.00010.0001?' Find the smallest nn such that (0.5)n+1(n+1)!<0.0001\frac{(0.5)^{n+1}}{(n+1)!} < 0.0001. With n=5n = 5: 0.567200.0000217<0.0001\frac{0.5^6}{720} \approx 0.0000217 < 0.0001. So 6 terms suffice (through the x5x^5 term).

This is how calculators and computers evaluate functions like sin\sin, cos\cos, and exe^x — they use Taylor polynomials with enough terms to guarantee the desired precision.

Helpful?

Building new series from known ones

Instead of computing Taylor coefficients from scratch (which requires evaluating nn derivatives), you can derive new series from known ones using three operations: substitution, differentiation, and integration.

Substitution: replace xx in a known series with an expression. ex2e^{-x^2}? Start with eu=un/n!e^u = \sum u^n/n! and substitute u=x2u = -x^2: ex2=(1)nx2nn!e^{-x^2} = \sum \frac{(-1)^n x^{2n}}{n!}. No derivatives needed.

Term-by-term differentiation: differentiate a known series to get a new one. 11x=xn\frac{1}{1-x} = \sum x^n for x<1|x|<1. Differentiate both sides: 1(1x)2=nxn1\frac{1}{(1-x)^2} = \sum n x^{n-1}. The radius of convergence is preserved.

Term-by-term integration: integrate a known series. 11+t2=(1)nt2n\frac{1}{1+t^2} = \sum (-1)^n t^{2n} for t<1|t|<1. Integrate from 00 to xx: arctanx=(1)nx2n+12n+1\arctan x = \sum \frac{(-1)^n x^{2n+1}}{2n+1}. This gives the series for arctan\arctan without ever differentiating arctan\arctan.

Multiplication and addition: you can add or multiply series. x1x2=x11x2=xx2n=x2n+1\frac{x}{1-x^2} = x \cdot \frac{1}{1-x^2} = x \sum x^{2n} = \sum x^{2n+1}.

These techniques are immensely powerful. In practice, almost every Taylor series you encounter can be derived from the five basic series (exe^x, sinx\sin x, cosx\cos x, ln(1+x)\ln(1+x), 1/(1x)1/(1-x)) using these operations.

Helpful?

Choosing the right convergence test (strategy)

1. Divergence test first: if an↛0a_n \not\to 0, done (diverges).

2. Is it geometric? Check if an=arna_n = ar^n.

3. Is it a p-series? Check if an=1/npa_n = 1/n^p.

4. Does it telescope? Try partial fractions.

5. Are there factorials or nnth powers? Try ratio or root test.

6. Does it look like a known series? Try comparison or limit comparison.

7. Is it alternating? Try the alternating series test.

8. Is f(n)=anf(n) = a_n easy to integrate? Try the integral test.

Helpful?

Worked Practice Problems (5 examples)

Study these solved examples to understand the techniques. Then head to Practice to try problems on your own.

Practice on your own →
1

Problem 1

Does the geometric series n=0(12)n\sum_{n=0}^{\infty} \left(\frac{1}{2}\right)^n converge or diverge?

Step-by-Step Solution

1

Geometric series with r=1/2r = 1/2.

2

Since r=1/2<1|r| = 1/2 < 1, it converges.

Final Answer: Converges

2

Problem 2

Find the sum: n=0(13)n\sum_{n=0}^{\infty} \left(\frac{1}{3}\right)^n

Step-by-Step Solution

1

Sum =a1r=111/3=12/3=32= \frac{a}{1-r} = \frac{1}{1-1/3} = \frac{1}{2/3} = \frac{3}{2}.

Final Answer: 32\frac{3}{2}

3

Problem 3

Does n=11n\sum_{n=1}^{\infty} \frac{1}{n} converge?

Step-by-Step Solution

1

This is the harmonic series.

2

The harmonic series diverges (famous result).

Final Answer: Diverges

4

Problem 4

Find the sum: n=0(14)n\sum_{n=0}^{\infty} \left(\frac{1}{4}\right)^n

Step-by-Step Solution

1

111/4=43\frac{1}{1-1/4} = \frac{4}{3}.

Final Answer: 43\frac{4}{3}

5

Problem 5

Does n=11n2\sum_{n=1}^{\infty} \frac{1}{n^2} converge?

Step-by-Step Solution

1

This is a pp-series with p=2>1p=2>1.

2

pp-series converges when p>1p>1.

Final Answer: Converges

Frequently asked questions about series & sequences

What is a series in calculus?
A series is the sum of the terms of a sequence. An infinite series adds up infinitely many terms and may converge to a finite value or diverge to infinity.
How do you test if a series converges?
Common convergence tests include the ratio test, comparison test, integral test, alternating series test, and the nth-term divergence test.
What is a Taylor series?
A Taylor series represents a function as an infinite sum of terms calculated from the function's derivatives at a single point. A Maclaurin series is a Taylor series centered at x = 0.