Quarry School

College Algebra / Sequences

Sequences

Subject: Mathematics

All 5 lessons, in order.

The unit at a glance

  1. Sequences and explicit formulas

    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.

  2. Recursive formulas

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

  3. Factorial notation

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

  4. Arithmetic sequences

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

  5. Geometric sequences

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

Rules (5)
  • Sequences and explicit formulas

    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.

  • Recursive formulas

    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.

  • Factorial notation

    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.

  • Arithmetic sequences

    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.

  • Geometric sequences

    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.

Recipes (5)
  • Sequences and explicit formulas
    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.
  • Recursive formulas
    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.
  • Factorial notation
    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.
  • Arithmetic sequences
    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.
  • Geometric sequences
    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.
Traps (5)
  • Sequences and explicit formulas

    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.

  • Recursive formulas

    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.

  • Factorial notation

    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.

  • Arithmetic sequences

    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.

  • Geometric sequences

    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.

Lesson 1 of 5

Sequences and explicit formulas

Subject: MathematicsLeans on: Function notationLeans on: Powers of −1Open this lesson
Leans on 1Comes back in 0

1 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. We write an for the term at position n, so here a1 = 3 and a4 = 9. In this unit every sequence starts at position n = 1. The n in n!, in the factorial lesson, is the number being multiplied down, not a position, and 0! is defined too. An explicit formula gives an straight from n: an = 2n + 1 produces 3, 5, 7, 9 at n = 1, 2, 3, 4. It is like the house numbers on one side of a street: once you know the pattern, you can say the number on the 40th house without walking past the first 39.

2 Picture it

input noutput a_(n)102338415524
an = n2 − 1 at the first five positions.

Reminder

Reminder: Function notation, Powers of −1
  • Function notation. f(3) means put 3 in for x: for f(x) = 2x + 1, f(3) = 2 · 3 + 1 = 7.
  • Powers of −1. (−1)ⁿ is 1 when n is even and −1 when n is odd: (−1)2 = 1 and (−1)3 = −1.

3 Why

The positions of a list are the counting numbers 1, 2, 3, …, and each position holds exactly one term. That is what a function is: one output for each input. So a sequence is a function with the positive integers (or the first k of them) as its domain, and an is another way to write f(n). An explicit formula is that function's rule, which is why any term can be computed from its position alone.

4 The 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.

The same idea, other ways

As a table

A sequence is a function whose inputs are its positions: 1, 2, 3, … for an infinite sequence, or 1 to k for a finite sequence with k terms. Put each position into the formula and read the term. For an = 2n + 1: a1 = 3, a2 = 5, a3 = 7, a4 = 9, a5 = 11.

input noutput a_(n)13253749511
an = 2n + 1: the position n goes in and the term an comes out.
Finite or infinite

A finite sequence stops: 2, 4, 6, 8 has four terms. An infinite sequence has a term at every position 1, 2, 3, …, and three dots show that it goes on: 2, 4, 6, 8, …

Signs that alternate

The factor (−1)ⁿ is −1 when n is odd and 1 when n is even, so multiplying a positive expression by it flips the sign from term to term. an = (−1)ⁿ · n gives −1, 2, −3, 4, −5. Using (−1)n+1 instead starts with a plus sign: 1, −2, 3, −4, 5.

A formula from a list

Given 1, 4, 9, 16, 25, …, look for what each term has to do with its position: 12, 22, 32, 42, 52. The formula an = n2 fits the five terms shown. The first few terms of a sequence that goes on do not fix the rest, because many formulas agree on the terms shown and differ afterwards, so the task is to find one formula that fits the terms shown.

5 How

  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.

6 Worked example

Worked example

Terms from a formula

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.

Show the steps and the answer
  1. a1=12−1=0,a2=22−1=3,a3=32−1=8.Each position is squared first and then 1 is subtracted, because a power is computed before a subtraction.
  2. a4=42−1=15 and a5=52−1=24.The same rule at positions 4 and 5 completes the first five terms.
  3. a10=102−1=99.An explicit formula needs only the position, so a10 is found without the terms a6 to a9.
Answer
  • 0, 3, 8, 15, 24
  • a10=99
Double-check n2 − 1 = (n − 1)(n + 1): at n = 1, 2, 3, 4, 5 this gives 0 · 2 = 0, 1 · 3 = 3, 2 · 4 = 8, 3 · 5 = 15 and 4 · 6 = 24, and at n = 10 it gives 9 · 11 = 99.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

List the terms

List the terms a1 to a4 of the sequence an = 23 − 6n.

Show the steps and the answer
  1. a1=23−6·1=17 and a2=23−6·2=11.The position replaces n, and the product 6n is found before it is subtracted from 23.
  2. a3=23−6·3=5 and a4=23−6·4=−1.The same rule at positions 3 and 4 gives the last two terms asked for.
Answer
17,11,5,−1
Double-check The first term is 23 − 6 · 1 = 17, and each term is 6 less than the one before (11 − 17 = 5 − 11 = −1 − 5 = −6), as it must be when n goes up by 1 in 23 − 6n.

Rung 2 of 4

Alternating signs

Write the first five terms of an = (−1)ⁿ · n2.

Show the steps and the answer
  1. (−1)n is −1, 1, −1, 1, −1 for n=1, 2, 3, 4, 5.An odd number of factors of −1 multiplies to −1, and an even number multiplies to 1.
  2. n2 is 1, 4, 9, 16, 25 for n=1, 2, 3, 4, 5.Each position is squared.
  3. The terms are −1, 4, −9, 16, −25.Each term is the sign from the first step times the square from the second.
Answer
−1,4,−9,16,−25
Double-check Without their signs the terms are 1, 4, 9, 16, 25, the squares of the positions 1 to 5. The odd positions 1, 3, 5 hold the negative terms −1, −9, −25, and the even positions 2, 4 hold the positive terms 4, 16.

Rung 3 of 4

A formula that fits

Write an explicit formula that fits the terms 12, 23, 34, 45, and use it to find a9.

Show the steps and the answer
  1. The numerators are 1, 2, 3, 4: the position n.The numerator of each term equals the place it holds in the list.
  2. The denominators are 2, 3, 4, 5: one more than the position, n+1.Each denominator is 1 greater than the numerator above it.
  3. an=nn+1, so a9=910.Putting the two patterns together gives a formula in n alone, and n = 9 gives the 9th term.
Answer
  • an = nn+1 fits
  • a9=910
Double-check At n = 1, 2, 3, 4 the formula gives 12, 23, 34, 45, the terms shown, and at n = 9 it gives 99+1 = 910.

Rung 4 of 4

Is it a term?

The infinite sequence an = 3n + 7 starts 10, 13, 16. Is 82 a term? Is 50 a term?

Show the steps and the answer
  1. 3n+7=82 gives 3n=75, so n=25.Subtracting 7 from both sides and then dividing both sides by 3 keeps the two sides equal. 25 is a positive integer, so it is a position, and 82 is the term there.
  2. 3n+7=50 gives 3n=43, so n=433.The same two steps keep the sides equal. 433 is not a whole number, so no position holds 50.
Answer
  • 82 is the 25th term
  • 50 is not a term
Double-check a25 = 3 · 25 + 7 = 82. Around 50, a14 = 49 and a15 = 52, and the terms rise by 3, so 50 is skipped.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: For an = (−1)ⁿ · n, the 3rd term is 3.
At n = 3 the factor (−1)3 is −1, because three factors of −1 multiply to −1.
✓ Instead: a3=(−1)3·3=−3.
✗ Not this: The sequence an = 3n + 7 rises forever, so 50 has to show up in it.
The terms rise in steps of 3 and pass from 49 to 52, and 3n + 7 = 50 has no whole-number solution.
✓ Instead: 50 is not a term; a14 = 49 and a15 = 52.

Tips and tricks

  • an is the term at position n.
  • Positions start at n = 1.
  • To test whether a number is a term, solve for n and see whether it is a position.

7 The 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.

Flash cards

Say the answer out loud, then flip.

What does a7 mean?
The term at position 7 of the sequence: the 7th term.
What is a7 when an = 9n + 4?
  • 9
  • 7 + 4 = 67.
What values does the factor (−1)ⁿ take?
  • −1 at odd positions and 1 at even positions. Multiplying positive numbers by it, as in (−1)ⁿ
  • n, makes the signs of the terms alternate.

Lesson 2 of 5

Recursive formulas

Subject: MathematicsLeans on: Reading a subscriptLeans on: Order of operationsOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Some sequences are easier to describe by how each term comes from the one before. A recursive formula gives a starting term and a rule for the next term: a1 = 3 and an = 2an−1 + 1 for n ≥ 2. Here an−1 is the term before an, the preceding term. Starting from 3, the rule gives 2 · 3 + 1 = 7, then 2 · 7 + 1 = 15, then 2 · 15 + 1 = 31. It is like a bank balance: this month's balance comes from last month's balance and what happened in between, and you need the opening balance to get started.

2 Picture it

a1=3

an = 2an−1 + 1 for n ≥ 2

3, 7, 15, 31, …

Reminder

Reminder: Reading a subscript, Order of operations
  • Reading a subscript. an−1 is the term one position before an: when n = 4, an−1 is a3.
  • Order of operations. In 2 · 7 + 1, multiply first: 14 + 1 = 15.

3 Why

The rule alone says how to get from one term to the next and says nothing about where to begin, so different starting terms usually give different sequences. The starting term or terms pick one of them. For a rule that uses one preceding term, once a1 is known the rule fixes a2, then a3, and so on. A rule that uses the k preceding terms needs the first k terms, and then fixes the term after them, and the one after that. Either way every term is reached after finitely many steps, so, as long as the rule can be worked out at every step, the two parts together decide the whole sequence.

4 The 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.

The same idea, other ways

Step by step

With a1 = 3 and an = 2an−1 + 1 for n ≥ 2: a2 = 2a1 + 1 = 7, a3 = 2a2 + 1 = 15, a4 = 2a3 + 1 = 31. Each new term uses the preceding term.

input noutput a_(n)1327315431563
a1 = 3 and an = 2an−1 + 1: each term is twice the one before, plus 1.
Two starting terms

A rule may reach back two terms. The Fibonacci sequence has a1 = 1, a2 = 1 and an = an−1 + an−2 for n ≥ 3: each term is the sum of the two before it, giving 1, 1, 2, 3, 5, 8, 13. Because the rule uses two earlier terms, it needs two starting terms.

Reading a rule from a list

To write a recursive rule for a list of terms, compare each term with the one before it. If every difference is the same number, the rule adds that number; if every quotient is the same number, the rule multiplies by it. For 5, 10, 20, 40 each quotient is 2 (105 = 2010 = 4020 = 2), so a1 = 5 and an = 2an−1 for n ≥ 2 fits the list.

Recursive and explicit side by side

a1 = 5 and an = an−1 + 3 for n ≥ 2 gives 5, 8, 11, 14. The explicit formula an = 3n + 2 gives the same terms. The recursive form shows how the sequence grows; the explicit form reaches a50 = 152 in one step, where the recursive form would need the 49 terms before it.

5 How

  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.

6 Worked example

Worked example

Water in a tank

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.

Show the steps and the answer
  1. a1=400 and an=0.5an−1+300 for n≥2.Using half the water leaves half of the day before's amount, 0.5an−1, and the 300 liters are added to it; day 1 is the starting term.
  2. a2=0.5·400+300=500.Day 2 comes from day 1's amount of 400.
  3. a3=0.5·500+300=550 and a4=0.5·550+300=575.Each day uses the amount found for the day before.
Answer
  • a1 = 400, an = 0.5an−1 + 300 for n ≥ 2
  • 575 liters on day 4
Double-check The distance below 600 liters halves each day: 600 − 400 = 200, 600 − 500 = 100, 600 − 550 = 50, 600 − 575 = 25. That fits the rule, since 600 − (0.5a + 300) = 0.5(600 − a).

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

Add each time

a1 = 2 and an = an−1 + 5 for n ≥ 2. Write the first four terms.

Show the steps and the answer
  1. a2=a1+5=2+5=7.At n = 2 the rule reads a2 = a1 + 5, and a1 is the given 2.
  2. a3=7+5=12 and a4=12+5=17.Each term is 5 more than the preceding term.
Answer
2, 7, 12, 17
Double-check 5n − 3 is 2 at n = 1 and goes up by 5 each time n goes up by 1, so it follows the same start and the same rule; at n = 1, 2, 3, 4 it gives 2, 7, 12, 17.

Rung 2 of 4

Multiply, then subtract

a1 = 3 and an = 2an−1 − 1 for n ≥ 2. Find a5.

Show the steps and the answer
  1. a2=2·3−1=5 and a3=2·5−1=9.Each term doubles the one before and then subtracts 1.
  2. a4=2·9−1=17 and a5=2·17−1=33.a5 needs a4, so the terms are found in order.
Answer
a5=33
Double-check Subtracting 1 from each term gives 2, 4, 8, 16, 32, which doubles each time, as the rule requires: an − 1 = 2an−1 − 2 = 2(an−1 − 1).

Rung 3 of 4

Two terms back

a1 = 2, a2 = 1 and an = an−1 + an−2 for n ≥ 3. Find a6.

Show the steps and the answer
  1. a3=a2+a1=1+2=3.At n = 3 the two terms before are a2 and a1.
  2. a4=3+1=4 and a5=4+3=7.Each term is the sum of the two preceding terms.
  3. a6=a5+a4=7+4=11.At n = 6 the two terms before are a5 = 7 and a4 = 4.
Answer
a6=11
Double-check The terms are 2, 1, 3, 4, 7, 11, and each one from the 3rd on is the sum of the two before it: 3 = 1 + 2, 4 = 3 + 1, 7 = 4 + 3, 11 = 7 + 4.

Rung 4 of 4

Write the formula

Write a recursive formula that fits 4, 12, 36, 108.

Show the steps and the answer
  1. 124=3,3612=3 and 10836=3.Dividing each term by the one before shows that every term shown is 3 times the term before it.
  2. a1=4 and an=3an−1 for n≥2.The first term shown is the starting term, and the rule holds from the 2nd term on, where a term before exists.
Answer
a1 = 4, an = 3an−1 for n ≥ 2
Double-check From a1 = 4 the rule gives 3 · 4 = 12, 3 · 12 = 36 and 3 · 36 = 108, the terms shown.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: With a1 = 3 and an = 2an−1 − 1, a3 = 2 · 3 − 1 = 5.
That computes a2. The term a3 is built from a2, not from a1.
✓ Instead: a2 = 5, so a3 = 2 · 5 − 1 = 9.
✗ Not this: For an = an−1 + an−2, the starting term a1 = 2 is enough to find a2.
At n = 2 the rule would need a0, a term before the first one. A rule that reaches back two terms needs two starting terms.
✓ Instead: State a1 and a2; the rule then holds for n ≥ 3.

Tips and tricks

  • Start, then rule: both parts are needed.
  • an−1 is the preceding term.
  • Find the terms in order; each one feeds the next.

7 The 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.

Flash cards

Say the answer out loud, then flip.

What two parts does a recursive formula have?
The starting term or terms, and a rule giving each later term from earlier ones.
a1 = 10 and an = an−1 − 4 for n ≥ 2. What is a3?
a2 = 6, so a3 = 2.
Why does the Fibonacci rule need two starting terms?
  • Its rule adds the two preceding terms, so it first applies at n = 3
  • the 1st and 2nd terms have to be given.

Lesson 3 of 5

Factorial notation

Subject: MathematicsLeans on: Canceling a common factorLeans on: Lowest termsOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Many sequence formulas use products of counting numbers, and there is a short way to write them. For a positive integer n, n factorial, written n!, is the product of the integers from n down to 1: 5! = 5 · 4 · 3 · 2 · 1 = 120. By definition, 0! = 1. Factorials grow very fast: 10! is already 3,628,800. It is like lining up books on a shelf: 3 different books can be put in 3 · 2 · 1 = 6 orders, because there are 3 choices for the first place, 2 for the next and 1 for the last.

2 Picture it

n!=n·(n−1)·⋯·2·1

0! = 1

n! = n · (n − 1)! for n ≥ 1

Reminder

Reminder: Canceling a common factor, Lowest terms
  • Canceling a common factor. 8·7·66 = 8 · 7: a factor of the whole numerator cancels with the same factor of the denominator.
  • Lowest terms. 68 = 34: divide the top and bottom by their greatest common factor, 2.

3 Why

The rule n! = n · (n − 1)! says that a factorial is the previous factorial times n. For that rule to hold at n = 1 it must read 1! = 1 · 0!, and 1! is 1, so 0! has to be 1. That is why 0! is defined as 1, and it keeps formulas that use factorials working at their first position.

4 The 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.

The same idea, other ways

As a table

0! = 1 is the starting value, and for n ≥ 1 each factorial is the one before multiplied by n: 1! = 1, 2! = 2, 3! = 6, 4! = 24, 5! = 120, 6! = 720.

input noutput n!0111223642451206720
Starting from 0! = 1, for n ≥ 1 each factorial is the one before times n: 6! = 6 · 120 = 720.
As a recursive formula

n! = n · (n − 1)! for n ≥ 1, with the starting value 0! = 1. So 4! = 4 · 3! = 4 · 6 = 24. Starting from 0! = 1, the rule builds the factorials one at a time: 1! = 1 · 0! = 1, 2! = 2 · 1! = 2, 3! = 3 · 2! = 6, and so on.

Canceling in a quotient

A larger factorial contains a smaller one: 8! = 8 · 7 · 6!. So 8!6! = 8 · 7 = 56, with no need to multiply out 40,320 and 720.

Inside a sequence

an = 2ⁿn! has the terms 21, 42, 86, 1624, which simplify to 2, 2, 43, 23. From the 3rd term on, each term is the one before times 2n, a factor less than 1, so the terms shrink.

5 How

  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.

6 Worked example

Worked example

A quotient of factorials

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

Show the steps and the answer
  1. 10! =10·9·8·7!.The product from 10 down to 1 passes through 7 · 6 · ⋯ · 1, which is 7!.
  2. 10!7!·3!=10·9·83!.7! divided by 7! is 1, so that factor cancels from the numerator and the denominator.
  3. 10·9·83·2·1=7206=120.3! = 6, and 720 divided by 6 is 120.
Answer
120
Double-check With full values, 10! = 3,628,800 and 7! · 3! = 5,040 · 6 = 30,240, and 3,628,800 ÷ 30,240 = 120.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

A factorial

Find 6!.

Show the steps and the answer
  1. 6! =6·5·4·3·2·1.A factorial multiplies the integers from the number down to 1.
  2. 6·5=30,30·4=120,120·3=360,360·2=720.Multiplying from the left, one factor at a time, and the final factor 1 changes nothing.
Answer
720
Double-check 6! = 6 · 5!, and 5! = 120, so 6! = 6 · 120 = 720.

Rung 2 of 4

Cancel

Simplify 9!7!.

Show the steps and the answer
  1. 9! =9·8·7!.The product from 9 down to 1 ends in 7 · 6 · ⋯ · 1 = 7!.
  2. 9!7!=9·8=72.The common factor 7! cancels, leaving the two factors above it.
Answer
72
Double-check With full values, 9! = 362,880 and 7! = 5,040, and 362,880 ÷ 5,040 = 72.

Rung 3 of 4

Terms with a factorial

Write the first four terms of an = n!2ⁿ in lowest terms.

Show the steps and the answer
  1. n! is 1, 2, 6, 24 and 2n is 2, 4, 8, 16 for n=1, 2, 3, 4.The numerator and the denominator are found separately at each position.
  2. The terms are 12,24,68,2416.Each term is that position's factorial over that position's power of 2.
  3. In lowest terms: 12,12,34,32.Dividing the top and bottom by their greatest common factor: 2 for 24 and 68, and 8 for 2416.
Answer
12,12,34,32
Double-check Each answer is in lowest terms, because 1 and 2, 3 and 4, and 3 and 2 share no factor greater than 1. As decimals the unsimplified terms are 0.5, 0.5, 0.75 and 1.5, and so are 12, 12, 34 and 32.

Rung 4 of 4

With a letter

Simplify (n+1)!(n−1)! for an integer n ≥ 1.

Show the steps and the answer
  1. (n+1)! =(n+1)·n·(n−1)!.The rule k! = k · (k − 1)! is used twice: (n + 1)! = (n + 1) · n!, and n! = n · (n − 1)!. Both uses hold for every integer n ≥ 1; at n = 1 the line reads 2! = 2 · 1 · 0!.
  2. (n+1)!(n−1)!=(n+1)·n=n2+n.The common factor (n − 1)! cancels, and the two factors left are multiplied out.
Answer
(n+1)n=n2+n
Double-check Multiplying back: (n2 + n) · (n − 1)! = (n + 1) · n · (n − 1)! = (n + 1) · n! = (n + 1)!, using k! = k · (k − 1)! twice, so the quotient is n2 + n for every integer n ≥ 1. For example, at n = 4, 5!3! = 1206 = 20 = 42 + 4.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: 6!3! = 2! = 2, because 6 ÷ 3 = 2.
Factorials do not divide the way their numbers do. 6! = 6 · 5 · 4 · 3!, so dividing by 3! leaves three factors.
✓ Instead: 6!3!=6·5·4=120.
✗ Not this: 0! = 0, because there is nothing to multiply.
The rule n! = n · (n − 1)! at n = 1 reads 1 = 1 · 0!, which forces 0! = 1.
✓ Instead: 0! = 1.

Tips and tricks

  • n! multiplies from n down to 1.
  • 0! = 1.
  • Write the larger factorial so it ends in the smaller one, then cancel.

7 The 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.

Flash cards

Say the answer out loud, then flip.

What is 5!?
  • 5
  • 4
  • 3
  • 2
  • 1 = 120.
What is 0!?
1, by definition.
Simplify 7!6!.
  • 7, because 7! = 7
  • 6!.

Lesson 4 of 5

Arithmetic sequences

Subject: MathematicsLeans on: Slope of a lineLeans on: Solving a linear equationOpen this lesson
Leans on 0Comes back in 0

1 In plain words

In an arithmetic sequence each term is the one before plus the same number. That number is the common difference, d. In 5, 8, 11, 14, … every term is 3 more than the term before, so d = 3. The common difference can be negative, as in 20, 16, 12, 8, … with d = −4, and then the terms fall. It is like a staircase where each step rises the same amount above the one before: knowing the height of the first step and the rise from one step to the next tells you how high any step is.

2 Picture it

input noutput a_(n)1528311414517
Add 3 each time: an arithmetic sequence with a1 = 5 and d = 3.

Reminder

Reminder: Slope of a line, Solving a linear equation
  • Slope of a line. A line that rises 3 for every 1 across has slope 3: y = 3x + 2 goes 5, 8, 11 at x = 1, 2, 3.
  • Solving a linear equation. 6 + 4(n − 1) = 86: subtract 6, divide by 4, add 1, so n = 21.

3 Why

Getting from the 1st term to the nth term takes n − 1 steps, and each step adds d. So the nth term is the first term plus d added n − 1 times: an = a1 + (n − 1)d. The count is n − 1 and not n because the first term is already there before any step is taken.

4 The 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.

The same idea, other ways

Test by subtracting

Subtract each term from the one after it. For 5, 8, 11, 14: 8 − 5 = 3, 11 − 8 = 3, 14 − 11 = 3. The differences are all the same, so the terms shown are arithmetic with d = 3. For 1, 4, 9, 16 the differences are 3, 5, 7, so that list is not arithmetic.

Recursive form

an = an−1 + d at every position n ≥ 2, with a1 given. For 5, 8, 11, 14, …: a1 = 5 and an = an−1 + 3.

Explicit form

an = a1 + (n − 1)d. For a1 = 5 and d = 3: an = 5 + 3(n − 1) = 3n + 2, so a50 = 5 + 49 · 3 = 152.

On a graph

Plot the points (n, an). They lie on a straight line whose slope is d, because each step of 1 in n changes the term by d. Only the dots belong to the sequence, since n takes whole-number values only.

58111417202462610141822
The terms 5, 8, 11, 14, 17, 20 sit at n = 1, 2, 3, 4, 5, 6 on the line y = 3x + 2.

5 How

  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.

6 Worked example

Worked example

Seats in a theater

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.

Show the steps and the answer
  1. an=18+4(n−1).Row 1 has 18 seats, and reaching row n takes n − 1 steps back, each adding 4 seats.
  2. a12=18+4·11=62.Row 12 is 11 steps after row 1.
  3. 18+4(n−1)=90 gives 4(n−1)=72, so n−1=18 and n=19.Subtract 18, divide by 4, and add 1; 19 is a whole number from 1 to 25, so it is one of the rows.
Answer
  • 62 seats in row 12
  • row 19 has 90 seats
Double-check Simplified, an = 4n + 14: at n = 12, 48 + 14 = 62, and at n = 19, 76 + 14 = 90.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

The common difference

The sequence 7, 12, 17, 22, … is arithmetic. Find d and the next two terms.

Show the steps and the answer
  1. d=12−7=5.The common difference is any term minus the term before it; 17 − 12 and 22 − 17 are 5 as well.
  2. 22+5=27 and 27+5=32.Each next term adds d to the term before.
Answer
  • d = 5
  • the next terms are 27 and 32
Double-check 12 − 7 = 17 − 12 = 22 − 17 = 5 confirms d. With an = 7 + 5(n − 1): a5 = 7 + 20 = 27 and a6 = 7 + 25 = 32.

Rung 2 of 4

A far term

An arithmetic sequence has a1 = 9 and d = −4. Find a15.

Show the steps and the answer
  1. a15=a1+14d.From the 1st term to the 15th there are 15 − 1 = 14 steps.
  2. a15=9+14·(−4)=9−56=−47.Each of the 14 steps subtracts 4, a total of 56.
Answer
a15=−47
Double-check The terms run 9, 5, 1, −3, −7, falling by 4, and an = 13 − 4n gives 13 − 60 = −47 at n = 15.

Rung 3 of 4

From two terms

An arithmetic sequence has a4 = 19 and a9 = 44. Find d and a1.

Show the steps and the answer
  1. a9−a4=5d, so 5d=44−19=25 and d=5.From position 4 to position 9 there are 9 − 4 = 5 steps, each adding d.
  2. a1=a4−3d=19−15=4.Going back from position 4 to position 1 undoes 3 steps.
Answer
d = 5 and a1 = 4
Double-check With an = 4 + 5(n − 1): a4 = 4 + 15 = 19 and a9 = 4 + 40 = 44.

Rung 4 of 4

How many terms

How many terms are in the finite arithmetic sequence 6, 10, 14, …, 86?

Show the steps and the answer
  1. a1=6 and d=10−6=4, so an=6+4(n−1).The first term and the common difference give the explicit formula.
  2. 6+4(n−1)=86 gives 4(n−1)=80, so n−1=20 and n=21.The last term 86 sits at the position n that solves this equation; subtract 6, divide by 4, add 1.
Answer
21 terms
Double-check There are (86 − 6) ÷ 4 = 20 steps of 4 from 6 to 86, and a list with 20 steps between its ends has 21 terms.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: 2, 4, 8, 16 is arithmetic with d = 2, because 4 − 2 = 2.
One difference is not enough: the differences are 2, 4 and 8, which are not the same.
✓ Instead: The list is not arithmetic. Each term is 2 times the one before, which the next lesson calls geometric.
✗ Not this: The arithmetic sequence 6, 10, 14, …, 86 has (86 − 6) ÷ 4 = 20 terms.
That counts the steps between terms. A list has one more term than it has steps.
✓ Instead: 20 steps, so 21 terms.

Tips and tricks

  • Subtract to test: the same difference every time.
  • an=a1+(n−1)d.
  • Terms are one more than steps.

7 The 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.

Flash cards

Say the answer out loud, then flip.

What is the common difference of 30, 23, 16, 9, …?
−7: each term is 7 less than the one before.
Write the explicit formula for an arithmetic sequence.
an=a1+(n−1)d.
a1 = 2 and d = 6. What is a11?
  • 2 + 10
  • 6 = 62.

Lesson 5 of 5

Geometric sequences

Subject: MathematicsLeans on: A percent change as a factorLeans on: Powers of a negative numberOpen this lesson
Leans on 0Comes back in 0

1 In plain words

In a geometric sequence each term is the one before times the same nonzero number. That number is the common ratio, r, and the first term is not 0. In 3, 6, 12, 24, … every term is 2 times the term before, so r = 2. A ratio between 0 and 1 makes the terms shrink in size, as in 80, 40, 20, 10, … with r = 12, and a negative ratio makes the signs alternate, as in 2, −6, 18, −54, … with r = −3. It is like folding a sheet of paper: each fold doubles the layers, 2, 4, 8, 16, so the count is multiplied, not added to, at every step.

2 Picture it

input noutput a_(n)1326312424548
Multiply by 2 each time: a geometric sequence with a1 = 3 and r = 2.

Reminder

Reminder: A percent change as a factor, Powers of a negative number
  • A percent change as a factor. A 15% decrease multiplies by 1 − 0.15 = 0.85, and a 15% increase multiplies by 1.15.
  • Powers of a negative number. (−3)2 = 9 and (−3)3 = −27: for a negative base, an even exponent gives a positive result and an odd exponent a negative one.

3 Why

Getting from the 1st term to the nth term takes n − 1 steps, and each step multiplies by r. So the nth term is the first term times r multiplied in n − 1 times: an = a1 · rn−1. The count of steps sits in the exponent, which is what ties geometric sequences to exponential functions.

4 The 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.

The same idea, other ways

Test by dividing

First check that no term is 0, because a geometric sequence has no zero term. Then divide each term by the one before it. For 3, 6, 12, 24: 63 = 2, 126 = 2, 2412 = 2. The ratios are all the same, so the terms shown are geometric with r = 2. For 3, 6, 9, 12 the ratios are 2, 1.5 and about 1.33, so that list is not geometric; its differences are all 3, so it is arithmetic.

Recursive form

an = r · an−1 at every position n ≥ 2, with a1 given. For 3, 6, 12, 24, …: a1 = 3 and an = 2an−1.

Explicit form

an = a1 · rn−1. For a1 = 3 and r = 2: an = 3 · 2n−1, so a10 = 3 · 2⁹ = 3 · 512 = 1,536.

On a graph

When r is positive and not 1, the points (n, an) lie on the exponential curve y = a1 · rx−1. A geometric sequence with such a ratio is an exponential function looked at only at the positions 1, 2, 3, … When r = 1 every term is the same. When r is negative and the sequence has two or more terms, the signs alternate, so the points do not all lie on one curve of that form.

3612242439152127
The terms 3, 6, 12, 24 sit at n = 1, 2, 3, 4 on the curve y = 3 · 2x−1. Only the dots belong to the sequence.

5 How

  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.

6 Worked example

Worked example

A machine losing value

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.

Show the steps and the answer
  1. r=1−0.15=0.85.Losing 15% of the value keeps the other 85% of it, so each year multiplies the value by 0.85.
  2. an=20,000·0.85n−1.The value at the start of year 1 is the first term, and the start of year n is n − 1 yearly steps later.
  3. a6=20,000·0.855=20,000·0.4437053125=8,874.10625.The start of year 6 is 5 steps after the start of year 1; the power is found first and then multiplied by 20,000.
  4. To the nearest cent the machine is worth $8,874.11.8,874.10625 rounds up in the second decimal place, since the next digit is 6.
Answer
about $8,874.11
Double-check Year by year: 20,000, 17,000, 14,450, 12,282.50, 10,440.125, 8,874.10625, each 0.85 times the one before; the sixth value rounds to $8,874.11.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

The common ratio

The sequence 5, 15, 45, 135, … is geometric. Find r and the next two terms.

Show the steps and the answer
  1. r=155=3.The common ratio is any term divided by the term before it; 4515 and 13545 are 3 as well.
  2. 135·3=405 and 405·3=1,215.Each next term multiplies the term before by r.
Answer
  • r = 3
  • the next terms are 405 and 1,215
Double-check 155 = 4515 = 13545 = 3 confirms r. With an = 5 · 3n−1: a5 = 5 · 3⁴ = 5 · 81 = 405 and a6 = 5 · 3⁵ = 5 · 243 = 1,215.

Rung 2 of 4

A far term

A geometric sequence has a1 = 64 and r = 12. Find a7.

Show the steps and the answer
  1. a7=a1·r6.From the 1st term to the 7th there are 7 − 1 = 6 steps, each multiplying by r.
  2. a7=64·(12)6=64·164=1.2⁶ = 64, so (12)⁶ = 164, and 64 times 164 is 1.
Answer
a7=1
Double-check Halving step by step: 64, 32, 16, 8, 4, 2, 1. The 7th term is 1.

Rung 3 of 4

A negative ratio

A geometric sequence has a1 = 2 and r = −3. Write the first five terms.

Show the steps and the answer
  1. a2=2·(−3)=−6 and a3=−6·(−3)=18.Multiplying by a negative number flips the sign each time.
  2. a4=18·(−3)=−54 and a5=−54·(−3)=162.The same factor −3 takes each term to the next.
Answer
2,−6,18,−54,162
Double-check With an = 2 · (−3)n−1, the powers of −3 at n = 1, 2, 3, 4, 5 are 1, −3, 9, −27, 81, and 2 times each gives 2, −6, 18, −54, 162.

Rung 4 of 4

From two terms

A geometric sequence of real numbers has a2 = 12 and a5 = 96. Find r and a1.

Show the steps and the answer
  1. a5a2=r3, so r3=9612=8.From position 2 to position 5 there are 5 − 2 = 3 steps, each multiplying by r.
  2. r=2.2 is the only real number whose cube is 8.
  3. a1=a2r=122=6.Going back one step from a2 divides by r.
Answer
r = 2 and a1 = 6
Double-check With an = 6 · 2n−1: a2 = 6 · 2 = 12 and a5 = 6 · 2⁴ = 6 · 16 = 96.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: For the geometric sequence 5, 15, 45, …, the 4th term is 5 · 3⁴ = 405.
The 1st term is 5 with no factor of 3 yet, so the 4th term is 3 steps later, not 4.
✓ Instead: a4 = 5 · 33 = 135; 405 is a5.
✗ Not this: 10, 5, 0, −5 is geometric with r = 12, because 510 = 12.
The next ratio, 05, is 0, so the ratios are not the same, and a geometric sequence has no zero term.
✓ Instead: The list is arithmetic, with d = −5.

Tips and tricks

  • No zero terms and the same ratio every time: geometric.
  • an=a1·rn−1.
  • A negative r makes the signs alternate.

7 The 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.

Flash cards

Say the answer out loud, then flip.

What is the common ratio of 81, 27, 9, 3, …?
13: each term is one third of the one before.
Write the explicit formula for a geometric sequence.
  • an=a1
  • rn−1.
a1 = 4 and r = 3. What is a4?
  • 4
  • 33=108.