定义虚单位iii是满足方程z2+1=0z^2+1=0z2+1=0的两个根之一。(另一个根是−i-i−i)。通常写为i=−1i=\sqrt{-1}i=−1。
复数zzz和其复共轭zˉ\bar zzˉ被写为
z=x+iy,zˉ=x−iyz=x+i y, \quad \bar{z}=x-i yz=x+iy,zˉ=x−iy其中x,yx,yx,y是实数。xxx被称为实部,yyy是虚部,并记为:
x=Rez,y=Imzx=\operatorname{Re} z, \quad y=\operatorname{Im} zx=Rez,y=Imz
二者可以zzz和zˉ\bar zzˉ的线性组合构造出来:
Rez=12(z+zˉ),Imz=12i(z−zˉ)\operatorname{Re} z=\frac{1}{2}(z+\bar{z}), \quad \operatorname{Im} z=\frac{1}{2 i}(z-\bar{z})Rez=21(z+zˉ),Imz=2i1(z−zˉ)
复数的指数函数可以用泰勒展开进行计算。eiθ=1+(iθ)+(iθ)22!+(iθ)33!+(iθ)44!+(iθ)55!⋯=(1−θ22!+θ44!−…)+i(θ−θ33!+θ55!+…)=cosθ+isinθ\begin{aligned} e^{i \theta} &=1+(i \theta)+\frac{(i \theta)^{2}}{2 !}+\frac{(i \theta)^{3}}{3 !}+\frac{(i \theta)^{4}}{4 !}+\frac{(i \theta)^{5}}{5 !} \cdots \\ &=\left(1-\frac{\theta^{2}}{2 !}+\frac{\theta^{4}}{4 !}-\ldots\right)+i\left(\theta-\frac{\theta^{3}}{3 !}+\frac{\theta^{5}}{5 !}+\ldots\right)=\cos \theta+i \sin \theta \end{aligned}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=zx+i y=zx+iy=z能在一个复平面中表示,如图
可由x=rcosθx=r \cos \thetax=rcosθ以及y=rsinθy=r \sin \thetay=rsinθ,推得z=r(cosθ+isinθ)=reiθz=r(\cos \theta+i \sin \theta)=r e^{i \theta}z=r(cosθ+isinθ)=reiθ