Skip to main content
Solve for a, b
Tick mark Image

Similar Problems from Web Search

Share

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