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

Similar Problems from Web Search

Share

9x+7y=6,8x+3y=9
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.
9x+7y=6
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
9x=-7y+6
Subtract 7y from both sides of the equation.
x=\frac{1}{9}\left(-7y+6\right)
Divide both sides by 9.
x=-\frac{7}{9}y+\frac{2}{3}
Multiply \frac{1}{9} times -7y+6.
8\left(-\frac{7}{9}y+\frac{2}{3}\right)+3y=9
Substitute -\frac{7y}{9}+\frac{2}{3} for x in the other equation, 8x+3y=9.
-\frac{56}{9}y+\frac{16}{3}+3y=9
Multiply 8 times -\frac{7y}{9}+\frac{2}{3}.
-\frac{29}{9}y+\frac{16}{3}=9
Add -\frac{56y}{9} to 3y.
-\frac{29}{9}y=\frac{11}{3}
Subtract \frac{16}{3} from both sides of the equation.
y=-\frac{33}{29}
Divide both sides of the equation by -\frac{29}{9}, which is the same as multiplying both sides by the reciprocal of the fraction.
x=-\frac{7}{9}\left(-\frac{33}{29}\right)+\frac{2}{3}
Substitute -\frac{33}{29} for y in x=-\frac{7}{9}y+\frac{2}{3}. Because the resulting equation contains only one variable, you can solve for x directly.
x=\frac{77}{87}+\frac{2}{3}
Multiply -\frac{7}{9} times -\frac{33}{29} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
x=\frac{45}{29}
Add \frac{2}{3} to \frac{77}{87} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
x=\frac{45}{29},y=-\frac{33}{29}
The system is now solved.
9x+7y=6,8x+3y=9
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}9&7\\8&3\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}6\\9\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}9&7\\8&3\end{matrix}\right))\left(\begin{matrix}9&7\\8&3\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}9&7\\8&3\end{matrix}\right))\left(\begin{matrix}6\\9\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}9&7\\8&3\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}9&7\\8&3\end{matrix}\right))\left(\begin{matrix}6\\9\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}9&7\\8&3\end{matrix}\right))\left(\begin{matrix}6\\9\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{3}{9\times 3-7\times 8}&-\frac{7}{9\times 3-7\times 8}\\-\frac{8}{9\times 3-7\times 8}&\frac{9}{9\times 3-7\times 8}\end{matrix}\right)\left(\begin{matrix}6\\9\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{3}{29}&\frac{7}{29}\\\frac{8}{29}&-\frac{9}{29}\end{matrix}\right)\left(\begin{matrix}6\\9\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-\frac{3}{29}\times 6+\frac{7}{29}\times 9\\\frac{8}{29}\times 6-\frac{9}{29}\times 9\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{45}{29}\\-\frac{33}{29}\end{matrix}\right)
Do the arithmetic.
x=\frac{45}{29},y=-\frac{33}{29}
Extract the matrix elements x and y.
9x+7y=6,8x+3y=9
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.
8\times 9x+8\times 7y=8\times 6,9\times 8x+9\times 3y=9\times 9
To make 9x and 8x equal, multiply all terms on each side of the first equation by 8 and all terms on each side of the second by 9.
72x+56y=48,72x+27y=81
Simplify.
72x-72x+56y-27y=48-81
Subtract 72x+27y=81 from 72x+56y=48 by subtracting like terms on each side of the equal sign.
56y-27y=48-81
Add 72x to -72x. Terms 72x and -72x cancel out, leaving an equation with only one variable that can be solved.
29y=48-81
Add 56y to -27y.
29y=-33
Add 48 to -81.
y=-\frac{33}{29}
Divide both sides by 29.
8x+3\left(-\frac{33}{29}\right)=9
Substitute -\frac{33}{29} for y in 8x+3y=9. Because the resulting equation contains only one variable, you can solve for x directly.
8x-\frac{99}{29}=9
Multiply 3 times -\frac{33}{29}.
8x=\frac{360}{29}
Add \frac{99}{29} to both sides of the equation.
x=\frac{45}{29}
Divide both sides by 8.
x=\frac{45}{29},y=-\frac{33}{29}
The system is now solved.