Learn Before
Formula

Sum of the First n Terms of an Arithmetic Sequence

The sum of the first nn terms of an arithmetic sequence, denoted SnS_n, is the total obtained by adding all terms from a1a_1 through ana_n: Sn=a1+a2+a3++anS_n = a_1 + a_2 + a_3 + \dots + a_n. Rather than adding each term individually, a closed-form formula allows SnS_n to be computed directly using only the first term, the last term, and the number of terms:

Sn=n2(a1+an)S_n = \frac{n}{2}(a_1 + a_n)

where a1a_1 is the first term and ana_n is the nnth (last) term being summed.

This formula is derived by writing the sum twice — once in forward order starting from a1a_1 and once in reverse order starting from ana_n — and then adding the two expressions together. In the forward direction, each successive term increases by the common difference dd: Sn=a1+(a1+d)+(a1+2d)++anS_n = a_1 + (a_1 + d) + (a_1 + 2d) + \dots + a_n. In the reverse direction, each successive term decreases by dd: Sn=an+(and)+(an2d)++a1S_n = a_n + (a_n - d) + (a_n - 2d) + \dots + a_1. When these two expressions are added term by term, the dd terms cancel and every pair sums to (a1+an)(a_1 + a_n). Since there are nn such pairs, the result is 2Sn=n(a1+an)2S_n = n(a_1 + a_n). Dividing both sides by 22 yields the formula Sn=n2(a1+an)S_n = \frac{n}{2}(a_1 + a_n).

0

1

Updated 2026-05-25

Contributors are:

Who are from:

Tags

OpenStax

Intermediate Algebra @ OpenStax

Ch.12 Sequences, Series and Binomial Theorem - Intermediate Algebra @ OpenStax

Algebra

Learn After