Theory Add/subtract complex equations like linear equations. If z=x+yiz=x+yiz=x+yi then Re(z)=x\operatorname{Re}(z)=xRe(z)=x and Im(z)=y\operatorname{Im}(z)=yIm(z)=y.