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

Similar Problems from Web Search

Share

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