Skip to content

Proving sum formulas

Proving sum formulas

The sum of the natural numbers

The proof below proves by induction that 1+2+…+n=n(n+1)2\displaystyle {1+2+\ldots+n}={\frac{n(n+1)}{2}} for every natural n\displaystyle n. Going from k\displaystyle k to k+1\displaystyle k+1 adds exactly one term to the sum, k+1\displaystyle k+1:

ClaimReason
1For n=1\displaystyle {n}={1}: 1=1⋅22\displaystyle {1}={\frac{1\cdot2}{2}}Base case
21+2+…+k=k(k+1)2\displaystyle {1+2+\ldots+k}={\frac{k(k+1)}{2}}The induction hypothesis
3To prove: 1+2+…+k+(k+1)=(k+1)(k+2)2\displaystyle {1+2+\ldots+k+(k+1)}={\frac{(k+1)(k+2)}{2}}The claim for k+1\displaystyle k+1
41+2+…+k+(k+1)=k(k+1)2+(k+1)\displaystyle {1+2+\ldots+k+(k+1)}={\frac{k(k+1)}{2}+(k+1)}By the induction hypothesis (2)
5k(k+1)2+(k+1)=k(k+1)+2(k+1)2\displaystyle {\frac{k(k+1)}{2}+(k+1)}={\frac{k(k+1)+2(k+1)}{2}}A common denominator
6k(k+1)+2(k+1)2=(k+1)(k+2)2\displaystyle {\frac{k(k+1)+2(k+1)}{2}}={\frac{(k+1)(k+2)}{2}}Taking out the common factor k+1\displaystyle k+1; (3) is proved
71+2+…+n=n(n+1)2\displaystyle {1+2+\ldots+n}={\frac{n(n+1)}{2}} for every natural n\displaystyle nConclusion: the principle of induction
How to write the step
  • First write what must be proved – the claim for k+1\displaystyle k+1. That way you know where to arrive.
  • Start from the left side for k+1\displaystyle k+1, and find in it the left side for k\displaystyle k: it is everything but the last term.
  • Put the right side of the hypothesis in its place.
  • Take out the common factor (here k+1\displaystyle k+1) instead of expanding all the brackets: that is how the right side for k+1\displaystyle k+1 shows up.
The sum of the squares

The claim: 12+22+…+n2=n(n+1)(2n+1)6\displaystyle {1^2+2^2+\ldots+n^2}={\frac{n(n+1)(2n+1)}{6}} for every natural n\displaystyle n.

  • Base case: 12=1\displaystyle {1^2}={1} and 1⋅2⋅36=1\displaystyle {\frac{1\cdot2\cdot3}{6}}={1}.
  • Inductive step: assume that 12+…+k2=k(k+1)(2k+1)6\displaystyle {1^2+\ldots+k^2}={\frac{k(k+1)(2k+1)}{6}}. We must prove that 12+…+k2+(k+1)2=(k+1)(k+2)(2k+3)6\displaystyle {1^2+\ldots+k^2+(k+1)^2}={\frac{(k+1)(k+2)(2k+3)}{6}}:
12+…+k2+(k+1)2=k(k+1)(2k+1)6+(k+1)2=(k+1)[k(2k+1)+6(k+1)]6=(k+1)(2k2+7k+6)6=(k+1)(k+2)(2k+3)6\begin{aligned}1^2+\ldots+k^2+(k+1)^2&=\frac{k(k+1)(2k+1)}{6}+(k+1)^2\\&=\frac{(k+1)\left[k(2k+1)+6(k+1)\right]}{6}\\&=\frac{(k+1)(2k^2+7k+6)}{6}\\&=\frac{(k+1)(k+2)(2k+3)}{6}\end{aligned}
  • Conclusion: by the principle of induction, the formula holds for every natural n\displaystyle n.
A geometric sum

The claim: 1+2+4+…+2n−1=2n−1\displaystyle {1+2+4+\ldots+2^{n-1}}={2^n-1} for every natural n\displaystyle n.

  • Base case: 1=21−1\displaystyle {1}={2^1-1}.
  • Inductive step: assume that 1+2+…+2k−1=2k−1\displaystyle {1+2+\ldots+2^{k-1}}={2^k-1}. Then 1+2+…+2k−1+2k=(2k−1)+2k=2⋅2k−1=2k+1−1\displaystyle {1+2+\ldots+2^{k-1}+2^k}={(2^k-1)+2^k}={2\cdot2^k-1}={2^{k+1}-1} – the claim for k+1\displaystyle k+1.
  • Conclusion: by the principle of induction, the claim holds for every natural n\displaystyle n.

This is a second proof of the geometric sum formula, for a1=1\displaystyle {a_1}={1}, q=2\displaystyle {q}={2}.

Exercise 1

1⋅2+2⋅3+…+n(n+1)=n(n+1)(n+2)3\displaystyle {1\cdot2+2\cdot3+\ldots+n(n+1)}={\frac{n(n+1)(n+2)}{3}}
Prove by induction that the claim holds for every natural n\displaystyle n.

Base case

Check the claim for n=1\displaystyle {n}={1}.

Inductive step

Write the induction hypothesis – the claim for some natural k\displaystyle k – and what must be proved for k+1\displaystyle k+1.

The working: start from the expression you got after putting in the hypothesis, and reach what must be proved.

    / – 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

    Conclusion
    Exercise 2

    13+23+…+n3=n2(n+1)24\displaystyle {1^3+2^3+\ldots+n^3}={\frac{n^2(n+1)^2}{4}}
    Prove by induction that the claim holds for every natural n\displaystyle n.

    Base case

    Check the claim for n=1\displaystyle {n}={1}.

    Inductive step

    Write the induction hypothesis – the claim for some natural k\displaystyle k – and what must be proved for k+1\displaystyle k+1.

    The working: start from the expression you got after putting in the hypothesis, and reach what must be proved.

      / – 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

      Conclusion
      Exercise 3

      11⋅2+12⋅3+…+1n(n+1)=nn+1\displaystyle {\frac{1}{1\cdot2}+\frac{1}{2\cdot3}+\ldots+\frac{1}{n(n+1)}}={\frac{n}{n+1}}
      Prove by induction that the claim holds for every natural n\displaystyle n.

      Base case

      Check the claim for n=1\displaystyle {n}={1}.

      Inductive step

      Write the induction hypothesis – the claim for some natural k\displaystyle k – and what must be proved for k+1\displaystyle k+1.

      The working: start from the expression you got after putting in the hypothesis, and reach what must be proved.

        / – 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

        Conclusion
        Exercise 4

        1+3+9+…+3n−1=3n−12\displaystyle {1+3+9+\ldots+3^{n-1}}={\frac{3^n-1}{2}}
        Prove by induction that the claim holds for every natural n\displaystyle n.

        Base case

        Check the claim for n=1\displaystyle {n}={1}.

        Inductive step

        Write the induction hypothesis – the claim for some natural k\displaystyle k – and what must be proved for k+1\displaystyle k+1.

        The working: start from the expression you got after putting in the hypothesis, and reach what must be proved.

          / – 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

          Conclusion
          Exercise 5

          2+5+8+…+(3n−1)=n(3n+1)2\displaystyle {2+5+8+\ldots+(3n-1)}={\frac{n(3n+1)}{2}}
          Prove by induction that the claim holds for every natural n\displaystyle n.

          Base case

          Check the claim for n=1\displaystyle {n}={1}.

          Inductive step

          Write the induction hypothesis – the claim for some natural k\displaystyle k – and what must be proved for k+1\displaystyle k+1.

          The working: start from the expression you got after putting in the hypothesis, and reach what must be proved.

            / – 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

            Conclusion