Let the given statement be P(n) i.e.,
P(n)=1+3+32+......+3n−1=(3n−1)2
For n=1, we have
P(1)=(31−1)2=3−12=22=1, which is true.
Let P(k) be true for some positive integer k, i.e.,
1+3+32+........+3k−1=(3k−1)2..........(i)
We shall now prove that P(k+1) is true.
Now P(k+1)=1+3+32+........+3k−1+3(k−1)+1
=(1+3+32+.....+3k−1)+3k
=(3k−1)2+3k [Using (i)]
=(3k−1)+2.3k2
=3.3k−12
=3k+1−12
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.