๐Ÿ“– Contents · Hub · Full version Chapter 14 ยท Sequences & Series
College Algebra Easy Read · Chapter 14

Sequences, Series & the Binomial Theorem

Almost everything that grows, shrinks, repeats, or builds up can be written as a list of numbers in order. Think of a paycheck that rises by the same raise every year, a medicine that loses half of its strength in the blood every six hours, or a bouncing ball that gives back a fixed fraction of its height. This chapter teaches you how to describe such a list exactly, and how to jump straight to the hundredth entry without writing out the first ninety nine. It also shows you how to add up a whole stack of them with one short formula, instead of a long session on a calculator. Along the way, you will meet a strange and truly useful fact: some sums that never end still add up to an ordinary number. We finish with Pascal's triangle and the binomial theorem, which let you multiply out something like (x + 2)4 without multiplying four binomials (two term expressions) by hand. Nothing here needs new algebra, only careful bookkeeping and a willingness to write the steps down.

By the end of this chapter you can

  • Read and write sequence notation, and generate terms from an explicit or a recursive formula.
  • Convert a written-out list into a formula, and state the restriction that the index must be a positive integer.
  • Identify an arithmetic sequence, find its common difference, and use an = a1 + (n − 1)d.
  • Add an arithmetic series with Sn = (n)/(2)(a1 + an), and decide whether a given number is even a term of the sequence.
  • Spot a geometric sequence, find its common ratio, and use an = a1r n−1 and the finite sum formula (with r ≠ 1).
  • Test an infinite geometric series for convergence and, when |r| < 1, evaluate it with S = a1/(1 − r).
  • Rewrite a repeating decimal as an exact fraction using an infinite geometric series.
  • Build Pascal's triangle, work out binomial coefficients, and expand (a + b)n or pick out a single term of the expansion.

Section 1Sequences

Arrows pairing the counting numbers 1, 2, 3, 4 with a list of output values
Reference. A sequence is a function whose inputs are the counting numbers: position 1 gets a value, position 2 gets a value, and so on forever. Source and license: see the figure credits

What a sequence actually is

A sequence is an ordered list of numbers. That is the whole meaning of the word, and the word ordered does all the work: 2, 4, 6, 8 and 8, 6, 4, 2 contain the same numbers, but they are different sequences, because position matters. Each number in the list is called a term.

The tidiest way to think about it is this: a sequence is a function whose inputs are the counting numbers. You feed in a position, first, second, third, and the sequence hands back the number that lives there. That is why we do not write a(1), a(2), a(3) the way we would for an ordinary function. We use a subscript instead:

a1, a2, a3, a4, …, an, …

Read a1 as "a sub one": the first term. The letter n is the index: it is the position number, and it is always a positive whole number (n = 1, 2, 3, 4, …). There is no a0 and no a2.5 in the sequences we work with here. The expression an is called the general term, and it is the prize: if you know an, you know the whole sequence.

The subscript is not a multiplier and not an exponent. a3 means "the third term," while a3 would mean "a cubed." People lose points on this in every course, so read subscripts out loud until it feels automatic.

Explicit formulas: jump straight to any term

An explicit formula (also called a closed formula) gives an directly in terms of n. Do you want the 40th term? Substitute n = 40, and you are done, with no earlier terms needed.

Worked example 1: listing terms from an explicit formula. Given an = 5n − 3, list the first four terms and find a12.

Substitute n = 1: a1 = 5(1) − 3 = 5 − 3 = 2
Substitute n = 2: a2 = 5(2) − 3 = 10 − 3 = 7
Substitute n = 3: a3 = 5(3) − 3 = 15 − 3 = 12
Substitute n = 4: a4 = 5(4) − 3 = 20 − 3 = 17

So the sequence starts 2, 7, 12, 17, …

For the twelfth term, substitute n = 12: a12 = 5(12) − 3 = 60 − 3 = 57.

Notice what you did not have to do: you never calculated a5 through a11; that is the power of an explicit formula.

Two tricks with notation show up all the time. First, a factor of (−1)n makes the signs take turns (alternate): if an = (−1)n n, then a1 = (−1)1(1) = −1, a2 = (−1)2(2) = +2, a3 = −3, and a4 = +4. (Using (−1)n+1 instead starts the pattern positive.) Second, watch for excluded values. If an = 10/(n − 4), then n ≠ 4, because that would put a 0 in the denominator, so this sequence simply has no fourth term.

Recursive formulas: each term leans on the one before

A recursive formula defines a term using the term (or terms) before it. It always comes in two pieces: a seed: the first term, handed to you outright, and a rule for getting the next term from the last one. Without the seed, the rule has nothing to start from and the sequence is undefined.

Worked example 2: building terms from a recursive formula. Given a1 = 4 and an = 2an−1 + 1 for n ≥ 2, find the first five terms.

The seed is given: a1 = 4

For n = 2, the rule says double the previous term and add 1:
a2 = 2a1 + 1 = 2(4) + 1 = 8 + 1 = 9

For n = 3, the "previous term" is now 9:
a3 = 2a2 + 1 = 2(9) + 1 = 18 + 1 = 19

For n = 4:
a4 = 2a3 + 1 = 2(19) + 1 = 38 + 1 = 39

For n = 5:
a5 = 2a4 + 1 = 2(39) + 1 = 78 + 1 = 79

The sequence is 4, 9, 19, 39, 79, … To get a20 this way, you would have to grind through every term up to it, which is the price of a recursive rule.

The most famous recursive sequence leans on two previous terms. It is the Fibonacci sequence, defined by a1 = 1, a2 = 1, and an = an−1 + an−2. Adding 1 + 1 = 2, then 1 + 2 = 3, then 2 + 3 = 5, gives 1, 1, 2, 3, 5, 8, 13, 21, … Notice that it needs two seeds, because the rule reaches back two steps.

FeatureExplicit formulaRecursive formula
Forman written in terms of nan written in terms of an−1 (and a seed)
Examplean = 5n − 3a1 = 2, an = an−1 + 5
Getting a50One substitution49 steps of arithmetic
Best atJumping far ahead; graphingDescribing a process that repeats
Needs a seed?NoYes: always
Both formulas above describe the same list. an = 5n − 3 and the pair (a1 = 2, an = an−1 + 5) both make 2, 7, 12, 17, … One tells you where each term sits, and the other tells you how you get there. Being able to move between the two is the most useful skill in this chapter, and Section 2 shows you exactly how.
Interactive Generate the same sequence two ways, an explicit formula that jumps straight to any term versus a recursive rule that chains from the term before, and watch both routes land on the identical value as the graph builds point by point. Open full ↑
Key points
  • A sequence is an ordered list. A term is written an, where n is the position, and n is always a positive integer.
  • An explicit formula gives an from n directly, so you put in the position once and you have the term.
  • A recursive formula gives an from earlier terms, and it must include a starting value, because otherwise there is nothing to build from.
  • Watch for excluded values of n that would make a zero denominator, and remember that (−1)n is the standard switch that makes the signs alternate.

Section 2Arithmetic sequences and series

Graph of the straight line y equals 3x plus 1 on a labeled coordinate plane
Reference. A straight line: the constant slope of a linear equation is exactly the common difference of an arithmetic sequence. Source and license: see the figure credits

The common difference

A sequence is arithmetic when you get from each term to the next by adding the same number every time. That number is the common difference, written d. To test a sequence, subtract each term from the one after it, and see whether you get the same answer each time:

d = a2 − a1 = a3 − a2 = a4 − a3 = …

If every one of those subtractions gives the same answer, the sequence is arithmetic. If even one differs, it is not. Take 7, 11, 15, 19, 23: 11 − 7 = 4, 15 − 11 = 4, 19 − 15 = 4, 23 − 19 = 4. Same every time, so d = 4. A negative d is perfectly normal: in 20, 17, 14, 11 we have d = 17 − 20 = −3, and the terms march downward.

You add d once to get to term 2, twice to get to term 3, and three times to get to term 4. So the number of times you add is always one less than the term number, and that one fact is the formula:

Explicit:   an = a1 + (n − 1)d     Recursive:   a1 given,   an = an−1 + d

If you multiply out the explicit form, you get an = dn + (a1 − d), which is a linear expression in n. That is why the figure above matters. Plot an arithmetic sequence, and the points land on a straight line, with d playing the role of the slope. Arithmetic growth is straight line growth.

Adding them up: the arithmetic series

A series is what you get when you add up the terms of a sequence. The sum of the first n terms is called the nth partial sum, and it is written Sn. In short form we use sigma notation:

Sn = ∑k=1n ak = a1 + a2 + a3 + … + an

Read that as "the sum, as k runs from 1 to n, of ak." The letter under the ∑ is the starting index, the number on top is the stopping index, and the expression to the right is what you plug each index into. Sigma notation is only shorthand, because it never means anything you could not write out with plus signs.

There is a lovely trick for adding an arithmetic series, and the story that goes with it is probably half true. A schoolboy named Carl Friedrich Gauss, told to add 1 through 100, noticed that pairing the ends gives 1 + 100 = 101, 2 + 99 = 101, 3 + 98 = 101, and so on, for fifty pairs of 101, which makes 5050. The general version writes the sum forward, then writes it again backward underneath, and adds the two lines column by column:

Sn = a1 + (a1+d) + … + an
Sn = an + (an−d) + … + a1

Every column adds to the same thing, (a1 + an), and there are n columns. So 2Sn = n(a1 + an), which gives the two forms you will really use:

Sn = (n)/(2) · (a1 + an)     or, if you do not know an yet,     Sn = (n)/(2) · [2a1 + (n − 1)d]

Worked example 3: a full arithmetic problem, every step. For the sequence 7, 11, 15, 19, … find d, find a20, and find the sum of the first 20 terms.

Step 1: find the common difference.
d = 11 − 7 = 4. Check the next gaps: 15 − 11 = 4 and 19 − 15 = 4. Consistent, so d = 4 and a1 = 7.

Step 2: find the 20th term.
an = a1 + (n − 1)d
a20 = 7 + (20 − 1)(4)
a20 = 7 + (19)(4)
a20 = 7 + 76
a20 = 83

Step 3: add the first 20 terms.
Sn = (n)/(2)(a1 + an)
S20 = (20)/(2)(7 + 83)
S20 = 10(90)
S20 = 900

Step 4: check with the other form.
S20 = (20)/(2)[2(7) + (20 − 1)(4)] = 10[14 + 76] = 10(90) = 900  ✓ Both routes agree.

Is that number even in the sequence?

Here is a question that trips people up: "how many terms are in 5, 9, 13, …, 101?" You are told the last term and asked for n. Set the explicit formula equal to the last term and solve; here a1 = 5 and d = 9 − 5 = 4:

101 = 5 + (n − 1)(4)  →  101 − 5 = 4(n − 1)  →  96 = 4(n − 1)  →  24 = n − 1  →  n = 25

So 101 is the 25th term, and the sum is S25 = (25)/(2)(5 + 101) = (25)/(2)(106) = 25(53) = 1325.

Now comes the key warning. You must check that n comes out to be a positive whole number. Ask instead whether 100 belongs to that same sequence: 100 = 5 + (n − 1)(4) gives 95 = 4(n − 1), so n − 1 = 23.75 and n = 24.75. There is no 24.75th term. The algebra gave a number, but it is an extraneous answer for this problem (one that does not really work), and the honest conclusion is that 100 is simply not a term of the sequence. Always run this check before you report an answer.

You wantUseRequires
The common differenced = an − an−1Any two consecutive terms
Any single terman = a1 + (n − 1)da1, d, n
A sum, last term knownSn = (n)/(2)(a1 + an)a1, an, n
A sum, last term unknownSn = (n)/(2)[2a1 + (n−1)d]a1, d, n
The number of termsSolve an = a1 + (n−1)d for nCheck n is a positive integer
The number 1 hiding in (n − 1) is where most errors live. It is tempting to write a20 = 7 + 20(4) = 87. But you only add d nineteen times to travel from the first term to the twentieth: you start at a1, you do not step into it. Test any formula you are unsure of by plugging in n = 1: it must return a1 exactly. Here, 7 + (1 − 1)(4) = 7 + 0 = 7. ✓
Interactive Drag the first term and common difference to watch an arithmetic sequence's terms, its straight-line graph, and its sum respond in real time, with the reverse-and-add derivation of the sum formula. Open full ↑
Key points
  • Arithmetic means a steady common difference d, found by subtracting each term from the next one.
  • an = a1 + (n − 1)d. The (n − 1) is not a typo, and you can confirm it by checking that n = 1 gives back the first term.
  • Sn = (n)/(2)(a1 + an): the average of the first and last term, times how many terms there are.
  • When you solve for n, reject any answer that is not a positive whole number, because that number is not a term of the sequence.

Section 3Geometric sequences and series

Two curves on one coordinate plane comparing straight-line linear growth with rising exponential growth
Reference. Linear growth next to exponential growth; arithmetic sequences trace the straight line, and geometric sequences trace the curve that passes it. Source and license: see the figure credits

The common ratio

A sequence is geometric when you get from each term to the next by multiplying by the same number every time. That multiplier is the common ratio, written r. An arithmetic sequence is built on adding again and again, while a geometric sequence is built on multiplying again and again, which is why one grows in a straight line and the other curves away.

To test a sequence, divide each term by the one before it, and see whether you get the same number every time:

r = (a2)/(a1) = (a3)/(a2) = (a4)/(a3) = …

For 3, 6, 12, 24, the ratios are 6/3 = 2, 12/6 = 2, and 24/12 = 2, so r = 2. For 64, 32, 16, 8, the ratios are 32/64 = ½ and 16/32 = ½, so r = ½, and the terms shrink. For 5, −15, 45, −135, the ratios are (−15)/5 = −3 and 45/(−15) = −3, so r = −3, and the signs flip back and forth. A negative ratio always makes the signs alternate.

Two limits come with this kind of sequence: r ≠ 0, and no term may be 0. You cannot divide by zero when you work out the ratio, and multiplying by zero would wipe out every later term.

You multiply by r once to reach term 2, twice to reach term 3, and so on, which is again one fewer multiplication than the term number:

Explicit:   an = a1 · r n−1     Recursive:   a1 given,   an = r · an−1

The finite geometric sum

Adding up a geometric series uses a different trick from the arithmetic one. Write the sum, multiply the whole thing by r, and subtract, and then almost every term cancels:

Sn = a1 + a1r + a1r2 + … + a1r n−1
rSn =        a1r + a1r2 + … + a1r n−1 + a1r n

Subtracting the second line from the first wipes out everything in the middle and leaves Sn − rSn = a1 − a1r n. Factor both sides to get Sn(1 − r) = a1(1 − r n), and then divide:

Sn = a1 · (1 − r n)/(1 − r),    valid for r ≠ 1

That limit is not there for show. If r = 1, the denominator is 1 − 1 = 0, and the formula is undefined. But that case is easy anyway, because r = 1 means every term equals a1, so Sn = n · a1.

Worked example 4: a geometric sequence with a whole number ratio. For 3, 6, 12, 24, … find r, find a8, and find S8.

Step 1: find the common ratio.
r = 6/3 = 2. Confirm it: 12/6 = 2 and 24/12 = 2. So r = 2, and a1 = 3.

Step 2: find the 8th term.
an = a1 · r n−1
a8 = 3 · 28−1 = 3 · 27
27 = 128, so a8 = 3(128) = 384

Step 3: add the first 8 terms.
S8 = 3 · (1 − 28)/(1 − 2)
28 = 256, so the numerator inside is 1 − 256 = −255, and the denominator is 1 − 2 = −1.
S8 = 3 · (−255)/(−1) = 3(255) = 765

Step 4: check by adding them all.
3 + 6 + 12 + 24 + 48 + 96 + 192 + 384. The running total is 3, 9, 21, 45, 93, 189, 381, 765. ✓
Worked example 5: a shrinking geometric sequence. For 64, 32, 16, … find a6 and S6.

Step 1: the ratio. r = 32/64 = ½, and 16/32 = ½ confirms it. a1 = 64.

Step 2: the 6th term.
a6 = 64 · (½)6−1 = 64 · (½)5
(½)5 = 1/32, so a6 = 64/32 = 2

Step 3: the sum of six terms.
S6 = 64 · (1 − (½)6)/(1 − ½)
(½)6 = 1/64, so the numerator is 1 − 1/64 = 63/64, and the denominator is 1 − ½ = ½.
S6 = 64 · (63/64)/(½) = 63/(½) = 63 · 2 = 126

Step 4: check. 64 + 32 + 16 + 8 + 4 + 2 = 126. ✓
ArithmeticGeometric
Step between termsAdd dMultiply by r
How to find itSubtract consecutive termsDivide consecutive terms
nth terma1 + (n − 1)da1 · r n−1
Sum of n terms(n)/(2)(a1 + an)a1(1 − r n)/(1 − r), r ≠ 1
Shape of the graphStraight lineExponential curve
Real-world fitFixed raise, fixed paymentPercent growth, half-life, interest
Test which kind you have before you reach for a formula. Subtract two terms that sit next to each other, and divide two terms that sit next to each other. If the subtractions match, it is arithmetic; if the divisions match, it is geometric. If neither matches, it is neither, and none of these formulas apply. Ten seconds of testing saves a whole wrong page of work.
Interactive Drag the common ratio and first term to watch a geometric sequence's terms explode, collapse toward zero, or flip sign in a live SVG bar chart, with the ร—r reasoning and explicit formula shown at every step. Open full ↑
Key points
  • Geometric means a steady common ratio r, found by dividing each term by the one before it. Also, r ≠ 0, and no term is 0.
  • an = a1 · r n−1. The exponent, like the count of times you multiply, is one less than n.
  • Sn = a1(1 − r n)/(1 − r), which needs r ≠ 1. If r = 1, then Sn = n a1.
  • A negative r makes the signs alternate. When |r| > 1 the terms grow, and when |r| < 1 they shrink.

Section 4Infinite geometric series

A decay curve falling steeply and then flattening as it approaches zero
Reference. A curve that shrinks. When |r| is less than 1, the terms of a geometric sequence shrink toward zero, and that is exactly what lets a sum that never ends settle on a finite total. Source and license: see the figure credits

When does an endless sum have an answer?

Here is the idea that surprises everyone the first time. Add ½ + ¼ + ⅛ + 1/16 + … forever. Every partial sum is bigger than the last, so surely the total runs off to infinity? It does not. The partial sums are ½, 0.75, 0.875, 0.9375, 0.96875, and so on, and each one halves the gap that is left to 1, so the total settles on exactly 1. You are adding an endless number of things, but they get small so fast that the running total has nowhere to go.

Compare that with 2 + 6 + 18 + 54 + …, where r = 3. The terms get bigger, the partial sums explode, and there is no total. So which way will a series go? The formula for a sum that ends tells you, if you look at the right piece of it:

Sn = a1 · (1 − r n)/(1 − r)

The only part that changes as n grows is r n. If |r| < 1, which means r is a proper fraction, positive or negative, then raising it to higher and higher powers drives it toward 0. (Watch: (½)1 = 0.5, (½)10 ≈ 0.00098, and (½)20 ≈ 0.00000095.) Replace r n with 0, and the formula shrinks to something clean:

S = a1/(1 − r),   valid only when |r| < 1

If instead |r| ≥ 1, then r n does not shrink at all. It grows without limit (|r| > 1), stays at 1 (r = 1), or flips forever between 1 and −1 (r = −1). In every one of those cases, the series diverges and has no sum. A series that does settle on a number is said to converge. Always run the test first: find r, check that |r| < 1, and only then use the formula.

It pays to write out what that absolute value test really says. The statement |r| < 1 is shorthand for the double inequality

−1 < r < 1

Any ratio strictly between −1 and 1 converges, and anything at or outside those endpoints diverges. Written this way, the test is an inequality you can solve, which brings up a rule that costs people points all the way through algebra.

The sign flip rule. When you multiply or divide an inequality by a negative number, every inequality sign turns around. Adding or subtracting never flips anything, and multiplying or dividing by a positive number never flips anything. Only multiplying or dividing by a negative number does.

Put it to work. Suppose a series has common ratio r = −x/2, so it converges exactly when |−x/2| < 1, which is:

−1 < −x/2 < 1

Multiply all three parts by −2 to get x by itself. Because −2 is negative, both signs turn around:

(−1)(−2) = 2,   (−x/2)(−2) = x,   (1)(−2) = −2,   and < becomes >:
2 > x > −2,   which is the interval   −2 < x < 2

If you had multiplied by −2 and left the signs pointing the same way, you would have written −2 > x > 2, an interval with no numbers in it at all. An answer that looks impossible like that is usually a missed flip. (The single value x = 0 is worth setting aside, because it makes r = 0, and the series shrinks to just its first term.)
Worked example 6: finding the sum of a series that converges. Find the sum of 12 + 6 + 3 + 1.5 + …

Step 1: find r. r = 6/12 = ½. Confirm it: 3/6 = ½ and 1.5/3 = ½. So r = ½, and a1 = 12.

Step 2: test whether it converges. |½| = 0.5, and 0.5 < 1. It converges, so we may use the formula.

Step 3: use the formula.
S = a1/(1 − r)
S = 12/(1 − ½)
S = 12/(½)
Dividing by ½ is the same as multiplying by 2:
S = 12 · 2 = 24

Step 4: check that it makes sense. The partial sums are 12, 18, 21, 22.5, 23.25, 23.625, 23.8125, and so on. They climb toward 24 and never pass it. ✓

A negative ratio works the same way, as long as its absolute value is under 1. Take 9 − 3 + 1 − ⅓ + …. Here r = (−3)/9 = −⅓, and |−⅓| = ⅓ < 1, so it converges. Then S = 9/(1 − (−⅓)) = 9/(1 + ⅓) = 9/(4/3) = 9 · (3)/(4) = 27/4 = 6.75. Note carefully that 1 − (−⅓) becomes 1 plus ⅓, because subtracting a negative is the classic place to slip.

Turning a repeating decimal into a fraction

Here is the most rewarding payoff in the chapter. A repeating decimal is secretly an infinite geometric series, which means you can change it into an exact fraction with the formula you just learned.

Worked example 7: write 0.272727… as a fraction.

Step 1: write it out as a sum. The repeating block is "27," which is two digits long:
0.272727… = 27/100 + 27/10000 + 27/1000000 + …

Step 2: find a1 and r.
a1 = 27/100. To get the next term, you divide by 100 again, so r = 1/100.
Check: (27/10000) ÷ (27/100) = 100/10000 = 1/100. ✓

Step 3: test whether it converges. |1/100| = 0.01 < 1, so it converges.

Step 4: use the formula.
S = a1/(1 − r) = (27/100)/(1 − 1/100)
1 − 1/100 = 99/100, so
S = (27/100)/(99/100)
Dividing by a fraction means multiplying by its reciprocal (the flipped fraction):
S = (27/100) · (100/99) = 27/99

Step 5: reduce. Both 27 and 99 divide by 9: 27 ÷ 9 = 3 and 99 ÷ 9 = 11.
S = 3/11

Step 6: check. 3 ÷ 11 = 0.272727… ✓ That is exactly what we started with.
Seriesr|r| < 1?Result
8 + 4 + 2 + 1 + …½YesConverges; S = 8/(1−½) = 16
1 − ⅓ + 1/9 − …−⅓YesConverges; S = 1/(4/3) = 3/4
2 + 6 + 18 + …3NoDiverges: no sum
5 + 5 + 5 + …1NoDiverges: grows forever
7 − 7 + 7 − 7 + …−1NoDiverges: never settles
Endless does not mean impossible. The formula S = a1/(1 − r) has no n in it at all, which is the clue: you are no longer counting terms, but asking where the running total is headed; two habits keep you safe. Check that |r| < 1 before you work out anything, and use a1 = the very first term of the series, not the second one where you happened to spot the pattern.
Interactive Drag the ratio r across 1 and watch an infinite geometric series' running totals settle on a limit or race to infinity, plotted live with the reasoning revealed. Open full ↑
Key points
  • An infinite geometric series converges exactly when |r| < 1; otherwise it diverges and has no sum.
  • When it converges, S = a1/(1 − r). There is no n in it, because the terms never stop.
  • The reason it works: |r| < 1 forces r n toward 0, so the (1 − r n) in the finite sum formula becomes just 1.
  • Every repeating decimal is an infinite geometric series, so every repeating decimal equals an exact fraction.
  • |r| < 1 written out is −1 < r < 1. When you solve any such inequality, turn every inequality sign around if you multiply or divide by a negative number.

Section 5The binomial theorem

A worked polynomial expansion showing a product being multiplied out term by term
Reference. Multiplying out a product into a polynomial; this is the long multiplication that the binomial theorem lets you skip. Source and license: see the figure credits

Pascal's triangle

You already know that (a + b)2 = a2 + 2ab + b2. Multiplying that by (a + b) again gives (a + b)3 = a3 + 3a2b + 3ab2 + b3. Doing that four or five more times by hand is miserable, and it is exactly the kind of tedious work a formula should take over. Look at just the coefficients (the numbers in front) of the expansions:

PowerCoefficients (Pascal's triangle)Terms in the expansion
(a+b)011
(a+b)11  12
(a+b)21  2  13
(a+b)31  3  3  14
(a+b)41  4  6  4  15
(a+b)51  5  10  10  5  16
(a+b)61  6  15  20  15  6  17

That stack of numbers is Pascal's triangle, and it builds itself. Every row starts and ends with 1, and every number in between is the sum of the two numbers right above it. To get row 6 from row 5, add the pairs that sit next to each other in 1, 5, 10, 10, 5, 1: 1+5 = 6, 5+10 = 15, 10+10 = 20, 10+5 = 15, and 5+1 = 6. Cap it with 1s at each end, and you have 1, 6, 15, 20, 15, 6, 1. Notice also that the row for (a + b)n has n + 1 entries, so the expansion has n + 1 terms.

Binomial coefficients, without drawing the triangle

Building the triangle is fine for small powers, but nobody wants to write out twenty rows to expand (x + 2)20. There is a direct formula. First comes factorial notation: n! means multiply every whole number from n down to 1, so 5! = 5 · 4 · 3 · 2 · 1 = 120, and 3! = 3 · 2 · 1 = 6; by agreement, 0! = 1. That is a rule everyone uses, not a trick, and it is what makes the formulas come out right.

The binomial coefficient, written C(n, k) or nCk, is the entry in row n, position k, of Pascal's triangle, where both the row and the position start counting at 0:

C(n, k) = (n!)/(k! · (n − k)!),    where 0 ≤ k ≤ n and both are whole numbers

Try it on C(5, 2), which should equal 10, according to the table above:

C(5, 2) = (5!)/(2! · 3!) = (120)/(2 · 6) = (120)/(12) = 10  ✓

Here is one time saver worth knowing: C(n, k) = C(n, n − k), which is why every row of the triangle reads the same forward and backward. If you need C(20, 18), calculate C(20, 2) instead, which gives the same answer with far less work.

Putting all the pieces together gives the binomial theorem, which expands any power of a binomial in one step:

(a + b)n = ∑k=0n C(n, k) · a n−k · b k

In words: run k from 0 up to n. The exponent on a starts at n and counts down, while the exponent on b starts at 0 and counts up, and in every single term the two exponents add up to n. That last fact gives you a free error check.

Worked example 8: expand (x + 2)4.

Step 1: get the coefficients. n = 4, so use row 4 of Pascal's triangle: 1, 4, 6, 4, 1. Expect 4 + 1 = 5 terms.

Step 2: set up the skeleton with a = x (powers counting down) and b = 2 (powers counting up):
1·x4·20  +  4·x3·21  +  6·x2·22  +  4·x1·23  +  1·x0·24

Step 3: do the arithmetic, one term at a time.
Term 1: 1 · x4 · 1 = x4
Term 2: 4 · x3 · 2 = 8x3
Term 3: 6 · x2 · 4 = 24x2
Term 4: 4 · x · 8 = 32x
Term 5: 1 · 1 · 16 = 16

Step 4: write the answer.
(x + 2)4 = x4 + 8x3 + 24x2 + 32x + 16

Step 5: check by substituting x = 1.
Left side: (1 + 2)4 = 34 = 81.
Right side: 1 + 8 + 24 + 32 + 16 = 81. ✓ This x = 1 trick catches almost every arithmetic slip, so use it every time.
Worked example 9: expand (2x − 3)3, where both the signs and the coefficients can trip you up.

Step 1: name the pieces. Rewrite the subtraction as an addition, so the theorem applies cleanly: (2x + (−3))3. So a = 2x, b = −3, and n = 3.

Step 2: coefficients. Row 3 of Pascal's triangle is 1, 3, 3, 1. Expect 4 terms.

Step 3: go term by term, keeping the parentheses.
Term 1: 1 · (2x)3 · (−3)0 = 1 · 8x3 · 1 = 8x3
Term 2: 3 · (2x)2 · (−3)1 = 3 · 4x2 · (−3) = −36x2
Term 3: 3 · (2x)1 · (−3)2 = 3 · 2x · 9 = 54x
Term 4: 1 · (2x)0 · (−3)3 = 1 · 1 · (−27) = −27

Step 4: put it together.
(2x − 3)3 = 8x3 − 36x2 + 54x − 27

Step 5: check with x = 1. Left: (2 − 3)3 = (−1)3 = −1. Right: 8 − 36 + 54 − 27 = −1. ✓

Why the signs alternate: (−3) raised to an even power is positive, and raised to an odd power is negative. Whenever b is negative, the expansion goes + − + − on its own. And note that (2x)3 = 8x3, not 2x3, because the exponent hits the 2 as well.

Finding one term without expanding everything

Sometimes a problem asks only for the coefficient of x5 in something like (x + 3)8. Expanding all nine terms to read off one of them is wasted effort. Use the general term directly; the term containing bk is

C(n, k) · a n−k · b k    (this is the (k + 1)th term, since k starts at 0)

Worked example 10: find the coefficient of x5 in (x + 3)8.

Step 1: find k. Here a = x, b = 3, and n = 8. The power on a is n − k = 8 − k, and we want that to be 5:
8 − k = 5  →  k = 3

Step 2: calculate the binomial coefficient.
C(8, 3) = (8!)/(3! · 5!)
Cancel the 5! against the end of 8!, which leaves only 8 · 7 · 6 on top:
C(8, 3) = (8 · 7 · 6)/(3 · 2 · 1) = (336)/(6) = 56

Step 3: build the term.
C(8,3) · x5 · 33 = 56 · x5 · 27
56 · 27 = 56 · 20 + 56 · 7 = 1120 + 392 = 1512

Step 4: answer. The term is 1512x5, so the coefficient is 1512.

Check the exponents: 5 + 3 = 8 = n. ✓ If they had not added up to n, something would be wrong.
Three habits make binomial expansions painless. First, count your terms, because (a + b)n always gives exactly n + 1 of them, so if you wrote 4 terms for a 5th power, you dropped one. Second, check that the exponents in each term add up to n. Third, substitute x = 1 into both the original and your expansion, and the two numbers must match. Any one of these catches most mistakes in under thirty seconds.
Interactive Build Pascal's triangle, light up a row, and step through a binomial expansion term by term to see exactly where every coefficient comes from. Open full ↑
Key points
  • Pascal's triangle: each row begins and ends with 1, and each number inside it is the sum of the two numbers above it.
  • The binomial coefficient is C(n, k) = n!/[k!(n − k)!], with 0! = 1 and 0 ≤ k ≤ n.
  • Binomial theorem: (a + b)n = ∑k=0n C(n,k)a n−kb k. The power of a falls, the power of b rises, and they always add up to n.
  • For a subtraction, treat b as a negative number and keep it in parentheses, and the signs will alternate on their own.

The chapter in one breath

  • A sequence is an ordered list written a1, a2, a3, …; the index n is always a positive whole number.
  • An explicit formula gives any term straight from n. A recursive formula builds each term from the one before, and it always needs a starting value.
  • Arithmetic sequences add a constant common difference d: an = a1 + (n − 1)d, and they graph as a straight line.
  • An arithmetic series sums to Sn = (n)/(2)(a1 + an), which is the average of the two ends times the number of terms.
  • Geometric sequences multiply by a constant common ratio r: an = a1r n−1, with Sn = a1(1 − r n)/(1 − r) for r ≠ 1.
  • An infinite geometric series converges only when |r| < 1, and then S = a1/(1 − r). Otherwise it diverges and has no sum.
  • Every repeating decimal is a convergent geometric series, which is why it can always be written as an exact fraction.
  • Pascal's triangle gives the binomial coefficients C(n, k) = n!/[k!(n−k)!]. They expand (a + b)n into n + 1 terms whose exponents always add up to n.

ReferenceWords worth knowing

Here is a quick list of the terms in this chapter. Skim it now, or come back whenever a word trips you up.

Arithmetic sequence
A sequence in which each term is the previous term plus a constant, called the common difference: an = a1 + (n − 1)d.
Arithmetic series
The sum of the terms of an arithmetic sequence; Sn = (n)/(2)(a1 + an).
Binomial coefficient
The number C(n, k) = n!/[k!(n − k)!]; it is the entry in row n, position k of Pascal's triangle.
Binomial theorem
The rule (a + b)n = ∑k=0n C(n,k)a n−kb k, which expands a power of a binomial without multiplying it out again and again.
Common difference (d)
The steady amount added to move from one term of an arithmetic sequence to the next: d = an − an−1.
Common ratio (r)
The steady multiplier between terms of a geometric sequence that sit next to each other: r = an/an−1, and r ≠ 0.
Convergent series
A series whose partial sums approach a single finite number, which is called its sum.
Divergent series
A series whose partial sums do not approach any finite number; it has no sum.
Explicit formula
A formula that gives an directly in terms of n, so any term can be found by one substitution. It is also called a closed formula.
Factorial (n!)
The product of all whole numbers from n down to 1; by convention 0! = 1.
Geometric sequence
A sequence in which each term is the previous term times a constant ratio: an = a1r n−1.
Geometric series
The sum of the terms of a geometric sequence. For n terms, Sn = a1(1 − r n)/(1 − r) when r ≠ 1.
Index
The position number n in an; it is always a positive integer, never a fraction or a negative.
Infinite geometric series
A geometric series with unending terms; it converges to a1/(1 − r) exactly when |r| < 1.
Partial sum (Sn)
The sum of the first n terms of a sequence.
Pascal's triangle
A triangle shaped array of binomial coefficients, in which each row begins and ends with 1, and each number inside is the sum of the two numbers above it.
Recursive formula
A rule that gives each term in terms of one or more terms before it, together with the starting value or values needed to begin.
Sequence
An ordered list of numbers; formally, a function whose inputs are the positive integers.
Series
The sum of the terms of a sequence.
Sigma (summation) notation
Shorthand for a sum: ∑k=1n ak means add ak for every whole k from 1 through n.
Term
A single number in a sequence, identified by its position, as in a3, the third term.

Check yourself

1. Given the explicit formula an = 4n − 7, list the first four terms and find a25.
−3, 1, 5, 9; and a25 = 93. Substitute one n at a time: a1 = 4(1) − 7 = 4 − 7 = −3; a2 = 8 − 7 = 1; a3 = 12 − 7 = 5; a4 = 16 − 7 = 9. Then a25 = 4(25) − 7 = 100 − 7 = 93, with no need to calculate anything in between.
2. Given a1 = 3 and an = −2an−1, find the first four terms.
3, −6, 12, −24. The seed is a1 = 3. Then a2 = −2(3) = −6, a3 = −2(−6) = 12, and a4 = −2(12) = −24. Multiplying by a negative each time is what makes the signs alternate.
3. What is the difference between an explicit formula and a recursive formula, and why must a recursive formula include a starting value?
An explicit formula gives an straight from the position n, while a recursive formula gives an from the term before it. A recursive rule only tells you how to move from one term to the next, so without a seed there is nothing to move from, and the sequence would be undefined. Explicit formulas need no seed, which is why they are better for jumping ahead to a100.
4. For 3, 7, 11, 15, …, find the common difference and the 50th term.
d = 4 and a50 = 199. Subtract terms that sit next to each other: 7 − 3 = 4, 11 − 7 = 4, and 15 − 11 = 4, so d = 4 and a1 = 3. Then a50 = a1 + (n − 1)d = 3 + (50 − 1)(4) = 3 + (49)(4) = 3 + 196 = 199.
5. Find the sum of the first 30 terms of 2, 5, 8, 11, …
S30 = 1365. First d = 5 − 2 = 3 and a1 = 2. Find the last term: a30 = 2 + (30 − 1)(3) = 2 + 87 = 89. Then S30 = (30)/(2)(2 + 89) = 15(91) = 1365. Checking with the other form: (30)/(2)[2(2) + 29(3)] = 15[4 + 87] = 15(91) = 1365. ✓
6. Is 100 a term of the sequence 5, 9, 13, 17, …? Show the work that decides it.
No, 100 is not a term. Here a1 = 5 and d = 4. Set 100 = 5 + (n − 1)(4), so 95 = 4(n − 1), which gives n − 1 = 23.75 and n = 24.75. Because the index must be a positive whole number, this answer is extraneous. There is no 24.75th term, so 100 never appears. (On the other hand, 101 gives n = 25 exactly, so 101 is a term.)
7. For 5, −15, 45, −135, …, find the common ratio and the 6th term.
r = −3 and a6 = −1215. Divide each term by the one before it: (−15)/5 = −3, 45/(−15) = −3, and (−135)/45 = −3. Then a6 = a1r 6−1 = 5(−3)5. Since (−3)5 = −243, we get a6 = 5(−243) = −1215.
8. Find the sum of the first 5 terms of 2, 6, 18, 54, …
S5 = 242. Here a1 = 2 and r = 6/2 = 3. Then S5 = 2(1 − 35)/(1 − 3). Since 35 = 243, the top part inside is 1 − 243 = −242, and the denominator is −2, so S5 = 2(−242)/(−2) = 2(121) = 242. Check by adding: 2 + 6 + 18 + 54 + 162 = 242. ✓
9. Why does the finite geometric sum formula require r ≠ 1, and what is the sum when r = 1?
Because r = 1 makes the denominator 1 − r equal to 0, and you cannot divide by zero. But that case needs no formula. If r = 1, every term equals a1, so adding n copies gives Sn = n · a1. For example, 5 + 5 + 5 + 5 = 4(5) = 20.
10. Decide whether each infinite series has a sum, and find it if it does: (a) 1 + 3/4 + 9/16 + …   (b) 4 + 8 + 16 + …
(a) It converges to 4. (b) It diverges, so it has no sum. For (a), r = (3/4)/1 = 3/4 and |3/4| < 1, so S = a1/(1 − r) = 1/(1 − 3/4) = 1/(1/4) = 4. For (b), r = 8/4 = 2 and |2| ≥ 1, so the terms grow instead of shrinking, and the partial sums never settle, so the formula does not apply.
11. Write 0.6666… as an exact fraction using an infinite geometric series.
0.6666… = 2/3. Write it out as 6/10 + 6/100 + 6/1000 + …, so a1 = 6/10 and r = 1/10. Since |1/10| < 1, it converges. Then S = (6/10)/(1 − 1/10) = (6/10)/(9/10) = (6/10)(10/9) = 6/9 = 2/3. Check: 2 ÷ 3 = 0.6666… ✓
12. Expand (x + 1)5, then state the coefficient of x2y4 in (x + y)6.
(x + 1)5 = x5 + 5x4 + 10x3 + 10x2 + 5x + 1, and the coefficient is 15. Row 5 of Pascal's triangle is 1, 5, 10, 10, 5, 1, and every power of 1 is just 1, so the coefficients pass straight through. Check with x = 1: (1 + 1)5 = 32 and 1 + 5 + 10 + 10 + 5 + 1 = 32. ✓ For the second part, the term with y4 has k = 4, so the coefficient is C(6, 4) = 6!/(4!·2!) = 720/(24 · 2) = 720/48 = 15, which matches the entry in row 6, which reads 1, 6, 15, 20, 15, 6, 1.