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

Similar Problems from Web Search

Share

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