Skip to main content
Solve for x, y
Tick mark Image
Graph

Similar Problems from Web Search

Share

x-2y=190
Consider the first equation. Subtract 2y from both sides.
y-100x=0
Consider the second equation. Subtract 100x from both sides.
x-2y=190,-100x+y=0
To solve a pair of equations using substitution, first solve one of the equations for one of the variables. Then substitute the result for that variable in the other equation.
x-2y=190
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
x=2y+190
Add 2y to both sides of the equation.
-100\left(2y+190\right)+y=0
Substitute 190+2y for x in the other equation, -100x+y=0.
-200y-19000+y=0
Multiply -100 times 190+2y.
-199y-19000=0
Add -200y to y.
-199y=19000
Add 19000 to both sides of the equation.
y=-\frac{19000}{199}
Divide both sides by -199.
x=2\left(-\frac{19000}{199}\right)+190
Substitute -\frac{19000}{199} for y in x=2y+190. Because the resulting equation contains only one variable, you can solve for x directly.
x=-\frac{38000}{199}+190
Multiply 2 times -\frac{19000}{199}.
x=-\frac{190}{199}
Add 190 to -\frac{38000}{199}.
x=-\frac{190}{199},y=-\frac{19000}{199}
The system is now solved.
x-2y=190
Consider the first equation. Subtract 2y from both sides.
y-100x=0
Consider the second equation. Subtract 100x from both sides.
x-2y=190,-100x+y=0
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}1&-2\\-100&1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}190\\0\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}1&-2\\-100&1\end{matrix}\right))\left(\begin{matrix}1&-2\\-100&1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}1&-2\\-100&1\end{matrix}\right))\left(\begin{matrix}190\\0\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}1&-2\\-100&1\end{matrix}\right).
\left(\begin{matrix}1&0\\0&1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}1&-2\\-100&1\end{matrix}\right))\left(\begin{matrix}190\\0\end{matrix}\right)
The product of a matrix and its inverse is the identity matrix.
\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}1&-2\\-100&1\end{matrix}\right))\left(\begin{matrix}190\\0\end{matrix}\right)
Multiply the matrices on the left hand side of the equal sign.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{1}{1-\left(-2\left(-100\right)\right)}&-\frac{-2}{1-\left(-2\left(-100\right)\right)}\\-\frac{-100}{1-\left(-2\left(-100\right)\right)}&\frac{1}{1-\left(-2\left(-100\right)\right)}\end{matrix}\right)\left(\begin{matrix}190\\0\end{matrix}\right)
For the 2\times 2 matrix \left(\begin{matrix}a&b\\c&d\end{matrix}\right), the inverse matrix is \left(\begin{matrix}\frac{d}{ad-bc}&\frac{-b}{ad-bc}\\\frac{-c}{ad-bc}&\frac{a}{ad-bc}\end{matrix}\right), so the matrix equation can be rewritten as a matrix multiplication problem.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-\frac{1}{199}&-\frac{2}{199}\\-\frac{100}{199}&-\frac{1}{199}\end{matrix}\right)\left(\begin{matrix}190\\0\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-\frac{1}{199}\times 190\\-\frac{100}{199}\times 190\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-\frac{190}{199}\\-\frac{19000}{199}\end{matrix}\right)
Do the arithmetic.
x=-\frac{190}{199},y=-\frac{19000}{199}
Extract the matrix elements x and y.
x-2y=190
Consider the first equation. Subtract 2y from both sides.
y-100x=0
Consider the second equation. Subtract 100x from both sides.
x-2y=190,-100x+y=0
In order to solve by elimination, coefficients of one of the variables must be the same in both equations so that the variable will cancel out when one equation is subtracted from the other.
-100x-100\left(-2\right)y=-100\times 190,-100x+y=0
To make x and -100x equal, multiply all terms on each side of the first equation by -100 and all terms on each side of the second by 1.
-100x+200y=-19000,-100x+y=0
Simplify.
-100x+100x+200y-y=-19000
Subtract -100x+y=0 from -100x+200y=-19000 by subtracting like terms on each side of the equal sign.
200y-y=-19000
Add -100x to 100x. Terms -100x and 100x cancel out, leaving an equation with only one variable that can be solved.
199y=-19000
Add 200y to -y.
y=-\frac{19000}{199}
Divide both sides by 199.
-100x-\frac{19000}{199}=0
Substitute -\frac{19000}{199} for y in -100x+y=0. Because the resulting equation contains only one variable, you can solve for x directly.
-100x=\frac{19000}{199}
Add \frac{19000}{199} to both sides of the equation.
x=-\frac{190}{199}
Divide both sides by -100.
x=-\frac{190}{199},y=-\frac{19000}{199}
The system is now solved.