Skip to main content
Mathematics LibreTexts

1.6: Sequences

  • Page ID
    101009
    • Bob Dumas and John E. McCarthy
    • University of Washington and Washington University in St. Louis
    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    In calculus we think of a sequence as a (possibly infinite) list of objects. We shall expand on that idea somewhat, and express it in the language of functions.

    Definition: Finite sequence, \(\left\langle a_{n} \mid n<N\right\rangle\)

    A finite sequence is a function \(f\) with domain \(\ulcorner N\urcorner\), where \(N \in \mathbb{N}\). We often identify the sequence with the ordered finite set \(\left\langle a_{n} \mid n<N\right\rangle\), where \(a_{n}=f(n)\), for \(0 \leq n<N\).

    This interpretation of a sequence as a type of function is easily extended to infinite sequences.

    Definition: Infinite sequence, \(\left\langle a_{n} \mid n \in \mathbb{N}\right\rangle\)

    An infinite sequence is a function \(f\) with domain \(\mathbb{N}\). We often identify the sequence with the ordered infinite set \(\left\langle a_{n} \mid n \in \mathbb{N}\right\rangle\), where \(a_{n}=f(n)\), for \(n \in \mathbb{N}\).

    REMARK. Interval in \(\mathbb{Z}\) Actually, the word sequence is normally used to mean any function whose domain is an interval in \(\mathbb{Z}\), where an interval in \(\mathbb{Z}\) is the intersection of some real interval with \(\mathbb{Z}\). For convenience in this book, we usually assume that the first element of any sequence is indexed by 0 or 1 .

    Example 1.42

    The sequence \(\langle 0,1,4,9, \ldots\rangle\) is given by the function \(f(n)=n^{2} .\)

    The sequence \(\langle 1,-1,2,-2,3,-3, \ldots\rangle\) is given by the function \[f(n)= \begin{cases}\frac{n}{2}+1, & n \text { even } \\ -\frac{n+1}{2}, & n \text { odd. }\end{cases}\] Sequences can take values in any set (the codomain of the function \(f\) that defines the sequence). We talk of a real sequence if the values are real numbers, an integer sequence if they are all integers, etc. It will turn out later that sequences with values in the two element set \(\{0,1\}\) occur quite frequently, so we have a special name for them: we call them binary sequences.

    Definition: Binary sequence

    A finite binary sequence is a function, \(f:\ulcorner N\urcorner \rightarrow\ulcorner 2\urcorner\), for some \(N \in \mathbb{N}\). An infinite binary sequence is a function, \(f: \mathbb{N} \rightarrow\ulcorner 2\urcorner\).

    We often use the expression \(\left\langle a_{n}\right\rangle\) for the sequence \(\left\langle a_{n} \mid n \in \mathbb{N}\right\rangle\).

    Functions are also used to "index" sets in order to build more complicated sets with generalized set operations. We discussed the union (or intersection) of more than two sets. You might ask whether it is possible to form unions or intersections of a large (infinite) collection of sets. There are two concerns that should be addressed in answering this question. We must be sure that the definition of the union of infinitely many sets is precise; that is, it uniquely characterizes an object in the mathematical universe. We also need notation for managing this idea - how do we specify the sets over which we are taking the union?

    Definition: Infinite union, Index set, \(\bigcup_{n=1}^{\infty} X_{n} \quad\)

    For \(n \in \mathbb{N}^{+}\), let \(X_{n}\) be a set. Then \[\bigcup_{n=1}^{\infty} X_{n}=\left\{x \mid \text { for some } n \in \mathbb{N}^{+}, x \in X_{n}\right\} \text {. }\] The set \(\mathbb{N}^{+}\)is called the index set for the union.

    This may be written in a few different ways.

    NOTATION. \(\bigcup_{n \in \mathbb{N}^{+}} X_{n}\) The following three expressions are all equal:

    1.6.1.jpg
    Figure \(\PageIndex{1}\)

    We can use index sets other than \(\mathbb{N}^{+}\).

    Definition: Family of sets, Indexed union, \(\bigcup_{\alpha \in A} X_{\alpha} \quad\)

    Let \(A\) be a set, and for \(\alpha \in A\), let \(X_{\alpha}\) be a set. The set \[\mathcal{F}=\left\{X_{\alpha} \mid \alpha \in A\right\}\] is called a family of sets indexed by \(A\). Then \[\bigcup_{\alpha \in A} X_{\alpha}=\left\{x \mid x \in X_{\alpha} \text { for some } \alpha \in A\right\} \text {. }\] The notation \(\bigcup_{\alpha \in A} X_{\alpha}\) is read "the union over alpha in A of the sets X sub alpha". So \[x \in \bigcup_{\alpha \in A} X_{\alpha} \text { if } x \in X_{\alpha} \text { for some } \alpha \in A \text {. }\] General intersections over a family of sets are defined analogously : \[\bigcap_{\alpha \in A} X_{\alpha}=\left\{x \mid x \in X_{\alpha} \text { for all } \alpha \in A\right\} .\] ExAMPLE 1.43. Let \(X_{n}=\{n+1, n+2, \ldots, 2 n\}\) for each \(n \in \mathbb{N}^{+}\). Then \[\begin{aligned} &\bigcup_{n=1}^{\infty} X_{n}=\{k \in \mathbb{N} \mid k \geq 2\} \\ &\bigcap_{n=1}^{\infty} X_{n}=\emptyset . \end{aligned}\] Example 1.44. For each positive real number \(t\), let \(Y_{t}=[11 / t, t]\). Then \[\begin{aligned} \bigcup_{t \in(\sqrt{11}, \infty)} Y_{t} &=\mathbb{R}^{+} \\ \bigcap_{t \in[\sqrt{11}, \infty)} Y_{t} &=\{\sqrt{11}\} . \end{aligned}\] ExAMPLE 1.45. Let \(f: X \rightarrow Y, A \subseteq X\) and \(B \subseteq Y\). Then \[\bigcup_{a \in A}\{f(a)\}=f[A] .\] and \[\bigcup_{b \in B} f^{-1}(b)=f^{-1}[B] .\]


    This page titled 1.6: Sequences is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Bob Dumas and John E. McCarthy via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    • Was this article helpful?