MAT1052 · Week 2 · Sequences, Infinite Series

Sequences and infinite series

You learn to find the limit of a sequence, to define a series through partial sums, and to compute the sum of telescoping series. The language of all convergence tests is set up here.

sequencelimit of a sequenceconvergentdivergentsqueeze theoremmonotoneboundedMonotone Sequence Theoreminfinite seriespartial sumtelescoping series

This week you will learn to tell two different objects apart: a sequence is a list of numbers, a series is the sum of the terms of that list. The most common mistake in the exam is to confuse the two. "an→0a_n\to 0" is a statement about a sequence; ”∑an\sum a_n converges” is a statement about a series, and the first does not guarantee the second.

Golden rules:

  1. A sequence limit is found with the same tools as a function limit: algebra, standard limits, L’Hôpital (switch to the variable xx first), squeeze.
  2. The sum of a series is the limit of the partial sums: ∑an=lim⁡sn\sum a_n = \lim s_n.
  3. In telescoping series, write sns_n as an explicit formula, then take the limit. “Cancelling by eye” loses points.
  4. an=sn−sn−1a_n = s_n - s_{n-1}. You can go back from the partial sum to the term.

Sequences

A sequence is a function from the positive integers to the real numbers: a1,a2,a3,…a_1, a_2, a_3,\dots If for every ε>0\varepsilon>0 there is an NN such that ∣an−L∣<ε\lvert a_n-L\rvert<\varepsilon whenever n>Nn>N, the sequence converges to LL: lim⁡n→∞an=L\lim_{n\to\infty}a_n = L. If there is no such LL (or the terms go to ±∞\pm\infty), the sequence diverges.

Intuition. If the “tail” of the sequence enters an arbitrarily narrow band around LL and never leaves it again, the limit is LL. A finite number of terms at the start does not affect the limit.

Limit rules and tools

The rules for sum, difference, product, quotient (if the limit of the denominator is not zero) and multiplication by a constant are the same as for functions. In addition:

  • From a function to a sequence. If f(x)→Lf(x)\to L (x→∞x\to\infty) and an=f(n)a_n = f(n), then an→La_n\to L. This lets you use L’Hôpital. You do not differentiate directly with respect to nn; write f(x)f(x) first.
  • Continuous function. If an→La_n\to L and gg is continuous, then g(an)→g(L)g(a_n)\to g(L).
  • Squeeze. If bn≤an≤cnb_n\le a_n\le c_n and bn,cn→Lb_n, c_n\to L, then an→La_n\to L. A special case: if ∣an∣→0\lvert a_n\rvert\to 0, then an→0a_n\to 0.

Limits to memorize

SequenceLimitCondition
ln⁡nn\dfrac{\ln n}{n}00
n1/nn^{1/n}11
c1/nc^{1/n}11c>0c>0
xnx^n00∣x∣<1\lvert x\rvert<1
(1+xn)n\left(1+\dfrac{x}{n}\right)^nexe^xevery xx
xnn!\dfrac{x^n}{n!}00every xx

Growth ordering: ln⁡n≪np≪cn≪n!≪nn\ln n \ll n^p \ll c^n \ll n! \ll n^n (p>0p>0, c>1c>1). If the denominator of a fraction grows faster, the limit is 00.

Example 1. 2n2+15n2−n\dfrac{2n^2+1}{5n^2-n}. Divide by n2n^2: 2+1/n25−1/n→25\dfrac{2+1/n^2}{5-1/n}\to\dfrac25.

Example 2. cos⁡nn\dfrac{\cos n}{n}. ∣cos⁡nn∣≤1n→0\left\lvert\dfrac{\cos n}{n}\right\rvert\le\dfrac1n\to0, so the limit is 00.

Example 3. n2n\dfrac{n}{2^n}. L’Hôpital for f(x)=x/2xf(x) = x/2^x: 12xln⁡2→0\dfrac{1}{2^x\ln 2}\to 0. The sequence goes to 00 as well.

Example 4. (1−1n)n\left(1-\dfrac1n\right)^n. In the standard limit with x=−1x=-1: e−1e^{-1}.

Example 4b. Why is n1/n→1n^{1/n}\to 1 true? Write y=x1/xy = x^{1/x}, ln⁡y=ln⁡xx\ln y = \dfrac{\ln x}{x}. L’Hôpital: 1/x1→0\dfrac{1/x}{1}\to 0. So ln⁡y→0\ln y\to0, y→e0=1y\to e^0=1. With the same method you can show that sequences like n3/nn^{3/n} and (n2+1)1/n(n^2+1)^{1/n} also go to 11. The pattern is always the same: if the exponent is 1/n1/n, take ln⁡\ln, you get ∞/∞\infty/\infty, apply L’Hôpital.

Sign-alternating sequences

The factor (−1)n(-1)^n swings the terms between positive and negative. There are two cases:

  • If bn→0b_n\to0, then (−1)nbn→0(-1)^nb_n\to0. Reason: ∣(−1)nbn∣=∣bn∣→0\lvert(-1)^nb_n\rvert = \lvert b_n\rvert\to0.
  • If bn→L≠0b_n\to L\neq0, then (−1)nbn(-1)^nb_n approaches LL at even indices and −L-L at odd indices. There are two different accumulation points, so there is no limit.

The general principle: if two subsequences of a sequence go to different limits, the sequence diverges. cos⁡(nπ)=(−1)n\cos(n\pi) = (-1)^n also diverges for the same reason. But cos⁡(nπ)/n→0\cos(n\pi)/n\to 0.

Example 4c. an=(−1)nn2n3+1a_n = \dfrac{(-1)^n n^2}{n^3+1}. The absolute value n2n3+1→0\dfrac{n^2}{n^3+1}\to0, so an→0a_n\to0. Since the degree of the numerator is smaller than that of the denominator, the sign does not matter.

Monotone and bounded sequences

If a sequence grows at every step (or does not shrink), it is monotone increasing (nondecreasing); if it never exceeds some number MM, it is bounded above. Monotone Sequence Theorem: every monotone and bounded sequence converges. The theorem does not give the value of the limit, it only says that it exists. For recursive sequences you find the value like this:

Example 5. a1=1a_1 = 1, an+1=an+62a_{n+1} = \dfrac{a_n+6}{2}. The terms: 1, 3.5, 4.75, 5.375,…1,\ 3.5,\ 4.75,\ 5.375,\dots are increasing and do not exceed 66 (because if an<6a_n<6 then an+1<6a_{n+1}<6). If the limit is LL, then L=L+62L = \dfrac{L+6}{2}, hence L=6L = 6.

PITFALL · convergence first. Setting up the equation "L=f(L)L = f(L)" assumes that the limit exists. For the sequence an+1=2ana_{n+1} = 2a_n, a1=1a_1=1, the equation gives L=0L=0 but the sequence 1,2,4,8,…1,2,4,8,\dots diverges. If the exam does not say “assuming it converges”, show also that it is monotone and bounded.

Infinite series

The meaning of the expression ∑n=1∞an\sum_{n=1}^\infty a_n is this. Build the sequence of partial sums:

s1=a1,s2=a1+a2,…,sn=∑k=1nak.s_1 = a_1,\quad s_2 = a_1+a_2,\quad\dots,\quad s_n = \sum_{k=1}^{n}a_k.

If sn→Ss_n\to S, the series converges and its sum is SS. If sns_n has no limit, the series diverges. So every series question is really a sequence question: the limit of the sequence sns_n.

From the term to the partial sum, and back. If sns_n is given, an=sn−sn−1a_n = s_n - s_{n-1} (n≥2n\ge2) and a1=s1a_1 = s_1.

Example 5b. The partial sum of a series is given as sn=3−1ns_n = 3-\dfrac{1}{n}. Then a1=s1=2a_1 = s_1 = 2, and for n≥2n\ge2, an=(3−1n)−(3−1n−1)=1n−1−1n=1n(n−1)a_n = \left(3-\dfrac1n\right)-\left(3-\dfrac{1}{n-1}\right) = \dfrac{1}{n-1}-\dfrac1n = \dfrac{1}{n(n-1)}. The sum is lim⁡sn=3\lim s_n = 3. Note: an→0a_n\to0 but the sum is not 00, it is 33. The limit of the term and the sum of the series are completely separate things.

Rules for operating on series

If ∑an=A\sum a_n = A and ∑bn=B\sum b_n = B, then

∑(an±bn)=A±B,∑c an=cA.\sum(a_n\pm b_n) = A\pm B,\qquad \sum c\,a_n = cA.

Consequences:

  • Convergent + divergent = divergent. (∑(1n+12n)\sum(\frac1n+\frac1{2^n}) diverges.)
  • Nothing general can be said about divergent + divergent. ∑1+∑(−1)\sum 1 + \sum(-1) gives ∑0=0\sum 0 = 0 term by term.
  • Adding or dropping a finite number of terms does not change convergence, it only changes the sum. ∑n=1∞an\sum_{n=1}^\infty a_n and ∑n=10∞an\sum_{n=10}^\infty a_n share the same fate. That is why saying “for large enough nn” is enough in tests.
  • Index shift: ∑n=1∞an=∑n=0∞an+1\sum_{n=1}^\infty a_n = \sum_{n=0}^\infty a_{n+1}. It does not change the sum, only the way it is written.

Telescoping series

If the term can be put in the form bn−bn+kb_n - b_{n+k}, the middle terms cancel each other in the partial sum.

Example 6. ∑n=1∞1n(n+1)\displaystyle\sum_{n=1}^\infty\frac{1}{n(n+1)}. Partial fractions: 1n(n+1)=1n−1n+1\dfrac{1}{n(n+1)} = \dfrac1n-\dfrac{1}{n+1}.

s_n = (1 - 1/2) + (1/2 - 1/3) + (1/3 - 1/4) + ... + (1/n - 1/(n+1))
    = 1 - 1/(n+1)          (the middle terms cancelled)
lim s_n = 1

Example 7. ∑n=2∞2n2−1\displaystyle\sum_{n=2}^\infty\frac{2}{n^2-1}. 2(n−1)(n+1)=1n−1−1n+1\dfrac{2}{(n-1)(n+1)} = \dfrac{1}{n-1}-\dfrac{1}{n+1}. This time the terms cancel two steps apart:

n=2: 1   - 1/3
n=3: 1/2 - 1/4
n=4: 1/3 - 1/5      ← 1/3 cancelled here
n=5: 1/4 - 1/6
...
s_n = 1 + 1/2 - 1/n - 1/(n+1)  →  3/2

The rule for finding how many terms are left: if the difference is bn−bn+kb_n - b_{n+k}, then kk positive terms from the start and kk negative terms from the end are left.

TIP · look at the starting index. Example 7 starts at n=2n=2. If it started at n=1n=1 the term would be undefined (n2−1=0n^2-1=0). Always write the remaining terms according to the first index.

The sequence converges, the series diverges

The terms of the harmonic series ∑1n\sum\frac1n go to 00, but the sum is infinite. You can see it by grouping:

1+12+13+14⏟>1/2+15+⋯+18⏟>1/2+19+⋯+116⏟>1/2+…1+\tfrac12+\underbrace{\tfrac13+\tfrac14}_{>1/2}+\underbrace{\tfrac15+\dots+\tfrac18}_{>1/2}+\underbrace{\tfrac19+\dots+\tfrac1{16}}_{>1/2}+\dots

Each group adds at least 1/21/2, and there are infinitely many groups. In the same way ∑1n\sum\frac{1}{\sqrt n} diverges too. The topic of the next two weeks is exactly this: which test tells you whether a series converges when the terms go to zero.

Common mistakes

WrongCorrect
If an→0a_n\to0 then ∑an\sum a_n convergesHarmonic series: 1/n→01/n\to0, ∑1/n=∞\sum 1/n=\infty
Taking the limit of the sequence as the sum of the seriesSum =lim⁡sn=\lim s_n, not lim⁡an\lim a_n
Differentiating directly with respect to nnWrite f(x)f(x), apply L’Hôpital in xx
(−1)nnn+1→1(-1)^n\dfrac{n}{n+1}\to 1It piles up at two values, diverges
Leaving a single term in a telescoping seriesIf it is bn−bn+2b_n-b_{n+2}, two terms are left
Solving L=f(L)L=f(L) and not checking the rootEliminate the negative or non-fitting root
Setting up L=f(L)L=f(L) without showing convergenceShow that it is monotone + bounded
∞−∞=0\infty-\infty = 0Multiply by the conjugate; n2+4n−n→2\sqrt{n^2+4n}-n\to2

Test yourself

Exam-style questions. Solve them on paper first, then reveal the answer.

Question 1easy

Find lim⁡n→∞3n2−n5n2+2\displaystyle\lim_{n\to\infty} \frac{3n^2-n}{5n^2+2}.

Show answer
3/53/5

Divide the numerator and denominator by n2n^2: 3−1/n5+2/n2→35\dfrac{3-1/n}{5+2/n^2}\to\dfrac{3}{5}.
If the degrees are equal, the limit is the ratio of the leading coefficients.

Question 2medium

Find lim⁡n→∞(1+2n)n\displaystyle\lim_{n\to\infty}\left(1+\frac{2}{n}\right)^n.

Show answer
e2e^2

Standard limit: (1+xn)n→ex\left(1+\dfrac{x}{n}\right)^n\to e^x. Here x=2x=2.

Question 3easy

Find lim⁡n→∞(5n)1/n\displaystyle\lim_{n\to\infty} (5n)^{1/n}.

Show answer
11

(5n)1/n=51/n⋅n1/n(5n)^{1/n} = 5^{1/n}\cdot n^{1/n}. Two standard limits: 51/n→15^{1/n}\to 1 and n1/n→1n^{1/n}\to 1. The product is 11.

Question 4easy

Find lim⁡n→∞sin⁡nn\displaystyle\lim_{n\to\infty}\frac{\sin n}{n}.

Show answer
00

Since −1≤sin⁡n≤1-1\le\sin n\le 1, we have −1n≤sin⁡nn≤1n-\dfrac1n\le\dfrac{\sin n}{n}\le\dfrac1n.
Both ends go to 00. By the squeeze theorem, the limit is 00.

Question 5medium

Find lim⁡n→∞(n2+4n−n)\displaystyle\lim_{n\to\infty}\left(\sqrt{n^2+4n}-n\right).

Show answer
22

∞−∞\infty-\infty. Multiply by the conjugate: (n2+4n)−n2n2+4n+n=4nn2+4n+n\dfrac{(n^2+4n)-n^2}{\sqrt{n^2+4n}+n} = \dfrac{4n}{\sqrt{n^2+4n}+n}.
Divide by nn: 41+4/n+1→42=2\dfrac{4}{\sqrt{1+4/n}+1}\to\dfrac{4}{2}=2.

Question 6medium

Find lim⁡n→∞(ln⁡(2n+1)−ln⁡n)\displaystyle\lim_{n\to\infty}\big(\ln(2n+1)-\ln n\big).

Show answer
ln⁡2\ln 2

Combine the logarithms: ln⁡2n+1n=ln⁡(2+1n)\ln\dfrac{2n+1}{n} = \ln\left(2+\dfrac1n\right).
Since ln⁡\ln is continuous, the limit goes inside: ln⁡2\ln 2.

Question 7easy

Does an=(−1)nnn+1a_n = (-1)^n\dfrac{n}{n+1} converge?

Show answer
No, it diverges

nn+1→1\dfrac{n}{n+1}\to 1. For even nn the terms approach 11, for odd nn they approach −1-1.
Because it piles up at two different values, the sequence has no limit, it diverges.
Note: (−1)nbn(-1)^n b_n converges only if bn→0b_n\to 0.

Question 8medium

Find the sum ∑n=1∞1(n+1)(n+3)\displaystyle\sum_{n=1}^{\infty}\frac{1}{(n+1)(n+3)}.

Show answer
5/125/12

Partial fractions: 1(n+1)(n+3)=12(1n+1−1n+3)\dfrac{1}{(n+1)(n+3)} = \dfrac12\left(\dfrac{1}{n+1}-\dfrac{1}{n+3}\right).
The terms cancel two steps apart. What is left is the first two positive terms: 12(12+13)\dfrac12\left(\dfrac12+\dfrac13\right).sn=12(12+13−1n+2−1n+3)→12⋅56=512s_n = \dfrac12\left(\dfrac12+\dfrac13-\dfrac{1}{n+2}-\dfrac{1}{n+3}\right)\to\dfrac12\cdot\dfrac56=\dfrac{5}{12}.

Question 9hard

The nnth partial sum of a series ∑an\sum a_n is sn=2nn+1s_n = \dfrac{2n}{n+1}. Find a3a_3 and the sum of the series.

Show answer
a3=1/6a_3 = 1/6, sum =2= 2

an=sn−sn−1a_n = s_n - s_{n-1}. a3=s3−s2=64−43=18−1612=16a_3 = s_3 - s_2 = \dfrac{6}{4}-\dfrac{4}{3} = \dfrac{18-16}{12} = \dfrac16.
The sum of the series is the limit of the partial sums: lim⁡2nn+1=2\lim\dfrac{2n}{n+1} = 2.

Question 10medium

Does ∑n=1∞ln⁡nn+1\displaystyle\sum_{n=1}^{\infty}\ln\frac{n}{n+1} converge?

Show answer
No, it diverges to −∞-\infty

ln⁡nn+1=ln⁡n−ln⁡(n+1)\ln\dfrac{n}{n+1} = \ln n - \ln(n+1), telescoping.sn=(ln⁡1−ln⁡2)+(ln⁡2−ln⁡3)+⋯+(ln⁡n−ln⁡(n+1))=−ln⁡(n+1)→−∞s_n = (\ln1-\ln2)+(\ln2-\ln3)+\dots+(\ln n-\ln(n+1)) = -\ln(n+1)\to-\infty.
Even though the terms go to 00, the partial sum is unbounded, so the series diverges.

Question 11hard

Let a1=1a_1 = 1 and an+1=2+ana_{n+1} = \sqrt{2+a_n}. Assuming the sequence converges, find its limit.

Show answer
22

Let the limit be LL. Take n→∞n\to\infty on both sides: L=2+LL = \sqrt{2+L}.
Square: L2−L−2=0L^2 - L - 2 = 0, (L−2)(L+1)=0(L-2)(L+1)=0. The terms are positive, so L=−1L=-1 is eliminated. L=2L=2.
(Since the sequence is increasing and bounded by 22, the Monotone Sequence Theorem guarantees convergence.)

Question 12hard

Find the sum ∑n=1∞(1n−1n+2)\displaystyle\sum_{n=1}^{\infty}\left(\frac1n-\frac{1}{n+2}\right).

Show answer
3/23/2

Telescoping but two steps apart. Write the first terms: (1−13)+(12−14)+(13−15)+…(1-\tfrac13)+(\tfrac12-\tfrac14)+(\tfrac13-\tfrac15)+\dotsThe negative terms come back two steps later as positive and cancel. What is left: 1+121+\tfrac12.sn=1+12−1n+1−1n+2→32s_n = 1+\tfrac12-\tfrac{1}{n+1}-\tfrac{1}{n+2}\to\tfrac32.

Verification: Sequence limits were checked at a large n (1e7), series sums with partial sums of 1e6 terms, and the recursive sequence with 100 iteration steps in node (verify/MAT1052/02.mjs).

Review card

Sequence: converges if a_n → L. No limit / ±∞ → diverges Rational: equal degrees → ratio of leading coefficients; smaller numerator → 0; larger numerator → ∞ Standard limits: n^(1/n)→1 c^(1/n)→1 (1+x/n)^n→e^x x^n→0 (|x|<1) ln n/n→0 x^n/n!→0 Squeeze: b_n ≤ a_n ≤ c_n, b,c → L gives a → L. |a_n|→0 gives a_n→0 If f(x)→L then f(n)→L: apply L'Hopital in x Monotone + bounded → converges. Recursion: solve L = f(L), throw away the root that does not fit (-1)^n b_n: converges only if b_n→0 Series: s_n = a_1+...+a_n. Sum = lim s_n a_n = s_n - s_(n-1) Telescoping: split into partial fractions, write s_n EXPLICITLY, then take the limit Sequence converges ≠ series converges: 1/n → 0 but Σ1/n = ∞