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

Similar Problems from Web Search

Share

x-y=\frac{2016}{3}
Consider the first equation. Divide both sides by 3.
x-y=672
Divide 2016 by 3 to get 672.
2.8x+2.8y=3\left(x-y\right)
Consider the second equation. Use the distributive property to multiply 2.8 by x+y.
2.8x+2.8y=3x-3y
Use the distributive property to multiply 3 by x-y.
2.8x+2.8y-3x=-3y
Subtract 3x from both sides.
-0.2x+2.8y=-3y
Combine 2.8x and -3x to get -0.2x.
-0.2x+2.8y+3y=0
Add 3y to both sides.
-0.2x+5.8y=0
Combine 2.8y and 3y to get 5.8y.
x-y=672,-0.2x+5.8y=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-y=672
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
x=y+672
Add y to both sides of the equation.
-0.2\left(y+672\right)+5.8y=0
Substitute y+672 for x in the other equation, -0.2x+5.8y=0.
-0.2y-134.4+5.8y=0
Multiply -0.2 times y+672.
5.6y-134.4=0
Add -\frac{y}{5} to \frac{29y}{5}.
5.6y=134.4
Add 134.4 to both sides of the equation.
y=24
Divide both sides of the equation by 5.6, which is the same as multiplying both sides by the reciprocal of the fraction.
x=24+672
Substitute 24 for y in x=y+672. Because the resulting equation contains only one variable, you can solve for x directly.
x=696
Add 672 to 24.
x=696,y=24
The system is now solved.
x-y=\frac{2016}{3}
Consider the first equation. Divide both sides by 3.
x-y=672
Divide 2016 by 3 to get 672.
2.8x+2.8y=3\left(x-y\right)
Consider the second equation. Use the distributive property to multiply 2.8 by x+y.
2.8x+2.8y=3x-3y
Use the distributive property to multiply 3 by x-y.
2.8x+2.8y-3x=-3y
Subtract 3x from both sides.
-0.2x+2.8y=-3y
Combine 2.8x and -3x to get -0.2x.
-0.2x+2.8y+3y=0
Add 3y to both sides.
-0.2x+5.8y=0
Combine 2.8y and 3y to get 5.8y.
x-y=672,-0.2x+5.8y=0
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}1&-1\\-0.2&5.8\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}672\\0\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}1&-1\\-0.2&5.8\end{matrix}\right))\left(\begin{matrix}1&-1\\-0.2&5.8\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}1&-1\\-0.2&5.8\end{matrix}\right))\left(\begin{matrix}672\\0\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}1&-1\\-0.2&5.8\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&-1\\-0.2&5.8\end{matrix}\right))\left(\begin{matrix}672\\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&-1\\-0.2&5.8\end{matrix}\right))\left(\begin{matrix}672\\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{5.8}{5.8-\left(-\left(-0.2\right)\right)}&-\frac{-1}{5.8-\left(-\left(-0.2\right)\right)}\\-\frac{-0.2}{5.8-\left(-\left(-0.2\right)\right)}&\frac{1}{5.8-\left(-\left(-0.2\right)\right)}\end{matrix}\right)\left(\begin{matrix}672\\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{29}{28}&\frac{5}{28}\\\frac{1}{28}&\frac{5}{28}\end{matrix}\right)\left(\begin{matrix}672\\0\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{29}{28}\times 672\\\frac{1}{28}\times 672\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}696\\24\end{matrix}\right)
Do the arithmetic.
x=696,y=24
Extract the matrix elements x and y.
x-y=\frac{2016}{3}
Consider the first equation. Divide both sides by 3.
x-y=672
Divide 2016 by 3 to get 672.
2.8x+2.8y=3\left(x-y\right)
Consider the second equation. Use the distributive property to multiply 2.8 by x+y.
2.8x+2.8y=3x-3y
Use the distributive property to multiply 3 by x-y.
2.8x+2.8y-3x=-3y
Subtract 3x from both sides.
-0.2x+2.8y=-3y
Combine 2.8x and -3x to get -0.2x.
-0.2x+2.8y+3y=0
Add 3y to both sides.
-0.2x+5.8y=0
Combine 2.8y and 3y to get 5.8y.
x-y=672,-0.2x+5.8y=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.
-0.2x-0.2\left(-1\right)y=-0.2\times 672,-0.2x+5.8y=0
To make x and -\frac{x}{5} equal, multiply all terms on each side of the first equation by -0.2 and all terms on each side of the second by 1.
-0.2x+0.2y=-134.4,-0.2x+5.8y=0
Simplify.
-0.2x+0.2x+0.2y-5.8y=-134.4
Subtract -0.2x+5.8y=0 from -0.2x+0.2y=-134.4 by subtracting like terms on each side of the equal sign.
0.2y-5.8y=-134.4
Add -\frac{x}{5} to \frac{x}{5}. Terms -\frac{x}{5} and \frac{x}{5} cancel out, leaving an equation with only one variable that can be solved.
-5.6y=-134.4
Add \frac{y}{5} to -\frac{29y}{5}.
y=24
Divide both sides of the equation by -5.6, which is the same as multiplying both sides by the reciprocal of the fraction.
-0.2x+5.8\times 24=0
Substitute 24 for y in -0.2x+5.8y=0. Because the resulting equation contains only one variable, you can solve for x directly.
-0.2x+139.2=0
Multiply 5.8 times 24.
-0.2x=-139.2
Subtract 139.2 from both sides of the equation.
x=696
Multiply both sides by -5.
x=696,y=24
The system is now solved.