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

Similar Problems from Web Search

Share

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