Complex Equation Calculator

Enter an equation in z to solve it.

An equation in z, linear or quadratic, with complex coefficients such as z^2 + 2iz - 1 = 0.

Try

Result

You entered(2+i)z+3=5i\left(2 + i\right)z + 3 = 5i

z=−15+135i\displaystyle z = -\frac{1}{5} + \frac{13}{5}i
Show the work
  1. Collect everything on one side

    Move every term to the left so the equation has the form az+b=0az + b = 0, where aa and bb are complex numbers.

    (2+i)z+(3−5i)=0\left(2 + i\right)z + \left(3 - 5i\right) = 0
  2. Solve a linear equation

    Subtract bb from both sides and divide by aa.

    z=−ba=−3+5i2+i\begin{aligned} z &= -\frac{b}{a} \\ &= \frac{-3 + 5i}{2 + i} \end{aligned}
  3. Dividing complex numbers

    Multiply the top and bottom by the conjugate of 2+i2 + i so the bottom becomes the real number 55.

    Using pq=pqˉqqˉ\frac{p}{q} = \frac{p\bar{q}}{q\bar{q}}

    (−3+5i)(2−i)5=−1+13i5=−15+135i\begin{aligned} \frac{\left(-3 + 5i\right)\left(2 - i\right)}{5} &= \frac{-1 + 13i}{5} \\ &= -\frac{1}{5} + \frac{13}{5}i \end{aligned}
  4. Result

    The solution is z=−15+135iz = -\frac{1}{5} + \frac{13}{5}i.

Worked examples