Skip to main content
Solve for x
Tick mark Image
Graph

Similar Problems from Web Search

Share

\left(x-1\right)\times 2+\left(x-1\right)\left(x+2\right)=\left(x+2\right)x
Variable x cannot be equal to any of the values -2,1 since division by zero is not defined. Multiply both sides of the equation by \left(x-1\right)\left(x+2\right), the least common multiple of x+2,x-1.
2x-2+\left(x-1\right)\left(x+2\right)=\left(x+2\right)x
Use the distributive property to multiply x-1 by 2.
2x-2+x^{2}+x-2=\left(x+2\right)x
Use the distributive property to multiply x-1 by x+2 and combine like terms.
3x-2+x^{2}-2=\left(x+2\right)x
Combine 2x and x to get 3x.
3x-4+x^{2}=\left(x+2\right)x
Subtract 2 from -2 to get -4.
3x-4+x^{2}=x^{2}+2x
Use the distributive property to multiply x+2 by x.
3x-4+x^{2}-x^{2}=2x
Subtract x^{2} from both sides.
3x-4=2x
Combine x^{2} and -x^{2} to get 0.
3x-4-2x=0
Subtract 2x from both sides.
x-4=0
Combine 3x and -2x to get x.
x=4
Add 4 to both sides. Anything plus zero gives itself.