Sum of the First n Terms of Arithmetic Sequences

Finding the sum of the first nn 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++1001+2+3+\cdots+100, hoping to keep the students busy for a while. But Gauss gave the answer very quickly: 50505050.

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}

This clever method inspired the derivation of the arithmetic sequence summation formula.

Derivation of the Formula

Method 1: Reverse Order Addition

Let SnS_n be the sum of the first nn terms of the arithmetic sequence {an}\{a_n\}:

Sn=a1+a2+a3++anS_n = a_1 + a_2 + a_3 + \cdots + a_n

Write this expression in reverse order:

Sn=an+an1+an2++a1S_n = a_n + a_{n-1} + a_{n-2} + \cdots + a_1

Adding the two equations:

2Sn=(a1+an)+(a2+an1)+(a3+an2)++(an+a1)\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}

Since a1+an=a2+an1=a3+an2=a_1 + a_n = a_2 + a_{n-1} = a_3 + a_{n-2} = \cdots (a property of arithmetic sequences), there are nn pairs, and each pair sums to a1+ana_1 + a_n. Therefore:

2Sn=n(a1+an)2S_n = n(a_1 + a_n)

Sum of the first n terms of an arithmetic sequence (Form 1)
Sn=n(a1+an)2S_n = \frac{n(a_1 + a_n)}{2}

Method 2: Substituting the General Term Formula

Substitute an=a1+(n1)da_n = a_1 + (n-1)d into the formula above:

Sn=n(a1+an)2=n[a1+a1+(n1)d]2=n[2a1+(n1)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}
Sum of the first n terms of an arithmetic sequence (Form 2)
Sn=na1+n(n1)2dS_n = na_1 + \frac{n(n-1)}{2}d
What is the difference between the two summation formulas? When should each be used?

The two formulas are essentially the same, just in different forms:

  • Form 1 Sn=n(a1+an)2S_n = \frac{n(a_1 + a_n)}{2}: used when the first term a1a_1, the last term ana_n, and the number of terms nn are known; the calculation is simpler.
  • Form 2 Sn=na1+n(n1)2dS_n = na_1 + \frac{n(n-1)}{2}d: used when the first term a1a_1, the common difference dd, and the number of terms nn are known.

Which formula to choose depends on the conditions given in the problem. Choosing the right formula can double the efficiency of the calculation!

The Geometric Meaning of the Formula

From a geometric viewpoint, the sum of the first nn terms of an arithmetic sequence can be regarded as the area of a trapezoid:

  • Upper base: a1a_1 (first term)
  • Lower base: ana_n (last term)
  • Height: nn (number of terms)

Trapezoid area formula: S=(upper base+lower base)×height2=(a1+an)×n2S = \frac{(\text{upper base} + \text{lower base}) \times \text{height}}{2} = \frac{(a_1 + a_n) \times n}{2}

This exactly corresponds to Form 1 of the arithmetic sequence summation formula!

Worked Examples

Example 1: Using Form 1

Find the sum of all terms of the arithmetic sequence 2,5,8,11,,982, 5, 8, 11, \ldots, 98.

Solution:

First determine the number of terms. Given a1=2a_1 = 2, d=3d = 3, an=98a_n = 98.

From an=a1+(n1)da_n = a_1 + (n-1)d: 98=2+(n1)×398 = 2 + (n-1) \times 3 96=3(n1)96 = 3(n-1) n=33n = 33

Using Form 1: S33=33×(2+98)2=33×1002=1650S_{33} = \frac{33 \times (2 + 98)}{2} = \frac{33 \times 100}{2} = 1650

Example 2: Using Form 2

In the arithmetic sequence {an}\{a_n\}, a1=5a_1 = 5 and d=3d = 3. Find the sum of the first 20 terms S20S_{20}.

Solution:

Using Form 2: S20=20×5+20×192×3=100+570=670S_{20} = 20 \times 5 + \frac{20 \times 19}{2} \times 3 = 100 + 570 = 670

Example 3: Finding the Number of Terms from the Sum

In the arithmetic sequence {an}\{a_n\}, a1=1a_1 = 1 and d=2d = 2. If the sum of the first nn terms is Sn=100S_n = 100, find nn.

Solution:

Using Form 2: Sn=n×1+n(n1)2×2=n+n(n1)=n2S_n = n \times 1 + \frac{n(n-1)}{2} \times 2 = n + n(n-1) = n^2

Therefore: n2=100n^2 = 100 n=10(discarding the negative value)n = 10 \quad (\text{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.

Reference Answer(2 个标签)
arithmetic sequencesum of first n terms

Idea: First find the 50th term, then use Form 1 to sum.

Detailed steps:

Given a1=1a_1 = 1 and d=2d = 2.

Find the 50th term: a50=1+(501)×2=1+98=99a_{50} = 1 + (50-1) \times 2 = 1 + 98 = 99

Sum: S50=50×(1+99)2=50×1002=2500S_{50} = \frac{50 \times (1 + 99)}{2} = \frac{50 \times 100}{2} = 2500

Answer: S50=2500S_{50} = 2500

Exercise 2

In the arithmetic sequence {an}\{a_n\}, a1=10a_1 = -10 and d=3d = 3. After how many terms is the sum minimal?

Reference Answer(2 个标签)
arithmetic sequencesum 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: Sn=n×(10)+n(n1)2×3=10n+3n23n2S_n = n \times (-10) + \frac{n(n-1)}{2} \times 3 = -10n + \frac{3n^2 - 3n}{2}

Sn=3n223n2S_n = \frac{3n^2 - 23n}{2}

This is a quadratic function of nn that opens upward, taking its minimum at the vertex.

The horizontal coordinate of the vertex: n=232×3=2363.83n = -\frac{-23}{2 \times 3} = \frac{23}{6} \approx 3.83

Since nn must be a positive integer, compare S3S_3 and S4S_4:

S3=3×923×32=27692=21S_3 = \frac{3 \times 9 - 23 \times 3}{2} = \frac{27 - 69}{2} = -21

S4=3×1623×42=48922=22S_4 = \frac{3 \times 16 - 23 \times 4}{2} = \frac{48 - 92}{2} = -22

Answer: The sum of the first 4 terms is minimal, S4=22S_4 = -22

Exercise 3

The sum of the first nn terms of the arithmetic sequence {an}\{a_n\} is Sn=n2+2nS_n = n^2 + 2n. Find the general term formula ana_n.

Reference Answer(2 个标签)
arithmetic sequencesum of first n terms

Idea: Use an=SnSn1a_n = S_n - S_{n-1} (n2n \geq 2).

Detailed steps:

When n=1n = 1: a1=S1=12+2×1=3a_1 = S_1 = 1^2 + 2 \times 1 = 3

When n2n \geq 2:

an=SnSn1=(n2+2n)[(n1)2+2(n1)]=n2+2n(n22n+1+2n2)=n2+2nn2+1=2n+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}

Check n=1n = 1: a1=2×1+1=3a_1 = 2 \times 1 + 1 = 3

Answer: an=2n+1a_n = 2n + 1

Exercise 4

Adapted from a postgraduate entrance examination problem

The sum of the first nn terms of the arithmetic sequence {an}\{a_n\} is SnS_n. Given S3=9S_3 = 9 and S6=36S_6 = 36, find S9S_9.

Reference Answer(2 个标签)
arithmetic sequencesum of first n terms

Idea: Use the properties of the arithmetic sequence summation formula.

Detailed steps:

Method 1: Find a1a_1 and dd

{S3=3a1+3×22d=3a1+3d=9S6=6a1+6×52d=6a1+15d=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}

Simplifying:

{a1+d=36a1+15d=362a1+5d=12\begin{cases} a_1 + d = 3 \\ 6a_1 + 15d = 36 \quad \Rightarrow \quad 2a_1 + 5d = 12 \end{cases}

Solving gives: d=2d = 2, a1=1a_1 = 1

S9=9×1+9×82×2=9+72=81S_9 = 9 \times 1 + \frac{9 \times 8}{2} \times 2 = 9 + 72 = 81

Method 2: Using the property

In an arithmetic sequence, S3S_3, S6S3S_6 - S_3, S9S6S_9 - S_6 also form an arithmetic sequence.

Given S3=9S_3 = 9 and S6S3=369=27S_6 - S_3 = 36 - 9 = 27

The common difference is 279=1827 - 9 = 18

Therefore S9S6=27+18=45S_9 - S_6 = 27 + 18 = 45

S9=S6+45=36+45=81S_9 = S_6 + 45 = 36 + 45 = 81

Answer: S9=81S_9 = 81


Summary

Symbols Used in This Article

符号类型读音/说明在本文中的含义
SnS_n求和符号S sub nThe sum of the first nn terms of an arithmetic sequence
a1a_1元素符号a sub 1The first term of an arithmetic sequence
ana_n元素符号a sub nThe nnth term of an arithmetic sequence
dd参数differenceThe common difference of an arithmetic sequence
nn变量nThe term number, a positive integer

中英对照

中文术语英文术语音标说明
前n项和sum of first n terms/sʌm əv fɜːst en tɜːmz/The total of the first nn 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)=ax2+bx+cf(x) = ax^2 + bx + c