The solver finds the complex roots of an equation f(z) = 0, where z = x + iy. It spreads a grid of starting points over the rectangle you choose (the real and imaginary ranges) and runs Newton’s method from each one: znew = z − f(z)/f′(z). Each step is damped so it cannot jump too far, which makes the search more stable. When |f(z)| drops below the tolerance, the point is accepted as a root; roots closer together than the merge radius are counted once. Every root is listed in rectangular form (a + bi) and polar form (r and angle), plotted on the complex plane, and can be exported as CSV or PNG.
For z^2 + 4, solve z² = −4: the roots are z = 2i and z = −2i, both at distance 2 from the origin. For z^3 - 1, the three cube roots of unity are 1, −1/2 + (√3/2)i and −1/2 − (√3/2)i; they sit on the unit circle, 120° apart.
Newton’s method only finds roots that some starting point leads to. Increase the grid size, raise the maximum iterations, or widen the real and imaginary ranges — roots with a large magnitude need a large search area. If a root is found outside your range, the plot zooms out automatically to show it.
It is optional. Without it the solver estimates the derivative numerically; typing the exact derivative (for example 3*z^2 for z^3 - 1) usually converges faster and more reliably.
Use z as the variable, * for multiplication and ^ for powers, and i for the imaginary unit: z^4 + 1, e^z - z, z^2 - (1+2*i).
A complex number a + bi can also be written by its distance from the origin r = √(a² + b²) and its angle θ from the positive real axis, so that a + bi = r·(cos θ + i·sin θ).
For a full explanation of every setting, with an annotated screenshot, see the Complex Equation Solver guide.