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

Similar Problems from Web Search

Share

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