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

Similar Problems from Web Search

Share

0.2x+0.1y=-180,-0.7x-0.2y=480
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.
0.2x+0.1y=-180
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
0.2x=-0.1y-180
Subtract \frac{y}{10} from both sides of the equation.
x=5\left(-0.1y-180\right)
Multiply both sides by 5.
x=-0.5y-900
Multiply 5 times -\frac{y}{10}-180.
-0.7\left(-0.5y-900\right)-0.2y=480
Substitute -\frac{y}{2}-900 for x in the other equation, -0.7x-0.2y=480.
0.35y+630-0.2y=480
Multiply -0.7 times -\frac{y}{2}-900.
0.15y+630=480
Add \frac{7y}{20} to -\frac{y}{5}.
0.15y=-150
Subtract 630 from both sides of the equation.
y=-1000
Divide both sides of the equation by 0.15, which is the same as multiplying both sides by the reciprocal of the fraction.
x=-0.5\left(-1000\right)-900
Substitute -1000 for y in x=-0.5y-900. Because the resulting equation contains only one variable, you can solve for x directly.
x=500-900
Multiply -0.5 times -1000.
x=-400
Add -900 to 500.
x=-400,y=-1000
The system is now solved.
0.2x+0.1y=-180,-0.7x-0.2y=480
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}0.2&0.1\\-0.7&-0.2\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-180\\480\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}0.2&0.1\\-0.7&-0.2\end{matrix}\right))\left(\begin{matrix}0.2&0.1\\-0.7&-0.2\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}0.2&0.1\\-0.7&-0.2\end{matrix}\right))\left(\begin{matrix}-180\\480\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}0.2&0.1\\-0.7&-0.2\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}0.2&0.1\\-0.7&-0.2\end{matrix}\right))\left(\begin{matrix}-180\\480\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}0.2&0.1\\-0.7&-0.2\end{matrix}\right))\left(\begin{matrix}-180\\480\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{0.2}{0.2\left(-0.2\right)-0.1\left(-0.7\right)}&-\frac{0.1}{0.2\left(-0.2\right)-0.1\left(-0.7\right)}\\-\frac{-0.7}{0.2\left(-0.2\right)-0.1\left(-0.7\right)}&\frac{0.2}{0.2\left(-0.2\right)-0.1\left(-0.7\right)}\end{matrix}\right)\left(\begin{matrix}-180\\480\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{20}{3}&-\frac{10}{3}\\\frac{70}{3}&\frac{20}{3}\end{matrix}\right)\left(\begin{matrix}-180\\480\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-\frac{20}{3}\left(-180\right)-\frac{10}{3}\times 480\\\frac{70}{3}\left(-180\right)+\frac{20}{3}\times 480\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-400\\-1000\end{matrix}\right)
Do the arithmetic.
x=-400,y=-1000
Extract the matrix elements x and y.
0.2x+0.1y=-180,-0.7x-0.2y=480
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.
-0.7\times 0.2x-0.7\times 0.1y=-0.7\left(-180\right),0.2\left(-0.7\right)x+0.2\left(-0.2\right)y=0.2\times 480
To make \frac{x}{5} and -\frac{7x}{10} equal, multiply all terms on each side of the first equation by -0.7 and all terms on each side of the second by 0.2.
-0.14x-0.07y=126,-0.14x-0.04y=96
Simplify.
-0.14x+0.14x-0.07y+0.04y=126-96
Subtract -0.14x-0.04y=96 from -0.14x-0.07y=126 by subtracting like terms on each side of the equal sign.
-0.07y+0.04y=126-96
Add -\frac{7x}{50} to \frac{7x}{50}. Terms -\frac{7x}{50} and \frac{7x}{50} cancel out, leaving an equation with only one variable that can be solved.
-0.03y=126-96
Add -\frac{7y}{100} to \frac{y}{25}.
-0.03y=30
Add 126 to -96.
y=-1000
Divide both sides of the equation by -0.03, which is the same as multiplying both sides by the reciprocal of the fraction.
-0.7x-0.2\left(-1000\right)=480
Substitute -1000 for y in -0.7x-0.2y=480. Because the resulting equation contains only one variable, you can solve for x directly.
-0.7x+200=480
Multiply -0.2 times -1000.
-0.7x=280
Subtract 200 from both sides of the equation.
x=-400
Divide both sides of the equation by -0.7, which is the same as multiplying both sides by the reciprocal of the fraction.
x=-400,y=-1000
The system is now solved.