Solve for x
x=3
Graph
Share
Copied to clipboard
\left(x+3\right)x^{2}-2=\left(x+3\right)\times 9-2
Variable x cannot be equal to -3 since division by zero is not defined. Multiply both sides of the equation by x+3.
x^{3}+3x^{2}-2=\left(x+3\right)\times 9-2
Use the distributive property to multiply x+3 by x^{2}.
x^{3}+3x^{2}-2=9x+27-2
Use the distributive property to multiply x+3 by 9.
x^{3}+3x^{2}-2=9x+25
Subtract 2 from 27 to get 25.
x^{3}+3x^{2}-2-9x=25
Subtract 9x from both sides.
x^{3}+3x^{2}-2-9x-25=0
Subtract 25 from both sides.
x^{3}+3x^{2}-27-9x=0
Subtract 25 from -2 to get -27.
x^{3}+3x^{2}-9x-27=0
Rearrange the equation to put it in standard form. Place the terms in order from highest to lowest power.
±27,±9,±3,±1
By Rational Root Theorem, all rational roots of a polynomial are in the form \frac{p}{q}, where p divides the constant term -27 and q divides the leading coefficient 1. List all candidates \frac{p}{q}.
x=3
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}+6x+9=0
By Factor theorem, x-k is a factor of the polynomial for each root k. Divide x^{3}+3x^{2}-9x-27 by x-3 to get x^{2}+6x+9. Solve the equation where the result equals to 0.
x=\frac{-6±\sqrt{6^{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, 6 for b, and 9 for c in the quadratic formula.
x=\frac{-6±0}{2}
Do the calculations.
x=-3
Solutions are the same.
x=3
Remove the values that the variable cannot be equal to.
x=3 x=-3
List all found solutions.
x=3
Variable x cannot be equal to -3.
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}