Solve for x
x=-\frac{4\left(1-m\right)}{m+2}
m\neq -2
Solve for m
m=\frac{2\left(x+2\right)}{4-x}
x\neq 4
Graph
Share
Copied to clipboard
m\left(-x+4\right)=2\left(x+2\right)
Variable x cannot be equal to 4 since division by zero is not defined. Multiply both sides of the equation by -x+4.
-mx+4m=2\left(x+2\right)
Use the distributive property to multiply m by -x+4.
-mx+4m=2x+4
Use the distributive property to multiply 2 by x+2.
-mx+4m-2x=4
Subtract 2x from both sides.
-mx-2x=4-4m
Subtract 4m from both sides.
\left(-m-2\right)x=4-4m
Combine all terms containing x.
\frac{\left(-m-2\right)x}{-m-2}=\frac{4-4m}{-m-2}
Divide both sides by -m-2.
x=\frac{4-4m}{-m-2}
Dividing by -m-2 undoes the multiplication by -m-2.
x=-\frac{4\left(1-m\right)}{m+2}
Divide 4-4m by -m-2.
x=-\frac{4\left(1-m\right)}{m+2}\text{, }x\neq 4
Variable x cannot be equal to 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}