Skip to content
Worked Examples · Example 1

Q.For all n≥1n \ge 1, prove that 12+22+32+42+…+n2=n(n+1)(2n+1)61^2 + 2^2 + 3^2 + 4^2 + \ldots + n^2 = \dfrac{n(n+1)(2n+1)}{6}.

Kerala DhseTextbookSubjectiveImportance★★★★★est
3% · 1/32 Questions
✓ Free question

Let P(n)P(n) be the statement

12+22+32+…+n2=n(n+1)(2n+1)6.1^2+2^2+3^2+\ldots+n^2=\frac{n(n+1)(2n+1)}{6}.

Base case: For n=1n=1,

LHS=12=1,RHS=1(1+1)(2⋅1+1)6=1⋅2⋅36=1.\text{LHS}=1^2=1,\qquad \text{RHS}=\frac{1(1+1)(2\cdot1+1)}{6}=\frac{1\cdot2\cdot3}{6}=1.

Since LHS == RHS, P(1)P(1) is true.

Inductive step: Assume P(k)P(k) is true for some k≥1k\ge1, i.e.

12+22+…+k2=k(k+1)(2k+1)6.(Induction Hypothesis)1^2+2^2+\ldots+k^2=\frac{k(k+1)(2k+1)}{6}. \qquad \text{(Induction Hypothesis)}

We must show P(k+1)P(k+1) is true, i.e.

12+22+…+k2+(k+1)2=(k+1)(k+2)(2k+3)6.1^2+2^2+\ldots+k^2+(k+1)^2=\frac{(k+1)(k+2)(2k+3)}{6}.

Starting from the LHS and using the induction hypothesis:

12+22+…+k2+(k+1)2=k(k+1)(2k+1)6+(k+1)21^2+2^2+\ldots+k^2+(k+1)^2=\frac{k(k+1)(2k+1)}{6}+(k+1)^2

=(k+1)[k(2k+1)6+(k+1)]=(k+1)⋅k(2k+1)+6(k+1)6=(k+1)\left[\frac{k(2k+1)}{6}+(k+1)\right]=(k+1)\cdot\frac{k(2k+1)+6(k+1)}{6}

Expand the bracket:

k(2k+1)+6(k+1)=2k2+k+6k+6=2k2+7k+6=(k+2)(2k+3)k(2k+1)+6(k+1)=2k^2+k+6k+6=2k^2+7k+6=(k+2)(2k+3)

So

12+22+…+(k+1)2=(k+1)(k+2)(2k+3)6=(k+1)((k+1)+1)(2(k+1)+1)6,1^2+2^2+\ldots+(k+1)^2=\frac{(k+1)(k+2)(2k+3)}{6}=\frac{(k+1)\big((k+1)+1\big)\big(2(k+1)+1\big)}{6},

which is exactly P(k+1)P(k+1).

Thus P(k)⇒P(k+1)P(k)\Rightarrow P(k+1).

✓Final answer

Since P(1)P(1) is true and P(k)⇒P(k+1)P(k)\Rightarrow P(k+1) for every k≥1k\ge1, by the Principle of Mathematical Induction P(n)P(n) is true for all n≥1n\ge1: 12+22+…+n2=n(n+1)(2n+1)61^2+2^2+\ldots+n^2=\dfrac{n(n+1)(2n+1)}{6}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.