This is a beta course, so its structure, chapters, and examples may continue to change.
Sum of the First n Terms of Arithmetic Sequences
Finding the sum of the first n n n terms of an arithmetic sequence is an important problem in the study of sequences. Mastering the summation formula allows you to quickly compute the sum of many terms, avoiding the tedious work of adding them one by one.
The Story of Gauss
Before presenting the formula, let us share a famous mathematical story.
At the end of the 18th century, when the German mathematician Gauss was still a primary school student, his teacher asked the whole class to compute the sum 1 + 2 + 3 + ⋯ + 100 1+2+3+\cdots+100 1 + 2 + 3 + ⋯ + 100 , hoping to keep the students busy for a while. But Gauss gave the answer very quickly: 5050 5050 5050 .
His method was to pair the first and last of the 100 numbers:
( 1 + 100 ) + ( 2 + 99 ) + ( 3 + 98 ) + ⋯ + ( 50 + 51 ) = 101 + 101 + 101 + ⋯ + 101 ( 50 pairs in total ) = 101 × 50 = 5050 \begin{aligned}
&(1 + 100) + (2 + 99) + (3 + 98) + \cdots + (50 + 51) \\
&= 101 + 101 + 101 + \cdots + 101 \quad (\text{50 pairs in total}) \\
&= 101 \times 50 = 5050
\end{aligned} ( 1 + 100 ) + ( 2 + 99 ) + ( 3 + 98 ) + ⋯ + ( 50 + 51 ) = 101 + 101 + 101 + ⋯ + 101 ( 50 pairs in total ) = 101 × 50 = 5050
This clever method inspired the derivation of the arithmetic sequence summation formula.
Method 1: Reverse Order Addition
Let S n S_n S n be the sum of the first n n n terms of the arithmetic sequence { a n } \{a_n\} { a n } :
S n = a 1 + a 2 + a 3 + ⋯ + a n S_n = a_1 + a_2 + a_3 + \cdots + a_n S n = a 1 + a 2 + a 3 + ⋯ + a n
Write this expression in reverse order:
S n = a n + a n − 1 + a n − 2 + ⋯ + a 1 S_n = a_n + a_{n-1} + a_{n-2} + \cdots + a_1 S n = a n + a n − 1 + a n − 2 + ⋯ + a 1
Adding the two equations:
2 S n = ( a 1 + a n ) + ( a 2 + a n − 1 ) + ( a 3 + a n − 2 ) + ⋯ + ( a n + a 1 ) \begin{aligned}
2S_n &= (a_1 + a_n) + (a_2 + a_{n-1}) + (a_3 + a_{n-2}) + \cdots + (a_n + a_1)
\end{aligned} 2 S n = ( a 1 + a n ) + ( a 2 + a n − 1 ) + ( a 3 + a n − 2 ) + ⋯ + ( a n + a 1 )
Since a 1 + a n = a 2 + a n − 1 = a 3 + a n − 2 = ⋯ a_1 + a_n = a_2 + a_{n-1} = a_3 + a_{n-2} = \cdots a 1 + a n = a 2 + a n − 1 = a 3 + a n − 2 = ⋯ (a property of arithmetic sequences), there are n n n pairs, and each pair sums to a 1 + a n a_1 + a_n a 1 + a n . Therefore:
2 S n = n ( a 1 + a n ) 2S_n = n(a_1 + a_n) 2 S n = n ( a 1 + a n )
S n S_n S n : the sum of the first
n n n terms of an arithmetic sequence, i.e.,
a 1 + a 2 + ⋯ + a n a_1 + a_2 + \cdots + a_n a 1 + a 2 + ⋯ + a n .
Substitute a n = a 1 + ( n − 1 ) d a_n = a_1 + (n-1)d a n = a 1 + ( n − 1 ) d into the formula above:
S n = n ( a 1 + a n ) 2 = n [ a 1 + a 1 + ( n − 1 ) d ] 2 = n [ 2 a 1 + ( n − 1 ) d ] 2 \begin{aligned}
S_n &= \frac{n(a_1 + a_n)}{2} \\
&= \frac{n[a_1 + a_1 + (n-1)d]}{2} \\
&= \frac{n[2a_1 + (n-1)d]}{2}
\end{aligned} S n = 2 n ( a 1 + a n ) = 2 n [ a 1 + a 1 + ( n − 1 ) d ] = 2 n [ 2 a 1 + ( n − 1 ) d ]
From a geometric viewpoint, the sum of the first n n n terms of an arithmetic sequence can be regarded as the area of a trapezoid:
Upper base: a 1 a_1 a 1 (first term)
Lower base: a n a_n a n (last term)
Height: n n n (number of terms)
Trapezoid area formula: S = ( upper base + lower base ) × height 2 = ( a 1 + a n ) × n 2 S = \frac{(\text{upper base} + \text{lower base}) \times \text{height}}{2} = \frac{(a_1 + a_n) \times n}{2} S = 2 ( upper base + lower base ) × height = 2 ( a 1 + a n ) × n
This exactly corresponds to Form 1 of the arithmetic sequence summation formula!
Worked Examples
Find the sum of all terms of the arithmetic sequence 2 , 5 , 8 , 11 , … , 98 2, 5, 8, 11, \ldots, 98 2 , 5 , 8 , 11 , … , 98 .
Solution :
First determine the number of terms. Given a 1 = 2 a_1 = 2 a 1 = 2 , d = 3 d = 3 d = 3 , a n = 98 a_n = 98 a n = 98 .
From a n = a 1 + ( n − 1 ) d a_n = a_1 + (n-1)d a n = a 1 + ( n − 1 ) d :
98 = 2 + ( n − 1 ) × 3 98 = 2 + (n-1) \times 3 98 = 2 + ( n − 1 ) × 3
96 = 3 ( n − 1 ) 96 = 3(n-1) 96 = 3 ( n − 1 )
n = 33 n = 33 n = 33
Using Form 1:
S 33 = 33 × ( 2 + 98 ) 2 = 33 × 100 2 = 1650 S_{33} = \frac{33 \times (2 + 98)}{2} = \frac{33 \times 100}{2} = 1650 S 33 = 2 33 × ( 2 + 98 ) = 2 33 × 100 = 1650
In the arithmetic sequence { a n } \{a_n\} { a n } , a 1 = 5 a_1 = 5 a 1 = 5 and d = 3 d = 3 d = 3 . Find the sum of the first 20 terms S 20 S_{20} S 20 .
Solution :
Using Form 2:
S 20 = 20 × 5 + 20 × 19 2 × 3 = 100 + 570 = 670 S_{20} = 20 \times 5 + \frac{20 \times 19}{2} \times 3 = 100 + 570 = 670 S 20 = 20 × 5 + 2 20 × 19 × 3 = 100 + 570 = 670
Example 3: Finding the Number of Terms from the Sum
In the arithmetic sequence { a n } \{a_n\} { a n } , a 1 = 1 a_1 = 1 a 1 = 1 and d = 2 d = 2 d = 2 . If the sum of the first n n n terms is S n = 100 S_n = 100 S n = 100 , find n n n .
Solution :
Using Form 2:
S n = n × 1 + n ( n − 1 ) 2 × 2 = n + n ( n − 1 ) = n 2 S_n = n \times 1 + \frac{n(n-1)}{2} \times 2 = n + n(n-1) = n^2 S n = n × 1 + 2 n ( n − 1 ) × 2 = n + n ( n − 1 ) = n 2
Therefore:
n 2 = 100 n^2 = 100 n 2 = 100
n = 10 ( discarding the negative value ) n = 10 \quad (\text{discarding the negative value}) n = 10 ( discarding the negative value )
Practice Problems
Exercise 1
Find the sum of the first 50 terms of the arithmetic sequence 1 , 3 , 5 , 7 , … 1, 3, 5, 7, \ldots 1 , 3 , 5 , 7 , … .
Reference Answer (2 个标签)
arithmetic sequence sum of first n terms
Idea : First find the 50th term, then use Form 1 to sum.
Detailed steps :
Given a 1 = 1 a_1 = 1 a 1 = 1 and d = 2 d = 2 d = 2 .
Find the 50th term:
a 50 = 1 + ( 50 − 1 ) × 2 = 1 + 98 = 99 a_{50} = 1 + (50-1) \times 2 = 1 + 98 = 99 a 50 = 1 + ( 50 − 1 ) × 2 = 1 + 98 = 99
Sum:
S 50 = 50 × ( 1 + 99 ) 2 = 50 × 100 2 = 2500 S_{50} = \frac{50 \times (1 + 99)}{2} = \frac{50 \times 100}{2} = 2500 S 50 = 2 50 × ( 1 + 99 ) = 2 50 × 100 = 2500
Answer : S 50 = 2500 S_{50} = 2500 S 50 = 2500
Exercise 2
In the arithmetic sequence { a n } \{a_n\} { a n } , a 1 = − 10 a_1 = -10 a 1 = − 10 and d = 3 d = 3 d = 3 . After how many terms is the sum minimal?
Reference Answer (2 个标签)
arithmetic sequence sum of first n terms
Idea : The relationship between the sum and the number of terms is a quadratic function; find the minimum.
Detailed steps :
Using Form 2:
S n = n × ( − 10 ) + n ( n − 1 ) 2 × 3 = − 10 n + 3 n 2 − 3 n 2 S_n = n \times (-10) + \frac{n(n-1)}{2} \times 3 = -10n + \frac{3n^2 - 3n}{2} S n = n × ( − 10 ) + 2 n ( n − 1 ) × 3 = − 10 n + 2 3 n 2 − 3 n
S n = 3 n 2 − 23 n 2 S_n = \frac{3n^2 - 23n}{2} S n = 2 3 n 2 − 23 n
This is a quadratic function of n n n that opens upward, taking its minimum at the vertex.
The horizontal coordinate of the vertex:
n = − − 23 2 × 3 = 23 6 ≈ 3.83 n = -\frac{-23}{2 \times 3} = \frac{23}{6} \approx 3.83 n = − 2 × 3 − 23 = 6 23 ≈ 3.83
Since n n n must be a positive integer, compare S 3 S_3 S 3 and S 4 S_4 S 4 :
S 3 = 3 × 9 − 23 × 3 2 = 27 − 69 2 = − 21 S_3 = \frac{3 \times 9 - 23 \times 3}{2} = \frac{27 - 69}{2} = -21 S 3 = 2 3 × 9 − 23 × 3 = 2 27 − 69 = − 21
S 4 = 3 × 16 − 23 × 4 2 = 48 − 92 2 = − 22 S_4 = \frac{3 \times 16 - 23 \times 4}{2} = \frac{48 - 92}{2} = -22 S 4 = 2 3 × 16 − 23 × 4 = 2 48 − 92 = − 22
Answer : The sum of the first 4 terms is minimal, S 4 = − 22 S_4 = -22 S 4 = − 22
Exercise 3
The sum of the first n n n terms of the arithmetic sequence { a n } \{a_n\} { a n } is S n = n 2 + 2 n S_n = n^2 + 2n S n = n 2 + 2 n . Find the general term formula a n a_n a n .
Reference Answer (2 个标签)
arithmetic sequence sum of first n terms
Idea : Use a n = S n − S n − 1 a_n = S_n - S_{n-1} a n = S n − S n − 1 (n ≥ 2 n \geq 2 n ≥ 2 ).
Detailed steps :
When n = 1 n = 1 n = 1 :
a 1 = S 1 = 1 2 + 2 × 1 = 3 a_1 = S_1 = 1^2 + 2 \times 1 = 3 a 1 = S 1 = 1 2 + 2 × 1 = 3
When n ≥ 2 n \geq 2 n ≥ 2 :
a n = S n − S n − 1 = ( n 2 + 2 n ) − [ ( n − 1 ) 2 + 2 ( n − 1 ) ] = n 2 + 2 n − ( n 2 − 2 n + 1 + 2 n − 2 ) = n 2 + 2 n − n 2 + 1 = 2 n + 1 \begin{aligned}
a_n &= S_n - S_{n-1} \\
&= (n^2 + 2n) - [(n-1)^2 + 2(n-1)] \\
&= n^2 + 2n - (n^2 - 2n + 1 + 2n - 2) \\
&= n^2 + 2n - n^2 + 1 \\
&= 2n + 1
\end{aligned} a n = S n − S n − 1 = ( n 2 + 2 n ) − [( n − 1 ) 2 + 2 ( n − 1 )] = n 2 + 2 n − ( n 2 − 2 n + 1 + 2 n − 2 ) = n 2 + 2 n − n 2 + 1 = 2 n + 1 Check n = 1 n = 1 n = 1 : a 1 = 2 × 1 + 1 = 3 a_1 = 2 \times 1 + 1 = 3 a 1 = 2 × 1 + 1 = 3 ✓
Answer : a n = 2 n + 1 a_n = 2n + 1 a n = 2 n + 1
Exercise 4
Adapted from a postgraduate entrance examination problem
The sum of the first n n n terms of the arithmetic sequence { a n } \{a_n\} { a n } is S n S_n S n . Given S 3 = 9 S_3 = 9 S 3 = 9 and S 6 = 36 S_6 = 36 S 6 = 36 , find S 9 S_9 S 9 .
Reference Answer (2 个标签)
arithmetic sequence sum of first n terms
Idea : Use the properties of the arithmetic sequence summation formula.
Detailed steps :
Method 1: Find a 1 a_1 a 1 and d d d
{ S 3 = 3 a 1 + 3 × 2 2 d = 3 a 1 + 3 d = 9 S 6 = 6 a 1 + 6 × 5 2 d = 6 a 1 + 15 d = 36 \begin{cases}
S_3 = 3a_1 + \frac{3 \times 2}{2}d = 3a_1 + 3d = 9 \\
S_6 = 6a_1 + \frac{6 \times 5}{2}d = 6a_1 + 15d = 36
\end{cases} { S 3 = 3 a 1 + 2 3 × 2 d = 3 a 1 + 3 d = 9 S 6 = 6 a 1 + 2 6 × 5 d = 6 a 1 + 15 d = 36 Simplifying:
{ a 1 + d = 3 6 a 1 + 15 d = 36 ⇒ 2 a 1 + 5 d = 12 \begin{cases}
a_1 + d = 3 \\
6a_1 + 15d = 36 \quad \Rightarrow \quad 2a_1 + 5d = 12
\end{cases} { a 1 + d = 3 6 a 1 + 15 d = 36 ⇒ 2 a 1 + 5 d = 12 Solving gives: d = 2 d = 2 d = 2 , a 1 = 1 a_1 = 1 a 1 = 1
S 9 = 9 × 1 + 9 × 8 2 × 2 = 9 + 72 = 81 S_9 = 9 \times 1 + \frac{9 \times 8}{2} \times 2 = 9 + 72 = 81 S 9 = 9 × 1 + 2 9 × 8 × 2 = 9 + 72 = 81
Method 2: Using the property
In an arithmetic sequence, S 3 S_3 S 3 , S 6 − S 3 S_6 - S_3 S 6 − S 3 , S 9 − S 6 S_9 - S_6 S 9 − S 6 also form an arithmetic sequence.
Given S 3 = 9 S_3 = 9 S 3 = 9 and S 6 − S 3 = 36 − 9 = 27 S_6 - S_3 = 36 - 9 = 27 S 6 − S 3 = 36 − 9 = 27
The common difference is 27 − 9 = 18 27 - 9 = 18 27 − 9 = 18
Therefore S 9 − S 6 = 27 + 18 = 45 S_9 - S_6 = 27 + 18 = 45 S 9 − S 6 = 27 + 18 = 45
S 9 = S 6 + 45 = 36 + 45 = 81 S_9 = S_6 + 45 = 36 + 45 = 81 S 9 = S 6 + 45 = 36 + 45 = 81
Answer : S 9 = 81 S_9 = 81 S 9 = 81
Summary
Symbols Used in This Article
符号 类型 读音/说明 在本文中的含义 S n S_n S n 求和符号 S sub n The sum of the first n n n terms of an arithmetic sequence a 1 a_1 a 1 元素符号 a sub 1 The first term of an arithmetic sequence a n a_n a n 元素符号 a sub n The n n n th term of an arithmetic sequence d d d 参数 difference The common difference of an arithmetic sequence n n n 变量 n The term number, a positive integer
中英对照
中文术语 英文术语 音标 说明 前n项和 sum of first n terms /sʌm əv fɜːst en tɜːmz/ The total of the first n n n terms of a sequence 倒序相加 reverse order addition /rɪˈvɜːs ˈɔːdə əˈdɪʃən/ The method of writing a sequence in reverse order and adding 梯形 trapezoid /ˈtræpəzɔɪd/ A quadrilateral with one pair of parallel sides 二次函数 quadratic function /kwɒˈdrætɪk ˈfʌŋkʃən/ A function of the form f ( x ) = a x 2 + b x + c f(x) = ax^2 + bx + c f ( x ) = a x 2 + b x + c