Equality of complex numbers:
\Two complex numbers
and
, written in standard form are
equal to each other
if and only if
and
.
The equation is
From the equality of complex numbers,
\
and 
Solve for
:

Solve for
:

The real numbers are
and 
The real numbers are
and 