# Sequences – Serlo

Zur Navigation springen Zur Suche springen

The sequence is one of the most important terms in analysis. On the basis of sequences we will define the term of the limit value later. This in turn allows us to introduce all important concepts of analysis like derivative and continuity.

## Sequences in "everyday life"

An introduction using some simple examples. (YouTube video (in German) by the channel Quatematik)

Maybe, you can think of some examples from your everyday life, where "things line up" as a sequence...

Question: What examples of sequences do you know?

There is no uniquely correct answer to this. Let me give you some examples:

Think of customers queuing anywhere in some well-defined order.

Or think of the order of things you do after getting up: 1. brushing your teeth, 2. taking a shower, 3. getting dressed, 4. making coffee, 5. drinking that coffee, ...

You may also think of sequences that get longer over time. An example which our German colleagues like is the sequence of the nations that won the World Cup (both men and women): 1 Uruguay, 2 Italy, 3 Italy, 4 Uruguay, 6 Germany, ...

All examples have in common that the order of the elements of a sequence is exactly defined. There is an exactly defined order of the sequence elements, which has to be considered. After getting up you should make coffee before drinking it (the reverse order would be suboptimal ).

In addition, one or more objects can appear several times in a sequence. In the sequence of the soccer world champions, some nations appear more than once because they won the soccer world championship more than once. This distinguishes a sequence from a set. For a set it does not make sense to ask how often an element occurs in the set, as it may occur at most once. One can only ask whether an object is an element of a set or not.

Furthermore, you can number the individual sequence members of a sequence. You can say who was the first president of the USA, the second president and so on. So you can assign one or more numbers to each element of a sequence, which indicate at which position this object occurs in the sequence.

Many of the sequences known in everyday life are finite, but infinite sequences are imaginable too. If soccer world championships would be played for all eternity, the sequence of soccer world champions would be infinite.

## Formal definition

Let us now turn to the concept of a sequence in mathematics. The big difference to the notion of sequences in everyday life is, that in mathematics a sequence is always infinitely long. In mathematics there are also "finite sequences", but mathematicians call them"tuples" instead of sequences. ("finite = tuple", "infinite = sequence")

A sequence is thus an infinite sequence ${\displaystyle (a_{1},a_{2},a_{3},a_{4},\ldots )}$ of objects. Here ${\displaystyle a_{1}}$ stands for the object in the first place, ${\displaystyle a_{2}}$ for the object in the second place and so on. For sequences there is the abbreviated notation ${\displaystyle (a_{n})_{n\in \mathbb {N} }}$. This is the (intuitive) definition of a sequence:

A sequence ${\displaystyle (a_{n})_{n\in \mathbb {N} }}$ is an infinite ordered arrangement of elements:

${\displaystyle (a_{n})_{n\in \mathbb {N} }=(a_{1},a_{2},a_{3},a_{4},\ldots )}$

This definition is only intuitive, because we did not define the term "infinite ordered arrangement" exactly. This has to be done for an exact (non-intuitive) definition.

Example (sequence)

The sequence ${\displaystyle (a_{n})_{n\in \mathbb {N} }}$ of real numbers is:

${\displaystyle (a_{n})_{n\in \mathbb {N} }=(1,\,2,\,3,\,4,\,5,\ldots )}$

The sequence ${\displaystyle (b_{n})_{n\in \mathbb {N} }}$ of powers of 2 is:

${\displaystyle (b_{n})_{n\in \mathbb {N} }=(1,\,2,\,4,\,8,\,16,\ldots )}$

Exercise (for understanding): Write the following sequences in the above form within one bracket

1. The sequence of square numbers
2. The sequence of positive odd numbers

1. ${\displaystyle (a_{n})_{n\in \mathbb {N} }=(1,\,4,\,9,\,16,\,25,\ldots )}$
2. ${\displaystyle (b_{n})_{n\in \mathbb {N} }=(1,\,3,\,5,\,7,\,9,\ldots )}$

## Important terms

The single elements ${\displaystyle a_{n}}$ of a sequence are mathematically called sequence elements. They are enumerated by a natural number ${\displaystyle n}$. This natural number is called index. For example, ${\displaystyle a_{4}}$ is the sequence element of index ${\displaystyle 4}$.

For a sequence with elements from the set ${\displaystyle M}$, a sequence elements must be an element of the set ${\displaystyle M}$. For instance, take the sequence ${\displaystyle (1,\ 1,\ 1,\ 2,\ 3,\ 4,\ 5,\ 6,\ldots )}$. The sequence member ${\displaystyle a_{1}}$ is identical to ${\displaystyle a_{2}}$ or ${\displaystyle a_{3}}$, namely the number ${\displaystyle 1}$.

If you refer to the whole sequence, you write ${\displaystyle \left(a_{n}\right)_{n\in \mathbb {N} }}$. Two short notations for ${\displaystyle \left(a_{n}\right)_{n\in \mathbb {N} }}$ are ${\displaystyle (a_{n})_{n}}$ and ${\displaystyle (a_{n})}$. Often the letter ${\displaystyle n}$ is used as an index variable. But every letter can be used as index variable as long as it has no other meaning in the respective context. For instance, ${\displaystyle \left(a_{m}\right)_{m\in \mathbb {N} }}$, ${\displaystyle \left(a_{i}\right)_{i\in \mathbb {N} }}$, ${\displaystyle \left(a_{j}\right)_{j\in \mathbb {N} }}$ or ${\displaystyle \left(a_{k}\right)_{k\in \mathbb {N} }}$ are common, as well.

In real analysis, we consider sequences of real numbers. These special sequences are called real-valued sequences. In the following overview and in the following table all essential terms concerning the components of sequences are summarized:

${\displaystyle (a_{n})_{n\in \mathbb {N} }=\overbrace {(a_{1},\,{\color {OliveGreen}\underbrace {a_{2}} _{\text{sequence element}}},\,a_{3},\,a_{\color {Blue}\underbrace {{}_{4}} _{\text{index}}},\,\ldots )} ^{\text{sequence}}}$
term notation definition
sequence ${\displaystyle (a_{n})_{n\in \mathbb {N} }}$ or ${\displaystyle (a_{n})}$ A sequence is an infinite arrangement of objects.
sequence element ${\displaystyle a_{n}}$ A sequence element is one specific element within a sequence, standing at some position.
index ${\displaystyle n}$ The index is that position, i.e. a natural number.

Warning

Some students tend to imagine a real sequence as a continuous function (especially if they want to draw it). This is not a good intuition, because a real sequence consists only of a sequence of single real numbers and not a continuously drawn line. This is demonstrated by the following comparison of the harmonic sequence ${\displaystyle (a_{n})_{n\in \mathbb {N} }=\left({\tfrac {1}{n}}\right)_{n\in \mathbb {N} }=\left({\tfrac {1}{1}},{\tfrac {1}{2}},{\tfrac {1}{3}},\ldots \right)}$ with the function ${\displaystyle f:\mathbb {R} ^{+}\rightarrow \mathbb {R} ^{+}}$ with ${\displaystyle f(x)={\tfrac {1}{x}}}$. Notice that in contrast to the function ${\displaystyle f(x)={\tfrac {1}{x}}}$ there are only discrete values (single points) in the graph for the harmonic sequence:

The intuition with dots (left side) is better for understanding sequences.

## Definition as a function

### Definition

Above we have intuitively defined the sequence as an infinite arrangement of objects. The term of a function will allow us to make a mathematically precise definition: We take the set of natural numbers and assign to each natural number ${\displaystyle n}$ an object ${\displaystyle a_{n}}$ (where the objects come from some set ${\displaystyle M}$ in which the sequence takes its values). Thus we get an infinite and numbered arrangement of objects, as the following sketch illustrates:

${\displaystyle {\begin{array}{ccccl}1&2&3&4&\ldots \\\downarrow &\downarrow &\downarrow &\downarrow &\\a_{1}&a_{2}&a_{3}&a_{4}&\ldots \end{array}}}$

So a sequence is mathematically a function ${\displaystyle \mathbb {N} \rightarrow M}$For instance, we could write the sequence of Presidents of the US as such a function:

${\displaystyle {\begin{array}{cccccl}1&2&3&4&5&\ldots \\\downarrow &\downarrow &\downarrow &\downarrow &\downarrow &\\{\text{Washington}}&{\text{Adams}}&{\text{Jefferson}}&{\text{Madison}}&{\text{Monroe}}&\ldots \\\end{array}}}$

(For English monarchs, the situation is not so easy as there are different houses with different sequences.)

The function assigns to any natural number ${\displaystyle n}$ the corresponding ${\displaystyle n}$-th sequence element:

Definition (sequence)

A sequence with values in the set ${\displaystyle M}$ is a map

${\displaystyle f:\mathbb {N} \to M:n\mapsto f(n)=:a_{n}}$

we write ${\displaystyle (a_{n})_{n\in \mathbb {N} }}$ instead of ${\displaystyle f}$.

The definition above only uses mathematical terms, so it serves as a mathematically exact definition. Hence, it is used in textbooks as definition for a sequence.

### Remarks

For a sequence ${\displaystyle (a_{n})_{n\in \mathbb {N} }}$ with sequence elements from the set ${\displaystyle M}$ the short form ${\displaystyle (a_{n})_{n\in \mathbb {N} }=(a_{1},a_{2},\ldots )}$ stands for a function ${\displaystyle f:\mathbb {N} \to M,n\mapsto a_{n}}$. So sequences are nothing else than functions.

Let us take the two sequences ${\displaystyle (a_{n})_{n\in \mathbb {N} }=(f:\mathbb {N} \to \mathbb {N} ,n\mapsto n)}$ and ${\displaystyle (b_{n})_{n\in \mathbb {N} }=(g:\mathbb {N} \to \mathbb {R} ,n\mapsto n)}$. Strictly speaking, both sequences are different, because the target sets are ${\displaystyle \mathbb {N} }$ and ${\displaystyle \mathbb {R} }$ , i.e. different and therefore the functions are different, as well. But their "short spellings" do not differ: ${\displaystyle (a_{n})_{n\in \mathbb {N} }=(1,\ 2,\ 3,\ 4,\ldots )}$ and ${\displaystyle (b_{n})_{n\in \mathbb {N} }=(1,\ 2,\ 3,\ 4,\ldots )}$. This distinction becomes obvious, if you call ${\displaystyle (a_{n})_{n\in \mathbb {N} }}$ a sequence in the natural numbers and ${\displaystyle (b_{n})_{n\in \mathbb {N} }}$ a sequence in the real numbers.

To make clear that a sequence ${\displaystyle (a_{n})_{n\in \mathbb {N} }}$ is a mapping from the natural numbers into the set ${\displaystyle M}$, we say that ${\displaystyle (a_{n})_{n\in \mathbb {N} }}$ is a sequence in ${\displaystyle M}$. Sometimes also the notation ${\displaystyle (a_{n})_{n\in \mathbb {N} }\subseteq M}$ is used.

Question: Why is the sequence ${\displaystyle (a_{n})_{n\in \mathbb {N} }}$ not defined as a set ${\displaystyle \{a_{n}|n\in \mathbb {N} \}=\{a_{1},a_{2},a_{3},\ldots \}}$? What differs a sequence and a set?

There are two reasons: Toking the soccer world champion sequence (starting from 1990)

${\displaystyle (a_{n})_{n\in \mathbb {N} }=({\text{Germany, Brazil, France, Brazil, Italy, Spain, Germany, }}\ldots )}$

The map ${\displaystyle f:\mathbb {N} \to \{{\text{countries}}\}}$ is defined by

{\displaystyle {\begin{aligned}&f(1):={\text{Germany}}\ ,\ f(2)={\text{Brazil}}\ ,\ f(3):={\text{France}}\ ,\\&f(4):={\text{Brazil}}\ ,\ f(5):={\text{Italy}}\ ,\ f(6):={\text{Spain}}\ ,\\&f(7):={\text{Germany}}\ ,\ldots \end{aligned}}}
1. In a sequence an element can occur several times. In a set, this is not allowed. Brazil is several times soccer world champion, France (2020) is not. If you look at the sequence ${\displaystyle (a_{n})_{n\in \mathbb {N} }}$, you can see this. If you only know the set of soccer world champions ${\displaystyle \{a_{n}|n\in \mathbb {N} \}=\{{\text{Germany, Brazil, France, }}\ldots \}}$, there is no way to tell whether Brazil is a multiple soccer world champion.
2. In a sequence there is an order of elements. The objects in a set do not have an order. In the sequence ${\displaystyle (a_{n})_{n\in \mathbb {N} }}$, we can read out which country has won the third soccer world championship since 1990: ${\displaystyle a_{3}=f(3)={\text{France}}}$. If we only know the set of soccer world champions ${\displaystyle \{{\text{Germany, Brazil, France, }}\ldots \}=\{{\text{France, Germany, Brazil, }}\ldots \}}$, there is no way to tell which country has won the third soccer world championship since 1990.

## Kinds of sequences

Nested intervals are a sequence of sets.

Folgen können beliebige Objekte als Folgenglieder besitzen. So sind reelle Folgen Folgen von reellen Zahlen. Dies ist auch der Typ der meisten Folgen, die uns in der Analysis begegnen werden. There is aber auch möglich, Folgen von komplexen Zahlen zu haben, welche komplexe Folgen genannt werden. Aber auch Folgen von Mengen oder Folgen von Funktionen sind möglich.

In den letzten Kapiteln haben wir bereits Intervallschachtelungen kennengelernt. Since Intervalle Mengen sind, sind Intervallschachtelungen Beispiele für Folgen von Mengen. Die folgende Tabelle listet einige Beispiele für Folgen auf:

Sequences can have any objects as sequence elements. There are real-valued sequences , which are sequences in the real numbers. Most sequences, which we encounter in real analysis will be of this type. Taking sequences of complex numbers, we get complex-valued sequences. But also sequences of sets or sequences of functions are possible (see the two figures).

In the last articles, we already learned about nested intervals. Since intervals are sets, nested intervals are an example for sequences of sets. The following table lists some examples of sequences:

kind of sequences explicit law the first elements
real sequence ${\displaystyle (a_{n})_{n\in \mathbb {N} }}$ ${\displaystyle a_{n}=n^{2}}$ ${\displaystyle 1,\,4,\,9,\,16,\ldots }$
complex sequence ${\displaystyle (c_{n})_{n\in \mathbb {N} }}$ ${\displaystyle c_{n}=i^{n}}$ ${\displaystyle i,\,-1,\,-i,\,1,\,i,\,\ldots }$
sequence of sets ${\displaystyle (M_{n})_{n\in \mathbb {N} }}$ ${\displaystyle M_{n}=\{k\in \mathbb {N} \,|\,k\leq n\}}$ ${\displaystyle \{1\},\,\{1,\,2\},\,\{1,\,2,\,3\},\,\{1,\,2,\,3,\,4\},\,\ldots }$
sequence of intervals ${\displaystyle (M_{n})_{n\in \mathbb {N} }}$ ${\displaystyle M_{n}=\left[-{\tfrac {1}{n}},\,{\tfrac {1}{n}}\right]}$ ${\displaystyle \left[-1,\,1\right],\,\left[-{\tfrac {1}{2}},\,{\tfrac {1}{2}}\right],\,\left[-{\tfrac {1}{3}},\,{\tfrac {1}{3}}\right],\,\left[-{\tfrac {1}{4}},\,{\tfrac {1}{4}}\right],\,\ldots }$
sequence of functions ${\displaystyle (f_{n})_{n\in \mathbb {N} }}$ ${\displaystyle f_{n}:\mathbb {R} \rightarrow \mathbb {R} :x\mapsto {\tfrac {x^{2}}{n}}}$ ${\displaystyle f_{1}(x)=x^{2},\,f_{2}(x)={\tfrac {x^{2}}{2}},\,f_{3}(x)={\tfrac {x^{2}}{3}},\,f_{4}(x)={\tfrac {x^{2}}{4}},\ldots }$

The explicit law is the formula with which a sequence element can be expressed directly, if just the index is given. There is also a recursive law, which states what an element is in terms of the previous elements. In the next chapter, we will discuss the different laws for sequences in more detail.