Mathematical induction is a method of mathematical proof typically used to establish a given statement for all natural numbers. \ \
\Consider S (n) : (cosx+isinx)n= cos(nx) +isin(nx) \ \
\It can be established by mathematical induction for natural numbers, and extended to all integers from there. \ \
\For n ≥ 0, we proceed by mathematical induction. \ \
\n = 0 \ \
\S (0) = cos (0x) + i sin(0x) = 1 +i 0 = 1. \ \
\S (0) is clearly true since \ \
\n = 1 \ \
\S (1) :(cosx+i sinx)1= cos(1x)+isin(1x) = cosx+isinx \ \
\S (1) is clearly true \ \
\n = 2 \ \
\S (2) :(cosx+i sinx)2= cos2x+(isinx)2+2cosx(isinx ) \ \
\= (cos2x - sin2x)+i(2cosxsinx) \ \
\= cos(2x)+isin2x \ \
\S (2) is clearly true \ \
\Now, considering S (n+1): \ \
\(cosx+isinx)n= cos(nx) +isin(nx) is proved by mathematical induction \ \