All Posts

Mathematical Induction : Sum of N natural number squares

Mathematical Induction : Sum of N natural number squares

Using Mathematical Induction Prove that the sum of the first n natural number squares is:

 

\LARGE \sum_{1}^{n}i^{2}= \frac{n(n+1)(2n+1)}{6}

i.e

\LARGE 1^2 + 2^2 + 3^2 + ... + n^2 = \frac{n(n+1)(2n+1)}{6}

Using WolframAlpha to find the formula. WolframAlpha is a great mathematical computational tool for Mathematical students.

  • https://www.wolframalpha.com/

 

WolframAlpha_Sum_of_Squares

 

 

Proof

By Mathematical Induction.

Base case : P(1)

Let’s prove that the base case holds true. We need to show that P(1) is true.

\LARGE 1^2 = \frac{1*(1+1)(2*1+1)}{6}

\LARGE 1^2 = \frac{1.2.3}{6}

1=1

P(1) is true.

Induction Case

Let’s assume that P(k) hold true. Assume that for some positive k, P(k) holds true, so that

P(k)

\LARGE \sum_{1}^{k} i^{2} =\frac{k(k+1)(2k+1)}{6}

We need to show that P(k + 1) holds true.

\LARGE \sum_{1}^{k+1}i^2 = \sum_{1}^{k}i^2 + (k+1)^2

We have assumed that P(k) is true. Replacing  for k terms we get:

\LARGE = \frac{k(k+1)(2k+1)}{6} + (k+1)^2

Taking (k+1) common we get :

\LARGE = \frac{(k+1)(k(2k+1) + 6(k+1))}{6}

Take hints in the factorization, we need to prove and eventually get (k+1) in terms of k.

expand and rearrange the 2nd term:

\LARGE = \frac{(k+1)(2k^2 + k + 6k + 6)}{6}

\LARGE \frac{(k+1)(2k^2 + 4k + 6 + 3k)}{6}

\LARGE = \frac{(k+1)(2k(k+2) + 3(k+2))}{6}

Taking k+2 common

\LARGE = \frac{(k+1)(k+2)(2k+3)}{6}

\LARGE = \frac{(k+1)((k+1)+1)(2(k+1)+1)}{6}

 

Hence P(k + 1) holds true, when P(k) is true, so P(n) is true for all finite natural numbers n.