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

Similar Problems from Web Search

Share

2x-2y-3=3x+4yD
Consider the first equation. Use the distributive property to multiply 2 by x-y.
2x-2y-3-3x=4yD
Subtract 3x from both sides.
-x-2y-3=4yD
Combine 2x and -3x to get -x.
-x-2y-3-4yD=0
Subtract 4yD from both sides.
-x-2y-4yD=3
Add 3 to both sides. Anything plus zero gives itself.
-x+\left(-2-4D\right)y=3
Combine all terms containing x,y.
x+y=4
Consider the second equation. Multiply 2 and 2 to get 4.
-x+\left(-4D-2\right)y=3,x+y=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.
-x+\left(-4D-2\right)y=3
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
-x=\left(4D+2\right)y+3
Subtract -2y-4yD from both sides of the equation.
x=-\left(\left(4D+2\right)y+3\right)
Divide both sides by -1.
x=\left(-4D-2\right)y-3
Multiply -1 times 2y+4yD+3.
\left(-4D-2\right)y-3+y=4
Substitute -2y-4yD-3 for x in the other equation, x+y=4.
\left(-4D-1\right)y-3=4
Add -2y-4yD to y.
\left(-4D-1\right)y=7
Add 3 to both sides of the equation.
y=-\frac{7}{4D+1}
Divide both sides by -1-4D.
x=\left(-4D-2\right)\left(-\frac{7}{4D+1}\right)-3
Substitute -\frac{7}{1+4D} for y in x=\left(-4D-2\right)y-3. Because the resulting equation contains only one variable, you can solve for x directly.
x=\frac{14\left(2D+1\right)}{4D+1}-3
Multiply -2-4D times -\frac{7}{1+4D}.
x=\frac{16D+11}{4D+1}
Add -3 to \frac{14\left(1+2D\right)}{1+4D}.
x=\frac{16D+11}{4D+1},y=-\frac{7}{4D+1}
The system is now solved.
2x-2y-3=3x+4yD
Consider the first equation. Use the distributive property to multiply 2 by x-y.
2x-2y-3-3x=4yD
Subtract 3x from both sides.
-x-2y-3=4yD
Combine 2x and -3x to get -x.
-x-2y-3-4yD=0
Subtract 4yD from both sides.
-x-2y-4yD=3
Add 3 to both sides. Anything plus zero gives itself.
-x+\left(-2-4D\right)y=3
Combine all terms containing x,y.
x+y=4
Consider the second equation. Multiply 2 and 2 to get 4.
-x+\left(-4D-2\right)y=3,x+y=4
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}-1&-4D-2\\1&1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}3\\4\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}-1&-4D-2\\1&1\end{matrix}\right))\left(\begin{matrix}-1&-4D-2\\1&1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}-1&-4D-2\\1&1\end{matrix}\right))\left(\begin{matrix}3\\4\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}-1&-2-4D\\1&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}-1&-4D-2\\1&1\end{matrix}\right))\left(\begin{matrix}3\\4\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&-4D-2\\1&1\end{matrix}\right))\left(\begin{matrix}3\\4\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}{-1-\left(-4D-2\right)}&-\frac{-4D-2}{-1-\left(-4D-2\right)}\\-\frac{1}{-1-\left(-4D-2\right)}&-\frac{1}{-1-\left(-4D-2\right)}\end{matrix}\right)\left(\begin{matrix}3\\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}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{1}{4D+1}&\frac{2\left(2D+1\right)}{4D+1}\\-\frac{1}{4D+1}&-\frac{1}{4D+1}\end{matrix}\right)\left(\begin{matrix}3\\4\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{1}{4D+1}\times 3+\frac{2\left(2D+1\right)}{4D+1}\times 4\\\left(-\frac{1}{4D+1}\right)\times 3+\left(-\frac{1}{4D+1}\right)\times 4\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{16D+11}{4D+1}\\-\frac{7}{4D+1}\end{matrix}\right)
Do the arithmetic.
x=\frac{16D+11}{4D+1},y=-\frac{7}{4D+1}
Extract the matrix elements x and y.
2x-2y-3=3x+4yD
Consider the first equation. Use the distributive property to multiply 2 by x-y.
2x-2y-3-3x=4yD
Subtract 3x from both sides.
-x-2y-3=4yD
Combine 2x and -3x to get -x.
-x-2y-3-4yD=0
Subtract 4yD from both sides.
-x-2y-4yD=3
Add 3 to both sides. Anything plus zero gives itself.
-x+\left(-2-4D\right)y=3
Combine all terms containing x,y.
x+y=4
Consider the second equation. Multiply 2 and 2 to get 4.
-x+\left(-4D-2\right)y=3,x+y=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.
-x+\left(-4D-2\right)y=3,-x-y=-4
To make -x and x equal, multiply all terms on each side of the first equation by 1 and all terms on each side of the second by -1.
-x+x+\left(-4D-2\right)y+y=3+4
Subtract -x-y=-4 from -x+\left(-4D-2\right)y=3 by subtracting like terms on each side of the equal sign.
\left(-4D-2\right)y+y=3+4
Add -x to x. Terms -x and x cancel out, leaving an equation with only one variable that can be solved.
\left(-4D-1\right)y=3+4
Add -2y-4yD to y.
\left(-4D-1\right)y=7
Add 3 to 4.
y=-\frac{7}{4D+1}
Divide both sides by -1-4D.
x-\frac{7}{4D+1}=4
Substitute -\frac{7}{1+4D} for y in x+y=4. Because the resulting equation contains only one variable, you can solve for x directly.
x=\frac{16D+11}{4D+1}
Add \frac{7}{1+4D} to both sides of the equation.
x=\frac{16D+11}{4D+1},y=-\frac{7}{4D+1}
The system is now solved.