定义虚单位i是满足方程z2+1=0的两个根之一。(另一个根是−i)。通常写为i=−1。
复数z和其复共轭zˉ被写为
z=x+iy,zˉ=x−iy其中x,y是实数。x被称为实部,y是虚部,并记为:
x=Rez,y=Imz
二者可以z和zˉ的线性组合构造出来:
Rez=21(z+zˉ),Imz=2i1(z−zˉ)
复数的指数函数可以用泰勒展开进行计算。eiθ=1+(iθ)+2!(iθ)2+3!(iθ)3+4!(iθ)4+5!(iθ)5⋯=(1−2!θ2+4!θ4−…)+i(θ−3!θ3+5!θ5+…)=cosθ+isinθ
上式即欧拉公式。
复数x+iy=z能在一个复平面中表示,如图
可由x=rcosθ以及y=rsinθ,推得z=r(cosθ+isinθ)=reiθ