Let P(n) = 12 + 22 + 32 +…..+ n2 =
\(\frac{n(n+1)(2n+1)}6\) for all n ∈ N.
Step I:
Put n = 1
L.H.S. = 12 = 1
R.H.S. = \(\frac{1(1+1)[2(1)+1]}6=\frac66=1\)
∴ L.H.S. = R.H.S.
∴ P(n) is true for n = 1.
Step II: Let us assume that P(n) is true for n = k.
∴ 12 + 22 + 32 +…+ k2 = \(\frac{k(k+1)(2k+1)}6\).....(i)
Step III: We have to prove that P(n) is true for n = k + 1, i.e., to prove that
∴ P(n) is true for n = k + 1.
Step IV:
From all the steps above, by the principle of mathematical induction, P(n) is true for all n ∈ N.
∴ 12 + 22 + 32 +…+ n2 = \(\frac{n(n+1)(2n+1)}6\)