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

Similar Problems from Web Search

Share

13x+20y=48,20x+93y=1
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.
13x+20y=48
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
13x=-20y+48
Subtract 20y from both sides of the equation.
x=\frac{1}{13}\left(-20y+48\right)
Divide both sides by 13.
x=-\frac{20}{13}y+\frac{48}{13}
Multiply \frac{1}{13} times -20y+48.
20\left(-\frac{20}{13}y+\frac{48}{13}\right)+93y=1
Substitute \frac{-20y+48}{13} for x in the other equation, 20x+93y=1.
-\frac{400}{13}y+\frac{960}{13}+93y=1
Multiply 20 times \frac{-20y+48}{13}.
\frac{809}{13}y+\frac{960}{13}=1
Add -\frac{400y}{13} to 93y.
\frac{809}{13}y=-\frac{947}{13}
Subtract \frac{960}{13} from both sides of the equation.
y=-\frac{947}{809}
Divide both sides of the equation by \frac{809}{13}, which is the same as multiplying both sides by the reciprocal of the fraction.
x=-\frac{20}{13}\left(-\frac{947}{809}\right)+\frac{48}{13}
Substitute -\frac{947}{809} for y in x=-\frac{20}{13}y+\frac{48}{13}. Because the resulting equation contains only one variable, you can solve for x directly.
x=\frac{18940}{10517}+\frac{48}{13}
Multiply -\frac{20}{13} times -\frac{947}{809} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
x=\frac{4444}{809}
Add \frac{48}{13} to \frac{18940}{10517} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
x=\frac{4444}{809},y=-\frac{947}{809}
The system is now solved.
13x+20y=48,20x+93y=1
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}13&20\\20&93\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}48\\1\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}13&20\\20&93\end{matrix}\right))\left(\begin{matrix}13&20\\20&93\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}13&20\\20&93\end{matrix}\right))\left(\begin{matrix}48\\1\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}13&20\\20&93\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}13&20\\20&93\end{matrix}\right))\left(\begin{matrix}48\\1\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}13&20\\20&93\end{matrix}\right))\left(\begin{matrix}48\\1\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{93}{13\times 93-20\times 20}&-\frac{20}{13\times 93-20\times 20}\\-\frac{20}{13\times 93-20\times 20}&\frac{13}{13\times 93-20\times 20}\end{matrix}\right)\left(\begin{matrix}48\\1\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{93}{809}&-\frac{20}{809}\\-\frac{20}{809}&\frac{13}{809}\end{matrix}\right)\left(\begin{matrix}48\\1\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{93}{809}\times 48-\frac{20}{809}\\-\frac{20}{809}\times 48+\frac{13}{809}\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{4444}{809}\\-\frac{947}{809}\end{matrix}\right)
Do the arithmetic.
x=\frac{4444}{809},y=-\frac{947}{809}
Extract the matrix elements x and y.
13x+20y=48,20x+93y=1
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.
20\times 13x+20\times 20y=20\times 48,13\times 20x+13\times 93y=13
To make 13x and 20x equal, multiply all terms on each side of the first equation by 20 and all terms on each side of the second by 13.
260x+400y=960,260x+1209y=13
Simplify.
260x-260x+400y-1209y=960-13
Subtract 260x+1209y=13 from 260x+400y=960 by subtracting like terms on each side of the equal sign.
400y-1209y=960-13
Add 260x to -260x. Terms 260x and -260x cancel out, leaving an equation with only one variable that can be solved.
-809y=960-13
Add 400y to -1209y.
-809y=947
Add 960 to -13.
y=-\frac{947}{809}
Divide both sides by -809.
20x+93\left(-\frac{947}{809}\right)=1
Substitute -\frac{947}{809} for y in 20x+93y=1. Because the resulting equation contains only one variable, you can solve for x directly.
20x-\frac{88071}{809}=1
Multiply 93 times -\frac{947}{809}.
20x=\frac{88880}{809}
Add \frac{88071}{809} to both sides of the equation.
x=\frac{4444}{809}
Divide both sides by 20.
x=\frac{4444}{809},y=-\frac{947}{809}
The system is now solved.