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

Similar Problems from Web Search

Share

24x-3y=-4,-12x+5y=19
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.
24x-3y=-4
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
24x=3y-4
Add 3y to both sides of the equation.
x=\frac{1}{24}\left(3y-4\right)
Divide both sides by 24.
x=\frac{1}{8}y-\frac{1}{6}
Multiply \frac{1}{24} times 3y-4.
-12\left(\frac{1}{8}y-\frac{1}{6}\right)+5y=19
Substitute \frac{y}{8}-\frac{1}{6} for x in the other equation, -12x+5y=19.
-\frac{3}{2}y+2+5y=19
Multiply -12 times \frac{y}{8}-\frac{1}{6}.
\frac{7}{2}y+2=19
Add -\frac{3y}{2} to 5y.
\frac{7}{2}y=17
Subtract 2 from both sides of the equation.
y=\frac{34}{7}
Divide both sides of the equation by \frac{7}{2}, which is the same as multiplying both sides by the reciprocal of the fraction.
x=\frac{1}{8}\times \frac{34}{7}-\frac{1}{6}
Substitute \frac{34}{7} for y in x=\frac{1}{8}y-\frac{1}{6}. Because the resulting equation contains only one variable, you can solve for x directly.
x=\frac{17}{28}-\frac{1}{6}
Multiply \frac{1}{8} times \frac{34}{7} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
x=\frac{37}{84}
Add -\frac{1}{6} to \frac{17}{28} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
x=\frac{37}{84},y=\frac{34}{7}
The system is now solved.
24x-3y=-4,-12x+5y=19
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}24&-3\\-12&5\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-4\\19\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}24&-3\\-12&5\end{matrix}\right))\left(\begin{matrix}24&-3\\-12&5\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}24&-3\\-12&5\end{matrix}\right))\left(\begin{matrix}-4\\19\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}24&-3\\-12&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}24&-3\\-12&5\end{matrix}\right))\left(\begin{matrix}-4\\19\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}24&-3\\-12&5\end{matrix}\right))\left(\begin{matrix}-4\\19\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{5}{24\times 5-\left(-3\left(-12\right)\right)}&-\frac{-3}{24\times 5-\left(-3\left(-12\right)\right)}\\-\frac{-12}{24\times 5-\left(-3\left(-12\right)\right)}&\frac{24}{24\times 5-\left(-3\left(-12\right)\right)}\end{matrix}\right)\left(\begin{matrix}-4\\19\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{5}{84}&\frac{1}{28}\\\frac{1}{7}&\frac{2}{7}\end{matrix}\right)\left(\begin{matrix}-4\\19\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{5}{84}\left(-4\right)+\frac{1}{28}\times 19\\\frac{1}{7}\left(-4\right)+\frac{2}{7}\times 19\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{37}{84}\\\frac{34}{7}\end{matrix}\right)
Do the arithmetic.
x=\frac{37}{84},y=\frac{34}{7}
Extract the matrix elements x and y.
24x-3y=-4,-12x+5y=19
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.
-12\times 24x-12\left(-3\right)y=-12\left(-4\right),24\left(-12\right)x+24\times 5y=24\times 19
To make 24x and -12x equal, multiply all terms on each side of the first equation by -12 and all terms on each side of the second by 24.
-288x+36y=48,-288x+120y=456
Simplify.
-288x+288x+36y-120y=48-456
Subtract -288x+120y=456 from -288x+36y=48 by subtracting like terms on each side of the equal sign.
36y-120y=48-456
Add -288x to 288x. Terms -288x and 288x cancel out, leaving an equation with only one variable that can be solved.
-84y=48-456
Add 36y to -120y.
-84y=-408
Add 48 to -456.
y=\frac{34}{7}
Divide both sides by -84.
-12x+5\times \frac{34}{7}=19
Substitute \frac{34}{7} for y in -12x+5y=19. Because the resulting equation contains only one variable, you can solve for x directly.
-12x+\frac{170}{7}=19
Multiply 5 times \frac{34}{7}.
-12x=-\frac{37}{7}
Subtract \frac{170}{7} from both sides of the equation.
x=\frac{37}{84}
Divide both sides by -12.
x=\frac{37}{84},y=\frac{34}{7}
The system is now solved.