Let the given statement be P(n), i.e.,
P(n):1.2+2.22+3.22+........+n.2n=(n−1)2n+1+2
For n=1, we have
P(1):1.2=2=(1−1)21+1+2=0+2=2, which is true.
Let P(k) be true for some k∈N. i.e.,
1.2+2.22+3.22+......+k.2k=(k−1)2k+1+2..........(i)
We shall now prove that P(k+1) is true.
i.e.1.2+2.22+3.23+....k.2k+(k+1).2k+1=k2k+2+2
Consider LHS,
1.2+2.22+3.23+....k.2k+(k+1).2k+1
=(k−1)2k+1+2+(k+1)2k+1
=2k+1{(k−1)+(k+1)}+2
=k.2(k+1)+2
={(k+1)−1}2(k+1)+1+2
Thus P(k+1) is true whenever P(k) is true.
Hence, by the principle of mathematical induction, statement P(n) is true for all natural numbers i.e., n.