Solve for x (complex solution)
x=-\sqrt{5}i-2\approx -2-2.236067977i
x=2
x=-2+\sqrt{5}i\approx -2+2.236067977i
Solve for x
x=2
Graph
Share
Copied to clipboard
x^{3}+2x^{2}+x-18=0
Subtract 18 from both sides.
±18,±9,±6,±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 -18 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}+4x+9=0
By Factor theorem, x-k is a factor of the polynomial for each root k. Divide x^{3}+2x^{2}+x-18 by x-2 to get x^{2}+4x+9. Solve the equation where the result equals to 0.
x=\frac{-4±\sqrt{4^{2}-4\times 1\times 9}}{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, 4 for b, and 9 for c in the quadratic formula.
x=\frac{-4±\sqrt{-20}}{2}
Do the calculations.
x=-\sqrt{5}i-2 x=-2+\sqrt{5}i
Solve the equation x^{2}+4x+9=0 when ± is plus and when ± is minus.
x=2 x=-\sqrt{5}i-2 x=-2+\sqrt{5}i
List all found solutions.
x^{3}+2x^{2}+x-18=0
Subtract 18 from both sides.
±18,±9,±6,±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 -18 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}+4x+9=0
By Factor theorem, x-k is a factor of the polynomial for each root k. Divide x^{3}+2x^{2}+x-18 by x-2 to get x^{2}+4x+9. Solve the equation where the result equals to 0.
x=\frac{-4±\sqrt{4^{2}-4\times 1\times 9}}{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, 4 for b, and 9 for c in the quadratic formula.
x=\frac{-4±\sqrt{-20}}{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.
Examples
Quadratic equation
{ x } ^ { 2 } - 4 x - 5 = 0
Trigonometry
4 \sin \theta \cos \theta = 2 \sin \theta
Linear equation
y = 3x + 4
Arithmetic
699 * 533
Matrix
\left[ \begin{array} { l l } { 2 } & { 3 } \\ { 5 } & { 4 } \end{array} \right] \left[ \begin{array} { l l l } { 2 } & { 0 } & { 3 } \\ { -1 } & { 1 } & { 5 } \end{array} \right]
Simultaneous equation
\left. \begin{cases} { 8x+2y = 46 } \\ { 7x+3y = 47 } \end{cases} \right.
Differentiation
\frac { d } { d x } \frac { ( 3 x ^ { 2 } - 2 ) } { ( x - 5 ) }
Integration
\int _ { 0 } ^ { 1 } x e ^ { - x ^ { 2 } } d x
Limits
\lim _{x \rightarrow-3} \frac{x^{2}-9}{x^{2}+2 x-3}