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

Similar Problems from Web Search

Share

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