Math Core

Lesson 6.1 · Infinite Sequences and Series

Sequences and convergence

Before you can add up infinitely many numbers, you need a precise way to talk about an infinite list of numbers and where it is heading. That list is a sequence, and the question "where is it heading?" is a limit question you already know how to answer.

What a sequence is

A sequence is an ordered, never-ending list of numbers:

a1,  a2,  a3,  …,  an,  …a_1, \; a_2, \; a_3, \; \dots, \; a_n, \; \dots

The number ana_n is the nnth term. Most sequences you meet on the AP exam are given by an explicit formula. For example, an=nn+1a_n = \dfrac{n}{n+1} produces

12,  23,  34,  45,  …\frac{1}{2}, \; \frac{2}{3}, \; \frac{3}{4}, \; \frac{4}{5}, \; \dots

You can think of a sequence as a function whose inputs are only the positive integers, an=f(n)a_n = f(n). Its graph is a string of separate dots rather than a curve. Sometimes the index starts at n=0n = 0 instead of n=1n = 1; the starting point never affects whether the sequence converges.

A sequence can also be defined recursively, by giving a first term and a rule for getting each term from the one before, such as a1=1a_1 = 1 and an+1=2an+1a_{n+1} = 2a_n + 1, which gives 1,3,7,15,…1, 3, 7, 15, \dots

Convergence

As nn grows, the terms of nn+1\dfrac{n}{n+1} creep closer and closer to 11. That is exactly what a limit at infinity describes.

Definition

Convergent sequence

A sequence {an}\{a_n\} converges to the number LL if ana_n gets arbitrarily close to LL for all sufficiently large nn. We write

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

If no such finite number LL exists, the sequence diverges.

A sequence can diverge in two different ways. It can grow without bound, like an=n2a_n = n^2 (we say it diverges to ∞\infty), or it can bounce around forever without settling, like an=(−1)na_n = (-1)^n, which alternates −1,1,−1,1,…-1, 1, -1, 1, \dots

The terms of a_n = n/(n+1) climb toward the horizontal line y = 1.Open in grapher →

Tools for finding the limit

The big advantage of the function point of view is this: if an=f(n)a_n = f(n) and lim⁡x→∞f(x)=L\displaystyle\lim_{x \to \infty} f(x) = L, then lim⁡n→∞an=L\displaystyle\lim_{n \to \infty} a_n = L as well. So every limit technique you already have still works.

Finding the limit of a sequence

  • Rational expressions: compare the highest powers of nn in the numerator and denominator.
  • Indeterminate forms such as ∞∞\dfrac{\infty}{\infty}: rewrite ana_n as f(x)f(x) and use L'Hospital's Rule.
  • Growth rates: for large nn, ln⁡n≪np≪bn≪n!\ln n \ll n^p \ll b^n \ll n! (for any p>0p > 0 and b>1b > 1). A slower-growing quantity divided by a faster one goes to 00.
  • Squeeze Theorem: if bn≤an≤cnb_n \le a_n \le c_n and both bnb_n and cnc_n approach LL, so does ana_n.
  • Absolute value: if ∣an∣→0|a_n| \to 0, then an→0a_n \to 0.

A few limits come up so often that they are worth memorizing:

lim⁡n→∞1np=0  (p>0),lim⁡n→∞rn=0  (∣r∣<1),lim⁡n→∞(1+kn)n=ek.\lim_{n\to\infty} \frac{1}{n^p} = 0 \;(p > 0), \qquad \lim_{n\to\infty} r^n = 0 \;(|r| < 1), \qquad \lim_{n\to\infty} \left(1 + \frac{k}{n}\right)^n = e^k.

Worked examples

Worked example: A rational sequence

Determine whether an=5n2−32n2+7na_n = \dfrac{5n^2 - 3}{2n^2 + 7n} converges, and if so, find its limit.

Solution. The highest power in both the numerator and the denominator is n2n^2. Divide every term by n2n^2:

an=5−3n22+7n  ⟶  5−02+0=52.a_n = \frac{5 - \frac{3}{n^2}}{2 + \frac{7}{n}} \;\longrightarrow\; \frac{5 - 0}{2 + 0} = \frac{5}{2}.

The sequence converges to 52\dfrac{5}{2}.

Worked example: Using L'Hospital's Rule

Find lim⁡n→∞n2en\displaystyle\lim_{n\to\infty} \frac{n^2}{e^n}.

Solution. This has the form ∞∞\dfrac{\infty}{\infty}. Let f(x)=x2exf(x) = \dfrac{x^2}{e^x} and apply L'Hospital's Rule twice:

lim⁡x→∞x2ex=lim⁡x→∞2xex=lim⁡x→∞2ex=0.\lim_{x\to\infty} \frac{x^2}{e^x} = \lim_{x\to\infty} \frac{2x}{e^x} = \lim_{x\to\infty} \frac{2}{e^x} = 0.

So the sequence converges to 00, which matches the growth-rate rule: exponentials beat powers.

Worked example: An oscillating sequence

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

Solution. The size of the terms, nn+4\dfrac{n}{n+4}, approaches 11. So for large nn the even terms are close to 11 and the odd terms are close to −1-1. The terms never settle on a single value, so the sequence diverges.

Compare this with bn=(−1)nnb_n = \dfrac{(-1)^n}{n}. Here ∣bn∣=1n→0|b_n| = \dfrac{1}{n} \to 0, so bn→0b_n \to 0 and the sequence converges.

Worked example: A recursive sequence

The sequence defined by a1=1a_1 = 1 and an+1=12an+4a_{n+1} = \dfrac{1}{2}a_n + 4 is known to converge. Find its limit.

Solution. If an→La_n \to L, then an+1→La_{n+1} \to L too. Take the limit of both sides of the recursion:

L=12L+4⟹12L=4⟹L=8.L = \frac{1}{2}L + 4 \quad\Longrightarrow\quad \frac{1}{2}L = 4 \quad\Longrightarrow\quad L = 8.

(The first few terms are 1,4.5,6.25,7.125,…1, 4.5, 6.25, 7.125, \dots, which are indeed approaching 88.)

Common mistake

Do not confuse a sequence with a series. The sequence 1n\dfrac{1}{n} converges to 00. The series 1+12+13+⋯1 + \dfrac{1}{2} + \dfrac{1}{3} + \cdots, which adds those terms, turns out to diverge. A sequence converging to 00 does not mean the sum of its terms is finite. You will see why in the next lessons.

Tip

When you suspect a sequence oscillates, look at ∣an∣|a_n| first. If ∣an∣→0|a_n| \to 0, the sequence converges to 00. If ∣an∣|a_n| approaches a positive number while the sign keeps flipping, the sequence diverges.

Practice

Practice 1

Find lim⁡n→∞3n+1n+2\displaystyle\lim_{n\to\infty} \frac{3n + 1}{n + 2}.

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

Practice 2

Find the limit of the sequence an=2n2−54n2+na_n = \dfrac{2n^2 - 5}{4n^2 + n}.

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

Practice 3

Which of the following sequences diverges?

Practice 4

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

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

Practice 5

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

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

Practice 6

Find lim⁡n→∞nsin⁡ ⁣(1n)\displaystyle\lim_{n\to\infty} n \sin\!\left(\frac{1}{n}\right).

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

Practice 7

A convergent sequence satisfies a1=2a_1 = 2 and an+1=an+62a_{n+1} = \dfrac{a_n + 6}{2}. Find lim⁡n→∞an\displaystyle\lim_{n\to\infty} a_n.

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

Practice 8

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

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