Solve for b, a
b = \frac{95}{7} = 13\frac{4}{7} \approx 13.571428571
a = \frac{626}{7} = 89\frac{3}{7} \approx 89.428571429
Share
Copied to clipboard
6b+8-a=0
Consider the first equation. Subtract a from both sides.
6b-a=-8
Subtract 8 from both sides. Anything subtracted from zero gives its negation.
a+b=109-6
Consider the second equation. Subtract 6 from both sides.
a+b=103
Subtract 6 from 109 to get 103.
6b-a=-8,b+a=103
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.
6b-a=-8
Choose one of the equations and solve it for b by isolating b on the left hand side of the equal sign.
6b=a-8
Add a to both sides of the equation.
b=\frac{1}{6}\left(a-8\right)
Divide both sides by 6.
b=\frac{1}{6}a-\frac{4}{3}
Multiply \frac{1}{6} times a-8.
\frac{1}{6}a-\frac{4}{3}+a=103
Substitute \frac{a}{6}-\frac{4}{3} for b in the other equation, b+a=103.
\frac{7}{6}a-\frac{4}{3}=103
Add \frac{a}{6} to a.
\frac{7}{6}a=\frac{313}{3}
Add \frac{4}{3} to both sides of the equation.
a=\frac{626}{7}
Divide both sides of the equation by \frac{7}{6}, which is the same as multiplying both sides by the reciprocal of the fraction.
b=\frac{1}{6}\times \frac{626}{7}-\frac{4}{3}
Substitute \frac{626}{7} for a in b=\frac{1}{6}a-\frac{4}{3}. Because the resulting equation contains only one variable, you can solve for b directly.
b=\frac{313}{21}-\frac{4}{3}
Multiply \frac{1}{6} times \frac{626}{7} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
b=\frac{95}{7}
Add -\frac{4}{3} to \frac{313}{21} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
b=\frac{95}{7},a=\frac{626}{7}
The system is now solved.
6b+8-a=0
Consider the first equation. Subtract a from both sides.
6b-a=-8
Subtract 8 from both sides. Anything subtracted from zero gives its negation.
a+b=109-6
Consider the second equation. Subtract 6 from both sides.
a+b=103
Subtract 6 from 109 to get 103.
6b-a=-8,b+a=103
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}6&-1\\1&1\end{matrix}\right)\left(\begin{matrix}b\\a\end{matrix}\right)=\left(\begin{matrix}-8\\103\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}6&-1\\1&1\end{matrix}\right))\left(\begin{matrix}6&-1\\1&1\end{matrix}\right)\left(\begin{matrix}b\\a\end{matrix}\right)=inverse(\left(\begin{matrix}6&-1\\1&1\end{matrix}\right))\left(\begin{matrix}-8\\103\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}6&-1\\1&1\end{matrix}\right).
\left(\begin{matrix}1&0\\0&1\end{matrix}\right)\left(\begin{matrix}b\\a\end{matrix}\right)=inverse(\left(\begin{matrix}6&-1\\1&1\end{matrix}\right))\left(\begin{matrix}-8\\103\end{matrix}\right)
The product of a matrix and its inverse is the identity matrix.
\left(\begin{matrix}b\\a\end{matrix}\right)=inverse(\left(\begin{matrix}6&-1\\1&1\end{matrix}\right))\left(\begin{matrix}-8\\103\end{matrix}\right)
Multiply the matrices on the left hand side of the equal sign.
\left(\begin{matrix}b\\a\end{matrix}\right)=\left(\begin{matrix}\frac{1}{6-\left(-1\right)}&-\frac{-1}{6-\left(-1\right)}\\-\frac{1}{6-\left(-1\right)}&\frac{6}{6-\left(-1\right)}\end{matrix}\right)\left(\begin{matrix}-8\\103\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}b\\a\end{matrix}\right)=\left(\begin{matrix}\frac{1}{7}&\frac{1}{7}\\-\frac{1}{7}&\frac{6}{7}\end{matrix}\right)\left(\begin{matrix}-8\\103\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}b\\a\end{matrix}\right)=\left(\begin{matrix}\frac{1}{7}\left(-8\right)+\frac{1}{7}\times 103\\-\frac{1}{7}\left(-8\right)+\frac{6}{7}\times 103\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}b\\a\end{matrix}\right)=\left(\begin{matrix}\frac{95}{7}\\\frac{626}{7}\end{matrix}\right)
Do the arithmetic.
b=\frac{95}{7},a=\frac{626}{7}
Extract the matrix elements b and a.
6b+8-a=0
Consider the first equation. Subtract a from both sides.
6b-a=-8
Subtract 8 from both sides. Anything subtracted from zero gives its negation.
a+b=109-6
Consider the second equation. Subtract 6 from both sides.
a+b=103
Subtract 6 from 109 to get 103.
6b-a=-8,b+a=103
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.
6b-a=-8,6b+6a=6\times 103
To make 6b and b equal, multiply all terms on each side of the first equation by 1 and all terms on each side of the second by 6.
6b-a=-8,6b+6a=618
Simplify.
6b-6b-a-6a=-8-618
Subtract 6b+6a=618 from 6b-a=-8 by subtracting like terms on each side of the equal sign.
-a-6a=-8-618
Add 6b to -6b. Terms 6b and -6b cancel out, leaving an equation with only one variable that can be solved.
-7a=-8-618
Add -a to -6a.
-7a=-626
Add -8 to -618.
a=\frac{626}{7}
Divide both sides by -7.
b+\frac{626}{7}=103
Substitute \frac{626}{7} for a in b+a=103. Because the resulting equation contains only one variable, you can solve for b directly.
b=\frac{95}{7}
Subtract \frac{626}{7} from both sides of the equation.
b=\frac{95}{7},a=\frac{626}{7}
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}