Skip to main content
Solve for x
Tick mark Image
Solve for x_1
Tick mark Image

Similar Problems from Web Search

Share

\left(-x_{1}+x_{2}\right)y-y_{1}\left(-x_{1}+x_{2}\right)=\left(y_{2}-y_{1}\right)\left(x-x_{1}\right)
Multiply both sides of the equation by -x_{1}+x_{2}.
-x_{1}y+x_{2}y-y_{1}\left(-x_{1}+x_{2}\right)=\left(y_{2}-y_{1}\right)\left(x-x_{1}\right)
Use the distributive property to multiply -x_{1}+x_{2} by y.
-x_{1}y+x_{2}y+y_{1}x_{1}-y_{1}x_{2}=\left(y_{2}-y_{1}\right)\left(x-x_{1}\right)
Use the distributive property to multiply -y_{1} by -x_{1}+x_{2}.
-x_{1}y+x_{2}y+y_{1}x_{1}-y_{1}x_{2}=y_{2}x-y_{2}x_{1}-y_{1}x+y_{1}x_{1}
Use the distributive property to multiply y_{2}-y_{1} by x-x_{1}.
y_{2}x-y_{2}x_{1}-y_{1}x+y_{1}x_{1}=-x_{1}y+x_{2}y+y_{1}x_{1}-y_{1}x_{2}
Swap sides so that all variable terms are on the left hand side.
y_{2}x-y_{1}x+y_{1}x_{1}=-x_{1}y+x_{2}y+y_{1}x_{1}-y_{1}x_{2}+y_{2}x_{1}
Add y_{2}x_{1} to both sides.
y_{2}x-y_{1}x=-x_{1}y+x_{2}y+y_{1}x_{1}-y_{1}x_{2}+y_{2}x_{1}-y_{1}x_{1}
Subtract y_{1}x_{1} from both sides.
y_{2}x-y_{1}x=-x_{1}y+x_{2}y-y_{1}x_{2}+y_{2}x_{1}
Combine y_{1}x_{1} and -y_{1}x_{1} to get 0.
\left(y_{2}-y_{1}\right)x=-x_{1}y+x_{2}y-y_{1}x_{2}+y_{2}x_{1}
Combine all terms containing x.
\left(y_{2}-y_{1}\right)x=-x_{1}y+x_{1}y_{2}+x_{2}y-x_{2}y_{1}
The equation is in standard form.
\frac{\left(y_{2}-y_{1}\right)x}{y_{2}-y_{1}}=\frac{-x_{1}y+x_{1}y_{2}+x_{2}y-x_{2}y_{1}}{y_{2}-y_{1}}
Divide both sides by y_{2}-y_{1}.
x=\frac{-x_{1}y+x_{1}y_{2}+x_{2}y-x_{2}y_{1}}{y_{2}-y_{1}}
Dividing by y_{2}-y_{1} undoes the multiplication by y_{2}-y_{1}.