Equation Solver Calculator

Solve an equation and see which method was used and why.

Linear, quadratic, absolute value or polynomial (up to degree 6) in one letter.

Try

Result

You enteredx3=8x^{3} = 8

x=2\displaystyle x = 2

Factored form

(x−2)(x2+2x+4)\displaystyle \left(x - 2\right)\left(x^{2} + 2x + 4\right)

Complex roots

x=−1−3 i,  x=−1+3 i\displaystyle x = -1 - \sqrt{3}\,i, \; x = -1 + \sqrt{3}\,i
Show the work
  1. Kind of equation

    This is a polynomial equation: the highest power of xx is 3. That decides which method is used.

  2. Move everything to one side

    Subtract the right side from both sides so that the equation has the form polynomial =0= 0, the form every method below needs.

    x3−8=0x^{3} - 8 = 0
  3. Factor the polynomial

    Pull out common factors and use the rational root test to find linear factors; what cannot be split further stays as a quadratic factor.

    x3−8=(x−2)(x2+2x+4)x^{3} - 8 = \left(x - 2\right)\left(x^{2} + 2x + 4\right)
  4. Zero product property

    A product is zero only when one of its factors is zero, so set each factor equal to zero and solve it separately.

    Using ab=0  ⟹  a=0∨b=0ab = 0 \implies a = 0 \lor b = 0

    x−2=0x=2x2+2x+4=0x=−1−3 ix=−1+3 i\begin{gathered} x - 2 = 0 \\ x = 2 \\ x^{2} + 2x + 4 = 0 \\ x = -1 - \sqrt{3}\,i \\ x = -1 + \sqrt{3}\,i \end{gathered}
  5. Roots that are not real

    A quadratic factor with a negative discriminant has no real roots, so it adds nothing to the real solutions. Its complex pair is shown in the Complex roots form.

  6. Result

    So the real solutions are x=2x = 2.

Worked examples