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

Similar Problems from Web Search

Share

1.5x-3.5y=-5,-1.2x+2.5y=1
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.
1.5x-3.5y=-5
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
1.5x=3.5y-5
Add \frac{7y}{2} to both sides of the equation.
x=\frac{2}{3}\left(3.5y-5\right)
Divide both sides of the equation by 1.5, which is the same as multiplying both sides by the reciprocal of the fraction.
x=\frac{7}{3}y-\frac{10}{3}
Multiply \frac{2}{3} times \frac{7y}{2}-5.
-1.2\left(\frac{7}{3}y-\frac{10}{3}\right)+2.5y=1
Substitute \frac{7y-10}{3} for x in the other equation, -1.2x+2.5y=1.
-2.8y+4+2.5y=1
Multiply -1.2 times \frac{7y-10}{3}.
-0.3y+4=1
Add -\frac{14y}{5} to \frac{5y}{2}.
-0.3y=-3
Subtract 4 from both sides of the equation.
y=10
Divide both sides of the equation by -0.3, which is the same as multiplying both sides by the reciprocal of the fraction.
x=\frac{7}{3}\times 10-\frac{10}{3}
Substitute 10 for y in x=\frac{7}{3}y-\frac{10}{3}. Because the resulting equation contains only one variable, you can solve for x directly.
x=\frac{70-10}{3}
Multiply \frac{7}{3} times 10.
x=20
Add -\frac{10}{3} to \frac{70}{3} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
x=20,y=10
The system is now solved.
1.5x-3.5y=-5,-1.2x+2.5y=1
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}1.5&-3.5\\-1.2&2.5\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-5\\1\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}1.5&-3.5\\-1.2&2.5\end{matrix}\right))\left(\begin{matrix}1.5&-3.5\\-1.2&2.5\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}1.5&-3.5\\-1.2&2.5\end{matrix}\right))\left(\begin{matrix}-5\\1\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}1.5&-3.5\\-1.2&2.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}1.5&-3.5\\-1.2&2.5\end{matrix}\right))\left(\begin{matrix}-5\\1\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}1.5&-3.5\\-1.2&2.5\end{matrix}\right))\left(\begin{matrix}-5\\1\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{2.5}{1.5\times 2.5-\left(-3.5\left(-1.2\right)\right)}&-\frac{-3.5}{1.5\times 2.5-\left(-3.5\left(-1.2\right)\right)}\\-\frac{-1.2}{1.5\times 2.5-\left(-3.5\left(-1.2\right)\right)}&\frac{1.5}{1.5\times 2.5-\left(-3.5\left(-1.2\right)\right)}\end{matrix}\right)\left(\begin{matrix}-5\\1\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{50}{9}&-\frac{70}{9}\\-\frac{8}{3}&-\frac{10}{3}\end{matrix}\right)\left(\begin{matrix}-5\\1\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-\frac{50}{9}\left(-5\right)-\frac{70}{9}\\-\frac{8}{3}\left(-5\right)-\frac{10}{3}\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}20\\10\end{matrix}\right)
Do the arithmetic.
x=20,y=10
Extract the matrix elements x and y.
1.5x-3.5y=-5,-1.2x+2.5y=1
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.2\times 1.5x-1.2\left(-3.5\right)y=-1.2\left(-5\right),1.5\left(-1.2\right)x+1.5\times 2.5y=1.5
To make \frac{3x}{2} and -\frac{6x}{5} equal, multiply all terms on each side of the first equation by -1.2 and all terms on each side of the second by 1.5.
-1.8x+4.2y=6,-1.8x+3.75y=1.5
Simplify.
-1.8x+1.8x+4.2y-3.75y=6-1.5
Subtract -1.8x+3.75y=1.5 from -1.8x+4.2y=6 by subtracting like terms on each side of the equal sign.
4.2y-3.75y=6-1.5
Add -\frac{9x}{5} to \frac{9x}{5}. Terms -\frac{9x}{5} and \frac{9x}{5} cancel out, leaving an equation with only one variable that can be solved.
0.45y=6-1.5
Add \frac{21y}{5} to -\frac{15y}{4}.
0.45y=4.5
Add 6 to -1.5.
y=10
Divide both sides of the equation by 0.45, which is the same as multiplying both sides by the reciprocal of the fraction.
-1.2x+2.5\times 10=1
Substitute 10 for y in -1.2x+2.5y=1. Because the resulting equation contains only one variable, you can solve for x directly.
-1.2x+25=1
Multiply 2.5 times 10.
-1.2x=-24
Subtract 25 from both sides of the equation.
x=20
Divide both sides of the equation by -1.2, which is the same as multiplying both sides by the reciprocal of the fraction.
x=20,y=10
The system is now solved.