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

Similar Problems from Web Search

Share

-2k+b=0
Consider the first equation. Swap sides so that all variable terms are on the left hand side.
103k+b=100
Consider the second equation. Swap sides so that all variable terms are on the left hand side.
-2k+b=0,103k+b=100
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.
-2k+b=0
Choose one of the equations and solve it for k by isolating k on the left hand side of the equal sign.
-2k=-b
Subtract b from both sides of the equation.
k=-\frac{1}{2}\left(-1\right)b
Divide both sides by -2.
k=\frac{1}{2}b
Multiply -\frac{1}{2} times -b.
103\times \frac{1}{2}b+b=100
Substitute \frac{b}{2} for k in the other equation, 103k+b=100.
\frac{103}{2}b+b=100
Multiply 103 times \frac{b}{2}.
\frac{105}{2}b=100
Add \frac{103b}{2} to b.
b=\frac{40}{21}
Divide both sides of the equation by \frac{105}{2}, which is the same as multiplying both sides by the reciprocal of the fraction.
k=\frac{1}{2}\times \frac{40}{21}
Substitute \frac{40}{21} for b in k=\frac{1}{2}b. Because the resulting equation contains only one variable, you can solve for k directly.
k=\frac{20}{21}
Multiply \frac{1}{2} times \frac{40}{21} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
k=\frac{20}{21},b=\frac{40}{21}
The system is now solved.
-2k+b=0
Consider the first equation. Swap sides so that all variable terms are on the left hand side.
103k+b=100
Consider the second equation. Swap sides so that all variable terms are on the left hand side.
-2k+b=0,103k+b=100
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}-2&1\\103&1\end{matrix}\right)\left(\begin{matrix}k\\b\end{matrix}\right)=\left(\begin{matrix}0\\100\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}-2&1\\103&1\end{matrix}\right))\left(\begin{matrix}-2&1\\103&1\end{matrix}\right)\left(\begin{matrix}k\\b\end{matrix}\right)=inverse(\left(\begin{matrix}-2&1\\103&1\end{matrix}\right))\left(\begin{matrix}0\\100\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}-2&1\\103&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}-2&1\\103&1\end{matrix}\right))\left(\begin{matrix}0\\100\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}-2&1\\103&1\end{matrix}\right))\left(\begin{matrix}0\\100\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}{-2-103}&-\frac{1}{-2-103}\\-\frac{103}{-2-103}&-\frac{2}{-2-103}\end{matrix}\right)\left(\begin{matrix}0\\100\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{1}{105}&\frac{1}{105}\\\frac{103}{105}&\frac{2}{105}\end{matrix}\right)\left(\begin{matrix}0\\100\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}k\\b\end{matrix}\right)=\left(\begin{matrix}\frac{1}{105}\times 100\\\frac{2}{105}\times 100\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}k\\b\end{matrix}\right)=\left(\begin{matrix}\frac{20}{21}\\\frac{40}{21}\end{matrix}\right)
Do the arithmetic.
k=\frac{20}{21},b=\frac{40}{21}
Extract the matrix elements k and b.
-2k+b=0
Consider the first equation. Swap sides so that all variable terms are on the left hand side.
103k+b=100
Consider the second equation. Swap sides so that all variable terms are on the left hand side.
-2k+b=0,103k+b=100
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.
-2k-103k+b-b=-100
Subtract 103k+b=100 from -2k+b=0 by subtracting like terms on each side of the equal sign.
-2k-103k=-100
Add b to -b. Terms b and -b cancel out, leaving an equation with only one variable that can be solved.
-105k=-100
Add -2k to -103k.
k=\frac{20}{21}
Divide both sides by -105.
103\times \frac{20}{21}+b=100
Substitute \frac{20}{21} for k in 103k+b=100. Because the resulting equation contains only one variable, you can solve for b directly.
\frac{2060}{21}+b=100
Multiply 103 times \frac{20}{21}.
b=\frac{40}{21}
Subtract \frac{2060}{21} from both sides of the equation.
k=\frac{20}{21},b=\frac{40}{21}
The system is now solved.