MatheramaMatherama
← Sequence and Series
Sequence and Series·Section 1·20 min read

Introduction

What is a sequence?§

Informal Definition§

A sequence is an ordered list of mathematical objects, such as real numbers, complex numbers, matrices, or any other mathematical objects, arranged in a specific order separated by commas. Sequences can be finite, with a limited number of terms, or infinite, extending indefinitely.

The order of the elements in a sequence is crucial, and each element is called a term of the sequence. For example, the sequence of powers of 2, starting from 11, is an infinite sequence 1,2,4,8,16,…1, 2, 4, 8, 16, \ldots, where each term after the first is obtained by multiplying the previous term by 22.

Formal Definition§

Formally, a sequence can be defined as a function f:D→Af: D \rightarrow A, where DD is a domain consisting of either the first nn positive integers {1,2,3,…,n}\{1, 2, 3, \ldots, n\} for a finite sequence of length nn, or the set of all positive integers N={1,2,3,…}\mathbb{N} = \{1, 2, 3, \ldots\} for an infinite sequence. The codomain AA can be any set, such as R\mathbb{R} (the set of real numbers), C\mathbb{C} (the set of complex numbers), or the set of all matrices of a given size or any other set of objects. Element f(n)f(n) in the codomain is the nth term of the sequence.

Notation§

Sequences are often represented using specific notation to succinctly describe their structure and elements. A common notation for sequences is (an)(a_n), where ana_n represents the nth term of the sequence.

For finite sequences, we might specify the range of nn explicitly, such as (an)n=110(a_n)_{n=1}^{10}, indicating the sequence starts at n=1n=1 and ends at n=10n=10. For example, the sequence of the first ten positive even numbers could be denoted as (2n)n=110(2n)_{n=1}^{10}, explicitly listing the terms as 2,4,6,8,10,12,14,16,18,202, 4, 6, 8, 10, 12, 14, 16, 18, 20. Similarly, an infinite sequence might be denoted simply as (an)n=1∞(a_n)_{n=1}^{\infty}, such as (2n)n=1∞(2^n)_{n=1}^{\infty} for the sequence 2,4,8,16,…2, 4, 8, 16, \ldots, indicating it continues indefinitely following the given pattern. This notation is powerful for both its precision in defining the terms of the sequence and its flexibility in representing a wide range of sequences, from simple arithmetic progressions to complex formula-based sequences.

  1. (n2)n=1∞(n^2)_{n=1}^{\infty} represents the sequence of square numbers: 1,4,9,16,25,…1, 4, 9, 16, 25, \ldots, where each term is the square of its position in the sequence, continuing indefinitely.

  2. (1n)n=1∞\left(\frac{1}{n}\right)_{n=1}^{\infty} denotes the sequence of reciprocals of natural numbers: 1,12,13,14,…1, \frac{1}{2}, \frac{1}{3}, \frac{1}{4}, \ldots, illustrating a sequence that approaches zero as nn increases without bound.

  3. ((−1)n)n=1∞((-1)^n)_{n=1}^{\infty} describes the alternating sequence: −1,1,−1,1,−1,…-1, 1, -1, 1, -1, \ldots, where each term switches sign from the previous term, creating a pattern of negative and positive ones.

  4. (3n+1)n=1∞(3n + 1)_{n=1}^{\infty} gives the sequence: 4,7,10,13,16,…4, 7, 10, 13, 16, \ldots, which is an arithmetic sequence with a common difference of 33, starting from 44.

  5. (2n−n)n=1∞(2^{n} - n)_{n=1}^{\infty} generates the sequence: 1,2,5,12,27,…1, 2, 5, 12, 27, \ldots, where each term is the result of subtracting the position nn from 22 raised to the power of nn, showcasing a rapidly increasing sequence as nn grows.

  6. (n2)n=15(n^2)_{n=1}^{5} represents the sequence of square numbers for the first five natural numbers: 1,4,9,16,251, 4, 9, 16, 25. This sequence contains the squares of the numbers 11 through 55, ending after the fifth term.

  7. (1n)n=14\left(\frac{1}{n}\right)_{n=1}^{4} denotes the sequence of reciprocals of the first four natural numbers: 1,12,13,141, \frac{1}{2}, \frac{1}{3}, \frac{1}{4}. This sequence showcases the reciprocals starting from 11 to 14\frac{1}{4}, and it concludes at the fourth term.

  8. (2n−1)n=16(2n - 1)_{n=1}^{6} gives the sequence of the first six odd numbers: 1,3,5,7,9,111, 3, 5, 7, 9, 11. This arithmetic sequence is generated by multiplying nn by 22 and subtracting 11, demonstrating a consistent pattern of odd numbers up to the sixth term.

Index of a sequence§

The index of a sequence refers to the position of an element within the sequence. It acts as an identifier for each term in the sequence, indicating its order or placement. For sequences defined mathematically, the index is typically denoted by a natural number (such as nn, ii, or kk) in the set N\mathbb{N} (which can include 00 if the sequence starts from 00), and it serves as the argument to the sequence's defining function.

For example, in the sequence (an)n=1∞(a_n)_{n=1}^{\infty}, nn is the index of the sequence. It starts from 11 and increases by 11 for each subsequent term, indicating the progression of the sequence. The term ana_n represents the element of the sequence at position nn. The index allows for the direct reference to any term in the sequence, enabling the calculation or identification of sequence elements based on their position.

Methods to define a sequence§

Sequences can be defined in several ways, with the most common methods being through an explicit formula or a recursive definition. Each method provides a systematic approach to generating the terms of a sequence, catering to different kinds of patterns and complexities.

Explicit Formula§

An explicit formula defines the nth term of a sequence directly in terms of nn, without relying on the knowledge of previous terms. It provides a direct rule to calculate any term in the sequence given its position.

Example: Consider the sequence 1,3,9,27,…1, 3, 9, 27, \ldots, where each term is three times the previous term, starting from 11. The explicit formula for this sequence is an=3n−1a_n = 3^{n-1}, where nn is the position of the term in the sequence. This formula allows for the direct computation of any term in the sequence without needing to calculate the preceding terms. For instance, to find the 5th term, we simply compute a5=35−1=81a_5 = 3^{5-1} = 81.

Recursive Definition§

A recursive definition specifies each term of a sequence using one or more previous terms, starting with one or more initial terms. This approach defines a sequence by its relationship between successive terms.

Example: Using the same sequence as above 1,3,9,27,…1, 3, 9, 27, \ldots, we can define it recursively by stating that each term is three times the previous term, with the first term given as a1=1a_1 = 1. The recursive formula is then an=3an−1a_n = 3a_{n-1} for n>1n > 1. This means to find a specific term, you start from the initial term and use the formula to find subsequent terms iteratively. For example, to find the 4th term, you would start with a1=1a_1 = 1, then find a2=3⋅1=3a_2 = 3 \cdot 1 = 3, then a3=3⋅3=9a_3 = 3 \cdot 3 = 9, and finally a4=3⋅9=27a_4 = 3 \cdot 9 = 27.

Both methods have their advantages and applications. The explicit formula is useful for calculating terms without iterating through the sequence, ideal for finding terms far into the sequence. The recursive definition is beneficial when the relationship between consecutive terms is simple to describe or when the sequence is naturally defined by its progression from one term to the next.

Convergence and Divergence§

A converging sequence is one that settles into a particular pattern as you go further along its terms, eventually getting closer and closer to a specific value, called the limit. The idea is that as you progress through the sequence, the difference between each term and this limit becomes smaller and smaller, effectively becoming negligible. An example of a converging sequence is 1n\frac{1}{n}, which approaches 00 as nn becomes very large. Another example: consider the sequence (12n)n=1∞\left(\frac{1}{2^n}\right)_{n=1}^{\infty}: 12,14,18,116,…\frac{1}{2}, \frac{1}{4}, \frac{1}{8}, \frac{1}{16}, \ldots

This sequence converges to 00 because as nn increases, 12n\frac{1}{2^n} gets smaller and smaller, approaching 00 more closely with each successive term.

A diverging sequence, on the other hand, doesn't settle down to a single value as you move along its terms. It might keep growing larger and larger, oscillate between values, or behave unpredictably without nearing any specific number. For instance, the sequence nn, which simply counts upwards (1, 2, 3, ...), is divergent because it gets indefinitely large as you go further along the sequence.

Look at the sequence ((−1)n)n=1∞((-1)^n)_{n=1}^{\infty}: −1,1,−1,1,…-1, 1, -1, 1, \ldots

This sequence diverges because it does not approach a single value; instead, it oscillates between −1-1 and 11 indefinitely, never settling down to a specific limit.

A rigorous treatment of convergence tests and divergence belongs to calculus and real analysis, which we develop later when studying limits and infinite series. Here, we focus on algebraic structures, closed-form sums, and classical progressions.

Series§

A series is the sum of the terms of a sequence. It is often represented as the summation of sequence terms ana_n over a specified range of values. If the sequence is infinite, the series is called an infinite series and is written as:

S=a1+a2+a3+…S = a_1 + a_2 + a_3 + \ldots

For a finite sequence, the series sums over a finite number of terms, and can be expressed as:

Sn=a1+a2+…+anS_n = a_1 + a_2 + \ldots + a_n

where nn is the index of the last term in the series. For examples:

  1. For the sequence (1j)j=1n(\frac{1}{j})_{j=1}^n, summing these terms, we denote the sum as

    Sn=11+12+…+1nS_n = \frac{1}{1} + \frac{1}{2} + \ldots + \frac{1}{n}
  2. For the sequence (kk+1)k=0n−1(\frac{k}{k+1})_{k=0}^{n-1}, the sum is represented as

    Sn=01+12+…+n−1nS_n = \frac{0}{1} + \frac{1}{2} + \ldots + \frac{n-1}{n}
  3. For the sequence (r2+r+1)r=0n−1(r^2 + r + 1)_{r=0}^{n-1}, the sum is expressed as

    Sn=(02+0+1)+(12+1+1)+…+((n−1)2+(n−1)+1)S_n = (0^2 + 0 + 1) + (1^2 + 1 + 1) + \ldots + ((n-1)^2 + (n-1) + 1)   ⟹  Sn=1+3+7+13+…+((n−1)2+(n−1)+1)\implies S_n = 1 + 3 + 7 + 13 + \ldots + \left((n-1)^2 + (n-1) + 1\right)

A bit more formal definition of series goes like this:

Definition (Series and Partial Sums):

Let (tn)(t_n) denote a sequence of real numbers. A series generated by (tn)(t_n) is the ordered collection of sums known as partial sums, and is denoted by S=(sk)S = (s_k), where each sks_k is defined as follows:

s1:=t1s_1 := t_1 s2:=s1+t2=(t1+t2)s_2 := s_1 + t_2 = (t_1 + t_2) ⋮\vdots sk:=sk−1+tk=(t1+t2+⋯+tk)s_k := s_{k-1} + t_k = (t_1 + t_2 + \cdots + t_k)

Explanation of Partial Sums:

  1. Initial Partial Sum (s1s_1): The series commences with the first partial sum s1s_1, which is equal to the first term of the sequence, t1t_1.

  2. Subsequent Partial Sums (s2,s3,…s_2, s_3, \ldots): Each subsequent partial sum is obtained by adding the next term in the sequence to the previous partial sum. Thus, the second partial sum s2s_2 is the sum of the first two terms, the third partial sum s3s_3 is the sum of the first three terms, and so forth.

  3. General Partial Sum (sks_k): The k-th partial sum sks_k represents the sum of the first kk terms of the sequence. It encapsulates the cumulative addition of sequence terms up to the k-th position.

Convergence and Divergence of Series:

  • Convergence: If the sequence of partial sums (sk)(s_k) approaches a finite limit as kk increases without bound, the series is said to converge, and the limit is known as the sum of the series.

  • Divergence: If the sequence of partial sums does not approach a finite limit, the series is described as divergent.

Again we will not dive into convergence and divergence more than this, but still it is important for our understanding of series. You can get more idea from the following examples.

Sequence-Sum Relationships§

Finding nth term from the Sum

Let S=(sn)S = (s_n) be a series generated by a sequence T=(tn)T = (t_n) , where each term sns_n of the series SS is defined as the sum of the first nn terms of the sequence TT. Then s1=t1s_1 = t_1, and for each n>1n > 1, tn=sn−sn−1t_n = s_n - s_{n-1}.

Sum of n consecutive terms following the first m terms

Let S=(sk)S = (s_k) be a series generated by a sequence (tn)(t_n). If the sum of the first mm terms of the series is denoted by sms_m, then the sum of the next nn terms is given by sm+n−sms_{m+n} - s_m.

Increasing and Decreasing Behaviour of Sequences§

Increasing Sequence§

Definition: A sequence (an)(a_n) is said to be increasing if for all natural numbers nn, an<an+1a_n < a_{n+1}. This means that each term in the sequence is strictly greater than the preceding term.

Example: Consider the sequence an=na_n = n. This is an increasing sequence because each term is exactly one more than the previous term. For instance, 1<2<3<…1 < 2 < 3 < \ldots.

Decreasing Sequence§

Definition: A sequence (bn)(b_n) is said to be decreasing if for all natural numbers nn, bn>bn+1b_n > b_{n+1}. This means that each term in the sequence is strictly less than the preceding term.

Example: Consider the sequence bn=1nb_n = \frac{1}{n}. This is a decreasing sequence because each term is smaller than the previous term. For example, 11>12>13>…\frac{1}{1} > \frac{1}{2} > \frac{1}{3} > \ldots.

Neither Increasing Nor Decreasing Sequence§

Definition: A sequence (cn)(c_n) is neither increasing nor decreasing if it does not strictly follow either pattern. This means there are terms in the sequence where cn≤cn+1c_n \leq c_{n+1} or cn≥cn+1c_n \geq c_{n+1} without a consistent pattern of strictly increasing or strictly decreasing values.

Example: Consider the sequence cn=(−1)nc_n = (-1)^n. This sequence alternates between -1 and 1, so it is neither increasing nor decreasing. The terms of the sequence are 1,−1,1,−1,…1, -1, 1, -1, \ldots, which does not show a consistent pattern of increase or decrease.

Constant Sequence§

A sequence can also be monotonic without being strictly increasing or decreasing. For example, a sequence dn=2d_n = 2 for all nn is monotonic because it does not increase or decrease; all its terms are equal. This is an example of a constant sequence, which is a special case of a monotonic sequence.

Section 1 of 10 · Sequence and Series

Mark this section complete when you have worked through its proofs.