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

Similar Problems from Web Search

Share

22.6k+b=34.8
Consider the first equation. Swap sides so that all variable terms are on the left hand side.
24k+b=32
Consider the second equation. Swap sides so that all variable terms are on the left hand side.
22.6k+b=34.8,24k+b=32
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.
22.6k+b=34.8
Choose one of the equations and solve it for k by isolating k on the left hand side of the equal sign.
22.6k=-b+34.8
Subtract b from both sides of the equation.
k=\frac{5}{113}\left(-b+34.8\right)
Divide both sides of the equation by 22.6, which is the same as multiplying both sides by the reciprocal of the fraction.
k=-\frac{5}{113}b+\frac{174}{113}
Multiply \frac{5}{113} times -b+34.8.
24\left(-\frac{5}{113}b+\frac{174}{113}\right)+b=32
Substitute \frac{-5b+174}{113} for k in the other equation, 24k+b=32.
-\frac{120}{113}b+\frac{4176}{113}+b=32
Multiply 24 times \frac{-5b+174}{113}.
-\frac{7}{113}b+\frac{4176}{113}=32
Add -\frac{120b}{113} to b.
-\frac{7}{113}b=-\frac{560}{113}
Subtract \frac{4176}{113} from both sides of the equation.
b=80
Divide both sides of the equation by -\frac{7}{113}, which is the same as multiplying both sides by the reciprocal of the fraction.
k=-\frac{5}{113}\times 80+\frac{174}{113}
Substitute 80 for b in k=-\frac{5}{113}b+\frac{174}{113}. Because the resulting equation contains only one variable, you can solve for k directly.
k=\frac{-400+174}{113}
Multiply -\frac{5}{113} times 80.
k=-2
Add \frac{174}{113} to -\frac{400}{113} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
k=-2,b=80
The system is now solved.
22.6k+b=34.8
Consider the first equation. Swap sides so that all variable terms are on the left hand side.
24k+b=32
Consider the second equation. Swap sides so that all variable terms are on the left hand side.
22.6k+b=34.8,24k+b=32
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}22.6&1\\24&1\end{matrix}\right)\left(\begin{matrix}k\\b\end{matrix}\right)=\left(\begin{matrix}34.8\\32\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}22.6&1\\24&1\end{matrix}\right))\left(\begin{matrix}22.6&1\\24&1\end{matrix}\right)\left(\begin{matrix}k\\b\end{matrix}\right)=inverse(\left(\begin{matrix}22.6&1\\24&1\end{matrix}\right))\left(\begin{matrix}34.8\\32\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}22.6&1\\24&1\end{matrix}\right).
\left(\begin{matrix}1&0\\0&1\end{matrix}\right)\left(\begin{matrix}k\\b\end{matrix}\right)=inverse(\left(\begin{matrix}22.6&1\\24&1\end{matrix}\right))\left(\begin{matrix}34.8\\32\end{matrix}\right)
The product of a matrix and its inverse is the identity matrix.
\left(\begin{matrix}k\\b\end{matrix}\right)=inverse(\left(\begin{matrix}22.6&1\\24&1\end{matrix}\right))\left(\begin{matrix}34.8\\32\end{matrix}\right)
Multiply the matrices on the left hand side of the equal sign.
\left(\begin{matrix}k\\b\end{matrix}\right)=\left(\begin{matrix}\frac{1}{22.6-24}&-\frac{1}{22.6-24}\\-\frac{24}{22.6-24}&\frac{22.6}{22.6-24}\end{matrix}\right)\left(\begin{matrix}34.8\\32\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}k\\b\end{matrix}\right)=\left(\begin{matrix}-\frac{5}{7}&\frac{5}{7}\\\frac{120}{7}&-\frac{113}{7}\end{matrix}\right)\left(\begin{matrix}34.8\\32\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}k\\b\end{matrix}\right)=\left(\begin{matrix}-\frac{5}{7}\times 34.8+\frac{5}{7}\times 32\\\frac{120}{7}\times 34.8-\frac{113}{7}\times 32\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}k\\b\end{matrix}\right)=\left(\begin{matrix}-2\\80\end{matrix}\right)
Do the arithmetic.
k=-2,b=80
Extract the matrix elements k and b.
22.6k+b=34.8
Consider the first equation. Swap sides so that all variable terms are on the left hand side.
24k+b=32
Consider the second equation. Swap sides so that all variable terms are on the left hand side.
22.6k+b=34.8,24k+b=32
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.
22.6k-24k+b-b=34.8-32
Subtract 24k+b=32 from 22.6k+b=34.8 by subtracting like terms on each side of the equal sign.
22.6k-24k=34.8-32
Add b to -b. Terms b and -b cancel out, leaving an equation with only one variable that can be solved.
-1.4k=34.8-32
Add \frac{113k}{5} to -24k.
-1.4k=2.8
Add 34.8 to -32.
k=-2
Divide both sides of the equation by -1.4, which is the same as multiplying both sides by the reciprocal of the fraction.
24\left(-2\right)+b=32
Substitute -2 for k in 24k+b=32. Because the resulting equation contains only one variable, you can solve for b directly.
-48+b=32
Multiply 24 times -2.
b=80
Add 48 to both sides of the equation.
k=-2,b=80
The system is now solved.