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

Similar Problems from Web Search

Share

2y-8x=-10
Consider the first equation. Subtract 8x from both sides.
3y-4x=-15
Consider the second equation. Subtract 4x from both sides.
2y-8x=-10,3y-4x=-15
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.
2y-8x=-10
Choose one of the equations and solve it for y by isolating y on the left hand side of the equal sign.
2y=8x-10
Add 8x to both sides of the equation.
y=\frac{1}{2}\left(8x-10\right)
Divide both sides by 2.
y=4x-5
Multiply \frac{1}{2} times 8x-10.
3\left(4x-5\right)-4x=-15
Substitute 4x-5 for y in the other equation, 3y-4x=-15.
12x-15-4x=-15
Multiply 3 times 4x-5.
8x-15=-15
Add 12x to -4x.
8x=0
Add 15 to both sides of the equation.
x=0
Divide both sides by 8.
y=-5
Substitute 0 for x in y=4x-5. Because the resulting equation contains only one variable, you can solve for y directly.
y=-5,x=0
The system is now solved.
2y-8x=-10
Consider the first equation. Subtract 8x from both sides.
3y-4x=-15
Consider the second equation. Subtract 4x from both sides.
2y-8x=-10,3y-4x=-15
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}2&-8\\3&-4\end{matrix}\right)\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}-10\\-15\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}2&-8\\3&-4\end{matrix}\right))\left(\begin{matrix}2&-8\\3&-4\end{matrix}\right)\left(\begin{matrix}y\\x\end{matrix}\right)=inverse(\left(\begin{matrix}2&-8\\3&-4\end{matrix}\right))\left(\begin{matrix}-10\\-15\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}2&-8\\3&-4\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}2&-8\\3&-4\end{matrix}\right))\left(\begin{matrix}-10\\-15\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}2&-8\\3&-4\end{matrix}\right))\left(\begin{matrix}-10\\-15\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{4}{2\left(-4\right)-\left(-8\times 3\right)}&-\frac{-8}{2\left(-4\right)-\left(-8\times 3\right)}\\-\frac{3}{2\left(-4\right)-\left(-8\times 3\right)}&\frac{2}{2\left(-4\right)-\left(-8\times 3\right)}\end{matrix}\right)\left(\begin{matrix}-10\\-15\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}{4}&\frac{1}{2}\\-\frac{3}{16}&\frac{1}{8}\end{matrix}\right)\left(\begin{matrix}-10\\-15\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}-\frac{1}{4}\left(-10\right)+\frac{1}{2}\left(-15\right)\\-\frac{3}{16}\left(-10\right)+\frac{1}{8}\left(-15\right)\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}-5\\0\end{matrix}\right)
Do the arithmetic.
y=-5,x=0
Extract the matrix elements y and x.
2y-8x=-10
Consider the first equation. Subtract 8x from both sides.
3y-4x=-15
Consider the second equation. Subtract 4x from both sides.
2y-8x=-10,3y-4x=-15
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.
3\times 2y+3\left(-8\right)x=3\left(-10\right),2\times 3y+2\left(-4\right)x=2\left(-15\right)
To make 2y and 3y equal, multiply all terms on each side of the first equation by 3 and all terms on each side of the second by 2.
6y-24x=-30,6y-8x=-30
Simplify.
6y-6y-24x+8x=-30+30
Subtract 6y-8x=-30 from 6y-24x=-30 by subtracting like terms on each side of the equal sign.
-24x+8x=-30+30
Add 6y to -6y. Terms 6y and -6y cancel out, leaving an equation with only one variable that can be solved.
-16x=-30+30
Add -24x to 8x.
-16x=0
Add -30 to 30.
x=0
Divide both sides by -16.
3y=-15
Substitute 0 for x in 3y-4x=-15. Because the resulting equation contains only one variable, you can solve for y directly.
y=-5
Divide both sides by 3.
y=-5,x=0
The system is now solved.