Loading [MathJax]/jax/output/HTML-CSS/jax.js

Derivation of Euler formula, Euler Identity and de Moivre formula

Euler formula

The proof for Euler formula and identity using power series is ubiquitous on the internet. However, I will include it here to amplify the power of substitution. The derivation of Euler formula is useful in obtaining the exponential form of sin(x) and cos(x).

We have:

ex=1+x+x22!+x33!+x44!+x55!+x66!+O(x7)

sin(x)=xx33!+x55!x77!+x99!x1111!+x1313!+O(x15)

cos(x)=1x22!+x44!x66!+x88!x1010!+x1212!+O(x14)

We are looking for the series representation of eix, so we can substitute ix into x in the series of ex, we have:

eix=1+ix+(ix)22!+(ix)33!+(ix)44!+(ix)55!+(ix)66!+O(x7)

where i is the imaginary number 1

We have i1=i; i2=1; i3=i2i=i;i4=1; i5=i; i6=1; i7=i

Thus:

eix=1+ixx22!ix33!+x44!+ix55!x66!ix77!+O(x8)

Rearrange the terms and factor i, we will have

eix=(1x22!+x44!x66!...)+i(xx33!+x55!x77!...)

eix=cos(x)+isin(x) (QED)

Euler identity

From this, we can easily obtain the Euler's identity:

eix=cos(x)+isin(x)

eiπ=cos(π)+isin(π)=1+0

eiπ=1

Euler formula for hyperbolic function

Similar to the Euler formula, we can also derive

sinh(x)=x+x33!+x55!+x77!+x99!+x1111!+x1313!+O(x15)

cosh(x)=1+x22!+x44!+x66!+x88!+x1010!+x1212!+O(x14)

ex=1+x+x22!+x33!+x44!+x55!+x66!+O(x7)

ex=cosh(x)+sinh(x)

Exponential form of sin(x)

We can also derive two principal identities for sin(x) and cos(x), and then find the relationship between them and sinh(x) and cosh(x)

eixeix=cos(x)+isin(x)[cos(x)+isin(x)]

=cos(x)+isin(x)cos(x)(isin(x)) (Since sin(x) is odd)

=cos(x)+isin(x)cos(x)+isin(x) (Red terms denote elimination)

=2isin(x)eixeix2i=sin(x)

Exponential form of sinh(x)

exex=cosh(x)+sinh(x)[cosh(x)+sinh(x)]

=cosh(x)+sinh(x)cosh(x)(sinh(x) (Since sinh(x) is odd)

=cosh(x)+sinh(x)cosh(x)+sinh(x) (Red terms denote elimination)

=2sinh(x)exex2=sinh(x)

Proof that sin(ix)=isinh(x)

The relationship between sin(x) and sinh(x) can be expressed as followed:

Recall that sinh(x)=exex2sinh(x)=exex2

sin(ix)=ei2xei2x2i=exex2i=sinh(x)i=i2sinh(x)i=isinh(x)

Exponential form of cos(x)

eix+eix=cos(x)+isin(x)+[cos(x)+isin(x)]

=cos(x)+isin(x)+cos(x)isin(x) 

=2cos(x)eix+eix2=cos(x)

Exponential form of cosh(x)

ex+ex=cosh(x)+sinh(x)+[cosh(x)+sinh(x)]

=cosh(x)+sinh(x)+cosh(x)sinh(x) 

=2cosh(x)ex+ex2=cosh(x)

Proof that cos(ix)=cosh(x)

The relationship between cos(x) and cosh(x) is that:

cos(ix)=ei2x+e(i)2x2=ex+ex2=cosh(x)

De Moivre Formula

This formula can be easily proven once the proof of Euler formula is established:

[cos(x)+isin(x)]n=(eix)n=einx=cos(nx)+isin(nx)

Prove de Moivre Formula by induction

To be more rigorous, we can prove De Moivre formula by using induction:

What we need to prove is 

[cos(x)+isin(x)]n=cos(nx)+isin(nx)

We prove for the base case n=1, we have

We have 

cos(x)+isin(x)=cos(x)+isin(x) (Proved)

Let n=k, assume that the equality holds for k

[cos(x)+isin(x)]k=cos(kx)+isin(kx)

We prove that this is true for k+1, we have for the LHS:

=[cos(x)+isin(x)]k+1

=[cos(x)+isin(x)]k[cos(x)+isin(x)]

=[cos(kx)+isin(kx)][cos(x)+isin(x)]

=[cos(kx)cos(x)+icos(kx)sin(x)+isin(kx)cos(x)+i2sin(kx)sin(x)]

=[cos(kx)cos(x)+icos(kx)sin(x)+isin(kx)cos(x)sin(kx)sin(x)]

=[cos(kx)cos(x)sin(kx)sin(x)+i[cos(kx)sin(x)+sin(kx)cos(x)]

Apply the trigonometric formula:

cos(x+y)=cos(x)cos(y)sin(x)sin(y)

sin(x+y)=sin(x)cos(y)+sin(y)sin(x)

We have

cos(kx+x)+i[sin(kx+x)]=cos[(k+1)x]+isin[(k+1)x]

cos[(kx+1)x]+i[sin[(kx+1)x]]=cos[(k+1)x]+isin[(k+1)x] (Q.E.D)

Ramanujan, the "Euler" of 20th century

      The first time I heard of the name Ramanujan was in 2017. At that time, I was wondering on the internet, searching information about i...