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

Similar Problems from Web Search

Share

4\times 2\left(x-y\right)-3\left(x+y\right)=-12
Consider the first equation. Multiply both sides of the equation by 12, the least common multiple of 3,4.
8\left(x-y\right)-3\left(x+y\right)=-12
Multiply 4 and 2 to get 8.
8x-8y-3\left(x+y\right)=-12
Use the distributive property to multiply 8 by x-y.
8x-8y-3x-3y=-12
Use the distributive property to multiply -3 by x+y.
5x-8y-3y=-12
Combine 8x and -3x to get 5x.
5x-11y=-12
Combine -8y and -3y to get -11y.
6x+6y-4\left(2x-y\right)=1
Consider the second equation. Use the distributive property to multiply 6 by x+y.
6x+6y-8x+4y=1
Use the distributive property to multiply -4 by 2x-y.
-2x+6y+4y=1
Combine 6x and -8x to get -2x.
-2x+10y=1
Combine 6y and 4y to get 10y.
5x-11y=-12,-2x+10y=1
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-11y=-12
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
5x=11y-12
Add 11y to both sides of the equation.
x=\frac{1}{5}\left(11y-12\right)
Divide both sides by 5.
x=\frac{11}{5}y-\frac{12}{5}
Multiply \frac{1}{5} times 11y-12.
-2\left(\frac{11}{5}y-\frac{12}{5}\right)+10y=1
Substitute \frac{11y-12}{5} for x in the other equation, -2x+10y=1.
-\frac{22}{5}y+\frac{24}{5}+10y=1
Multiply -2 times \frac{11y-12}{5}.
\frac{28}{5}y+\frac{24}{5}=1
Add -\frac{22y}{5} to 10y.
\frac{28}{5}y=-\frac{19}{5}
Subtract \frac{24}{5} from both sides of the equation.
y=-\frac{19}{28}
Divide both sides of the equation by \frac{28}{5}, which is the same as multiplying both sides by the reciprocal of the fraction.
x=\frac{11}{5}\left(-\frac{19}{28}\right)-\frac{12}{5}
Substitute -\frac{19}{28} for y in x=\frac{11}{5}y-\frac{12}{5}. Because the resulting equation contains only one variable, you can solve for x directly.
x=-\frac{209}{140}-\frac{12}{5}
Multiply \frac{11}{5} times -\frac{19}{28} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
x=-\frac{109}{28}
Add -\frac{12}{5} to -\frac{209}{140} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
x=-\frac{109}{28},y=-\frac{19}{28}
The system is now solved.
4\times 2\left(x-y\right)-3\left(x+y\right)=-12
Consider the first equation. Multiply both sides of the equation by 12, the least common multiple of 3,4.
8\left(x-y\right)-3\left(x+y\right)=-12
Multiply 4 and 2 to get 8.
8x-8y-3\left(x+y\right)=-12
Use the distributive property to multiply 8 by x-y.
8x-8y-3x-3y=-12
Use the distributive property to multiply -3 by x+y.
5x-8y-3y=-12
Combine 8x and -3x to get 5x.
5x-11y=-12
Combine -8y and -3y to get -11y.
6x+6y-4\left(2x-y\right)=1
Consider the second equation. Use the distributive property to multiply 6 by x+y.
6x+6y-8x+4y=1
Use the distributive property to multiply -4 by 2x-y.
-2x+6y+4y=1
Combine 6x and -8x to get -2x.
-2x+10y=1
Combine 6y and 4y to get 10y.
5x-11y=-12,-2x+10y=1
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}5&-11\\-2&10\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-12\\1\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}5&-11\\-2&10\end{matrix}\right))\left(\begin{matrix}5&-11\\-2&10\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}5&-11\\-2&10\end{matrix}\right))\left(\begin{matrix}-12\\1\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}5&-11\\-2&10\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&-11\\-2&10\end{matrix}\right))\left(\begin{matrix}-12\\1\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&-11\\-2&10\end{matrix}\right))\left(\begin{matrix}-12\\1\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{10}{5\times 10-\left(-11\left(-2\right)\right)}&-\frac{-11}{5\times 10-\left(-11\left(-2\right)\right)}\\-\frac{-2}{5\times 10-\left(-11\left(-2\right)\right)}&\frac{5}{5\times 10-\left(-11\left(-2\right)\right)}\end{matrix}\right)\left(\begin{matrix}-12\\1\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{5}{14}&\frac{11}{28}\\\frac{1}{14}&\frac{5}{28}\end{matrix}\right)\left(\begin{matrix}-12\\1\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{5}{14}\left(-12\right)+\frac{11}{28}\\\frac{1}{14}\left(-12\right)+\frac{5}{28}\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-\frac{109}{28}\\-\frac{19}{28}\end{matrix}\right)
Do the arithmetic.
x=-\frac{109}{28},y=-\frac{19}{28}
Extract the matrix elements x and y.
4\times 2\left(x-y\right)-3\left(x+y\right)=-12
Consider the first equation. Multiply both sides of the equation by 12, the least common multiple of 3,4.
8\left(x-y\right)-3\left(x+y\right)=-12
Multiply 4 and 2 to get 8.
8x-8y-3\left(x+y\right)=-12
Use the distributive property to multiply 8 by x-y.
8x-8y-3x-3y=-12
Use the distributive property to multiply -3 by x+y.
5x-8y-3y=-12
Combine 8x and -3x to get 5x.
5x-11y=-12
Combine -8y and -3y to get -11y.
6x+6y-4\left(2x-y\right)=1
Consider the second equation. Use the distributive property to multiply 6 by x+y.
6x+6y-8x+4y=1
Use the distributive property to multiply -4 by 2x-y.
-2x+6y+4y=1
Combine 6x and -8x to get -2x.
-2x+10y=1
Combine 6y and 4y to get 10y.
5x-11y=-12,-2x+10y=1
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.
-2\times 5x-2\left(-11\right)y=-2\left(-12\right),5\left(-2\right)x+5\times 10y=5
To make 5x and -2x equal, multiply all terms on each side of the first equation by -2 and all terms on each side of the second by 5.
-10x+22y=24,-10x+50y=5
Simplify.
-10x+10x+22y-50y=24-5
Subtract -10x+50y=5 from -10x+22y=24 by subtracting like terms on each side of the equal sign.
22y-50y=24-5
Add -10x to 10x. Terms -10x and 10x cancel out, leaving an equation with only one variable that can be solved.
-28y=24-5
Add 22y to -50y.
-28y=19
Add 24 to -5.
y=-\frac{19}{28}
Divide both sides by -28.
-2x+10\left(-\frac{19}{28}\right)=1
Substitute -\frac{19}{28} for y in -2x+10y=1. Because the resulting equation contains only one variable, you can solve for x directly.
-2x-\frac{95}{14}=1
Multiply 10 times -\frac{19}{28}.
-2x=\frac{109}{14}
Add \frac{95}{14} to both sides of the equation.
x=-\frac{109}{28}
Divide both sides by -2.
x=-\frac{109}{28},y=-\frac{19}{28}
The system is now solved.