Math Core

Lesson 10.1 · Sequences, Series and Counting

Sequences and series

You've met arithmetic and geometric sequences before. In precalculus the questions get sharper: where is a sequence heading as nn grows, how can you add up a hundred (or infinitely many) terms without adding them one by one, and when does an infinite sum even make sense? These ideas are the doorway to limits and to the series you'll study in calculus.

Sequences are functions on the positive integers

Definition

Sequence

A sequence is a function whose domain is the positive integers (sometimes the nonnegative integers). Its outputs a1,a2,a3,…a_1, a_2, a_3, \dots are the terms, and ana_n is the general term.

A sequence can be given explicitly, by a formula for ana_n in terms of nn, such as an=2nn+1a_n = \dfrac{2n}{n + 1}, or recursively, by a starting value and a rule that builds each term from earlier ones, such as a1=3a_1 = 3, an+1=2an−1a_{n+1} = 2a_n - 1.

Two families have simple formulas you should know cold:

ArithmeticGeometric
Ruleadd dd each stepmultiply by rr each step
nnth terman=a1+(n−1)da_n = a_1 + (n - 1)dan=a1r n−1a_n = a_1 r^{\,n-1}
Sum of first nn termsSn=n(a1+an)2S_n = \dfrac{n(a_1 + a_n)}{2}Sn=a1⋅1−rn1−rS_n = a_1 \cdot \dfrac{1 - r^n}{1 - r}, r≠1r \ne 1

Since a sequence is a function, you can graph it. The graph is a set of isolated dots, one for each nn, not a connected curve.

The terms of a_n = 2n/(n + 1) creep up toward the dashed line y = 2 but never reach it.Open in grapher →

Where is a sequence heading?

Look at an=2nn+1a_n = \dfrac{2n}{n+1}: the terms are 1,43,32,85,…1, \tfrac43, \tfrac32, \tfrac85, \dots and a1000=20001001≈1.998a_{1000} = \tfrac{2000}{1001} \approx 1.998. The terms get as close to 22 as you like once nn is large enough. We say the sequence converges to 22 and write

lim⁡n→∞an=2.\lim_{n \to \infty} a_n = 2.

A sequence that doesn't settle on a single finite number diverges. It might grow without bound (an=n2a_n = n^2), or bounce between values forever (an=(−1)na_n = (-1)^n, which alternates −1,1,−1,1,…-1, 1, -1, 1, \dots).

A few facts handle most sequences you'll see now:

  • 1n→0\dfrac{1}{n} \to 0, and more generally cnp→0\dfrac{c}{n^p} \to 0 for any constant cc and p>0p > 0.
  • rn→0r^n \to 0 when ∣r∣<1|r| < 1; rnr^n diverges when ∣r∣>1|r| > 1 or r=−1r = -1.
  • For a ratio of polynomials in nn, divide the top and bottom by the highest power of nn in the denominator. This is the same reasoning you used for horizontal asymptotes of rational functions.

Worked example: Finding a limit by dividing by the highest power

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

Divide every term by n2n^2:

3n2−5n6n2+1=3−5n6+1n2.\frac{3n^2 - 5n}{6n^2 + 1} = \frac{3 - \dfrac{5}{n}}{6 + \dfrac{1}{n^2}}.

As n→∞n \to \infty, 5n→0\dfrac{5}{n} \to 0 and 1n2→0\dfrac{1}{n^2} \to 0, so the limit is 36=12\dfrac{3}{6} = \dfrac{1}{2}.

Sigma notation and its rules

A series is a sum of terms of a sequence. Sigma notation packs a long sum into one line:

∑k=1nak=a1+a2+⋯+an.\sum_{k=1}^{n} a_k = a_1 + a_2 + \cdots + a_n.

Because addition is commutative and multiplication distributes over it, sigma behaves linearly:

∑k=1n(ak+bk)=∑k=1nak+∑k=1nbk,∑k=1nc ak=c∑k=1nak,∑k=1nc=cn.\sum_{k=1}^{n} (a_k + b_k) = \sum_{k=1}^{n} a_k + \sum_{k=1}^{n} b_k, \qquad \sum_{k=1}^{n} c\,a_k = c\sum_{k=1}^{n} a_k, \qquad \sum_{k=1}^{n} c = cn.

Combine these with three power-sum formulas and you can add any polynomial sequence quickly.

Power sums

∑k=1nk=n(n+1)2,∑k=1nk2=n(n+1)(2n+1)6,∑k=1nk3=(n(n+1)2)2.\sum_{k=1}^{n} k = \frac{n(n+1)}{2}, \qquad \sum_{k=1}^{n} k^2 = \frac{n(n+1)(2n+1)}{6}, \qquad \sum_{k=1}^{n} k^3 = \left(\frac{n(n+1)}{2}\right)^2.

The first formula comes from pairing the first and last terms. You'll prove the other two in the next lesson with mathematical induction.

Worked example: Using the power sums

Evaluate ∑k=120(3k2−2k)\displaystyle\sum_{k=1}^{20} (3k^2 - 2k).

Split the sum and pull out the constants:

∑k=120(3k2−2k)=3∑k=120k2−2∑k=120k.\sum_{k=1}^{20} (3k^2 - 2k) = 3\sum_{k=1}^{20} k^2 - 2\sum_{k=1}^{20} k.

With n=20n = 20: ∑k2=20⋅21⋅416=2870\displaystyle\sum k^2 = \frac{20 \cdot 21 \cdot 41}{6} = 2870 and ∑k=20⋅212=210\displaystyle\sum k = \frac{20 \cdot 21}{2} = 210. So the sum is

3(2870)−2(210)=8610−420=8190.3(2870) - 2(210) = 8610 - 420 = 8190.

Common mistake

∑(akbk)\displaystyle\sum (a_k b_k) is not (∑ak)(∑bk)\left(\sum a_k\right)\left(\sum b_k\right). For example, ∑k=12k⋅k=1+4=5\displaystyle\sum_{k=1}^{2} k \cdot k = 1 + 4 = 5, but (1+2)(1+2)=9(1 + 2)(1 + 2) = 9. Sigma splits over sums and pulls out constants, and that's all.

Telescoping sums

Sometimes each term is a difference, and consecutive terms cancel like the sections of a collapsing telescope. The classic example uses the partial-fraction identity

1k(k+1)=1k−1k+1.\frac{1}{k(k+1)} = \frac{1}{k} - \frac{1}{k+1}.

Worked example: A telescoping sum

Find ∑k=1n1k(k+1)\displaystyle\sum_{k=1}^{n} \frac{1}{k(k+1)} and its value when n=49n = 49.

Rewrite each term and write out the sum:

(1−12)+(12−13)+(13−14)+⋯+(1n−1n+1).\left(1 - \tfrac12\right) + \left(\tfrac12 - \tfrac13\right) + \left(\tfrac13 - \tfrac14\right) + \cdots + \left(\tfrac1n - \tfrac{1}{n+1}\right).

Every inner fraction appears once with a plus sign and once with a minus sign, so only the first and last pieces survive:

∑k=1n1k(k+1)=1−1n+1=nn+1.\sum_{k=1}^{n} \frac{1}{k(k+1)} = 1 - \frac{1}{n+1} = \frac{n}{n+1}.

When n=49n = 49 the sum is 4950\dfrac{49}{50}.

Infinite series

What could 12+14+18+⋯\dfrac12 + \dfrac14 + \dfrac18 + \cdots mean when there's no last term? Look at the partial sums SnS_n, the sum of the first nn terms: S1=12S_1 = \tfrac12, S2=34S_2 = \tfrac34, S3=78S_3 = \tfrac78, and in general Sn=1−12nS_n = 1 - \tfrac{1}{2^n}. These partial sums form a sequence of their own, and it converges to 11. We define the infinite sum to be that limit.

Sum of an infinite series

∑k=1∞ak=lim⁡n→∞Sn\displaystyle\sum_{k=1}^{\infty} a_k = \lim_{n \to \infty} S_n when that limit exists; the series then converges. Otherwise the series diverges. For a geometric series,

∑k=1∞a1r k−1=a11−rif ∣r∣<1,\sum_{k=1}^{\infty} a_1 r^{\,k-1} = \frac{a_1}{1 - r} \quad \text{if } |r| < 1,

and the series diverges if ∣r∣≥1|r| \ge 1.

The formula follows from the finite sum: Sn=a11−rn1−rS_n = a_1\dfrac{1 - r^n}{1 - r}, and rn→0r^n \to 0 exactly when ∣r∣<1|r| < 1. Telescoping series can also have infinite sums: from the example above, nn+1→1\dfrac{n}{n+1} \to 1, so ∑k=1∞1k(k+1)=1\displaystyle\sum_{k=1}^{\infty} \frac{1}{k(k+1)} = 1.

Worked example: When does a series converge?

For which xx does ∑k=0∞(x−13)k\displaystyle\sum_{k=0}^{\infty} \left(\frac{x - 1}{3}\right)^{k} converge, and what is its sum?

This is geometric with first term 11 and ratio r=x−13r = \dfrac{x-1}{3}. It converges when ∣r∣<1|r| < 1:

∣x−13∣<1  ⟺  −3<x−1<3  ⟺  −2<x<4.\left|\frac{x - 1}{3}\right| < 1 \iff -3 < x - 1 < 3 \iff -2 < x < 4.

On that interval the sum is 11−x−13=33−(x−1)=34−x\dfrac{1}{1 - \frac{x-1}{3}} = \dfrac{3}{3 - (x - 1)} = \dfrac{3}{4 - x}. For example, at x=2x = 2 the series is 1+13+19+⋯=321 + \tfrac13 + \tfrac19 + \cdots = \tfrac32, and 34−2=32\dfrac{3}{4 - 2} = \dfrac32. ✓

Tip

Terms shrinking to 00 is necessary for an infinite series to converge, but not enough. The harmonic series 1+12+13+14+⋯1 + \tfrac12 + \tfrac13 + \tfrac14 + \cdots has terms going to 00, yet it diverges: 13+14>12\tfrac13 + \tfrac14 > \tfrac12, 15+⋯+18>12\tfrac15 + \cdots + \tfrac18 > \tfrac12, and you can keep finding groups worth more than 12\tfrac12 forever.

Practice

Practice 1

Find lim⁡n→∞5n−22n+7\displaystyle\lim_{n \to \infty} \frac{5n - 2}{2n + 7}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

Which sequence diverges?

Practice 3

A sequence is defined by a1=2a_1 = 2 and an+1=3an−1a_{n+1} = 3a_n - 1. Find a5a_5.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Evaluate ∑k=112(2k+3)\displaystyle\sum_{k=1}^{12} (2k + 3).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Evaluate ∑k=110(k2−k)\displaystyle\sum_{k=1}^{10} (k^2 - k).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

Find the sum of the infinite series ∑k=1∞6(−12)k\displaystyle\sum_{k=1}^{\infty} 6\left(-\frac{1}{2}\right)^{k}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Evaluate ∑k=1991k(k+1)\displaystyle\sum_{k=1}^{99} \frac{1}{k(k+1)}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

Find ∑k=1∞2k(k+2)\displaystyle\sum_{k=1}^{\infty} \frac{2}{k(k+2)}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.