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

Similar Problems from Web Search

Share

4y+3x=86,-9y+5x=-77
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.
4y+3x=86
Choose one of the equations and solve it for y by isolating y on the left hand side of the equal sign.
4y=-3x+86
Subtract 3x from both sides of the equation.
y=\frac{1}{4}\left(-3x+86\right)
Divide both sides by 4.
y=-\frac{3}{4}x+\frac{43}{2}
Multiply \frac{1}{4} times -3x+86.
-9\left(-\frac{3}{4}x+\frac{43}{2}\right)+5x=-77
Substitute -\frac{3x}{4}+\frac{43}{2} for y in the other equation, -9y+5x=-77.
\frac{27}{4}x-\frac{387}{2}+5x=-77
Multiply -9 times -\frac{3x}{4}+\frac{43}{2}.
\frac{47}{4}x-\frac{387}{2}=-77
Add \frac{27x}{4} to 5x.
\frac{47}{4}x=\frac{233}{2}
Add \frac{387}{2} to both sides of the equation.
x=\frac{466}{47}
Divide both sides of the equation by \frac{47}{4}, which is the same as multiplying both sides by the reciprocal of the fraction.
y=-\frac{3}{4}\times \frac{466}{47}+\frac{43}{2}
Substitute \frac{466}{47} for x in y=-\frac{3}{4}x+\frac{43}{2}. Because the resulting equation contains only one variable, you can solve for y directly.
y=-\frac{699}{94}+\frac{43}{2}
Multiply -\frac{3}{4} times \frac{466}{47} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
y=\frac{661}{47}
Add \frac{43}{2} to -\frac{699}{94} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
y=\frac{661}{47},x=\frac{466}{47}
The system is now solved.
4y+3x=86,-9y+5x=-77
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}4&3\\-9&5\end{matrix}\right)\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}86\\-77\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}4&3\\-9&5\end{matrix}\right))\left(\begin{matrix}4&3\\-9&5\end{matrix}\right)\left(\begin{matrix}y\\x\end{matrix}\right)=inverse(\left(\begin{matrix}4&3\\-9&5\end{matrix}\right))\left(\begin{matrix}86\\-77\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}4&3\\-9&5\end{matrix}\right).
\left(\begin{matrix}1&0\\0&1\end{matrix}\right)\left(\begin{matrix}y\\x\end{matrix}\right)=inverse(\left(\begin{matrix}4&3\\-9&5\end{matrix}\right))\left(\begin{matrix}86\\-77\end{matrix}\right)
The product of a matrix and its inverse is the identity matrix.
\left(\begin{matrix}y\\x\end{matrix}\right)=inverse(\left(\begin{matrix}4&3\\-9&5\end{matrix}\right))\left(\begin{matrix}86\\-77\end{matrix}\right)
Multiply the matrices on the left hand side of the equal sign.
\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}\frac{5}{4\times 5-3\left(-9\right)}&-\frac{3}{4\times 5-3\left(-9\right)}\\-\frac{-9}{4\times 5-3\left(-9\right)}&\frac{4}{4\times 5-3\left(-9\right)}\end{matrix}\right)\left(\begin{matrix}86\\-77\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}y\\x\end{matrix}\right)=\left(\begin{matrix}\frac{5}{47}&-\frac{3}{47}\\\frac{9}{47}&\frac{4}{47}\end{matrix}\right)\left(\begin{matrix}86\\-77\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}\frac{5}{47}\times 86-\frac{3}{47}\left(-77\right)\\\frac{9}{47}\times 86+\frac{4}{47}\left(-77\right)\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}\frac{661}{47}\\\frac{466}{47}\end{matrix}\right)
Do the arithmetic.
y=\frac{661}{47},x=\frac{466}{47}
Extract the matrix elements y and x.
4y+3x=86,-9y+5x=-77
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.
-9\times 4y-9\times 3x=-9\times 86,4\left(-9\right)y+4\times 5x=4\left(-77\right)
To make 4y and -9y equal, multiply all terms on each side of the first equation by -9 and all terms on each side of the second by 4.
-36y-27x=-774,-36y+20x=-308
Simplify.
-36y+36y-27x-20x=-774+308
Subtract -36y+20x=-308 from -36y-27x=-774 by subtracting like terms on each side of the equal sign.
-27x-20x=-774+308
Add -36y to 36y. Terms -36y and 36y cancel out, leaving an equation with only one variable that can be solved.
-47x=-774+308
Add -27x to -20x.
-47x=-466
Add -774 to 308.
x=\frac{466}{47}
Divide both sides by -47.
-9y+5\times \frac{466}{47}=-77
Substitute \frac{466}{47} for x in -9y+5x=-77. Because the resulting equation contains only one variable, you can solve for y directly.
-9y+\frac{2330}{47}=-77
Multiply 5 times \frac{466}{47}.
-9y=-\frac{5949}{47}
Subtract \frac{2330}{47} from both sides of the equation.
y=\frac{661}{47}
Divide both sides by -9.
y=\frac{661}{47},x=\frac{466}{47}
The system is now solved.