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

Similar Problems from Web Search

Share

60x+60y=870,70x+140y=2035
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.
60x+60y=870
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
60x=-60y+870
Subtract 60y from both sides of the equation.
x=\frac{1}{60}\left(-60y+870\right)
Divide both sides by 60.
x=-y+\frac{29}{2}
Multiply \frac{1}{60} times -60y+870.
70\left(-y+\frac{29}{2}\right)+140y=2035
Substitute -y+\frac{29}{2} for x in the other equation, 70x+140y=2035.
-70y+1015+140y=2035
Multiply 70 times -y+\frac{29}{2}.
70y+1015=2035
Add -70y to 140y.
70y=1020
Subtract 1015 from both sides of the equation.
y=\frac{102}{7}
Divide both sides by 70.
x=-\frac{102}{7}+\frac{29}{2}
Substitute \frac{102}{7} for y in x=-y+\frac{29}{2}. Because the resulting equation contains only one variable, you can solve for x directly.
x=-\frac{1}{14}
Add \frac{29}{2} to -\frac{102}{7} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
x=-\frac{1}{14},y=\frac{102}{7}
The system is now solved.
60x+60y=870,70x+140y=2035
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}60&60\\70&140\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}870\\2035\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}60&60\\70&140\end{matrix}\right))\left(\begin{matrix}60&60\\70&140\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}60&60\\70&140\end{matrix}\right))\left(\begin{matrix}870\\2035\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}60&60\\70&140\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}60&60\\70&140\end{matrix}\right))\left(\begin{matrix}870\\2035\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}60&60\\70&140\end{matrix}\right))\left(\begin{matrix}870\\2035\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{140}{60\times 140-60\times 70}&-\frac{60}{60\times 140-60\times 70}\\-\frac{70}{60\times 140-60\times 70}&\frac{60}{60\times 140-60\times 70}\end{matrix}\right)\left(\begin{matrix}870\\2035\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}{30}&-\frac{1}{70}\\-\frac{1}{60}&\frac{1}{70}\end{matrix}\right)\left(\begin{matrix}870\\2035\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{1}{30}\times 870-\frac{1}{70}\times 2035\\-\frac{1}{60}\times 870+\frac{1}{70}\times 2035\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-\frac{1}{14}\\\frac{102}{7}\end{matrix}\right)
Do the arithmetic.
x=-\frac{1}{14},y=\frac{102}{7}
Extract the matrix elements x and y.
60x+60y=870,70x+140y=2035
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.
70\times 60x+70\times 60y=70\times 870,60\times 70x+60\times 140y=60\times 2035
To make 60x and 70x equal, multiply all terms on each side of the first equation by 70 and all terms on each side of the second by 60.
4200x+4200y=60900,4200x+8400y=122100
Simplify.
4200x-4200x+4200y-8400y=60900-122100
Subtract 4200x+8400y=122100 from 4200x+4200y=60900 by subtracting like terms on each side of the equal sign.
4200y-8400y=60900-122100
Add 4200x to -4200x. Terms 4200x and -4200x cancel out, leaving an equation with only one variable that can be solved.
-4200y=60900-122100
Add 4200y to -8400y.
-4200y=-61200
Add 60900 to -122100.
y=\frac{102}{7}
Divide both sides by -4200.
70x+140\times \frac{102}{7}=2035
Substitute \frac{102}{7} for y in 70x+140y=2035. Because the resulting equation contains only one variable, you can solve for x directly.
70x+2040=2035
Multiply 140 times \frac{102}{7}.
70x=-5
Subtract 2040 from both sides of the equation.
x=-\frac{1}{14}
Divide both sides by 70.
x=-\frac{1}{14},y=\frac{102}{7}
The system is now solved.