Explore

Explore

Type complex numbers and see what is exact, what is enclosed, and what happens on a branch cut. Further down: roots drawn in the plane, rotations by quaternions, Möbius maps, the zeros and poles of a function found with proof, and sums of four squares.

Two numbers

A function of z

The function is applied to the z above. Give an uncertainty to turn z into a square of that half-width and watch the answer widen, or lie across a cut. Try the chips: each one sets z and a function at an interesting place.

All the roots

the n-th roots of z, with the principal one marked

A rotation

A Möbius map

Three points separated by semicolons, ∞ allowed. The picture shows where the lines Re z = −2, −3/2, …, 2 and Im z = −2, …, 2 go: each image is an exact circle or line.

Zeros and poles in a rectangle

Every zero in the rectangle is isolated and proved: a filled dot is one simple zero, a ring is a zero of higher order with its order beside it, a cross is a pole. The count is checked a second way, by the argument principle on the boundary. See Zeros and the argument principle and Residues.

Four squares

Try itEdit the code and run it with @ratmath/complex and Core's Rational in scope. The last line's value is shown; PRINT(…) adds lines, TEX(…) typesets math.
Ctrl/⌘ + Enter runs