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

Similar Problems from Web Search

Share

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