23.2: The arithmetic sequence
( \newcommand{\kernel}{\mathrm{null}\,}\)
We have already encountered examples of arithmetic sequences in the previous section. An arithmetic sequence is a sequence for which we add a constant number to get from one term to the next, for example:
8,↪+311,↪+314,↪+317,↪+320,↪+323,…
A sequence {an} is called an arithmetic sequence if any two consecutive terms have a common difference d. The arithmetic sequence is determined by d and the first value a1. This can be written recursively as:
an=an−1+dfor n≥2
Alternatively, we have the general formula for the nth term of the arithmetic sequence:
an=a1+d⋅(n−1)
Determine if the sequence is an arithmetic sequence. If so, then find the general formula for an in the form of equation ???.
- 7,13,19,25,31,…
- 13,9,5,1,−3,−7,…
- 10,13,16,20,23,…
- an=8⋅n+3
Solution
- Calculating the difference between two consecutive terms always gives the same answer 13−7=6, 19−13=6, 25−19=6, etc. Therefore the common difference d=6, which shows that this is an arithmetic sequence. Furthermore, the first term is a1=7, so that the general formula for the nth term is an=7+6⋅(n−1).
- One checks that the common difference is 9−13=−4, 5−9=−4, etc., so that this is an arithmetic sequence with d=−4. Since a1=13, the general term is an=13−4⋅(n−1).
- We have 13−10=3, but 20−16=4, so that this is not an arithmetic sequence.
- If we write out the first couple of terms of an=8n+3, we get the sequence:
11,19,27,35,43,51,…
From this it seems reasonable to suspect that this is an arithmetic sequence with common difference d=8 and first term a1=11. The general term of such an arithmetic sequence is
a1+d(n−1)=11+8(n−1)=11+8n−8=8n+3=an
This shows that an=8n+3=11+8(n−1) is an arithmetic sequence.
Find the general formula of an arithmetic sequence with the given property.
- d=12, and a6=68
- a1=−5, and a9=27
- a5=38, and a16=115
Solution
- According to equation ??? the general term is an=a1+d(n−1). We know that d=12, so that we only need to find a1. Plugging a6=68 into an=a1+d(n−1), we may solve for a1:
68=a6=a1+12⋅(6−1)=a1+12⋅5=a1+60(−60)⟹a1=68−60=8
The nth term is therefore, an=8+12⋅(n−1).
- In this case, we are given a1=−5, but we still need to find the common difference d. Plugging a9=27 into an=a1+d(n−1), we obtain
27=a9=−5+d⋅(9−1)=−5+8d(+5)⟹32=8d(÷8)⟹4=d
The nth term is therefore, an=−5+4⋅(n−1).
- In this case we neither have a1 nor d. However, the two conditions a5=38 and a16=115 give two equations in the two unknowns a1 and d.
{38=a5=a1+d(5−1)115=a16=a1+d(16−1)⟹{38=a1+4⋅d115=a1+15⋅d
To solve this system of equations, we need to recall the methods for doing so. One convenient method is the addition/subtraction method. For this, we subtract the top from the bottom equation:
115=a1+15⋅d−(38=a1+4⋅d)77=+11⋅d(÷11)⟹7=d
Plugging d=7 into either of the two equations gives a1. We plug it into the first equation 38=a1+4d:
38=a1+4⋅7⟹38=a1+28(−28)⟹10=a1
Therefore, the nth term is given by an=10+7⋅(n−1).
We can sum the first k terms of an arithmetic sequence using a trick, which, according to lore, was found by the German mathematician Carl Friedrich Gauss when he was a child at school.
Find the sum of the first 100 integers, starting from 1.
Solution
In other words, we want to find the sum of 1+2+3+⋯+99+100. First, note that he sequence 1,2,3,… is an arithmetic sequence. The main idea for solving this problem is a trick, which will indeed work for any arithmetic sequence:
Let S=1+2+3+⋯+98+99+100 be what we want to find. Note that
2S=1+2+3⋯+98+99+100+100+99+98⋯+3+2+1
Note that the second line is also S but is added in the reverse order. Adding vertically we see then that
2S=101+101+101+⋯+101+101+101,
where there are 100 terms on the right hand side. So
2S=100⋅101 and therefore S=100⋅1012=5050
The previous example generalizes to the more general setting starting with an arbitrary arithmetic sequence.
Let {an} be an arithmetic sequence, whose nth term is given by the formula an=a1+d(n−1). Then, the sum a1+a2+⋯+ak−1+ak is given by adding (a1+ak) precisely k2 times:
k∑i=1ai=k2⋅(a1+ak)
In order to remember the formula above, it may be convenient to think of the right hand side as k⋅a1+ak2 (this is, k times the average of the first and the last term).
- Proof
-
For the proof of equation ???, we write S=a1+a2+⋯+ak−1+ak. We then add it to itself but in reverse order:
2S=a1+a2+a3⋯+ak−2+ak−1+ak+ak+ak−1+ak−2⋯+a3+a2+a1
Now note that in general al+am=2a1+d(l+m−2). We see that adding vertically gives
2S=k(2a1+d(k−1))=k(a1+(a1+d(k−1))=k(a1+ak)
Dividing by 2 gives the desired result.
Find the value of the arithmetic series.
- Find the sum a1+⋯+a60 for the arithmetic sequence an=2+13(n−1).
- Determine the value of the sum: 1001∑j=1(5−6j)
- Find the sum of the first 35 terms of the sequence 4,3.5,3,2.5,2,1.5,…
Solution
- The sum is given by the formula ???: ∑ki=1ai=k2⋅(a1+ak). Here, k=60, and a1=2 and a60=2+13⋅(60−1)=2+13⋅59=2+767=769. We obtain a sum of
a1+⋯+a60=60∑i=1ai=602⋅(2+769)=30⋅771=23130
We may confirm this with the calculator as described in example 23.1.5 in the previous section.
Enter: sum(seq((2+13⋅(n−1),n,1,60))
- Again, we use the above formula ∑kj=1aj=k2⋅(a1+ak), where the arithmetic sequence is given by aj=5−6j and k=1001. Using the values a1=5−6⋅1=5−6=−1 and a1001=5−6⋅1001=5−6006=−6001, we obtain:
1001∑j=1(5−6j)=10012(a1+a1001)=10012((−1)+(−6001))=10012⋅(−6002)=1001⋅(−3001)=−3004001
- First note that the given sequence 4,3.5,3,2.5,2,1.5,… is an arithmetic sequence. It is determined by the first term a1=4 and common difference d=−0.5. The nth term is given by an=4−0.5⋅(n−1), and summing the first k=35 terms gives:
35∑i=1ai=352⋅(a1+a35)
We see that we need to find a35 in the above formula:
a35=4−0.5⋅(35−1)=4−0.5⋅34=4−17=−13
This gives a total sum of
35∑i=1ai=352⋅(4+(−13))=352⋅(−9)=−3152
The answer may be written as a fraction or also as a decimal, that is: ∑35i=1ai=−3152=−157.5.