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

Similar Problems from Web Search

Share

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