Femtobytes
Problem type

Proof by induction for a sum

What it solves
Find the closed formula for a sum such as 1 + 4 + 9 + ... + n squared, and prove it for every natural number n by mathematical induction, with every expansion in the inductive step written out.
Subject
Real Analysis
Topic
Proof by induction
Also called
mathematical induction, prove by induction, sum formula
Your problem

Find a closed formula for this sum and prove it for every natural number nn by induction.

∑i=1n(i3−i2+i−2)\sum_{i=1}^{n} \left( i^{3} - i^{2} + i - 2 \right)
Invent a new one:
The problem

Find a closed formula for this sum and prove it for every natural number nn by induction.

∑i=1n(i3−i2+i−2)\sum_{i=1}^{n} \left( i^{3} - i^{2} + i - 2 \right)
The result
∑i=1n(i3−i2+i−2)=n(3n3+2n2+3n−20)12\sum_{i=1}^{n} \left( i^{3} - i^{2} + i - 2 \right) = \frac{n \left( 3 n^{3} + 2 n^{2} + 3 n - 20 \right)}{12}

Proved by mathematical induction: the formula holds for every natural number nn.

checked 15 lines of this solution were evaluated with exact arithmetic before it was shown to you. A solution with a false line is never served.
Picture 1 of 2Step 1: Say exactly what is claimed, and for which n
sum up to the term beforethe newest termthe formula1-1233224725175635976588111291767102675n, the number of terms addedvalue of the sum
Each bar is the sum so far; the bright cap on top of it is the newest term, the one the inductive step adds. The dots are the formula. Every dot sits exactly on top of its bar.
1

Say exactly what is claimed, and for which n

Why this step

A formula with an nn in it is not one statement. It is an endless list of statements, one for each natural number, and no amount of checking examples can reach the end of an endless list. Before choosing a method we must see the claim for what it is: infinitely many claims wearing one coat.

The symbol ∑\sum (capital sigma) means "add up". ∑i=1n(i3−i2+i−2)\sum_{i=1}^{n} \left( i^{3} - i^{2} + i - 2 \right) says: let ii run through 1,2,3,…,n1, 2, 3, \ldots, n, work out i3−i2+i−2i^{3} - i^{2} + i - 2 for each, and add the results. The first few terms are −1+4+19+50+⋯-1 + 4 + 19 + 50 + \cdots.

Sn:∑i=1n(i3−i2+i−2)=n(3n3+2n2+3n−20)12S_n: \qquad \sum_{i=1}^{n} \left( i^{3} - i^{2} + i - 2 \right) = \frac{n \left( 3 n^{3} + 2 n^{2} + 3 n - 20 \right)}{12}
Call this statement SnS_n. We must prove S1,S2,S3,…S_1, S_2, S_3, \ldots, every one of them.
nnterm addedsum so farformula
11−1-1−1-1−1-1
22443333
33191922222222
44505072727272
55103103175175175175
66184184359359359359
The sum added up by hand against the formula, for the first six n. They agree, which is encouraging and proves nothing about n = 7.
2

Basis step: check the first statement

Why this step

The inductive step alone proves nothing: a chain of perfectly sound links hanging from no hook holds nothing up. There are famous false formulas whose inductive step works and whose first case fails. So we knock the first domino over by hand. With n=1n = 1 the sum has a single term, so both sides are plain arithmetic.

∑i=11(i3−i2+i−2)\displaystyle \sum_{i=1}^{1} \left( i^{3} - i^{2} + i - 2 \right)==13−12+1−2\displaystyle 1^{3} - 1^{2} + 1 - 2
With n=1n = 1 the only value of ii is 11, so the sum is its first term alone. checked
==−1\displaystyle -1
Work it out. checked
formula at n=1\displaystyle \text{formula at } n = 1==1(3⋅13+2⋅12+3⋅1−20)12\displaystyle \frac{1 \left( 3 \cdot 1^{3} + 2 \cdot 1^{2} + 3 \cdot 1 - 20 \right)}{12}
Put n=1n = 1 into the formula. checked
==1⋅(−12)12\displaystyle \frac{1 \cdot \left( -12 \right)}{12}
Work out each bracket. checked
==−1\displaystyle -1
Multiply, then divide. checked
3

Inductive hypothesis: suppose one statement holds

4

Work out the new term that statement k + 1 adds

5

Inductive step, left side: start from the longer sum

6

Inductive step, right side: multiply out the target

7

Conclusion