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

Similar Problems from Web Search

Share

5x+5y=10,-5x-8y=11
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.
5x+5y=10
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
5x=-5y+10
Subtract 5y from both sides of the equation.
x=\frac{1}{5}\left(-5y+10\right)
Divide both sides by 5.
x=-y+2
Multiply \frac{1}{5} times -5y+10.
-5\left(-y+2\right)-8y=11
Substitute -y+2 for x in the other equation, -5x-8y=11.
5y-10-8y=11
Multiply -5 times -y+2.
-3y-10=11
Add 5y to -8y.
-3y=21
Add 10 to both sides of the equation.
y=-7
Divide both sides by -3.
x=-\left(-7\right)+2
Substitute -7 for y in x=-y+2. Because the resulting equation contains only one variable, you can solve for x directly.
x=7+2
Multiply -1 times -7.
x=9
Add 2 to 7.
x=9,y=-7
The system is now solved.
5x+5y=10,-5x-8y=11
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}5&5\\-5&-8\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}10\\11\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}5&5\\-5&-8\end{matrix}\right))\left(\begin{matrix}5&5\\-5&-8\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}5&5\\-5&-8\end{matrix}\right))\left(\begin{matrix}10\\11\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}5&5\\-5&-8\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}5&5\\-5&-8\end{matrix}\right))\left(\begin{matrix}10\\11\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}5&5\\-5&-8\end{matrix}\right))\left(\begin{matrix}10\\11\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{8}{5\left(-8\right)-5\left(-5\right)}&-\frac{5}{5\left(-8\right)-5\left(-5\right)}\\-\frac{-5}{5\left(-8\right)-5\left(-5\right)}&\frac{5}{5\left(-8\right)-5\left(-5\right)}\end{matrix}\right)\left(\begin{matrix}10\\11\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{8}{15}&\frac{1}{3}\\-\frac{1}{3}&-\frac{1}{3}\end{matrix}\right)\left(\begin{matrix}10\\11\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{8}{15}\times 10+\frac{1}{3}\times 11\\-\frac{1}{3}\times 10-\frac{1}{3}\times 11\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}9\\-7\end{matrix}\right)
Do the arithmetic.
x=9,y=-7
Extract the matrix elements x and y.
5x+5y=10,-5x-8y=11
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.
-5\times 5x-5\times 5y=-5\times 10,5\left(-5\right)x+5\left(-8\right)y=5\times 11
To make 5x and -5x equal, multiply all terms on each side of the first equation by -5 and all terms on each side of the second by 5.
-25x-25y=-50,-25x-40y=55
Simplify.
-25x+25x-25y+40y=-50-55
Subtract -25x-40y=55 from -25x-25y=-50 by subtracting like terms on each side of the equal sign.
-25y+40y=-50-55
Add -25x to 25x. Terms -25x and 25x cancel out, leaving an equation with only one variable that can be solved.
15y=-50-55
Add -25y to 40y.
15y=-105
Add -50 to -55.
y=-7
Divide both sides by 15.
-5x-8\left(-7\right)=11
Substitute -7 for y in -5x-8y=11. Because the resulting equation contains only one variable, you can solve for x directly.
-5x+56=11
Multiply -8 times -7.
-5x=-45
Subtract 56 from both sides of the equation.
x=9
Divide both sides by -5.
x=9,y=-7
The system is now solved.