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

Similar Problems from Web Search

Share

4y+12x=44,9y-8x=-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.
4y+12x=44
Choose one of the equations and solve it for y by isolating y on the left hand side of the equal sign.
4y=-12x+44
Subtract 12x from both sides of the equation.
y=\frac{1}{4}\left(-12x+44\right)
Divide both sides by 4.
y=-3x+11
Multiply \frac{1}{4} times -12x+44.
9\left(-3x+11\right)-8x=-4
Substitute -3x+11 for y in the other equation, 9y-8x=-4.
-27x+99-8x=-4
Multiply 9 times -3x+11.
-35x+99=-4
Add -27x to -8x.
-35x=-103
Subtract 99 from both sides of the equation.
x=\frac{103}{35}
Divide both sides by -35.
y=-3\times \frac{103}{35}+11
Substitute \frac{103}{35} for x in y=-3x+11. Because the resulting equation contains only one variable, you can solve for y directly.
y=-\frac{309}{35}+11
Multiply -3 times \frac{103}{35}.
y=\frac{76}{35}
Add 11 to -\frac{309}{35}.
y=\frac{76}{35},x=\frac{103}{35}
The system is now solved.
4y+12x=44,9y-8x=-4
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}4&12\\9&-8\end{matrix}\right)\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}44\\-4\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}4&12\\9&-8\end{matrix}\right))\left(\begin{matrix}4&12\\9&-8\end{matrix}\right)\left(\begin{matrix}y\\x\end{matrix}\right)=inverse(\left(\begin{matrix}4&12\\9&-8\end{matrix}\right))\left(\begin{matrix}44\\-4\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}4&12\\9&-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}4&12\\9&-8\end{matrix}\right))\left(\begin{matrix}44\\-4\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}4&12\\9&-8\end{matrix}\right))\left(\begin{matrix}44\\-4\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}{4\left(-8\right)-12\times 9}&-\frac{12}{4\left(-8\right)-12\times 9}\\-\frac{9}{4\left(-8\right)-12\times 9}&\frac{4}{4\left(-8\right)-12\times 9}\end{matrix}\right)\left(\begin{matrix}44\\-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}y\\x\end{matrix}\right)=\left(\begin{matrix}\frac{2}{35}&\frac{3}{35}\\\frac{9}{140}&-\frac{1}{35}\end{matrix}\right)\left(\begin{matrix}44\\-4\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}\frac{2}{35}\times 44+\frac{3}{35}\left(-4\right)\\\frac{9}{140}\times 44-\frac{1}{35}\left(-4\right)\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}\frac{76}{35}\\\frac{103}{35}\end{matrix}\right)
Do the arithmetic.
y=\frac{76}{35},x=\frac{103}{35}
Extract the matrix elements y and x.
4y+12x=44,9y-8x=-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.
9\times 4y+9\times 12x=9\times 44,4\times 9y+4\left(-8\right)x=4\left(-4\right)
To make 4y and 9y equal, multiply all terms on each side of the first equation by 9 and all terms on each side of the second by 4.
36y+108x=396,36y-32x=-16
Simplify.
36y-36y+108x+32x=396+16
Subtract 36y-32x=-16 from 36y+108x=396 by subtracting like terms on each side of the equal sign.
108x+32x=396+16
Add 36y to -36y. Terms 36y and -36y cancel out, leaving an equation with only one variable that can be solved.
140x=396+16
Add 108x to 32x.
140x=412
Add 396 to 16.
x=\frac{103}{35}
Divide both sides by 140.
9y-8\times \frac{103}{35}=-4
Substitute \frac{103}{35} for x in 9y-8x=-4. Because the resulting equation contains only one variable, you can solve for y directly.
9y-\frac{824}{35}=-4
Multiply -8 times \frac{103}{35}.
9y=\frac{684}{35}
Add \frac{824}{35} to both sides of the equation.
y=\frac{76}{35}
Divide both sides by 9.
y=\frac{76}{35},x=\frac{103}{35}
The system is now solved.