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

Similar Problems from Web Search

Share

3x+4y+5x_{2}=3.5x+3.5y+7
Consider the first equation. Use the distributive property to multiply 3.5 by x+y+2.
3x+4y+5x_{2}-3.5x=3.5y+7
Subtract 3.5x from both sides.
-0.5x+4y+5x_{2}=3.5y+7
Combine 3x and -3.5x to get -0.5x.
-0.5x+4y+5x_{2}-3.5y=7
Subtract 3.5y from both sides.
-0.5x+0.5y+5x_{2}=7
Combine 4y and -3.5y to get 0.5y.
-0.5x+0.5y=7-5x_{2}
Subtract 5x_{2} from both sides.
3x+4y+7x_{2}+2=2.5\left(x+y+9+1\right)
Consider the second equation. Add 7 and 2 to get 9.
3x+4y+7x_{2}+2=2.5\left(x+y+10\right)
Add 9 and 1 to get 10.
3x+4y+7x_{2}+2=2.5x+2.5y+25
Use the distributive property to multiply 2.5 by x+y+10.
3x+4y+7x_{2}+2-2.5x=2.5y+25
Subtract 2.5x from both sides.
0.5x+4y+7x_{2}+2=2.5y+25
Combine 3x and -2.5x to get 0.5x.
0.5x+4y+7x_{2}+2-2.5y=25
Subtract 2.5y from both sides.
0.5x+1.5y+7x_{2}+2=25
Combine 4y and -2.5y to get 1.5y.
0.5x+1.5y+2=25-7x_{2}
Subtract 7x_{2} from both sides.
0.5x+1.5y=25-7x_{2}-2
Subtract 2 from both sides.
0.5x+1.5y=23-7x_{2}
Subtract 2 from 25 to get 23.
-0.5x+0.5y=7-5x_{2},0.5x+1.5y=23-7x_{2}
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.
-0.5x+0.5y=7-5x_{2}
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
-0.5x=-0.5y+7-5x_{2}
Subtract \frac{y}{2} from both sides of the equation.
x=-2\left(-0.5y+7-5x_{2}\right)
Multiply both sides by -2.
x=y+10x_{2}-14
Multiply -2 times -\frac{y}{2}+7-5x_{2}.
0.5\left(y+10x_{2}-14\right)+1.5y=23-7x_{2}
Substitute y-14+10x_{2} for x in the other equation, 0.5x+1.5y=23-7x_{2}.
0.5y+5x_{2}-7+1.5y=23-7x_{2}
Multiply 0.5 times y-14+10x_{2}.
2y+5x_{2}-7=23-7x_{2}
Add \frac{y}{2} to \frac{3y}{2}.
2y=30-12x_{2}
Subtract -7+5x_{2} from both sides of the equation.
y=15-6x_{2}
Divide both sides by 2.
x=15-6x_{2}+10x_{2}-14
Substitute 15-6x_{2} for y in x=y+10x_{2}-14. Because the resulting equation contains only one variable, you can solve for x directly.
x=4x_{2}+1
Add -14+10x_{2} to 15-6x_{2}.
x=4x_{2}+1,y=15-6x_{2}
The system is now solved.
3x+4y+5x_{2}=3.5x+3.5y+7
Consider the first equation. Use the distributive property to multiply 3.5 by x+y+2.
3x+4y+5x_{2}-3.5x=3.5y+7
Subtract 3.5x from both sides.
-0.5x+4y+5x_{2}=3.5y+7
Combine 3x and -3.5x to get -0.5x.
-0.5x+4y+5x_{2}-3.5y=7
Subtract 3.5y from both sides.
-0.5x+0.5y+5x_{2}=7
Combine 4y and -3.5y to get 0.5y.
-0.5x+0.5y=7-5x_{2}
Subtract 5x_{2} from both sides.
3x+4y+7x_{2}+2=2.5\left(x+y+9+1\right)
Consider the second equation. Add 7 and 2 to get 9.
3x+4y+7x_{2}+2=2.5\left(x+y+10\right)
Add 9 and 1 to get 10.
3x+4y+7x_{2}+2=2.5x+2.5y+25
Use the distributive property to multiply 2.5 by x+y+10.
3x+4y+7x_{2}+2-2.5x=2.5y+25
Subtract 2.5x from both sides.
0.5x+4y+7x_{2}+2=2.5y+25
Combine 3x and -2.5x to get 0.5x.
0.5x+4y+7x_{2}+2-2.5y=25
Subtract 2.5y from both sides.
0.5x+1.5y+7x_{2}+2=25
Combine 4y and -2.5y to get 1.5y.
0.5x+1.5y+2=25-7x_{2}
Subtract 7x_{2} from both sides.
0.5x+1.5y=25-7x_{2}-2
Subtract 2 from both sides.
0.5x+1.5y=23-7x_{2}
Subtract 2 from 25 to get 23.
-0.5x+0.5y=7-5x_{2},0.5x+1.5y=23-7x_{2}
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}-0.5&0.5\\0.5&1.5\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}7-5x_{2}\\23-7x_{2}\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}-0.5&0.5\\0.5&1.5\end{matrix}\right))\left(\begin{matrix}-0.5&0.5\\0.5&1.5\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}-0.5&0.5\\0.5&1.5\end{matrix}\right))\left(\begin{matrix}7-5x_{2}\\23-7x_{2}\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}-0.5&0.5\\0.5&1.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}-0.5&0.5\\0.5&1.5\end{matrix}\right))\left(\begin{matrix}7-5x_{2}\\23-7x_{2}\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}-0.5&0.5\\0.5&1.5\end{matrix}\right))\left(\begin{matrix}7-5x_{2}\\23-7x_{2}\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.5}{-0.5\times 1.5-0.5\times 0.5}&-\frac{0.5}{-0.5\times 1.5-0.5\times 0.5}\\-\frac{0.5}{-0.5\times 1.5-0.5\times 0.5}&-\frac{0.5}{-0.5\times 1.5-0.5\times 0.5}\end{matrix}\right)\left(\begin{matrix}7-5x_{2}\\23-7x_{2}\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}-1.5&0.5\\0.5&0.5\end{matrix}\right)\left(\begin{matrix}7-5x_{2}\\23-7x_{2}\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-1.5\left(7-5x_{2}\right)+0.5\left(23-7x_{2}\right)\\0.5\left(7-5x_{2}\right)+0.5\left(23-7x_{2}\right)\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}4x_{2}+1\\15-6x_{2}\end{matrix}\right)
Do the arithmetic.
x=4x_{2}+1,y=15-6x_{2}
Extract the matrix elements x and y.
3x+4y+5x_{2}=3.5x+3.5y+7
Consider the first equation. Use the distributive property to multiply 3.5 by x+y+2.
3x+4y+5x_{2}-3.5x=3.5y+7
Subtract 3.5x from both sides.
-0.5x+4y+5x_{2}=3.5y+7
Combine 3x and -3.5x to get -0.5x.
-0.5x+4y+5x_{2}-3.5y=7
Subtract 3.5y from both sides.
-0.5x+0.5y+5x_{2}=7
Combine 4y and -3.5y to get 0.5y.
-0.5x+0.5y=7-5x_{2}
Subtract 5x_{2} from both sides.
3x+4y+7x_{2}+2=2.5\left(x+y+9+1\right)
Consider the second equation. Add 7 and 2 to get 9.
3x+4y+7x_{2}+2=2.5\left(x+y+10\right)
Add 9 and 1 to get 10.
3x+4y+7x_{2}+2=2.5x+2.5y+25
Use the distributive property to multiply 2.5 by x+y+10.
3x+4y+7x_{2}+2-2.5x=2.5y+25
Subtract 2.5x from both sides.
0.5x+4y+7x_{2}+2=2.5y+25
Combine 3x and -2.5x to get 0.5x.
0.5x+4y+7x_{2}+2-2.5y=25
Subtract 2.5y from both sides.
0.5x+1.5y+7x_{2}+2=25
Combine 4y and -2.5y to get 1.5y.
0.5x+1.5y+2=25-7x_{2}
Subtract 7x_{2} from both sides.
0.5x+1.5y=25-7x_{2}-2
Subtract 2 from both sides.
0.5x+1.5y=23-7x_{2}
Subtract 2 from 25 to get 23.
-0.5x+0.5y=7-5x_{2},0.5x+1.5y=23-7x_{2}
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.
0.5\left(-0.5\right)x+0.5\times 0.5y=0.5\left(7-5x_{2}\right),-0.5\times 0.5x-0.5\times 1.5y=-0.5\left(23-7x_{2}\right)
To make -\frac{x}{2} and \frac{x}{2} equal, multiply all terms on each side of the first equation by 0.5 and all terms on each side of the second by -0.5.
-0.25x+0.25y=\frac{7-5x_{2}}{2},-0.25x-0.75y=\frac{7x_{2}-23}{2}
Simplify.
-0.25x+0.25x+0.25y+0.75y=\frac{7-5x_{2}+23-7x_{2}}{2}
Subtract -0.25x-0.75y=\frac{7x_{2}-23}{2} from -0.25x+0.25y=\frac{7-5x_{2}}{2} by subtracting like terms on each side of the equal sign.
0.25y+0.75y=\frac{7-5x_{2}+23-7x_{2}}{2}
Add -\frac{x}{4} to \frac{x}{4}. Terms -\frac{x}{4} and \frac{x}{4} cancel out, leaving an equation with only one variable that can be solved.
y=\frac{7-5x_{2}+23-7x_{2}}{2}
Add \frac{y}{4} to \frac{3y}{4}.
y=15-6x_{2}
Add \frac{7-5x_{2}}{2} to \frac{23-7x_{2}}{2}.
0.5x+1.5\left(15-6x_{2}\right)=23-7x_{2}
Substitute 15-6x_{2} for y in 0.5x+1.5y=23-7x_{2}. Because the resulting equation contains only one variable, you can solve for x directly.
0.5x+22.5-9x_{2}=23-7x_{2}
Multiply 1.5 times 15-6x_{2}.
0.5x=2x_{2}+0.5
Subtract 22.5-9x_{2} from both sides of the equation.
x=4x_{2}+1
Multiply both sides by 2.
x=4x_{2}+1,y=15-6x_{2}
The system is now solved.