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

Similar Problems from Web Search

Share

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