Solve for a, b
a=\frac{6441}{13000}\approx 0.495461538
b=-\frac{113}{13000}\approx -0.008692308
Share
Copied to clipboard
228a-4b=113
Consider the first equation. Combine -a and 229a to get 228a.
228b+4a=0
Consider the second equation. Combine -b and 229b to get 228b.
228a-4b=113,4a+228b=0
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.
228a-4b=113
Choose one of the equations and solve it for a by isolating a on the left hand side of the equal sign.
228a=4b+113
Add 4b to both sides of the equation.
a=\frac{1}{228}\left(4b+113\right)
Divide both sides by 228.
a=\frac{1}{57}b+\frac{113}{228}
Multiply \frac{1}{228} times 4b+113.
4\left(\frac{1}{57}b+\frac{113}{228}\right)+228b=0
Substitute \frac{b}{57}+\frac{113}{228} for a in the other equation, 4a+228b=0.
\frac{4}{57}b+\frac{113}{57}+228b=0
Multiply 4 times \frac{b}{57}+\frac{113}{228}.
\frac{13000}{57}b+\frac{113}{57}=0
Add \frac{4b}{57} to 228b.
\frac{13000}{57}b=-\frac{113}{57}
Subtract \frac{113}{57} from both sides of the equation.
b=-\frac{113}{13000}
Divide both sides of the equation by \frac{13000}{57}, which is the same as multiplying both sides by the reciprocal of the fraction.
a=\frac{1}{57}\left(-\frac{113}{13000}\right)+\frac{113}{228}
Substitute -\frac{113}{13000} for b in a=\frac{1}{57}b+\frac{113}{228}. Because the resulting equation contains only one variable, you can solve for a directly.
a=-\frac{113}{741000}+\frac{113}{228}
Multiply \frac{1}{57} times -\frac{113}{13000} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
a=\frac{6441}{13000}
Add \frac{113}{228} to -\frac{113}{741000} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
a=\frac{6441}{13000},b=-\frac{113}{13000}
The system is now solved.
228a-4b=113
Consider the first equation. Combine -a and 229a to get 228a.
228b+4a=0
Consider the second equation. Combine -b and 229b to get 228b.
228a-4b=113,4a+228b=0
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}228&-4\\4&228\end{matrix}\right)\left(\begin{matrix}a\\b\end{matrix}\right)=\left(\begin{matrix}113\\0\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}228&-4\\4&228\end{matrix}\right))\left(\begin{matrix}228&-4\\4&228\end{matrix}\right)\left(\begin{matrix}a\\b\end{matrix}\right)=inverse(\left(\begin{matrix}228&-4\\4&228\end{matrix}\right))\left(\begin{matrix}113\\0\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}228&-4\\4&228\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}228&-4\\4&228\end{matrix}\right))\left(\begin{matrix}113\\0\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}228&-4\\4&228\end{matrix}\right))\left(\begin{matrix}113\\0\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{228}{228\times 228-\left(-4\times 4\right)}&-\frac{-4}{228\times 228-\left(-4\times 4\right)}\\-\frac{4}{228\times 228-\left(-4\times 4\right)}&\frac{228}{228\times 228-\left(-4\times 4\right)}\end{matrix}\right)\left(\begin{matrix}113\\0\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{57}{13000}&\frac{1}{13000}\\-\frac{1}{13000}&\frac{57}{13000}\end{matrix}\right)\left(\begin{matrix}113\\0\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}a\\b\end{matrix}\right)=\left(\begin{matrix}\frac{57}{13000}\times 113\\-\frac{1}{13000}\times 113\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}a\\b\end{matrix}\right)=\left(\begin{matrix}\frac{6441}{13000}\\-\frac{113}{13000}\end{matrix}\right)
Do the arithmetic.
a=\frac{6441}{13000},b=-\frac{113}{13000}
Extract the matrix elements a and b.
228a-4b=113
Consider the first equation. Combine -a and 229a to get 228a.
228b+4a=0
Consider the second equation. Combine -b and 229b to get 228b.
228a-4b=113,4a+228b=0
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.
4\times 228a+4\left(-4\right)b=4\times 113,228\times 4a+228\times 228b=0
To make 228a and 4a equal, multiply all terms on each side of the first equation by 4 and all terms on each side of the second by 228.
912a-16b=452,912a+51984b=0
Simplify.
912a-912a-16b-51984b=452
Subtract 912a+51984b=0 from 912a-16b=452 by subtracting like terms on each side of the equal sign.
-16b-51984b=452
Add 912a to -912a. Terms 912a and -912a cancel out, leaving an equation with only one variable that can be solved.
-52000b=452
Add -16b to -51984b.
b=-\frac{113}{13000}
Divide both sides by -52000.
4a+228\left(-\frac{113}{13000}\right)=0
Substitute -\frac{113}{13000} for b in 4a+228b=0. Because the resulting equation contains only one variable, you can solve for a directly.
4a-\frac{6441}{3250}=0
Multiply 228 times -\frac{113}{13000}.
4a=\frac{6441}{3250}
Add \frac{6441}{3250} to both sides of the equation.
a=\frac{6441}{13000}
Divide both sides by 4.
a=\frac{6441}{13000},b=-\frac{113}{13000}
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}