Given,
1+3+32+.......+3n−1=3n−12
Let P(n)=1+3+32+.......+3n−1=3n−12
For n=1
LHS=1
RHS=
31−12=22=1
LHS=RHS
Therefore P(n) is true for n=1
Assume that P(k) is true.
P(k)=1+3+32+.......+3k−1=3k−12
we have to prove that P(k+1) is true.
add 3k on both sides, we get,
1+3+32+.......+3k−1+3k=3k−12+3k
P(k+1)=3k−1+2(3k)2
=3(3k)−12
=3k+1−12
Therefore P(k+1) is true when P(k) is true.
Therefore by the principle of mathematical induction, P(n) is true for n.