Skip to main content
Solve for x, y
Tick mark Image
Graph

Similar Problems from Web Search

Share

0.5x-0.8y+9=4,\frac{1}{3}x+\frac{1}{5}y=4
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.
0.5x-0.8y+9=4
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
0.5x-0.8y=-5
Subtract 9 from both sides of the equation.
0.5x=0.8y-5
Add \frac{4y}{5} to both sides of the equation.
x=2\left(0.8y-5\right)
Multiply both sides by 2.
x=1.6y-10
Multiply 2 times \frac{4y}{5}-5.
\frac{1}{3}\left(1.6y-10\right)+\frac{1}{5}y=4
Substitute \frac{8y}{5}-10 for x in the other equation, \frac{1}{3}x+\frac{1}{5}y=4.
\frac{8}{15}y-\frac{10}{3}+\frac{1}{5}y=4
Multiply \frac{1}{3} times \frac{8y}{5}-10.
\frac{11}{15}y-\frac{10}{3}=4
Add \frac{8y}{15} to \frac{y}{5}.
\frac{11}{15}y=\frac{22}{3}
Add \frac{10}{3} to both sides of the equation.
y=10
Divide both sides of the equation by \frac{11}{15}, which is the same as multiplying both sides by the reciprocal of the fraction.
x=1.6\times 10-10
Substitute 10 for y in x=1.6y-10. Because the resulting equation contains only one variable, you can solve for x directly.
x=16-10
Multiply 1.6 times 10.
x=6
Add -10 to 16.
x=6,y=10
The system is now solved.
0.5x-0.8y+9=4,\frac{1}{3}x+\frac{1}{5}y=4
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}0.5&-0.8\\\frac{1}{3}&\frac{1}{5}\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-5\\4\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}0.5&-0.8\\\frac{1}{3}&\frac{1}{5}\end{matrix}\right))\left(\begin{matrix}0.5&-0.8\\\frac{1}{3}&\frac{1}{5}\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}0.5&-0.8\\\frac{1}{3}&\frac{1}{5}\end{matrix}\right))\left(\begin{matrix}-5\\4\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}0.5&-0.8\\\frac{1}{3}&\frac{1}{5}\end{matrix}\right).
\left(\begin{matrix}1&0\\0&1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}0.5&-0.8\\\frac{1}{3}&\frac{1}{5}\end{matrix}\right))\left(\begin{matrix}-5\\4\end{matrix}\right)
The product of a matrix and its inverse is the identity matrix.
\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}0.5&-0.8\\\frac{1}{3}&\frac{1}{5}\end{matrix}\right))\left(\begin{matrix}-5\\4\end{matrix}\right)
Multiply the matrices on the left hand side of the equal sign.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{\frac{1}{5}}{0.5\times \frac{1}{5}-\left(-0.8\times \frac{1}{3}\right)}&-\frac{-0.8}{0.5\times \frac{1}{5}-\left(-0.8\times \frac{1}{3}\right)}\\-\frac{\frac{1}{3}}{0.5\times \frac{1}{5}-\left(-0.8\times \frac{1}{3}\right)}&\frac{0.5}{0.5\times \frac{1}{5}-\left(-0.8\times \frac{1}{3}\right)}\end{matrix}\right)\left(\begin{matrix}-5\\4\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}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{6}{11}&\frac{24}{11}\\-\frac{10}{11}&\frac{15}{11}\end{matrix}\right)\left(\begin{matrix}-5\\4\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{6}{11}\left(-5\right)+\frac{24}{11}\times 4\\-\frac{10}{11}\left(-5\right)+\frac{15}{11}\times 4\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}6\\10\end{matrix}\right)
Do the arithmetic.
x=6,y=10
Extract the matrix elements x and y.
0.5x-0.8y+9=4,\frac{1}{3}x+\frac{1}{5}y=4
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.
\frac{1}{3}\times 0.5x+\frac{1}{3}\left(-0.8\right)y+\frac{1}{3}\times 9=\frac{1}{3}\times 4,0.5\times \frac{1}{3}x+0.5\times \frac{1}{5}y=0.5\times 4
To make \frac{x}{2} and \frac{x}{3} equal, multiply all terms on each side of the first equation by \frac{1}{3} and all terms on each side of the second by 0.5.
\frac{1}{6}x-\frac{4}{15}y+3=\frac{4}{3},\frac{1}{6}x+\frac{1}{10}y=2
Simplify.
\frac{1}{6}x-\frac{1}{6}x-\frac{4}{15}y-\frac{1}{10}y+3=\frac{4}{3}-2
Subtract \frac{1}{6}x+\frac{1}{10}y=2 from \frac{1}{6}x-\frac{4}{15}y+3=\frac{4}{3} by subtracting like terms on each side of the equal sign.
-\frac{4}{15}y-\frac{1}{10}y+3=\frac{4}{3}-2
Add \frac{x}{6} to -\frac{x}{6}. Terms \frac{x}{6} and -\frac{x}{6} cancel out, leaving an equation with only one variable that can be solved.
-\frac{11}{30}y+3=\frac{4}{3}-2
Add -\frac{4y}{15} to -\frac{y}{10}.
-\frac{11}{30}y+3=-\frac{2}{3}
Add \frac{4}{3} to -2.
-\frac{11}{30}y=-\frac{11}{3}
Subtract 3 from both sides of the equation.
y=10
Divide both sides of the equation by -\frac{11}{30}, which is the same as multiplying both sides by the reciprocal of the fraction.
\frac{1}{3}x+\frac{1}{5}\times 10=4
Substitute 10 for y in \frac{1}{3}x+\frac{1}{5}y=4. Because the resulting equation contains only one variable, you can solve for x directly.
\frac{1}{3}x+2=4
Multiply \frac{1}{5} times 10.
\frac{1}{3}x=2
Subtract 2 from both sides of the equation.
x=6
Multiply both sides by 3.
x=6,y=10
The system is now solved.