Math Core

Lesson 7.2 · Sequences and Series

Arithmetic sequences and series

When a quantity changes by the same amount at every step, such as seats added to each row of a theater or a fixed deposit each week, its values form an arithmetic sequence. In this lesson you'll write formulas for these sequences and then find their sums quickly, even when there are hundreds of terms.

Common difference

In the sequence 7,11,15,19,23,…7, 11, 15, 19, 23, \dots you add 44 each time. Subtracting any term from the next one always gives the same number.

Definition

Arithmetic sequence

A sequence is arithmetic if the difference between consecutive terms is constant. That constant d=an−an−1d = a_n - a_{n-1} is the common difference.

The common difference can be positive (terms increase), negative (terms decrease) or zero (every term is the same). For 20,14,8,2,…20, 14, 8, 2, \dots, d=14−20=−6d = 14 - 20 = -6.

The explicit formula

To reach the nnth term, start at a1a_1 and add dd one time fewer than the position number:

a2=a1+d,a3=a1+2d,a4=a1+3d,…a_2 = a_1 + d, \qquad a_3 = a_1 + 2d, \qquad a_4 = a_1 + 3d, \qquad \dots

nth term of an arithmetic sequence

an=a1+(n−1)da_n = a_1 + (n - 1)d

Distributing gives a linear expression in nn. For 7,11,15,…7, 11, 15, \dots the formula is an=7+4(n−1)=4n+3a_n = 7 + 4(n - 1) = 4n + 3. That's no coincidence: an arithmetic sequence is a linear function restricted to the positive integers. The common difference is the slope, and plotting the terms gives points on a line.

The terms 7, 11, 15, 19, 23 lie on the line y = 4x + 3, whose slope is the common difference 4.Open in grapher →

Worked example: A far-off term

An arithmetic sequence has a1=7a_1 = 7 and d=−3d = -3. Write an explicit formula and find a20a_{20}.

an=7+(n−1)(−3)=7−3n+3=10−3n.a_n = 7 + (n - 1)(-3) = 7 - 3n + 3 = 10 - 3n.

Then a20=10−3(20)=−50a_{20} = 10 - 3(20) = -50.

Working from two terms

If you know two terms but not the start, use the fact that moving forward kk positions adds kdkd.

Worked example: Two terms known

In an arithmetic sequence, a4=19a_4 = 19 and a11=47a_{11} = 47. Find an explicit formula.

From position 44 to position 1111 is 77 steps, so

47=19+7d⇒7d=28⇒d=4.47 = 19 + 7d \quad\Rightarrow\quad 7d = 28 \quad\Rightarrow\quad d = 4.

Back up 33 steps from a4a_4: a1=19−3(4)=7a_1 = 19 - 3(4) = 7. So an=7+4(n−1)=4n+3a_n = 7 + 4(n - 1) = 4n + 3.

Check: a11=44+3=47a_{11} = 44 + 3 = 47. ✓

You can also ask which term has a given value. In 7,11,15,…7, 11, 15, \dots, which term is 203203? Solve 4n+3=2034n + 3 = 203 to get n=50n = 50. If the solution isn't a positive integer, the number isn't in the sequence.

Arithmetic series

An arithmetic series is the sum of the terms of an arithmetic sequence. Here's a neat trick for finding it. Write the sum S=1+2+3+⋯+100S = 1 + 2 + 3 + \cdots + 100 forward and backward, then add the two lines:

S=1+2+⋯+100S=100+99+⋯+12S=101+101+⋯+101\begin{array}{rcccccccc} S &=& 1 &+& 2 &+& \cdots &+& 100 \\ S &=& 100 &+& 99 &+& \cdots &+& 1 \\ \hline 2S &=& 101 &+& 101 &+& \cdots &+& 101 \end{array}

Every column adds to 101101, and there are 100100 columns, so 2S=100⋅1012S = 100 \cdot 101 and S=5050S = 5050.

The same trick works for any arithmetic series. Pairing the first and last terms, the second and second-to-last, and so on, always gives the same total a1+ana_1 + a_n, because as one term goes up by dd its partner goes down by dd.

Sum of an arithmetic series

The sum of the first nn terms is

Sn=n(a1+an)2or, equivalently,Sn=n2[2a1+(n−1)d].S_n = \frac{n(a_1 + a_n)}{2} \qquad\text{or, equivalently,}\qquad S_n = \frac{n}{2}\bigl[2a_1 + (n - 1)d\bigr].

In words: the number of terms times the average of the first and last terms.

Use the first form when you know the last term, and the second when you know dd but not the last term.

Common mistake

The most common error is miscounting nn. The number of terms from a1a_1 to ana_n is an−a1d+1\dfrac{a_n - a_1}{d} + 1. For 5,9,13,…,1015, 9, 13, \dots, 101, that's 964+1=25\dfrac{96}{4} + 1 = 25 terms, not 2424. Forgetting the +1+1 is a classic "fence-post" mistake.

Worked example: Summing a listed series

Find 5+9+13+⋯+1015 + 9 + 13 + \cdots + 101.

Here a1=5a_1 = 5, d=4d = 4 and the last term is 101101. As computed in the warning, there are n=25n = 25 terms. So

S25=25(5+101)2=25⋅1062=1325.S_{25} = \frac{25(5 + 101)}{2} = \frac{25 \cdot 106}{2} = 1325.

Worked example: A series in sigma notation and a word problem

(a) Evaluate ∑k=130(4k−1)\displaystyle\sum_{k=1}^{30} (4k - 1).

The terms are linear in kk, so the series is arithmetic. The first term is 4(1)−1=34(1) - 1 = 3 and the last is 4(30)−1=1194(30) - 1 = 119. There are 3030 terms:

S30=30(3+119)2=15⋅122=1830.S_{30} = \frac{30(3 + 119)}{2} = 15 \cdot 122 = 1830.

(b) A theater has 1515 rows. The first row has 2020 seats, and each row has 33 more seats than the row in front of it. How many seats are there in all?

The seat counts form an arithmetic sequence with a1=20a_1 = 20, d=3d = 3. The last row has a15=20+14(3)=62a_{15} = 20 + 14(3) = 62 seats. The total is

S15=15(20+62)2=15⋅822=615 seats.S_{15} = \frac{15(20 + 62)}{2} = \frac{15 \cdot 82}{2} = 615 \text{ seats}.

Tip

Any sum ∑(mk+b)\sum (mk + b) with a linear expression in kk is an arithmetic series with common difference mm. Find the first and last terms by plugging in the limits, count the terms, and use Sn=n(a1+an)2S_n = \dfrac{n(a_1 + a_n)}{2}.

Practice

Practice 1

What is the next term of the arithmetic sequence 13,9,5,1,…13, 9, 5, 1, \dots?

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

Practice 2

An arithmetic sequence has a1=6a_1 = 6 and d=5d = 5. Find a40a_{40}.

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

Practice 3

Write an explicit formula for ana_n in the sequence 11,8,5,2,…11, 8, 5, 2, \dots Use nn for the position.

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

Practice 4

In an arithmetic sequence, a5=23a_5 = 23 and a12=58a_{12} = 58. Find a30a_{30}.

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

Practice 5

Find the sum 2+5+8+⋯+922 + 5 + 8 + \cdots + 92.

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

Practice 6

Evaluate ∑k=140(3k+2)\displaystyle\sum_{k=1}^{40} (3k + 2).

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

Practice 7

Logs are stacked in rows. The bottom row has 2424 logs, each row above has 22 fewer logs than the row below it, and the top row has 66 logs. How many logs are in the stack?

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

Practice 8

How many terms of the series 3+7+11+15+⋯3 + 7 + 11 + 15 + \cdots must be added to get a sum of 820820?

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