Notes on Sequences and Recurrence
Sequences: Basic Concepts A sequence is simply an ordered list of items or numbers. Unlike a set, the order of elements in a sequence is important. Sequences can be either: - Finite: They have a specific number of terms, meaning there's a last term. - Infinite: They continue indefinitely, with no last term. We typically use to represent the '$n$-th' term in a sequence, with being the very first term.
Notation and Indexing of Sequences
There are two main ways to define a sequence:
Explicit (Direct) Definition: This gives a direct formula for finding any term using only its position . It looks like .
Example: The sequence of odd numbers can be explicitly defined by the formula Using this, we can find any term: , , , and so on.
Recursive (Recurrence) Definition: This defines each term based on one or more of the previous terms in the sequence. It requires initial values (like or ) to get started. It looks like .
In the recursive formula :
represents the current term in the sequence that you are trying to find.
is the position or index of the term you are calculating (e.g., if , you are finding the third term).
represents the function or rule that defines how the current term is derived from previous terms.
refers to the term immediately preceding (the term at position ).
refers to the term two positions before (the term at position ).
The "" indicates that a term might depend on even earlier terms (e.g., , ), depending on the specific sequence's rule.
Example: The famous Fibonacci sequence is defined recursively by the formula with its first two terms being This means each term (from the third one onwards) is the sum of the two preceding terms. The sequence unfolds as:
In general, we are interested in both the formula that defines the sequence and the actual numbers it generates.
Arithmetic (Linear) Sequences
Arithmetic sequences, also known as linear sequences, have a constant difference between any two consecutive terms. This consistent difference is called the common difference, denoted by . They can be written using one of these equivalent formulas:
(where is the common difference and is a constant)
(where is the first term and is the common difference) The common difference can always be found by subtracting any term from the term that immediately follows it: . This value will always be the same for all terms in an arithmetic sequence.
Specific Example: Consider the sequence defined by . Let's find its first term and common difference.
The first term is .
The common difference is . If we apply the formula: (You can see this because the coefficient of is .) This means the sequence starts at 11 and decreases by 4 with each step, giving the terms:
Sequences: Basic Concepts A sequence is simply an ordered list of items or numbers. Unlike a set, where the arrangement of elements doesn't matter (e.g., is the same as ), the order of elements in a sequence is crucial. For example, the sequence is distinct from ). Sequences can be either:
Finite: These sequences have a specific, countable number of terms, implying there is a definitive last term. An example would be the sequence of days in a week: .
Infinite: These sequences continue indefinitely without a last term. The sequence of natural numbers is an infinite sequence.
We typically use to represent the '$n$-th' term in a sequence, with being the very first term, the second, and so on. The subscript indicates the position of the term in the sequence.
Notation and Indexing of Sequences
There are two primary methods for defining a sequence:
Explicit (Direct) Definition:
This method provides a direct formula, , that allows you to calculate any term solely based on its position in the sequence. You don't need any preceding terms to find the current one.Example: The sequence of odd numbers can be explicitly defined by the formula . Using this formula, we can directly find any term:
For (the first term):
For (the second term):
For (the third term):
…and so on.
Recursive (Recurrence) Definition:
This approach defines each term in the sequence by relating it to one or more of the previous terms. To use a recursive definition, you must be given one or more initial values (base cases), such as or (or more, depending on the sequence), to start the sequence. The general form is .Let's break down the recursive formula Un = g(U{n-1}, U_{n-2}, \ldots)$ rearrangements:
U_nnn=3gU{n-1}Unn-1U{n-2}Unn-2\ldotsU{n-3}U{n-4}Un = U{n-1} + U{n-2} \text{ for } n \ge 3U1 = 1 \text{ and } U_2 = 1U3 = U2 + U_1 = 1 + 1 = 2U4 = U3 + U_2 = 2 + 1 = 3U5 = U4 + U_3 = 3 + 2 = 51, 1, 2, 3, 5, 8, 13, 21, 34, 55, \ldotsddU_n = a n + baUn = an + bU{n+1} = a(n+1) + bU{n+1} - Un = (a(n+1) + b) - (an + b) = an + a + b - an - b = aabU_0n=0Un = U1 + (n-1)dU_1d(n-1)U_1nU2U1U1 + (2-1)d = U1 + dU3U1U1 + (3-1)d = U1 + 2dn(n-1)U_1dd = U{n+1} - UnU_n = -4n + 15U1n=1U1 = -4(1) + 15 = -4 + 15 = 11dnan+b-4d = -4d = U{n+1} - UnU2U2 = -4(2) + 15 = -8 + 15 = 7d = U2 - U1 = 7 - 11 = -411, 7, 3, -1, -