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

Similar Problems from Web Search

Share

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