A proof induction has two standard parts The first establish
Solution
The induction proof works by verifying whether the example works for all possible values.. Let us see how it works..
For example :: Consider E(n) 12 + 22 + 32 + ... + n2 = (1/6). n.(n+1).(2n+1)
Now, we need to prove that the above example is true for all possible values..
So, first we consider n = 1.. For n = 1, obviously the sequence is true..
For n=1, LHS = 12
RHS = (1/6).1.(1+1).(2+1) = 6/6 = 1
here LHS = RHS..
Now we have to prove that : if E(k) is true, then E(k+1) is true..
Let us consider E(K) is true..
We have to prove that property is valid for n = k+1
We have to prove: 12 + 22 + 32 + ... + k2 + (k+1)2 = (1/6).(k+1).(k+2)(2k+3)
Left side
= 12 + 22 + 32 + ... + k2 + (k+1)2
= (12 + 22 + 32 + ... + k2) + (k+1)(k+1)
= (1/6). k.(k+1).(2k+1) + (k+1)(k+1)
= (1/6).(k+1). [ k(2k+1) + 6(k+1)]
= (1/6).(k+1).(2 k2 + 7k + 6)
Right side
= (1/6).(k+1).(k+2)(2k+3)
= (1/6).(k+1).(2k2 + 3k + 4k + 6)
Here, LHS = RHS.. I.e., this is true for E(k+1) therefore our assumption is true..
That means the equation is true for all possible values by principle of induction..
