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

Similar Problems from Web Search

Share

3.9x+y=359.7,-1.8x-y=-131
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.
3.9x+y=359.7
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
3.9x=-y+359.7
Subtract y from both sides of the equation.
x=\frac{10}{39}\left(-y+359.7\right)
Divide both sides of the equation by 3.9, which is the same as multiplying both sides by the reciprocal of the fraction.
x=-\frac{10}{39}y+\frac{1199}{13}
Multiply \frac{10}{39} times -y+359.7.
-1.8\left(-\frac{10}{39}y+\frac{1199}{13}\right)-y=-131
Substitute -\frac{10y}{39}+\frac{1199}{13} for x in the other equation, -1.8x-y=-131.
\frac{6}{13}y-\frac{10791}{65}-y=-131
Multiply -1.8 times -\frac{10y}{39}+\frac{1199}{13}.
-\frac{7}{13}y-\frac{10791}{65}=-131
Add \frac{6y}{13} to -y.
-\frac{7}{13}y=\frac{2276}{65}
Add \frac{10791}{65} to both sides of the equation.
y=-\frac{2276}{35}
Divide both sides of the equation by -\frac{7}{13}, which is the same as multiplying both sides by the reciprocal of the fraction.
x=-\frac{10}{39}\left(-\frac{2276}{35}\right)+\frac{1199}{13}
Substitute -\frac{2276}{35} for y in x=-\frac{10}{39}y+\frac{1199}{13}. Because the resulting equation contains only one variable, you can solve for x directly.
x=\frac{4552}{273}+\frac{1199}{13}
Multiply -\frac{10}{39} times -\frac{2276}{35} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
x=\frac{2287}{21}
Add \frac{1199}{13} to \frac{4552}{273} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
x=\frac{2287}{21},y=-\frac{2276}{35}
The system is now solved.
3.9x+y=359.7,-1.8x-y=-131
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}3.9&1\\-1.8&-1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}359.7\\-131\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}3.9&1\\-1.8&-1\end{matrix}\right))\left(\begin{matrix}3.9&1\\-1.8&-1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}3.9&1\\-1.8&-1\end{matrix}\right))\left(\begin{matrix}359.7\\-131\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}3.9&1\\-1.8&-1\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}3.9&1\\-1.8&-1\end{matrix}\right))\left(\begin{matrix}359.7\\-131\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}3.9&1\\-1.8&-1\end{matrix}\right))\left(\begin{matrix}359.7\\-131\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{1}{3.9\left(-1\right)-\left(-1.8\right)}&-\frac{1}{3.9\left(-1\right)-\left(-1.8\right)}\\-\frac{-1.8}{3.9\left(-1\right)-\left(-1.8\right)}&\frac{3.9}{3.9\left(-1\right)-\left(-1.8\right)}\end{matrix}\right)\left(\begin{matrix}359.7\\-131\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{10}{21}&\frac{10}{21}\\-\frac{6}{7}&-\frac{13}{7}\end{matrix}\right)\left(\begin{matrix}359.7\\-131\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{10}{21}\times 359.7+\frac{10}{21}\left(-131\right)\\-\frac{6}{7}\times 359.7-\frac{13}{7}\left(-131\right)\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{2287}{21}\\-\frac{2276}{35}\end{matrix}\right)
Do the arithmetic.
x=\frac{2287}{21},y=-\frac{2276}{35}
Extract the matrix elements x and y.
3.9x+y=359.7,-1.8x-y=-131
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.
-1.8\times 3.9x-1.8y=-1.8\times 359.7,3.9\left(-1.8\right)x+3.9\left(-1\right)y=3.9\left(-131\right)
To make \frac{39x}{10} and -\frac{9x}{5} equal, multiply all terms on each side of the first equation by -1.8 and all terms on each side of the second by 3.9.
-7.02x-1.8y=-647.46,-7.02x-3.9y=-510.9
Simplify.
-7.02x+7.02x-1.8y+3.9y=-647.46+510.9
Subtract -7.02x-3.9y=-510.9 from -7.02x-1.8y=-647.46 by subtracting like terms on each side of the equal sign.
-1.8y+3.9y=-647.46+510.9
Add -\frac{351x}{50} to \frac{351x}{50}. Terms -\frac{351x}{50} and \frac{351x}{50} cancel out, leaving an equation with only one variable that can be solved.
2.1y=-647.46+510.9
Add -\frac{9y}{5} to \frac{39y}{10}.
2.1y=-136.56
Add -647.46 to 510.9 by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
y=-\frac{2276}{35}
Divide both sides of the equation by 2.1, which is the same as multiplying both sides by the reciprocal of the fraction.
-1.8x-\left(-\frac{2276}{35}\right)=-131
Substitute -\frac{2276}{35} for y in -1.8x-y=-131. Because the resulting equation contains only one variable, you can solve for x directly.
-1.8x=-\frac{6861}{35}
Subtract \frac{2276}{35} from both sides of the equation.
x=\frac{2287}{21}
Divide both sides of the equation by -1.8, which is the same as multiplying both sides by the reciprocal of the fraction.
x=\frac{2287}{21},y=-\frac{2276}{35}
The system is now solved.