Complex numbers comprise of two parts, namely: real and imaginary parts.
A typical complex number is given as

Where x is the real part and y is the imaginary part
Now, how do we perform division for complex numbers?
Given two complex numbers Z₁ and Z₂, such that

Dividing Z₁ by Z₂ gives

We multiply the fraction by the conjugate of the denominator. The conjugate of Z₂ (denominator) is

Thus, we have

Collecting like terms, we have

But i²= -1. Thus,
