Math Core

Lesson 7.1 · Sequences and Series

Sequences and sigma notation

A sequence is an ordered list of numbers, and many real patterns come as lists: monthly balances, stacked rows of seats, the heights of a bouncing ball. In this lesson you'll learn to describe a sequence with a formula and to write long sums compactly with sigma notation, the tools you'll use for the rest of this unit.

Sequences as functions

A sequence is a function whose inputs are the counting numbers 1,2,3,…1, 2, 3, \dots Instead of writing f(1),f(2),f(3)f(1), f(2), f(3), we usually write a1,a2,a3a_1, a_2, a_3. The number ana_n is called the nnth term, and nn is its position (or index).

Definition

Sequence

A sequence is a function whose domain is the positive integers (or a set of consecutive integers). The outputs a1,a2,a3,…a_1, a_2, a_3, \dots are its terms. A sequence that stops is finite; one that goes on forever is infinite.

An explicit formula gives ana_n directly in terms of nn. For example, an=5n−2a_n = 5n - 2 produces

a1=3,a2=8,a3=13,a4=18, …a_1 = 3, \quad a_2 = 8, \quad a_3 = 13, \quad a_4 = 18, \ \dots

The big advantage of an explicit formula is that you can jump straight to any term. The 100100th term is a100=5(100)−2=498a_{100} = 5(100) - 2 = 498; you don't need the 9999 terms before it.

Worked example: Generating terms

Find the first four terms and the 1010th term of an=n2−3na_n = n^2 - 3n.

Substitute each position for nn:

a1=1−3=−2a2=4−6=−2a3=9−9=0a4=16−12=4a10=100−30=70\begin{aligned} a_1 &= 1 - 3 = -2 \\ a_2 &= 4 - 6 = -2 \\ a_3 &= 9 - 9 = 0 \\ a_4 &= 16 - 12 = 4 \\ a_{10} &= 100 - 30 = 70 \end{aligned}

Graphing a sequence

Because a sequence is a function, you can graph it. The graph is a set of separate points (n,an)(n, a_n), not a connected curve, since there is no "term number 2.52.5". The points of an=n2−3na_n = n^2 - 3n sit on the parabola y=x2−3xy = x^2 - 3x, which is drawn dashed below only as a guide.

The terms of aₙ = n² − 3n plotted as points (n, aₙ). The dashed parabola is a guide, not part of the sequence.Open in grapher →

Finding a formula from a pattern

Going the other way, from a list of terms to a formula, takes some detective work. Line the terms up with their positions and look for how each term depends on nn.

Worked example: Writing explicit formulas

Write an explicit formula for each sequence.

(a) 12,23,34,45,…\dfrac{1}{2}, \dfrac{2}{3}, \dfrac{3}{4}, \dfrac{4}{5}, \dots

The numerator matches the position, and the denominator is one more than the position. So an=nn+1a_n = \dfrac{n}{n+1}.

(b) −1,4,−9,16,−25,…-1, 4, -9, 16, -25, \dots

Ignoring signs, the terms are 1,4,9,16,251, 4, 9, 16, 25: the perfect squares n2n^2. The signs alternate, starting negative. The factor (−1)n(-1)^n is −1-1 when nn is odd and 11 when nn is even, which is exactly this pattern. So an=(−1)nn2a_n = (-1)^n n^2.

Check: a3=(−1)3⋅9=−9a_3 = (-1)^3 \cdot 9 = -9. ✓

Tip

To make signs alternate, use (−1)n(-1)^n if the first term is negative, and (−1)n+1(-1)^{n+1} if the first term is positive.

Sigma notation

A series is the sum of the terms of a sequence. Writing out a long sum is tiring, so mathematicians use the Greek capital letter sigma, Σ\Sigma, to mean "add up."

Definition

Sigma notation

∑k=1nak=a1+a2+a3+⋯+an\sum_{k=1}^{n} a_k = a_1 + a_2 + a_3 + \cdots + a_n

The variable kk is the index of summation. The number below Σ\Sigma is the lower limit (where kk starts) and the number above is the upper limit (where kk stops). You substitute each integer from the lower limit to the upper limit and add the results.

The index doesn't have to be kk (you'll also see ii, jj or nn), and it doesn't have to start at 11. The number of terms in ∑k=mp\displaystyle\sum_{k=m}^{p} is p−m+1p - m + 1. For instance, ∑k=310\displaystyle\sum_{k=3}^{10} has 10−3+1=810 - 3 + 1 = 8 terms, not 77.

Worked example: Evaluating sums

(a) Evaluate ∑k=15(2k+1)\displaystyle\sum_{k=1}^{5} (2k + 1).

(2+1)+(4+1)+(6+1)+(8+1)+(10+1)=3+5+7+9+11=35.(2 + 1) + (4 + 1) + (6 + 1) + (8 + 1) + (10 + 1) = 3 + 5 + 7 + 9 + 11 = 35.

(b) Evaluate ∑j=25j2\displaystyle\sum_{j=2}^{5} j^2.

Start at j=2j = 2, not 11:

22+32+42+52=4+9+16+25=54.2^2 + 3^2 + 4^2 + 5^2 = 4 + 9 + 16 + 25 = 54.

Common mistake

Check the lower limit before you start adding. In part (b) above, starting at j=1j = 1 would add an extra 11 and give 5555 instead of 5454.

Writing a sum in sigma notation

To compress a sum, find a formula for the kkth term, then choose limits that produce exactly the terms you need.

Worked example: Compressing a sum

Write 5+10+15+⋯+605 + 10 + 15 + \cdots + 60 in sigma notation.

Each term is 55 times its position: 5=5(1)5 = 5(1), 10=5(2)10 = 5(2), and so on. The last term is 60=5(12)60 = 5(12), so kk runs from 11 to 1212:

5+10+15+⋯+60=∑k=1125k.5 + 10 + 15 + \cdots + 60 = \sum_{k=1}^{12} 5k.

Other answers are possible. For example, ∑k=011(5k+5)\displaystyle\sum_{k=0}^{11} (5k + 5) lists the same terms.

Properties of sums

Sums follow the same rules as ordinary addition, which gives three handy shortcuts:

Properties of sigma notation

∑k=1nc=nc∑k=1nc ak=c∑k=1nak∑k=1n(ak+bk)=∑k=1nak+∑k=1nbk\sum_{k=1}^{n} c = nc \qquad \sum_{k=1}^{n} c\,a_k = c\sum_{k=1}^{n} a_k \qquad \sum_{k=1}^{n} (a_k + b_k) = \sum_{k=1}^{n} a_k + \sum_{k=1}^{n} b_k

The first rule says that adding the constant cc a total of nn times gives ncnc. For example, ∑k=1204=80\displaystyle\sum_{k=1}^{20} 4 = 80. These rules let you split a complicated sum into simpler pieces whose values you already know. If you know that 1+2+⋯+10=551 + 2 + \cdots + 10 = 55, then

∑k=110(3k−2)=3∑k=110k−∑k=1102=3(55)−20=145.\sum_{k=1}^{10} (3k - 2) = 3\sum_{k=1}^{10} k - \sum_{k=1}^{10} 2 = 3(55) - 20 = 145.

Practice

Practice 1

A sequence is defined by an=3n−7a_n = 3n - 7. Find a12a_{12}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

A sequence is defined by an=(−1)n(n+1)a_n = (-1)^n (n + 1). Find a5a_5.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Evaluate ∑k=14(k2+1)\displaystyle\sum_{k=1}^{4} (k^2 + 1).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Evaluate ∑j=37(10−2j)\displaystyle\sum_{j=3}^{7} (10 - 2j).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Which expression equals 2+4+8+16+322 + 4 + 8 + 16 + 32?

Practice 6

Write an explicit formula for ana_n in the sequence 2,5,10,17,26,…2, 5, 10, 17, 26, \dots Use nn for the position.

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 7

How many terms are in the sum ∑k=425(k3−k)\displaystyle\sum_{k=4}^{25} (k^3 - k)?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

Given that ∑k=110k=55\displaystyle\sum_{k=1}^{10} k = 55, find ∑k=110(2k+3)\displaystyle\sum_{k=1}^{10} (2k + 3).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.