Solve for v, w
v=5
w=-6
Share
Copied to clipboard
4v+7w=-22,-3v+5w=-45
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.
4v+7w=-22
Choose one of the equations and solve it for v by isolating v on the left hand side of the equal sign.
4v=-7w-22
Subtract 7w from both sides of the equation.
v=\frac{1}{4}\left(-7w-22\right)
Divide both sides by 4.
v=-\frac{7}{4}w-\frac{11}{2}
Multiply \frac{1}{4} times -7w-22.
-3\left(-\frac{7}{4}w-\frac{11}{2}\right)+5w=-45
Substitute -\frac{7w}{4}-\frac{11}{2} for v in the other equation, -3v+5w=-45.
\frac{21}{4}w+\frac{33}{2}+5w=-45
Multiply -3 times -\frac{7w}{4}-\frac{11}{2}.
\frac{41}{4}w+\frac{33}{2}=-45
Add \frac{21w}{4} to 5w.
\frac{41}{4}w=-\frac{123}{2}
Subtract \frac{33}{2} from both sides of the equation.
w=-6
Divide both sides of the equation by \frac{41}{4}, which is the same as multiplying both sides by the reciprocal of the fraction.
v=-\frac{7}{4}\left(-6\right)-\frac{11}{2}
Substitute -6 for w in v=-\frac{7}{4}w-\frac{11}{2}. Because the resulting equation contains only one variable, you can solve for v directly.
v=\frac{21-11}{2}
Multiply -\frac{7}{4} times -6.
v=5
Add -\frac{11}{2} to \frac{21}{2} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
v=5,w=-6
The system is now solved.
4v+7w=-22,-3v+5w=-45
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}4&7\\-3&5\end{matrix}\right)\left(\begin{matrix}v\\w\end{matrix}\right)=\left(\begin{matrix}-22\\-45\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}4&7\\-3&5\end{matrix}\right))\left(\begin{matrix}4&7\\-3&5\end{matrix}\right)\left(\begin{matrix}v\\w\end{matrix}\right)=inverse(\left(\begin{matrix}4&7\\-3&5\end{matrix}\right))\left(\begin{matrix}-22\\-45\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}4&7\\-3&5\end{matrix}\right).
\left(\begin{matrix}1&0\\0&1\end{matrix}\right)\left(\begin{matrix}v\\w\end{matrix}\right)=inverse(\left(\begin{matrix}4&7\\-3&5\end{matrix}\right))\left(\begin{matrix}-22\\-45\end{matrix}\right)
The product of a matrix and its inverse is the identity matrix.
\left(\begin{matrix}v\\w\end{matrix}\right)=inverse(\left(\begin{matrix}4&7\\-3&5\end{matrix}\right))\left(\begin{matrix}-22\\-45\end{matrix}\right)
Multiply the matrices on the left hand side of the equal sign.
\left(\begin{matrix}v\\w\end{matrix}\right)=\left(\begin{matrix}\frac{5}{4\times 5-7\left(-3\right)}&-\frac{7}{4\times 5-7\left(-3\right)}\\-\frac{-3}{4\times 5-7\left(-3\right)}&\frac{4}{4\times 5-7\left(-3\right)}\end{matrix}\right)\left(\begin{matrix}-22\\-45\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}v\\w\end{matrix}\right)=\left(\begin{matrix}\frac{5}{41}&-\frac{7}{41}\\\frac{3}{41}&\frac{4}{41}\end{matrix}\right)\left(\begin{matrix}-22\\-45\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}v\\w\end{matrix}\right)=\left(\begin{matrix}\frac{5}{41}\left(-22\right)-\frac{7}{41}\left(-45\right)\\\frac{3}{41}\left(-22\right)+\frac{4}{41}\left(-45\right)\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}v\\w\end{matrix}\right)=\left(\begin{matrix}5\\-6\end{matrix}\right)
Do the arithmetic.
v=5,w=-6
Extract the matrix elements v and w.
4v+7w=-22,-3v+5w=-45
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.
-3\times 4v-3\times 7w=-3\left(-22\right),4\left(-3\right)v+4\times 5w=4\left(-45\right)
To make 4v and -3v equal, multiply all terms on each side of the first equation by -3 and all terms on each side of the second by 4.
-12v-21w=66,-12v+20w=-180
Simplify.
-12v+12v-21w-20w=66+180
Subtract -12v+20w=-180 from -12v-21w=66 by subtracting like terms on each side of the equal sign.
-21w-20w=66+180
Add -12v to 12v. Terms -12v and 12v cancel out, leaving an equation with only one variable that can be solved.
-41w=66+180
Add -21w to -20w.
-41w=246
Add 66 to 180.
w=-6
Divide both sides by -41.
-3v+5\left(-6\right)=-45
Substitute -6 for w in -3v+5w=-45. Because the resulting equation contains only one variable, you can solve for v directly.
-3v-30=-45
Multiply 5 times -6.
-3v=-15
Add 30 to both sides of the equation.
v=5
Divide both sides by -3.
v=5,w=-6
The system is now solved.
Examples
Quadratic equation
{ x } ^ { 2 } - 4 x - 5 = 0
Trigonometry
4 \sin \theta \cos \theta = 2 \sin \theta
Linear equation
y = 3x + 4
Arithmetic
699 * 533
Matrix
\left[ \begin{array} { l l } { 2 } & { 3 } \\ { 5 } & { 4 } \end{array} \right] \left[ \begin{array} { l l l } { 2 } & { 0 } & { 3 } \\ { -1 } & { 1 } & { 5 } \end{array} \right]
Simultaneous equation
\left. \begin{cases} { 8x+2y = 46 } \\ { 7x+3y = 47 } \end{cases} \right.
Differentiation
\frac { d } { d x } \frac { ( 3 x ^ { 2 } - 2 ) } { ( x - 5 ) }
Integration
\int _ { 0 } ^ { 1 } x e ^ { - x ^ { 2 } } d x
Limits
\lim _{x \rightarrow-3} \frac{x^{2}-9}{x^{2}+2 x-3}