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