# Equality of Two Complex Numbers

**Note:-**Given two complex numbers z

_{1}and z

_{2}, we cannot say z

_{1}< z

_{2}or z

_{1}> z

_{2}. We can only say that z

_{1}= z

_{2}, z

_{1}â‰ z

_{2}; real part of z

_{1}< real part of z

_{2}; im(z

_{1}) > im(z

_{2}) etc. as the case may be.

**Examples:-**

**Example 4:-**

Find the real values of

*x*and

*y*if

**Solution:-**

Equating the real parts, we get

Equating the imaginary parts, we get

Solving (1) and (2), we get

**Example 5:-**

Find the real values of

*a*and

*b*.