I. Equations, inequalities and expressions

19. Complex numbers

Write a complex number with the imaginary unit i: 1 - i√3 (or 1 - i*sqrt(3)), in the trigonometric form 2(cos(pi/3) + i sin(pi/3)) or cis(pi/3), in the exponential form 3e^(i pi/4); angles may be in degrees too (cos 60° + i sin 60°). Numbers can be named, each on its own line (z_1 = 1 + i), with an expression in their names on the last line (z_1/z_2, z^8).

For a single number the app computes the modulus |z| = √(a² + b²) and the argument φ – from the table values of cosine and sine, otherwise by the acute angle from tan α = |b/a| and the quadrant (exactly with arctan and approximately in radians and degrees) – and writes the trigonometric and exponential forms. A number in the trigonometric form is converted to the algebraic one. The argument lies in ⟨0; 2π); the chip “Principal argument” switches it to (−π; π⟩. The graph shows the number in the complex plane as a vector with the argument’s arc.

A power such as (1 + i)^10 is computed by de Moivre’s theorem with the argument reduced by multiples of 2π; a product and a quotient by the moduli and arguments. The chips choose “Trigonometric form” (for a power “De Moivre’s theorem”) or “Algebraic form”; dividing algebraic numbers by the conjugate is in the chapter Simplifying expressions. A root root(3, 8i) and a binomial equation z³ = 8i give all n roots by zₖ = ⁿ√|a|(cos((φ + 2kπ)/n) + i sin((φ + 2kπ)/n)); in the graph they are the vertices of a regular n-gon. An equation in the unknown z is solved over the complex numbers straight away; the chip “Solve in:” switches it to ℝ. A quadratic equation with complex coefficients (z² + i = 2z) is solved by completing the square, (z − 1)² = 1 − i, the complex square root found as a + bi by comparing the real and imaginary parts.

An equation with the conjugate z̄ (the z̄ key types conj(z), a photo gives \bar{z}), with |z|, Re z and Im z is solved by substituting z = x + yi: the app writes both sides as a + bi, compares the real and the imaginary parts and solves the resulting system of two equations in x and y – one equation is solved for a variable and substituted into the other, and if it factors (y(2x + 1) = 0), the solution splits into cases. The solutions are shown as points of the complex plane. If the imaginary parts agree by themselves (|z − 1| = 2, Re z ≥ 1, |z − i| < |z + 1|), the result is a set of points: the app squares the moduli, completes the squares and describes the circle (disc, outside of a circle), line, half-plane or perpendicular bisector. Several conditions, each on its own line or separated by commas (|z| ≤ 2, Re z > 0), and a double inequality (1 < |z − 1| ≤ 2) are drawn as their intersection – a shaded region; a solid boundary belongs to the set, a dashed one does not.

How to enter it

1 - i*sqrt(3)The algebraic form with the imaginary unit i.
2(cos(pi/3) + i sin(pi/3)), cis(pi/3)The trigonometric form, cis φ for short.
3e^(i pi/4)The exponential form.
z_1 = 1 + i ↵ z_2 = 2 - 2i ↵ z_1/z_2Named numbers, each on its own line, and an expression in them.
root(3, 8i), z^3 = 8iAll n-th roots, a binomial equation.
z + 2conj(z) = 3 - i, Re(z), Im(z)The conjugate, the real and the imaginary part.
|z - i| < 3, |z| <= 2 ↵ Re(z) > 0A set of points in the complex plane, several conditions line by line.

Examples

The modulus, the argument from table values, the trigonometric and exponential forms.
Input: 1 - i*sqrt(3)
1 - i*sqrt(3)
1 - i*sqrt(3)1 - i*sqrt(3)
An argument not in the table – the acute angle and the quadrant.
Input: -3 + 4i
-3 + 4i
-3 + 4i-3 + 4i
From the trigonometric form to the algebraic one.
Input: 2(cos(pi/3) + i sin(pi/3))
2(cos(pi/3) + i sin(pi/3))
2(cos(pi/3) + i sin(pi/3))2(cos(pi/3) + i sin(pi/3))
De Moivre’s theorem.
Input: (1 + i)^10 De Moivre’s theorem
(1 + i)^10
(1 + i)^10(1 + i)^10
A quotient in the trigonometric form.
Input: z_1 = 1 + i
z_2 = 2 - 2i
z_1/z_2
Trigonometric form
z_1 = 1 + i
z_2 = 2 - 2i
z_1/z_2
z_1 = 1 + i
z_2 = 2 - 2i
z_1/z_2z_1 = 1 + i
z_2 = 2 - 2i
z_1/z_2
A binomial equation – three roots at the vertices of a triangle.
Input: z^3 = 8i
z^3 = 8i
z^3 = 8iz^3 = 8i
An equation with the conjugate – the real and imaginary parts compared.
Input: z + 2conj(z) = 3 - i
z + 2conj(z) = 3 - i
z + 2conj(z) = 3 - iz + 2conj(z) = 3 - i
The equation z² = z̄ – factoring and cases, four points.
Input: z^2 = conj(z)
z^2 = conj(z)
z^2 = conj(z)z^2 = conj(z)
The intersection of a disc and a half-plane – a shaded region, the dashed boundary not included.
Input: |z| <= 2
Re(z) > 0
|z| <= 2
Re(z) > 0
|z| <= 2
Re(z) > 0|z| <= 2
Re(z) > 0
The points equally far from i and from −1 – a perpendicular bisector.
Input: |z - i| = |z + 1|
|z - i| = |z + 1|
|z - i| = |z + 1||z - i| = |z + 1|

Known limitations