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

Similar Problems from Web Search

Share

y=-\frac{4}{5}x-9
Consider the first equation. Fraction \frac{-4}{5} can be rewritten as -\frac{4}{5} by extracting the negative sign.
3\left(-\frac{4}{5}x-9\right)+8x=-45
Substitute -\frac{4x}{5}-9 for y in the other equation, 3y+8x=-45.
-\frac{12}{5}x-27+8x=-45
Multiply 3 times -\frac{4x}{5}-9.
\frac{28}{5}x-27=-45
Add -\frac{12x}{5} to 8x.
\frac{28}{5}x=-18
Add 27 to both sides of the equation.
x=-\frac{45}{14}
Divide both sides of the equation by \frac{28}{5}, which is the same as multiplying both sides by the reciprocal of the fraction.
y=-\frac{4}{5}\left(-\frac{45}{14}\right)-9
Substitute -\frac{45}{14} for x in y=-\frac{4}{5}x-9. Because the resulting equation contains only one variable, you can solve for y directly.
y=\frac{18}{7}-9
Multiply -\frac{4}{5} times -\frac{45}{14} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
y=-\frac{45}{7}
Add -9 to \frac{18}{7}.
y=-\frac{45}{7},x=-\frac{45}{14}
The system is now solved.
y=-\frac{4}{5}x-9
Consider the first equation. Fraction \frac{-4}{5} can be rewritten as -\frac{4}{5} by extracting the negative sign.
y+\frac{4}{5}x=-9
Add \frac{4}{5}x to both sides.
y+\frac{8x}{3}=-15
Consider the second equation. Add \frac{8x}{3} to both sides.
3y+8x=-45
Multiply both sides of the equation by 3.
y+\frac{4}{5}x=-9,3y+8x=-45
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}1&\frac{4}{5}\\3&8\end{matrix}\right)\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}-9\\-45\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}1&\frac{4}{5}\\3&8\end{matrix}\right))\left(\begin{matrix}1&\frac{4}{5}\\3&8\end{matrix}\right)\left(\begin{matrix}y\\x\end{matrix}\right)=inverse(\left(\begin{matrix}1&\frac{4}{5}\\3&8\end{matrix}\right))\left(\begin{matrix}-9\\-45\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}1&\frac{4}{5}\\3&8\end{matrix}\right).
\left(\begin{matrix}1&0\\0&1\end{matrix}\right)\left(\begin{matrix}y\\x\end{matrix}\right)=inverse(\left(\begin{matrix}1&\frac{4}{5}\\3&8\end{matrix}\right))\left(\begin{matrix}-9\\-45\end{matrix}\right)
The product of a matrix and its inverse is the identity matrix.
\left(\begin{matrix}y\\x\end{matrix}\right)=inverse(\left(\begin{matrix}1&\frac{4}{5}\\3&8\end{matrix}\right))\left(\begin{matrix}-9\\-45\end{matrix}\right)
Multiply the matrices on the left hand side of the equal sign.
\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}\frac{8}{8-\frac{4}{5}\times 3}&-\frac{\frac{4}{5}}{8-\frac{4}{5}\times 3}\\-\frac{3}{8-\frac{4}{5}\times 3}&\frac{1}{8-\frac{4}{5}\times 3}\end{matrix}\right)\left(\begin{matrix}-9\\-45\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}y\\x\end{matrix}\right)=\left(\begin{matrix}\frac{10}{7}&-\frac{1}{7}\\-\frac{15}{28}&\frac{5}{28}\end{matrix}\right)\left(\begin{matrix}-9\\-45\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}\frac{10}{7}\left(-9\right)-\frac{1}{7}\left(-45\right)\\-\frac{15}{28}\left(-9\right)+\frac{5}{28}\left(-45\right)\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}-\frac{45}{7}\\-\frac{45}{14}\end{matrix}\right)
Do the arithmetic.
y=-\frac{45}{7},x=-\frac{45}{14}
Extract the matrix elements y and x.
y=-\frac{4}{5}x-9
Consider the first equation. Fraction \frac{-4}{5} can be rewritten as -\frac{4}{5} by extracting the negative sign.
y+\frac{4}{5}x=-9
Add \frac{4}{5}x to both sides.
y+\frac{8x}{3}=-15
Consider the second equation. Add \frac{8x}{3} to both sides.
3y+8x=-45
Multiply both sides of the equation by 3.
y+\frac{4}{5}x=-9,3y+8x=-45
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.
3y+3\times \frac{4}{5}x=3\left(-9\right),3y+8x=-45
To make y and 3y equal, multiply all terms on each side of the first equation by 3 and all terms on each side of the second by 1.
3y+\frac{12}{5}x=-27,3y+8x=-45
Simplify.
3y-3y+\frac{12}{5}x-8x=-27+45
Subtract 3y+8x=-45 from 3y+\frac{12}{5}x=-27 by subtracting like terms on each side of the equal sign.
\frac{12}{5}x-8x=-27+45
Add 3y to -3y. Terms 3y and -3y cancel out, leaving an equation with only one variable that can be solved.
-\frac{28}{5}x=-27+45
Add \frac{12x}{5} to -8x.
-\frac{28}{5}x=18
Add -27 to 45.
x=-\frac{45}{14}
Divide both sides of the equation by -\frac{28}{5}, which is the same as multiplying both sides by the reciprocal of the fraction.
3y+8\left(-\frac{45}{14}\right)=-45
Substitute -\frac{45}{14} for x in 3y+8x=-45. Because the resulting equation contains only one variable, you can solve for y directly.
3y-\frac{180}{7}=-45
Multiply 8 times -\frac{45}{14}.
3y=-\frac{135}{7}
Add \frac{180}{7} to both sides of the equation.
y=-\frac{45}{7}
Divide both sides by 3.
y=-\frac{45}{7},x=-\frac{45}{14}
The system is now solved.