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

Similar Problems from Web Search

Share

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