Addition is performed componentwise:
- (π + ππ) + (π + ππ) = (π+π) + (π+π)π
Multiplication is performed using distributivity and π2 = -1:
- (π + ππ)(π + ππ) = ππ + πππ + πππ + πππ2
- (π + ππ)(π + ππ) = (ππ - ππ) + (ππ + ππ)π
Complex Conjugation replaces π with -π, and is denoted with a bar:
One checks that for any 2 complex numbers π§, π€, we have:
Also, (π + ππ)(π - ππ) = π2 + π2, so π§π§Μ is a non-negative real number for any complex number π§
The absolute value of a complex number π§ is the real number
One checks that |π§π€| = |π§|Β·|π€|
Division by a nonzero real number proceeds componentwise:
Division by a nonzero complex number requires multiplying the numerator and denominator by the complex conjugate of the denominator:
For example:
The real and imaginary parts of a complex number are:
- π π(π + ππ) = π
- πΌπ(π + ππ) = π