Solve for X, Y
X=-\frac{4}{13}\approx -0.307692308
Y=\frac{81}{104}\approx 0.778846154
Share
Copied to clipboard
2X+4Y=\frac{1}{2}+2
Consider the first equation. Add 2 to both sides.
2X+4Y=\frac{5}{2}
Add \frac{1}{2} and 2 to get \frac{5}{2}.
8Y-4=9\left(X+1\right)-4
Consider the second equation. Use the distributive property to multiply 8 by Y-\frac{1}{2}.
8Y-4=9X+9-4
Use the distributive property to multiply 9 by X+1.
8Y-4=9X+5
Subtract 4 from 9 to get 5.
8Y-4-9X=5
Subtract 9X from both sides.
8Y-9X=5+4
Add 4 to both sides.
8Y-9X=9
Add 5 and 4 to get 9.
2X+4Y=\frac{5}{2},-9X+8Y=9
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.
2X+4Y=\frac{5}{2}
Choose one of the equations and solve it for X by isolating X on the left hand side of the equal sign.
2X=-4Y+\frac{5}{2}
Subtract 4Y from both sides of the equation.
X=\frac{1}{2}\left(-4Y+\frac{5}{2}\right)
Divide both sides by 2.
X=-2Y+\frac{5}{4}
Multiply \frac{1}{2} times -4Y+\frac{5}{2}.
-9\left(-2Y+\frac{5}{4}\right)+8Y=9
Substitute -2Y+\frac{5}{4} for X in the other equation, -9X+8Y=9.
18Y-\frac{45}{4}+8Y=9
Multiply -9 times -2Y+\frac{5}{4}.
26Y-\frac{45}{4}=9
Add 18Y to 8Y.
26Y=\frac{81}{4}
Add \frac{45}{4} to both sides of the equation.
Y=\frac{81}{104}
Divide both sides by 26.
X=-2\times \frac{81}{104}+\frac{5}{4}
Substitute \frac{81}{104} for Y in X=-2Y+\frac{5}{4}. Because the resulting equation contains only one variable, you can solve for X directly.
X=-\frac{81}{52}+\frac{5}{4}
Multiply -2 times \frac{81}{104}.
X=-\frac{4}{13}
Add \frac{5}{4} to -\frac{81}{52} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
X=-\frac{4}{13},Y=\frac{81}{104}
The system is now solved.
2X+4Y=\frac{1}{2}+2
Consider the first equation. Add 2 to both sides.
2X+4Y=\frac{5}{2}
Add \frac{1}{2} and 2 to get \frac{5}{2}.
8Y-4=9\left(X+1\right)-4
Consider the second equation. Use the distributive property to multiply 8 by Y-\frac{1}{2}.
8Y-4=9X+9-4
Use the distributive property to multiply 9 by X+1.
8Y-4=9X+5
Subtract 4 from 9 to get 5.
8Y-4-9X=5
Subtract 9X from both sides.
8Y-9X=5+4
Add 4 to both sides.
8Y-9X=9
Add 5 and 4 to get 9.
2X+4Y=\frac{5}{2},-9X+8Y=9
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}2&4\\-9&8\end{matrix}\right)\left(\begin{matrix}X\\Y\end{matrix}\right)=\left(\begin{matrix}\frac{5}{2}\\9\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}2&4\\-9&8\end{matrix}\right))\left(\begin{matrix}2&4\\-9&8\end{matrix}\right)\left(\begin{matrix}X\\Y\end{matrix}\right)=inverse(\left(\begin{matrix}2&4\\-9&8\end{matrix}\right))\left(\begin{matrix}\frac{5}{2}\\9\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}2&4\\-9&8\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}2&4\\-9&8\end{matrix}\right))\left(\begin{matrix}\frac{5}{2}\\9\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}2&4\\-9&8\end{matrix}\right))\left(\begin{matrix}\frac{5}{2}\\9\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{8}{2\times 8-4\left(-9\right)}&-\frac{4}{2\times 8-4\left(-9\right)}\\-\frac{-9}{2\times 8-4\left(-9\right)}&\frac{2}{2\times 8-4\left(-9\right)}\end{matrix}\right)\left(\begin{matrix}\frac{5}{2}\\9\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{2}{13}&-\frac{1}{13}\\\frac{9}{52}&\frac{1}{26}\end{matrix}\right)\left(\begin{matrix}\frac{5}{2}\\9\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}X\\Y\end{matrix}\right)=\left(\begin{matrix}\frac{2}{13}\times \frac{5}{2}-\frac{1}{13}\times 9\\\frac{9}{52}\times \frac{5}{2}+\frac{1}{26}\times 9\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}X\\Y\end{matrix}\right)=\left(\begin{matrix}-\frac{4}{13}\\\frac{81}{104}\end{matrix}\right)
Do the arithmetic.
X=-\frac{4}{13},Y=\frac{81}{104}
Extract the matrix elements X and Y.
2X+4Y=\frac{1}{2}+2
Consider the first equation. Add 2 to both sides.
2X+4Y=\frac{5}{2}
Add \frac{1}{2} and 2 to get \frac{5}{2}.
8Y-4=9\left(X+1\right)-4
Consider the second equation. Use the distributive property to multiply 8 by Y-\frac{1}{2}.
8Y-4=9X+9-4
Use the distributive property to multiply 9 by X+1.
8Y-4=9X+5
Subtract 4 from 9 to get 5.
8Y-4-9X=5
Subtract 9X from both sides.
8Y-9X=5+4
Add 4 to both sides.
8Y-9X=9
Add 5 and 4 to get 9.
2X+4Y=\frac{5}{2},-9X+8Y=9
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.
-9\times 2X-9\times 4Y=-9\times \frac{5}{2},2\left(-9\right)X+2\times 8Y=2\times 9
To make 2X and -9X equal, multiply all terms on each side of the first equation by -9 and all terms on each side of the second by 2.
-18X-36Y=-\frac{45}{2},-18X+16Y=18
Simplify.
-18X+18X-36Y-16Y=-\frac{45}{2}-18
Subtract -18X+16Y=18 from -18X-36Y=-\frac{45}{2} by subtracting like terms on each side of the equal sign.
-36Y-16Y=-\frac{45}{2}-18
Add -18X to 18X. Terms -18X and 18X cancel out, leaving an equation with only one variable that can be solved.
-52Y=-\frac{45}{2}-18
Add -36Y to -16Y.
-52Y=-\frac{81}{2}
Add -\frac{45}{2} to -18.
Y=\frac{81}{104}
Divide both sides by -52.
-9X+8\times \frac{81}{104}=9
Substitute \frac{81}{104} for Y in -9X+8Y=9. Because the resulting equation contains only one variable, you can solve for X directly.
-9X+\frac{81}{13}=9
Multiply 8 times \frac{81}{104}.
-9X=\frac{36}{13}
Subtract \frac{81}{13} from both sides of the equation.
X=-\frac{4}{13}
Divide both sides by -9.
X=-\frac{4}{13},Y=\frac{81}{104}
The system is now solved.
Examples
Quadratic equation
{ x } ^ { 2 } - 4 x - 5 = 0
Trigonometry
4 \sin \theta \cos \theta = 2 \sin \theta
Linear equation
y = 3x + 4
Arithmetic
699 * 533
Matrix
\left[ \begin{array} { l l } { 2 } & { 3 } \\ { 5 } & { 4 } \end{array} \right] \left[ \begin{array} { l l l } { 2 } & { 0 } & { 3 } \\ { -1 } & { 1 } & { 5 } \end{array} \right]
Simultaneous equation
\left. \begin{cases} { 8x+2y = 46 } \\ { 7x+3y = 47 } \end{cases} \right.
Differentiation
\frac { d } { d x } \frac { ( 3 x ^ { 2 } - 2 ) } { ( x - 5 ) }
Integration
\int _ { 0 } ^ { 1 } x e ^ { - x ^ { 2 } } d x
Limits
\lim _{x \rightarrow-3} \frac{x^{2}-9}{x^{2}+2 x-3}