Quarry School

Sequences: crash course

about 11 min to listen5 lessons13 questions to tryUnit 24 of 25

Short view. Each lesson's rule, its steps and its trap. Switch to Full for a worked example and a question to try in every lesson.Full view. Each lesson's rule, its steps, one worked example with Watch it solved, the trap, and one question to try.

You need first

1 Sequences and explicit formulas

about 2 minOpen the full lessonOnly this lesson

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.

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.

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.

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.

Quick check

Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.

Try it · level 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.

2 Recursive formulas

about 2 minOpen the full lessonOnly this lesson

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.

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.

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

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.

Quick check

Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.

Try it · level 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).

3 Factorial notation

about 2 minOpen the full lessonOnly this lesson

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.

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.

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.

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.

Quick check

Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.

Try it · level 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.

4 Arithmetic sequences

about 2 minOpen the full lessonOnly this lesson

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.

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.

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.

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.

Quick check

Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.

Try it · level 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.

5 Geometric sequences

about 3 minOpen the full lessonOnly this lesson

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.

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.

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.

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.

Quick check

Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.

Try it · level 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.

6 Quick checks for the whole unit

8 questions

Quick check 1 of 8

Row n of a theater has an = 3n + 26 seats. How many seats are in row 14?

Show the steps and the answer
Answer
  • 3
  • 14 + 26 = 68 seats.

Quick check 2 of 8

a1 = 4 and an = an−1 + 6 for n ≥ 2. What is a3?

Show the steps and the answer
Answer
a2 = 10, so a3 = 16.

Quick check 3 of 8

What is 4!?

Show the steps and the answer
Answer
  • 4
  • 3
  • 2
  • 1 = 24.

Quick check 4 of 8

Simplify 5!3!.

Show the steps and the answer
Answer
  • 5
  • 4 = 20.

Quick check 5 of 8

What is the common difference of 12, 9, 6, 3, …?

Show the steps and the answer
Answer
−3.

Quick check 6 of 8

An arithmetic sequence has a1 = 7 and d = 2. What is a10?

Show the steps and the answer
Answer
  • 7 + 9
  • 2 = 25.

Quick check 7 of 8

What is the common ratio of 2, 10, 50, 250, …?

Show the steps and the answer
Answer
5.

Quick check 8 of 8

A geometric sequence has a1 = 3 and r = 2. What is a5?

Show the steps and the answer
Answer
  • 3
  • 2⁴ = 48.