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

Similar Problems from Web Search

Share

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