Solve for x, y
x=-\frac{4}{13}\approx -0.307692308
y=\frac{81}{104}\approx 0.778846154
Graph
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}