Skip to main content
Solve for m, n
Tick mark Image

Similar Problems from Web Search

Share

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