3—Complex Algebra 69f(0) = 1 =A, f′(y) =−Asiny+Bcosy, f′(0) =−g(0) = 0 =BThis determines thatf(y) = cosyand then Eq. ( 5 ) determines thatg(y) = siny. Put them together and you
have Euler’s formula
eiy= cosy+isiny (6)
A few special cases of this are worth noting:eiπ=− 1 ande^2 iπ= 1. In fact,e^2 nπi= 1so the exponential
is a periodic function in the imaginary direction.
What is√
i? Express it in polar form:(
eiπ/^2) 1 / 2
, or better,(
ei(2nπ+π/2)) 1 / 2
. This is
ei(nπ+π/4)=±eiπ/^4 =±(cosπ/4 +isinπ/4) =±1 +i
√
2i
π/ 4π/ 23.3 Applications of Euler’s Formula
The magnitude or absolute value of a complex numberz =x+iyisr=
√
x^2 +y^2. Combine this with the
complex exponential and you have another way to represent complex numbers.
rsinθrcosθxr
θreiθyz=x+iy=rcosθ+irsinθ=r(cosθ+isinθ) =reiθ (7)This is the polar form of a complex number andx+iyis the rectangular form of the same number. The
magnitude is|z|=r=
√
x^2 +y^2.