Skip to content

The sum of an arithmetic sequence

The sum of an arithmetic sequence

The sum twice

To work out 1+2+3+…+100\displaystyle 1+2+3+\ldots+100, we write the sum twice – once from the start and once from the end – and add them, number under number:

S=1+2+3+…+100S=100+99+98+…+12S=101+101+101+…+101\begin{aligned}S&=1+2+3+\ldots+100\\S&=100+99+98+\ldots+1\\2S&=101+101+101+\ldots+101\end{aligned}
  • Each column adds up to 101, and there are 100 columns: 2S=100⋅101\displaystyle {2S}={100\cdot101}.
  • S=5050\displaystyle {S}={5050}.
The sum of the first n\displaystyle n terms

The same idea works in every arithmetic sequence: in the top row the terms go up by d\displaystyle d, in the bottom row down by d\displaystyle d, so each column has the same sum, a1+an\displaystyle a_1+a_n. There are n\displaystyle n columns:

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

Put in an=a1+(n−1)d\displaystyle {a_n}={a_1+(n-1)d}, and we get a form without an\displaystyle a_n:

Sn\displaystyle S_n =\displaystyle = n[2a1+(n−1)d]2\displaystyle \frac{n\left[2a_1+(n-1)d\right]}{2}

Sn\displaystyle S_n is n\displaystyle n times the mean of the first and the last term.

Stairs that make a rectangle

nn+1

The same proof in a picture: stairs of 1+2+…+n\displaystyle 1+2+\ldots+n squares, and another copy of them upside down, make a rectangle of n\displaystyle n by n+1\displaystyle n+1 squares. So 1+2+…+n=n(n+1)2\displaystyle {1+2+\ldots+n}={\frac{n(n+1)}{2}}.

The sequence of partial sums

The sums S1,S2,S3,…\displaystyle S_1, S_2, S_3, \ldots are a sequence themselves – the sequence of partial sums. In the sequence 1,3,5,…\displaystyle 1, 3, 5, \ldots:

  • Sn=n[2+(n−1)⋅2]2=n2\displaystyle {S_n}={\frac{n\left[2+(n-1)\cdot2\right]}{2}}={n^2}: the sums 1,4,9,16,…\displaystyle 1, 4, 9, 16, \ldots
  • In every arithmetic sequence Sn=d2n2+(a1−d2)n\displaystyle {S_n}={\frac{d}{2}n^2+\left(a_1-\frac{d}{2}\right)n}: a quadratic function of n\displaystyle n with no constant term (when d≠0\displaystyle d\neq0).
  • So the points (n,Sn)\displaystyle (n, S_n) lie on a parabola through the origin:
(1,1)\displaystyle (1,1)
(2,4)\displaystyle (2,4)
(3,9)\displaystyle (3,9)
(4,16)\displaystyle (4,16)
(5,25)\displaystyle (5,25)
y=x2\displaystyle y=x^{2}
The number of terms from the sum

How many terms of the sequence 5,8,11,…\displaystyle 5, 8, 11, \ldots must be added to get 220?

  • n[10+(n−1)⋅3]2=220\displaystyle {\frac{n\left[10+(n-1)\cdot3\right]}{2}}={220}, that is n(3n+7)=440\displaystyle {n(3n+7)}={440}, so 3n2+7n−440=0\displaystyle {3n^2+7n-440}={0}.
  • n=−7±49+52806=−7±736\displaystyle {n}={\frac{-7\pm\sqrt{49+5280}}{6}}={\frac{-7\pm73}{6}}: n=11\displaystyle {n}={11} or n=−403\displaystyle {n}={-\frac{40}{3}}.
  • n\displaystyle n is natural, so 11 terms are needed. When the equation gives no natural n\displaystyle n, no number of terms has exactly the given sum.
The term from the sum

Sn\displaystyle S_n is Sn−1\displaystyle S_{n-1} plus the n\displaystyle nth term. So the terms can be found from the sums:

an\displaystyle a_n =\displaystyle = Sn−Sn−1\displaystyle S_n-S_{n-1}n≥2\displaystyle n\geq2

and a1=S1\displaystyle {a_1}={S_1}. If Sn=2n2+3n\displaystyle {S_n}={2n^2+3n}:

  • an=(2n2+3n)−(2(n−1)2+3(n−1))=4n+1\displaystyle {a_n}={(2n^2+3n)-\left(2(n-1)^2+3(n-1)\right)}={4n+1}, and a1=S1=5\displaystyle {a_1}={S_1}={5} fits the formula.
  • an+1−an=4\displaystyle {a_{n+1}-a_n}={4}: the sequence is arithmetic.
Exercise 1

The sum: 4+9+14+…+99\displaystyle 4+9+14+\ldots+99.

a

How many terms has the sum?

    b

    Calculate the sum.

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      Exercise 2

      Calculate the sum of all two-digit numbers divisible by 3.

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

        Exercise 3

        In an arithmetic sequence a1=−20\displaystyle {a_1}={-20} and d=3\displaystyle {d}={3}.
        From what number of terms is the sum Sn\displaystyle S_n positive? Solve an inequality, and write the answer.

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

            Exercise 4

            The sum of the first n\displaystyle n terms of a sequence: Sn=3n2−n\displaystyle {S_n}={3n^2-n}.

            a
            an=\displaystyle {a_n}={}

            Find an\displaystyle a_n.

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

              b

              Prove that the sequence is arithmetic. (Check a1\displaystyle a_1 too.)

              Exercise 5

              Is there a number of terms of the sequence 5,8,11,…\displaystyle 5, 8, 11, \ldots whose sum is exactly 500? Solve an equation, and explain.