Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

11.1: Sequences

( \newcommand{\kernel}{\mathrm{null}\,}\)

While the idea of a sequence of numbers, a1,a2,a3, is straightforward, it is useful to think of a sequence as a function. We have up until now dealt with functions whose domains are the real numbers, or a subset of the real numbers, like f(x)=sinx. A sequence is a function with domain the natural numbers N={1,2,3,} or the non-negative integers, Z0={0,1,2,3,}. The range of the function is still allowed to be the real numbers; in symbols, we say that a sequence is a function f:NR. Sequences are written in a few different ways, all equivalent; these all mean the same thing:

a1,a2,a3,{an}n=1{f(n)}n=1

As with functions on the real numbers, we will most often encounter sequences that can be expressed by a formula. We have already seen the sequence ai=f(i)=11/2i, and others are easy to come by:

f(i)=ii+1f(n)=12nf(n)=sin(nπ/6)f(i)=(i1)(i+2)2i.

Frequently these formulas will make sense if thought of either as functions with domain R or N, though occasionally one will make sense only for integer values.

Faced with a sequence we are interested in the limit limif(i)=limiai. We already understand limxf(x) when x is a real valued variable; now we simply want to restrict the "input'' values to be integers. No real difference is required in the definition of limit, except that we specify, perhaps implicitly, that the variable is an integer. Compare this definition to definition 4.10.2.

Definition 11.1.1: Converging and Diverging Sequences

Suppose that {an}n=1 is a sequence. We say that limnan=L if for every ϵ>0 there is an N>0 so that whenever n>N, |anL|<ϵ. If limnan=L we say that the sequence converges, otherwise it diverges.

If f(i) defines a sequence, and f(x) makes sense, and limxf(x)=L, then it is clear that limif(i)=L as well, but it is important to note that the converse of this statement is not true. For example, since limx(1/x)=0, it is clear that also limi(1/i)=0, that is, the numbers

11,12,13,14,15,16,

get closer and closer to 0. Consider this, however: Let f(n)=sin(nπ).

This is the sequence

sin(0π),sin(1π),sin(2π),sin(3π),=0,0,0,0,

since

sin(nπ)=0

when n is an integer. Thus limnf(n)=0. But limxf(x), when x is real, does not exist: as x gets bigger and bigger, the values sin(xπ) do not get closer and closer to a single value, but take on all values between 1 and 1 over and over. In general, whenever you want to know limnf(n) you should first attempt to compute limxf(x), since if the latter exists it is also equal to the first limit. But if for some reason limxf(x) does not exist, it may still be true that limnf(n) exists, but you'll have to figure out another way to compute it.

It is occasionally useful to think of the graph of a sequence. Since the function is defined only for integer values, the graph is just a sequence of dots. In figure 11.1.1 we see the graphs of two sequences and the graphs of the corresponding real functions.

alt

Figure 11.1.1. Graphs of sequences and their corresponding real functions.

Not surprisingly, the properties of limits of real functions translate into properties of sequences quite easily. Theorem 2.3.6 about limits becomes

Definition 11.1.2

Suppose that limnan=L and limnbn=M and k is some constant. Then

limnkan=klimnan=kLlimn(an+bn)=limnan+limnbn=L+Mlimn(anbn)=limnanlimnbn=LMlimn(anbn)=limnanlimnbn=LMlimnanbn=limnanlimnbn=LM, if M is not 0.

Likewise the Squeeze Theorem (4.3.1) becomes

Theorem 11.1.3

Suppose that

anbncn

for all n>N, for some N. If

limnan=limncn=L,

then

limnbn=L.

And a final useful fact:

Theorem 11.1.4

limn|an|=0

if and only if

limnan=0.

This theorem says simply that the size of an gets close to zero if and only if an gets close to zero.

Example 11.1.5

Determine whether {nn+1}n=0 converges or diverges. If it converges, compute the limit.

Solution

Since this makes sense for real numbers we consider

limxxx+1=limx11x+1=10=1.

Thus the sequence converges to 1.

Example 11.1.6

Determine whether {lnnn}n=1 converges or diverges. If it converges, compute the limit.

Solution

We compute limxlnxx=limx1/x1=0, using L'Hôpital's Rule. Thus the sequence converges to 0.

Example 11.1.7

Determine whether {(1)n}n=0 converges or diverges. If it converges, compute the limit.

Solution

This does not make sense for all real exponents, but the sequence is easy to understand: it is 1,1,1,1,1 and clearly diverges.

Example 11.1.8

Determine whether {(1/2)n}n=0 converges or diverges. If it converges, compute the limit.

Solution

We consider the sequence

{|(1/2)n|}n=0={(1/2)n}n=0.

Then

limx(12)x=limx12x=0,

so by theorem 11.1.4 the sequence converges to 0.

Example 11.1.9

Determine whether {(sinn)/n}n=1 converges or diverges. If it converges, compute the limit.

Solution

Since |sinn|1, 0|sinn/n|1/n and we can use theorem 11.1.3 with an=0 and cn=1/n. Since limnan=limncn=0, limnsinn/n=0 and the sequence converges to 0.

Example 11.1.10

A particularly common and useful sequence is {rn}n=0, for various values of r. Some are quite easy to understand: If r=1 the sequence converges to 1 since every term is 1, and likewise if r=0 the sequence converges to 0. If r=1 this is the sequence of example 11.1.7 and diverges. If r>1 or r<1 the terms rn get large without limit, so the sequence diverges. If 0<r<1 then the sequence converges to 0. If 1<r<0 then |rn|=|r|n and 0<|r|<1, so the sequence {|r|n}n=0 converges to 0, so also {rn}n=0 converges to 0. converges. In summary, {rn} converges precisely when 1<r1 in which case limnrn={0 if 1<r<11 if r=1.

Sometimes we will not be able to determine the limit of a sequence, but we still would like to know whether it converges. In some cases we can determine this even without being able to compute the limit.

A sequence is called increasing or sometimes strictly increasing if ai<ai+1 for all i. It is called non-decreasing or sometimes (unfortunately) increasing if aiai+1 for all i. Similarly a sequence is decreasing if ai>ai+1 for all i and non-increasing if aiai+1 for all i. If a sequence has any of these properties it is called monotonic.

Example 11.1.11

The sequence

{2i12i}i=1=12,34,78,1516,

is increasing,

and

{n+1n}i=1=21,32,43,54,

is decreasing.

A sequence is bounded above if there is some number N such that anN for every n, and bounded below if there is some number N such that anN for every n. If a sequence is bounded above and bounded below it is bounded. If a sequence {an}n=0 is increasing or non-decreasing it is bounded below (by a0), and if it is decreasing or non-increasing it is bounded above (by a0). Finally, with all this new terminology we can state an important theorem.

Theorem 11.1.12

If a sequence is bounded and monotonic, then it converges.

We will not prove this; the proof appears in many calculus books. It is not hard to believe: suppose that a sequence is increasing and bounded, so each term is larger than the one before, yet never larger than some fixed value N. The terms must then get closer and closer to some value between a0 and N. It need not be N, since N may be a "too-generous'' upper bound; the limit will be the smallest number that is above all of the terms ai.

Example 11.1.13

All of the terms (2i1)/2i are less than 2, and the sequence is increasing. As we have seen, the limit of the sequence is 1---1 is the smallest number that is bigger than all the terms in the sequence. Similarly, all of the terms (n+1)/n are bigger than 1/2, and the limit is 1---1 is the largest number that is smaller than the terms of the sequence.

We do not actually need to know that a sequence is monotonic to apply this theorem---it is enough to know that the sequence is "eventually'' monotonic, that is, that at some point it becomes increasing or decreasing. For example, the sequence 10, 9, 8, 15, 3, 21, 4, 3/4, 7/8, 15/16, 31/32, is not increasing, because among the first few terms it is not. But starting with the term 3/4 it is increasing, so the theorem tells us that the sequence 3/4,7/8,15/16,31/32, converges. Since convergence depends only on what happens as n gets large, adding a few terms at the beginning can't turn a convergent sequence into a divergent one.

Example 11.1.14

Show that {n1/n} converges.

Solution

We first show that this sequence is decreasing, that is, that n1/n>(n+1)1/(n+1). Consider the real function f(x)=x1/x when x1. We can compute the derivative, f(x)=x1/x(1lnx)/x2, and note that when x3 this is negative. Since the function has negative slope, n1/n>(n+1)1/(n+1) when n3. Since all terms of the sequence are positive, the sequence is decreasing and bounded when n3, and so the sequence converges. (As it happens, we can compute the limit in this case, but we know it converges even without knowing the limit; see exercise 1.)

Example 11.1.15

Show that {n!/nn} converges.

Solution

Again we show that the sequence is decreasing, and since each term is positive the sequence converges. We can't take the derivative this time, as x! doesn't make sense for x real. But we note that if an+1/an<1 then an+1<an, which is what we want to know. So we look at

an+1/an:an+1an=(n+1)!(n+1)n+1nnn!=(n+1)!n!nn(n+1)n+1=n+1n+1(nn+1)n=(nn+1)n<1.

(Again it is possible to compute the limit; see exercise 2.)

Contributors


11.1: Sequences is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

  • Was this article helpful?

Support Center

How can we help?