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

Similar Problems from Web Search

Share

12.5x+12.5y=9750,13x-13y=9750
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.
12.5x+12.5y=9750
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
12.5x=-12.5y+9750
Subtract \frac{25y}{2} from both sides of the equation.
x=0.08\left(-12.5y+9750\right)
Divide both sides of the equation by 12.5, which is the same as multiplying both sides by the reciprocal of the fraction.
x=-y+780
Multiply 0.08 times -\frac{25y}{2}+9750.
13\left(-y+780\right)-13y=9750
Substitute -y+780 for x in the other equation, 13x-13y=9750.
-13y+10140-13y=9750
Multiply 13 times -y+780.
-26y+10140=9750
Add -13y to -13y.
-26y=-390
Subtract 10140 from both sides of the equation.
y=15
Divide both sides by -26.
x=-15+780
Substitute 15 for y in x=-y+780. Because the resulting equation contains only one variable, you can solve for x directly.
x=765
Add 780 to -15.
x=765,y=15
The system is now solved.
12.5x+12.5y=9750,13x-13y=9750
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}12.5&12.5\\13&-13\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}9750\\9750\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}12.5&12.5\\13&-13\end{matrix}\right))\left(\begin{matrix}12.5&12.5\\13&-13\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}12.5&12.5\\13&-13\end{matrix}\right))\left(\begin{matrix}9750\\9750\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}12.5&12.5\\13&-13\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}12.5&12.5\\13&-13\end{matrix}\right))\left(\begin{matrix}9750\\9750\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}12.5&12.5\\13&-13\end{matrix}\right))\left(\begin{matrix}9750\\9750\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{13}{12.5\left(-13\right)-12.5\times 13}&-\frac{12.5}{12.5\left(-13\right)-12.5\times 13}\\-\frac{13}{12.5\left(-13\right)-12.5\times 13}&\frac{12.5}{12.5\left(-13\right)-12.5\times 13}\end{matrix}\right)\left(\begin{matrix}9750\\9750\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}{25}&\frac{1}{26}\\\frac{1}{25}&-\frac{1}{26}\end{matrix}\right)\left(\begin{matrix}9750\\9750\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{1}{25}\times 9750+\frac{1}{26}\times 9750\\\frac{1}{25}\times 9750-\frac{1}{26}\times 9750\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}765\\15\end{matrix}\right)
Do the arithmetic.
x=765,y=15
Extract the matrix elements x and y.
12.5x+12.5y=9750,13x-13y=9750
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.
13\times 12.5x+13\times 12.5y=13\times 9750,12.5\times 13x+12.5\left(-13\right)y=12.5\times 9750
To make \frac{25x}{2} and 13x equal, multiply all terms on each side of the first equation by 13 and all terms on each side of the second by 12.5.
162.5x+162.5y=126750,162.5x-162.5y=121875
Simplify.
162.5x-162.5x+162.5y+162.5y=126750-121875
Subtract 162.5x-162.5y=121875 from 162.5x+162.5y=126750 by subtracting like terms on each side of the equal sign.
162.5y+162.5y=126750-121875
Add \frac{325x}{2} to -\frac{325x}{2}. Terms \frac{325x}{2} and -\frac{325x}{2} cancel out, leaving an equation with only one variable that can be solved.
325y=126750-121875
Add \frac{325y}{2} to \frac{325y}{2}.
325y=4875
Add 126750 to -121875.
y=15
Divide both sides by 325.
13x-13\times 15=9750
Substitute 15 for y in 13x-13y=9750. Because the resulting equation contains only one variable, you can solve for x directly.
13x-195=9750
Multiply -13 times 15.
13x=9945
Add 195 to both sides of the equation.
x=765
Divide both sides by 13.
x=765,y=15
The system is now solved.