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

Similar Problems from Web Search

Share

4x-5y=44
Consider the first equation. Subtract 5y from both sides.
5x+4y=-27
Consider the second equation. Add 4y to both sides.
4x-5y=44,5x+4y=-27
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.
4x-5y=44
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
4x=5y+44
Add 5y to both sides of the equation.
x=\frac{1}{4}\left(5y+44\right)
Divide both sides by 4.
x=\frac{5}{4}y+11
Multiply \frac{1}{4} times 5y+44.
5\left(\frac{5}{4}y+11\right)+4y=-27
Substitute \frac{5y}{4}+11 for x in the other equation, 5x+4y=-27.
\frac{25}{4}y+55+4y=-27
Multiply 5 times \frac{5y}{4}+11.
\frac{41}{4}y+55=-27
Add \frac{25y}{4} to 4y.
\frac{41}{4}y=-82
Subtract 55 from both sides of the equation.
y=-8
Divide both sides of the equation by \frac{41}{4}, which is the same as multiplying both sides by the reciprocal of the fraction.
x=\frac{5}{4}\left(-8\right)+11
Substitute -8 for y in x=\frac{5}{4}y+11. Because the resulting equation contains only one variable, you can solve for x directly.
x=-10+11
Multiply \frac{5}{4} times -8.
x=1
Add 11 to -10.
x=1,y=-8
The system is now solved.
4x-5y=44
Consider the first equation. Subtract 5y from both sides.
5x+4y=-27
Consider the second equation. Add 4y to both sides.
4x-5y=44,5x+4y=-27
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}4&-5\\5&4\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}44\\-27\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}4&-5\\5&4\end{matrix}\right))\left(\begin{matrix}4&-5\\5&4\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}4&-5\\5&4\end{matrix}\right))\left(\begin{matrix}44\\-27\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}4&-5\\5&4\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}4&-5\\5&4\end{matrix}\right))\left(\begin{matrix}44\\-27\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}4&-5\\5&4\end{matrix}\right))\left(\begin{matrix}44\\-27\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{4}{4\times 4-\left(-5\times 5\right)}&-\frac{-5}{4\times 4-\left(-5\times 5\right)}\\-\frac{5}{4\times 4-\left(-5\times 5\right)}&\frac{4}{4\times 4-\left(-5\times 5\right)}\end{matrix}\right)\left(\begin{matrix}44\\-27\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{4}{41}&\frac{5}{41}\\-\frac{5}{41}&\frac{4}{41}\end{matrix}\right)\left(\begin{matrix}44\\-27\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{4}{41}\times 44+\frac{5}{41}\left(-27\right)\\-\frac{5}{41}\times 44+\frac{4}{41}\left(-27\right)\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}1\\-8\end{matrix}\right)
Do the arithmetic.
x=1,y=-8
Extract the matrix elements x and y.
4x-5y=44
Consider the first equation. Subtract 5y from both sides.
5x+4y=-27
Consider the second equation. Add 4y to both sides.
4x-5y=44,5x+4y=-27
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 4x+5\left(-5\right)y=5\times 44,4\times 5x+4\times 4y=4\left(-27\right)
To make 4x 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 4.
20x-25y=220,20x+16y=-108
Simplify.
20x-20x-25y-16y=220+108
Subtract 20x+16y=-108 from 20x-25y=220 by subtracting like terms on each side of the equal sign.
-25y-16y=220+108
Add 20x to -20x. Terms 20x and -20x cancel out, leaving an equation with only one variable that can be solved.
-41y=220+108
Add -25y to -16y.
-41y=328
Add 220 to 108.
y=-8
Divide both sides by -41.
5x+4\left(-8\right)=-27
Substitute -8 for y in 5x+4y=-27. Because the resulting equation contains only one variable, you can solve for x directly.
5x-32=-27
Multiply 4 times -8.
5x=5
Add 32 to both sides of the equation.
x=1
Divide both sides by 5.
x=1,y=-8
The system is now solved.