Complex numbers
In Imaginary mode is the imaginary unit and results may be complex, written as . Otherwise inputs are read as in Algebra: letters are variables, there are no units.
Calculate
| Input | Result |
|---|---|
(2 + 3i)(1 - i) | |
\frac{1}{1+i} | |
i^{23} | |
\sqrt{-9} | |
e^{i\pi} | |
\ln(-1) |
Sums, products, quotients and integer powers are exact. e^{z}, z^w, \ln and the
trigonometric functions of a complex number use the principal branch.
Parts of a complex number
| Input | Meaning | Result for |
|---|---|---|
|3+4i| | modulus | |
\Re(3+4i) | real part | |
\Im(3+4i) | imaginary part | |
\arg(3+4i) | argument in | |
\overline{3+4i} | conjugate |
Complex variables
A variable can hold a complex number:
z_1 = 3+4i
z_1^2
Equations
Quadratic equations with a negative discriminant get their complex roots:
| Input | Result |
|---|---|
x^2 + 1 = 0 | |
x^2 + 2x + 5 = 0 |
In Algebra mode the same equations report no real solution.
See also
- Known limits: what is not covered