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

Similar Problems from Web Search

Share

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