Skip to main content
Solve for n
Tick mark Image
Solve for x
Tick mark Image
Graph

Similar Problems from Web Search

Share

n\left(x-1\right)=\left(x-2\right)\left(1-y\right)
Variable n cannot be equal to 0 since division by zero is not defined. Multiply both sides of the equation by n\left(x-2\right), the least common multiple of x-2,n.
nx-n=\left(x-2\right)\left(1-y\right)
Use the distributive property to multiply n by x-1.
nx-n=x-xy-2+2y
Use the distributive property to multiply x-2 by 1-y.
\left(x-1\right)n=x-xy-2+2y
Combine all terms containing n.
\left(x-1\right)n=-xy+x+2y-2
The equation is in standard form.
\frac{\left(x-1\right)n}{x-1}=\frac{\left(1-y\right)\left(x-2\right)}{x-1}
Divide both sides by x-1.
n=\frac{\left(1-y\right)\left(x-2\right)}{x-1}
Dividing by x-1 undoes the multiplication by x-1.
n=\frac{\left(1-y\right)\left(x-2\right)}{x-1}\text{, }n\neq 0
Variable n cannot be equal to 0.
n\left(x-1\right)=\left(x-2\right)\left(1-y\right)
Variable x cannot be equal to 2 since division by zero is not defined. Multiply both sides of the equation by n\left(x-2\right), the least common multiple of x-2,n.
nx-n=\left(x-2\right)\left(1-y\right)
Use the distributive property to multiply n by x-1.
nx-n=x-xy-2+2y
Use the distributive property to multiply x-2 by 1-y.
nx-n-x=-xy-2+2y
Subtract x from both sides.
nx-n-x+xy=-2+2y
Add xy to both sides.
nx-x+xy=-2+2y+n
Add n to both sides.
\left(n-1+y\right)x=-2+2y+n
Combine all terms containing x.
\left(y+n-1\right)x=2y+n-2
The equation is in standard form.
\frac{\left(y+n-1\right)x}{y+n-1}=\frac{2y+n-2}{y+n-1}
Divide both sides by n-1+y.
x=\frac{2y+n-2}{y+n-1}
Dividing by n-1+y undoes the multiplication by n-1+y.
x=\frac{2y+n-2}{y+n-1}\text{, }x\neq 2
Variable x cannot be equal to 2.