Type to search, in English or Thai

  1. Home
  2. Articles
  3. Sequences & Series
  4. Arithmetic series

// Article · Sequences & series

Arithmetic Series: Sum of n Terms, General Term, Derivation and Examples

An arithmetic series adds numbers that grow by the same amount each time, such as 3+7+11+153 + 7 + 11 + 15. There is one formula to remember, and its derivation fits on one line using the trick young Gauss used to add 1 to 100. This article covers the formula, where it comes from, the examples that appear most often in exams, and the key terms.

By Ajarn ModUpdated
In 30 seconds
  • General term: an=a1+(n−1)da_n = a_1 + (n-1)d, where dd is the common difference =an+1−an= a_{n+1} - a_n
  • Sum of n terms: Sn=n2(a1+an)=n2[2a1+(n−1)d]S_n = \dfrac{n}{2}(a_1 + a_n) = \dfrac{n}{2}\big[2a_1 + (n-1)d\big]
  • Number of terms: n=an−a1d+1n = \dfrac{a_n - a_1}{d} + 1 (do not forget the +1)
  • An infinite arithmetic series always diverges unless every term is zero

What is an arithmetic series?

An arithmetic sequence (also called an arithmetic progression, AP) is a sequence in which each term is obtained by adding a constant dd to the previous one, for example 3,7,11,15,…3, 7, 11, 15, \dots with d=4d = 4. An arithmetic series is the sum of those terms, 3+7+11+15+⋯3 + 7 + 11 + 15 + \cdots

To find dd, subtract any term from the next one. If every pair gives the same value, the sequence is arithmetic. dd can be negative (the terms decrease) or zero (all terms are equal).

an=a1+(n−1)da_n = a_1 + (n-1)d

Why (n−1)(n-1)? Going from the 1st term to the nth term takes n−1n-1 steps of size dd, just as 10 fence posts have 9 gaps between them.

The sum of n terms and Gauss's derivation

Sn=a1+a2+⋯+an=n2 (a1+an)=n2[2a1+(n−1)d]S_n = a_1 + a_2 + \cdots + a_n = \frac{n}{2}\,(a_1 + a_n) = \frac{n}{2}\big[2a_1 + (n-1)d\big]

Derivation: write the sum twice, once forwards and once backwards, then add the two lines column by column.

Sn=a1+(a1+d)+⋯+(an−d)+anSn=an+(an−d)+⋯+(a1+d)+a12Sn=(a1+an)+(a1+an)+⋯+(a1+an)⏟n pairs\begin{array}{rcl} S_n &=& a_1 + (a_1 + d) + \cdots + (a_n - d) + a_n \\ S_n &=& a_n + (a_n - d) + \cdots + (a_1 + d) + a_1 \\ \hline 2S_n &=& \underbrace{(a_1 + a_n) + (a_1 + a_n) + \cdots + (a_1 + a_n)}_{n\ \text{pairs}} \end{array}

Every pair has the same sum a1+ana_1 + a_n, because moving one column to the right adds dd to the top term and takes dd from the bottom term. So 2Sn=n(a1+an)2S_n = n(a_1 + a_n). The easiest way to remember it: sum = number of terms × average of the first and last terms.

Example 1 · Gauss's problem

Find 1+2+3+⋯+1001 + 2 + 3 + \cdots + 100

  1. a1=1, an=100, n=100a_1 = 1,\ a_n = 100,\ n = 100. Pairing front and back gives 50 pairs, each summing to 101.

    S100=1002(1+100)=50×101S_{100} = \frac{100}{2}(1 + 100) = 50 \times 101

50505050. The general result 1+2+⋯+n=n(n+1)21 + 2 + \cdots + n = \dfrac{n(n+1)}{2} is a special case of this formula.

Example 2 · Find the number of terms first

Find 7+11+15+⋯+2037 + 11 + 15 + \cdots + 203

  1. a1=7, d=4a_1 = 7,\ d = 4. Number of terms n=203−74+1=49+1=50n = \dfrac{203 - 7}{4} + 1 = 49 + 1 = 50

  2. S50=502(7+203)=25×210S_{50} = \dfrac{50}{2}(7 + 203) = 25 \times 210

52505250. The most common mistake is forgetting the +1 and using n = 49.

Examples that often appear in exams

Example 3 · Given Sₙ, find aₙ

The sum of the first n terms of a sequence is Sn=3n2+2nS_n = 3n^2 + 2n. Find ana_n.

  1. The nth term is the sum of n terms minus the sum of n − 1 terms.

    an=Sn−Sn−1=(3n2+2n)−[3(n−1)2+2(n−1)]=6n−1a_n = S_n - S_{n-1} = (3n^2 + 2n) - \big[3(n-1)^2 + 2(n-1)\big] = 6n - 1
  2. Check the first term separately: a1=S1=5a_1 = S_1 = 5, which matches 6(1)−1=56(1) - 1 = 5 ✓

an=6n−1a_n = 6n - 1, an arithmetic sequence with d=6d = 6. Note: if SnS_n is a quadratic in n with no constant term, the sequence is always arithmetic.

Example 4 · Three consecutive terms

Three numbers form an arithmetic sequence. Their sum is 27 and their product is 585. Find them.

  1. Call the middle term xx so the terms are symmetric: x−d, x, x+dx - d,\ x,\ x + d. The sum is 3x=27⇒x=93x = 27 \Rightarrow x = 9.

  2. Product: (9−d)⋅9⋅(9+d)=9(81−d2)=585⇒d2=16⇒d=±4(9 - d)\cdot 9 \cdot (9 + d) = 9(81 - d^2) = 585 \Rightarrow d^2 = 16 \Rightarrow d = \pm 4

5,9,135, 9, 13 (or 13,9,513, 9, 5). Centring the terms on xx makes dd cancel from the sum straight away.

Example 5 · Word problem

A hall has 25 rows. The first row has 20 seats and each row has 2 more than the one in front. How many seats are there?

  1. Last row: a25=20+24(2)=68a_{25} = 20 + 24(2) = 68

  2. S25=252(20+68)=12.5×88S_{25} = \dfrac{25}{2}(20 + 68) = 12.5 \times 88

1,1001{,}100 seats

Arithmetic series vs geometric series

ArithmeticGeometric
Next termadd ddmultiply by rr
General terma1+(n−1)da_1 + (n-1)da1rn−1a_1r^{n-1}
Sum of n termsn2(a1+an)\tfrac{n}{2}(a_1 + a_n)a11−rn1−ra_1\tfrac{1 - r^n}{1 - r}
Infinite sumalways diverges (unless all terms are 0)converges to a11−r\tfrac{a_1}{1 - r} when ∣r∣<1|r| < 1
Graph of ana_npoints on a straight linepoints on an exponential curve

For the geometric side, with its derivation and examples, read Geometric Series Formula with Examples.

Key terms

  • Arithmetic sequence / arithmetic progression (AP): the list a1,a2,a3,…a_1, a_2, a_3, \dots with a constant difference
  • Arithmetic series: the sum of the terms, SnS_n
  • Common difference dd: an+1−ana_{n+1} - a_n
  • General term (nth term) ana_n and partial sum SnS_n
  • Arithmetic mean of a and b: a+b2\tfrac{a + b}{2}, the middle term of three consecutive terms

Uses in engineering

  • Pipes or cable drums stacked in a triangle: 10 on the bottom layer, one fewer on each layer above, gives 102(10+1)=55\tfrac{10}{2}(10 + 1) = 55 items, used to estimate floor loads in a warehouse.
  • Straight-line depreciation: a machine bought for 500,000 baht that loses 40,000 baht a year is worth 500,000−40,000n500{,}000 - 40{,}000n after n years, an arithmetic sequence with d=−40,000d = -40{,}000.
  • Motion with constant acceleration: the distance covered in the 1st, 2nd, 3rd … second is u+a(n−12)u + a(n - \tfrac12), an arithmetic sequence whose common difference is the acceleration aa. Adding the first t seconds gives exactly s=ut+12at2s = ut + \tfrac12at^2.

Common mistakes

  • Counting terms with an−a1d\tfrac{a_n - a_1}{d} and forgetting the +1
  • Using an=a1+nda_n = a_1 + nd instead of a1+(n−1)da_1 + (n-1)d, which lands one term too far
  • Mixing up “the nth term” (ana_n) with “the sum of n terms” (SnS_n)
  • Finding ana_n from SnS_n without checking the first term separately: if SnS_n has a constant term, a1a_1 will not fit the formula Sn−Sn−1S_n - S_{n-1}

Keep learning

The full lessons are in Thai, with English technical terms and the same formulas.

Frequently asked questions

What is the formula for the sum of an arithmetic series?

Sn=n2(a1+an)S_n = \tfrac{n}{2}(a_1 + a_n) when the first and last terms are known, or Sn=n2[2a1+(n−1)d]S_n = \tfrac{n}{2}\big[2a_1 + (n-1)d\big] when the common difference d is known.

Does an infinite arithmetic series have a sum?

No, it diverges unless every term is zero. If d≠0d \ne 0 the terms grow without bound, and if d=0d = 0 with a1≠0a_1 \ne 0 the partial sums na1na_1 grow without bound. A geometric series, by contrast, converges when ∣r∣<1|r| < 1.

How do I find the number of terms?

Use n=an−a1d+1n = \dfrac{a_n - a_1}{d} + 1. The +1 is the step most often forgotten: from the 1st term to the nth term there are n−1n - 1 steps of size d.

How do I find aₙ when Sₙ is given?

Use an=Sn−Sn−1a_n = S_n - S_{n-1} for n≥2n \ge 2 and a1=S1a_1 = S_1. For example Sn=3n2+2nS_n = 3n^2 + 2n gives an=6n−1a_n = 6n - 1.

All 8 articles in Sequences & Series → · All articles