Skip to main content
Solve for x (complex solution)
Tick mark Image
Solve for x
Tick mark Image
Graph

Share

±12,±6,±4,±3,±2,±1
By Rational Root Theorem, all rational roots of a polynomial are in the form \frac{p}{q}, where p divides the constant term 12 and q divides the leading coefficient 1. List all candidates \frac{p}{q}.
x=-2
Find one such root by trying out all the integer values, starting from the smallest by absolute value. If no integer roots are found, try out fractions.
x^{2}-3x+6=0
By Factor theorem, x-k is a factor of the polynomial for each root k. Divide x^{3}-x^{2}+12 by x+2 to get x^{2}-3x+6. Solve the equation where the result equals to 0.
x=\frac{-\left(-3\right)±\sqrt{\left(-3\right)^{2}-4\times 1\times 6}}{2}
All equations of the form ax^{2}+bx+c=0 can be solved using the quadratic formula: \frac{-b±\sqrt{b^{2}-4ac}}{2a}. Substitute 1 for a, -3 for b, and 6 for c in the quadratic formula.
x=\frac{3±\sqrt{-15}}{2}
Do the calculations.
x=\frac{-\sqrt{15}i+3}{2} x=\frac{3+\sqrt{15}i}{2}
Solve the equation x^{2}-3x+6=0 when ± is plus and when ± is minus.
x=-2 x=\frac{-\sqrt{15}i+3}{2} x=\frac{3+\sqrt{15}i}{2}
List all found solutions.
±12,±6,±4,±3,±2,±1
By Rational Root Theorem, all rational roots of a polynomial are in the form \frac{p}{q}, where p divides the constant term 12 and q divides the leading coefficient 1. List all candidates \frac{p}{q}.
x=-2
Find one such root by trying out all the integer values, starting from the smallest by absolute value. If no integer roots are found, try out fractions.
x^{2}-3x+6=0
By Factor theorem, x-k is a factor of the polynomial for each root k. Divide x^{3}-x^{2}+12 by x+2 to get x^{2}-3x+6. Solve the equation where the result equals to 0.
x=\frac{-\left(-3\right)±\sqrt{\left(-3\right)^{2}-4\times 1\times 6}}{2}
All equations of the form ax^{2}+bx+c=0 can be solved using the quadratic formula: \frac{-b±\sqrt{b^{2}-4ac}}{2a}. Substitute 1 for a, -3 for b, and 6 for c in the quadratic formula.
x=\frac{3±\sqrt{-15}}{2}
Do the calculations.
x\in \emptyset
Since the square root of a negative number is not defined in the real field, there are no solutions.
x=-2
List all found solutions.