Add the following complex numbers: Subtract the following complex numbers:
(A_REP_COLORED) OPERATOR (B_REP_COLORED)
Complex numbers can be added by separately adding their real and imaginary components. Complex numbers can be subtracted by separately subtracting their real and imaginary components.
The real components of the two complex numbers are A_REAL and B_REAL, respectively, so the real component of the result will be
A_REAL_COLORED OPERATOR \color{BLUE}{negParens(B_REAL)}
,
which equals ANSWER_REAL.
The imaginary components of the two complex numbers are A_IMAG and B_IMAG, respectively, so the imaginary component of the result will be
A_IMAG_COLORED OPERATOR \color{BLUE}{negParens(B_IMAG)}
,
which equals ANSWER_IMAG.
The result is complexNumber(ANSWER_REAL, ANSWER_IMAG).