Solve for x
x=-\frac{2-y}{y+1}
y\neq -1
Solve for y
y=-\frac{x+2}{x-1}
x\neq 1
Graph
Share
Copied to clipboard
x+xy=-2+y
Add y to both sides.
\left(1+y\right)x=-2+y
Combine all terms containing x.
\left(y+1\right)x=y-2
The equation is in standard form.
\frac{\left(y+1\right)x}{y+1}=\frac{y-2}{y+1}
Divide both sides by 1+y.
x=\frac{y-2}{y+1}
Dividing by 1+y undoes the multiplication by 1+y.
-y+xy=-2-x
Subtract x from both sides.
\left(-1+x\right)y=-2-x
Combine all terms containing y.
\left(x-1\right)y=-x-2
The equation is in standard form.
\frac{\left(x-1\right)y}{x-1}=\frac{-x-2}{x-1}
Divide both sides by -1+x.
y=\frac{-x-2}{x-1}
Dividing by -1+x undoes the multiplication by -1+x.
y=-\frac{x+2}{x-1}
Divide -2-x by -1+x.
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}