Exponential function
By substituting x = ix in the exponential function you get Euler's formula
Explanation
Substitution of x = ix in the power series for the exponential function gives
The imaginary unit can be substituted to obtain
The real part is the power series for the cosine and the imaginary part is the power series for the sine, so that