The form of the complex number in the previous section: \begin{equation} z=x+iy \label{defcomplex2} \end{equation} is called the rectangular form, to refer to rectangular coordinates.
We will now extend the definitions of algebraic operations from the real numbers to the complex numbers. For two complex numbers $z_1 = x_1 + i y_1$ and $z_2 = x_2 + i y_2$, we define
ADDITION and SUBTRACTION:
The sum of $z_1$ and $z_2$ is given by \begin{eqnarray} z_1 + z_2 &=& (x_1 + i y_1)+(x_2 + i y_2)\\ &=&(x_1 + x_2)+ i (y_1 +y_2) \end{eqnarray} Notice that all we have done is add the real parts of the complex numbers and separately added the imaginary parts. You should be able to convince yourself, with a diagram in the complex plane, that this definition is the same as head-to-tail parallelogram rule addition of vectors. Subtraction follow in an obvious way.
MULTIPLICATION:
To define multiplication, we need a new rule, $i^2=-1$. We say that $i$ is a square root of minus one. This rule has no analogy for vectors in two dimensions and gives us additional algebraic structure that these vectors do not have.
Now we define multiplication in an obvious way by using the distributive rule of multiplication (i.e. we can “FOIL” everywhere). \begin{eqnarray} z_1 z_2 &=& (x_1 +i y_1)(x_2 + iy_2)\\ &=&x_1 y_1 + x_1 i y_2 +i y_1 x_2 + (i)^2 y_1 y_2\\ &=&(x_1 x_2 - y_1 y_2)+i (x_1 y_2 +x_2 y_1)\\ \end{eqnarray} It is conventional to rearrange the terms in the product into standard form, i.e. so that the real parts are all together and the pure imaginary terms are all together.