Solve for x
x=4
Graph
Share
Copied to clipboard
x^{2}-6x+9=x^{2}-3\left(x+1\right)
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(x-3\right)^{2}.
x^{2}-6x+9=x^{2}-3x-3
Use the distributive property to multiply -3 by x+1.
x^{2}-6x+9-x^{2}=-3x-3
Subtract x^{2} from both sides.
-6x+9=-3x-3
Combine x^{2} and -x^{2} to get 0.
-6x+9+3x=-3
Add 3x to both sides.
-3x+9=-3
Combine -6x and 3x to get -3x.
-3x=-3-9
Subtract 9 from both sides.
-3x=-12
Subtract 9 from -3 to get -12.
x=\frac{-12}{-3}
Divide both sides by -3.
x=4
Divide -12 by -3 to get 4.
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}