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

Similar Problems from Web Search

Share

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