Quarry School

Sequences — quick review

Sequences and explicit formulas

In plain words

A sequence is a list of numbers in a fixed order: 3, 5, 7, 9, … Each number is a term, and its place in the list is its position: the 1st term is 3, the 2nd is 5.

Rule

A sequence is a function whose domain is the positive integers 1, 2, 3, … (an infinite sequence) or the first k of them (a finite sequence with k terms). an is the term at position n. An explicit formula gives an from n alone.

Step

  1. Read the formula and the positions asked for. Positions start at n = 1.

  2. To list terms, put the positions into the formula one at a time, beginning with n = 1.

  3. To find one term, put its position in for n.

  4. To ask whether a number is a term, set the formula equal to that number and solve for n. The number is a term only if n comes out as one of the sequence's positions.

Question

A sequence has the explicit formula an = n2 − 1. Write its first five terms and find a10. In plain words: put 1, 2, 3, 4, 5 and then 10 in for n.

Answer

0,3,8,15,24;a10=99

Trap

Reading an as a times n. The small n is a label for the position and is not a factor. For an = 2n + 1, a3 means the 3rd term, 2 · 3 + 1 = 7; it does not mean 3 times a.

Term

sequence

Definition

A list of numbers in a fixed order; a function whose inputs are its positions: 1, 2, 3, … without end for an infinite sequence, or 1 to k for a finite sequence with k terms.

Term

term

Definition

One of the numbers in a sequence; an is the term at position n.

Term

explicit formula

Definition

A formula that gives the term an from its position n alone.

Term

factorial

Definition

n! is the product of the integers from n down to 1, for a positive integer n; 0! is 1.

Recursive formulas

In plain words

Some sequences are easier to describe by how each term comes from the one before.

Rule

A recursive formula has two parts: the starting term or terms, and a rule that gives an from earlier terms, stated with the positions n it holds for. Both parts are needed. A rule that uses the k preceding terms and holds for n ≥ k + 1 needs the k starting terms a1 to ak.

Step

  1. Write down the starting term or terms.

  2. Read the rule and the values of n it holds for; an−1 is the preceding term, one position before an, and an−2 is the term two positions before.

  3. Find the next term by putting the terms you already have into the rule.

  4. Repeat, one term at a time, until you reach the position asked for.

Question

On day 1 a tank holds 400 liters. Each day after that, half of the water in the tank is used and then 300 liters are added. Write a recursive formula for an, the liters in the tank on day n, and find the amount on day 4. In plain words: half of yesterday's amount, plus 300, starting from 400.

Answer

a1 = 400, an = 0.5an−1 + 300 for n ≥ 2; 575 liters on day 4

Trap

Giving the rule without the starting term. The rule an = an−1 + 5 alone fits 2, 7, 12, … and also 10, 15, 20, …; a recursive formula names one sequence only when the starting term is stated as well.

Term

sequence

Definition

A list of numbers in a fixed order; a function whose inputs are its positions: 1, 2, 3, … without end for an infinite sequence, or 1 to k for a finite sequence with k terms.

Term

term

Definition

One of the numbers in a sequence; an is the term at position n.

Term

explicit formula

Definition

A formula that gives the term an from its position n alone.

Term

recursive formula

Definition

A starting term or terms, with a rule that gives each later term from the terms before it.

Factorial notation

In plain words

Many sequence formulas use products of counting numbers, and there is a short way to write them.

Rule

For a positive integer n, n! = n · (n − 1) · ⋯ · 2 · 1, and 0! = 1. For every integer n ≥ 1, n! = n · (n − 1)!. Here n! is defined only for the integers n ≥ 0.

Step

  1. To find n! for a small n, multiply the integers from n down to 1; 0! is 1.

  2. To simplify a quotient of factorials, write the larger factorial as a product that ends in the smaller factorial.

  3. Cancel the common factorial, then multiply the factors that are left, whether they sit in the numerator or in the denominator: 3!5! = 3!5·4·3! = 120.

  4. In a sequence formula that is a quotient, such as an = n!2ⁿ, find the numerator and the denominator separately for each n, then simplify the fraction.

Question

Simplify 10!7!·3!. In plain words: write 10! so that it ends in 7!, cancel, and divide what is left by 3!.

Trap

Splitting a factorial across a sum or a product. (2 + 3)! is 5! = 120, while 2! + 3! = 8; and (2 · 3)! is 6! = 720, while 2! · 3! = 12. A factorial applies to the whole number inside the parentheses, worked out first.

Term

sequence

Definition

A list of numbers in a fixed order; a function whose inputs are its positions: 1, 2, 3, … without end for an infinite sequence, or 1 to k for a finite sequence with k terms.

Term

term

Definition

One of the numbers in a sequence; an is the term at position n.

Term

recursive formula

Definition

A starting term or terms, with a rule that gives each later term from the terms before it.

Term

factorial

Definition

n! is the product of the integers from n down to 1, for a positive integer n; 0! is 1.

Arithmetic sequences

In plain words

In an arithmetic sequence each term is the one before plus the same number.

Rule

A sequence is arithmetic when an − an−1 = d, the same number, at every position n ≥ 2 of the sequence. Then an = a1 + (n − 1)d for every position n.

Step

  1. With at least two terms shown, subtract consecutive terms to find d, and check that every difference shown is the same; a single term alone fits every d.

  2. Write an = a1 + (n − 1)d with the first term and d.

  3. To find a term, put its position in for n.

  4. To find where a term sits when d ≠ 0, set the formula equal to the term and solve for n; the term is in the sequence only if n is one of its positions.

  5. To count the terms of a finite sequence with d ≠ 0, find the position of its last term in that way: when positions start at 1, that position is the number of terms. When d = 0 every term is the same, so a term's value does not single out a position.

Question

A theater has 25 rows. Its first row has 18 seats, and each row has 4 more seats than the row in front of it. How many seats are in row 12? Which row has 90 seats? In plain words: an arithmetic sequence with first term 18 and common difference 4.

Answer

62 seats in row 12; row 19 has 90 seats

Trap

Adding d a full n times. From the 1st term to the nth there are n − 1 steps, so an = a1 + (n − 1)d. The expression a1 + nd goes one step too far: it is the value of the pattern at position n + 1. For the arithmetic sequence 5, 8, 11, …, 5 + 4 · 3 = 17 is a5, while a4 = 5 + 3 · 3 = 14.

Term

sequence

Definition

A list of numbers in a fixed order; a function whose inputs are its positions: 1, 2, 3, … without end for an infinite sequence, or 1 to k for a finite sequence with k terms.

Term

term

Definition

One of the numbers in a sequence; an is the term at position n.

Term

explicit formula

Definition

A formula that gives the term an from its position n alone.

Term

common difference

Definition

The number d added at every step of an arithmetic sequence: d = an − an−1 at every position n ≥ 2.

Geometric sequences

In plain words

In a geometric sequence each term is the one before times the same nonzero number.

Rule

A sequence with a1 ≠ 0 is geometric when an = r · an−1 at every position n ≥ 2 of the sequence, with the same nonzero number r. Then every term is nonzero, each ratio anan−1 equals r, and an = a1 · rn−1 for every position n.

Step

  1. Check that no term shown is 0. Then, with at least two terms shown, divide consecutive terms to find r, and check that every ratio shown is the same; a single nonzero term alone fits every nonzero r.

  2. Write an = a1 · rn−1 with the first term and r.

  3. To find a term, put its position in for n and compute the power before multiplying.

  4. To find r from two terms, divide the later by the earlier: the quotient is r raised to the number of steps between them. Then take the root that matches that number of steps: an odd number of steps gives one real r; an even number gives two real values, r and −r, when the quotient is positive, and no real r when the quotient is negative.

Question

A machine is worth $20,000 at the start of year 1 and loses 15% of its value each year. What is it worth at the start of year 6? In plain words: a geometric sequence with first term 20,000 and common ratio 0.85.

Answer

about $8,874.11

Trap

Testing for a geometric sequence by subtracting. For 3, 6, 12, 24 the differences are 3, 6 and 12, which are not constant, yet the list is geometric because each ratio is 2. When no term is 0, dividing consecutive terms is the test for a common ratio; subtracting them is the test for a common difference.

Term

sequence

Definition

A list of numbers in a fixed order; a function whose inputs are its positions: 1, 2, 3, … without end for an infinite sequence, or 1 to k for a finite sequence with k terms.

Term

term

Definition

One of the numbers in a sequence; an is the term at position n.

Term

explicit formula

Definition

A formula that gives the term an from its position n alone.

Term

common difference

Definition

The number d added at every step of an arithmetic sequence: d = an − an−1 at every position n ≥ 2.

Term

common ratio

Definition

The nonzero number r that multiplies each term of a geometric sequence to give the next: r = anan−1 at every position n ≥ 2.