Sum of the First n Terms of an Arithmetic Progression
Consider a finite arithmetic progression a1,a2,a3,…,an−2,an−1,an. Let Sn denote the sum of the terms of this progression:
Sn=a1+a2+a3+…+an−2+an−1+an.
Gauss’s Method
First, consider a problem whose solution will suggest how to derive the formula. Consider the arithmetic progression 1,2,3,…,98,99,100 and find the sum of its terms.
Write the sum in two ways:
S100S100=1+2+3+…+98+99+100=100+99+98+…+3+2+1
Adding these equalities:
2S100=100 terms101+101+101+…+101+101+101
Therefore 2S100=101×100; S100=5050.
ℹNote — Carl Friedrich Gauss
It is said that the great German mathematician Carl Friedrich Gauss (1777—1855) came up with this solution at the age of 5.
The Sum Formula
Using the same approach to find Sn, write the sum in two ways:
⚡Theorem — Sum of the First n Terms of an Arithmetic Progression
Sn=2a1+an⋅n
Substituting the expression an=a1+d(n−1) gives the equivalent formula:
Sn=22a1+d(n−1)⋅n
The latter formula is convenient when the first term and common difference are given.
Examples
✎Example — Sum of All Three-Digit Multiples of 6
Problem. Find the sum of all three-digit numbers that are multiples of 6.
Solution. These numbers form an arithmetic progression with first term a1=102 and common difference d=6. Then an=102+6(n−1)=6n+96. Since an<1000, the number of terms is the largest natural solution of 6n+96<1000:
6n<904;n<15032.
So n=150. Now compute the sum:
S150=22⋅102+6⋅(150−1)⋅150=82350.
Answer: 82,350.
✎Example — Finding a Term from the Sum
Problem. The sum of the first seventy-five terms of an arithmetic progression is 450. Find the thirty-eighth term.
Solution. Let the first term and common difference be a1 and d respectively. Then:
S75=22a1+74d⋅75=75(a1+37d)=450.
Since a38=a1+37d, the desired term equals:
a38=450÷75=6.
Answer: 6.
✎Example — Quadratic Sum Formula Implies AP
Problem. Prove that a sequence whose sum of the first n terms can be computed by the formula Sn=an2+bn, where a and b are constants, is an arithmetic progression.
Solution. We have:
an+1=Sn+1−Sn=a(n+1)2+b(n+1)−an2−bn=2an+a+b.
The equality an+1=2an+a+b shows that the sequence a2,a3,…,an,… is an arithmetic progression with common difference 2a. If we show that a2−a1=2a, the proof is complete.
We have: a1=S1=a+b; a2=2a+a+b=3a+b. Then a2−a1=2a.
Thus a1,a2,a3,…,an,… is an arithmetic progression.
Exercises
✏Exercise — Sum of Arithmetic Progression Problems
32.1. What is the sum of the first seven terms of an arithmetic progression (an) if a1=9 and a7=15?
32.3. Find the sum of the first twelve terms of an arithmetic progression with first term a1=−6 and common difference d=4.
32.7. The arithmetic progression (an) is defined by an=−4n+1. Find the sum of its first thirty-two terms.