Skip to main content
Solve for s, t
Tick mark Image

Similar Problems from Web Search

Share

s-60t=-20,2s+170t=395
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.
s-60t=-20
Choose one of the equations and solve it for s by isolating s on the left hand side of the equal sign.
s=60t-20
Add 60t to both sides of the equation.
2\left(60t-20\right)+170t=395
Substitute 60t-20 for s in the other equation, 2s+170t=395.
120t-40+170t=395
Multiply 2 times 60t-20.
290t-40=395
Add 120t to 170t.
290t=435
Add 40 to both sides of the equation.
t=\frac{3}{2}
Divide both sides by 290.
s=60\times \frac{3}{2}-20
Substitute \frac{3}{2} for t in s=60t-20. Because the resulting equation contains only one variable, you can solve for s directly.
s=90-20
Multiply 60 times \frac{3}{2}.
s=70
Add -20 to 90.
s=70,t=\frac{3}{2}
The system is now solved.
s-60t=-20,2s+170t=395
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}1&-60\\2&170\end{matrix}\right)\left(\begin{matrix}s\\t\end{matrix}\right)=\left(\begin{matrix}-20\\395\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}1&-60\\2&170\end{matrix}\right))\left(\begin{matrix}1&-60\\2&170\end{matrix}\right)\left(\begin{matrix}s\\t\end{matrix}\right)=inverse(\left(\begin{matrix}1&-60\\2&170\end{matrix}\right))\left(\begin{matrix}-20\\395\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}1&-60\\2&170\end{matrix}\right).
\left(\begin{matrix}1&0\\0&1\end{matrix}\right)\left(\begin{matrix}s\\t\end{matrix}\right)=inverse(\left(\begin{matrix}1&-60\\2&170\end{matrix}\right))\left(\begin{matrix}-20\\395\end{matrix}\right)
The product of a matrix and its inverse is the identity matrix.
\left(\begin{matrix}s\\t\end{matrix}\right)=inverse(\left(\begin{matrix}1&-60\\2&170\end{matrix}\right))\left(\begin{matrix}-20\\395\end{matrix}\right)
Multiply the matrices on the left hand side of the equal sign.
\left(\begin{matrix}s\\t\end{matrix}\right)=\left(\begin{matrix}\frac{170}{170-\left(-60\times 2\right)}&-\frac{-60}{170-\left(-60\times 2\right)}\\-\frac{2}{170-\left(-60\times 2\right)}&\frac{1}{170-\left(-60\times 2\right)}\end{matrix}\right)\left(\begin{matrix}-20\\395\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}s\\t\end{matrix}\right)=\left(\begin{matrix}\frac{17}{29}&\frac{6}{29}\\-\frac{1}{145}&\frac{1}{290}\end{matrix}\right)\left(\begin{matrix}-20\\395\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}s\\t\end{matrix}\right)=\left(\begin{matrix}\frac{17}{29}\left(-20\right)+\frac{6}{29}\times 395\\-\frac{1}{145}\left(-20\right)+\frac{1}{290}\times 395\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}s\\t\end{matrix}\right)=\left(\begin{matrix}70\\\frac{3}{2}\end{matrix}\right)
Do the arithmetic.
s=70,t=\frac{3}{2}
Extract the matrix elements s and t.
s-60t=-20,2s+170t=395
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.
2s+2\left(-60\right)t=2\left(-20\right),2s+170t=395
To make s and 2s equal, multiply all terms on each side of the first equation by 2 and all terms on each side of the second by 1.
2s-120t=-40,2s+170t=395
Simplify.
2s-2s-120t-170t=-40-395
Subtract 2s+170t=395 from 2s-120t=-40 by subtracting like terms on each side of the equal sign.
-120t-170t=-40-395
Add 2s to -2s. Terms 2s and -2s cancel out, leaving an equation with only one variable that can be solved.
-290t=-40-395
Add -120t to -170t.
-290t=-435
Add -40 to -395.
t=\frac{3}{2}
Divide both sides by -290.
2s+170\times \frac{3}{2}=395
Substitute \frac{3}{2} for t in 2s+170t=395. Because the resulting equation contains only one variable, you can solve for s directly.
2s+255=395
Multiply 170 times \frac{3}{2}.
2s=140
Subtract 255 from both sides of the equation.
s=70
Divide both sides by 2.
s=70,t=\frac{3}{2}
The system is now solved.