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

Similar Problems from Web Search

Share

10x+9-y=0
Consider the first equation. Subtract y from both sides.
10x-y=-9
Subtract 9 from both sides. Anything subtracted from zero gives its negation.
4y+10-x=0
Consider the second equation. Subtract x from both sides.
4y-x=-10
Subtract 10 from both sides. Anything subtracted from zero gives its negation.
10x-y=-9,-x+4y=-10
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.
10x-y=-9
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
10x=y-9
Add y to both sides of the equation.
x=\frac{1}{10}\left(y-9\right)
Divide both sides by 10.
x=\frac{1}{10}y-\frac{9}{10}
Multiply \frac{1}{10} times y-9.
-\left(\frac{1}{10}y-\frac{9}{10}\right)+4y=-10
Substitute \frac{-9+y}{10} for x in the other equation, -x+4y=-10.
-\frac{1}{10}y+\frac{9}{10}+4y=-10
Multiply -1 times \frac{-9+y}{10}.
\frac{39}{10}y+\frac{9}{10}=-10
Add -\frac{y}{10} to 4y.
\frac{39}{10}y=-\frac{109}{10}
Subtract \frac{9}{10} from both sides of the equation.
y=-\frac{109}{39}
Divide both sides of the equation by \frac{39}{10}, which is the same as multiplying both sides by the reciprocal of the fraction.
x=\frac{1}{10}\left(-\frac{109}{39}\right)-\frac{9}{10}
Substitute -\frac{109}{39} for y in x=\frac{1}{10}y-\frac{9}{10}. Because the resulting equation contains only one variable, you can solve for x directly.
x=-\frac{109}{390}-\frac{9}{10}
Multiply \frac{1}{10} times -\frac{109}{39} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
x=-\frac{46}{39}
Add -\frac{9}{10} to -\frac{109}{390} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
x=-\frac{46}{39},y=-\frac{109}{39}
The system is now solved.
10x+9-y=0
Consider the first equation. Subtract y from both sides.
10x-y=-9
Subtract 9 from both sides. Anything subtracted from zero gives its negation.
4y+10-x=0
Consider the second equation. Subtract x from both sides.
4y-x=-10
Subtract 10 from both sides. Anything subtracted from zero gives its negation.
10x-y=-9,-x+4y=-10
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}10&-1\\-1&4\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-9\\-10\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}10&-1\\-1&4\end{matrix}\right))\left(\begin{matrix}10&-1\\-1&4\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}10&-1\\-1&4\end{matrix}\right))\left(\begin{matrix}-9\\-10\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}10&-1\\-1&4\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}10&-1\\-1&4\end{matrix}\right))\left(\begin{matrix}-9\\-10\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}10&-1\\-1&4\end{matrix}\right))\left(\begin{matrix}-9\\-10\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{4}{10\times 4-\left(-\left(-1\right)\right)}&-\frac{-1}{10\times 4-\left(-\left(-1\right)\right)}\\-\frac{-1}{10\times 4-\left(-\left(-1\right)\right)}&\frac{10}{10\times 4-\left(-\left(-1\right)\right)}\end{matrix}\right)\left(\begin{matrix}-9\\-10\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{4}{39}&\frac{1}{39}\\\frac{1}{39}&\frac{10}{39}\end{matrix}\right)\left(\begin{matrix}-9\\-10\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{4}{39}\left(-9\right)+\frac{1}{39}\left(-10\right)\\\frac{1}{39}\left(-9\right)+\frac{10}{39}\left(-10\right)\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-\frac{46}{39}\\-\frac{109}{39}\end{matrix}\right)
Do the arithmetic.
x=-\frac{46}{39},y=-\frac{109}{39}
Extract the matrix elements x and y.
10x+9-y=0
Consider the first equation. Subtract y from both sides.
10x-y=-9
Subtract 9 from both sides. Anything subtracted from zero gives its negation.
4y+10-x=0
Consider the second equation. Subtract x from both sides.
4y-x=-10
Subtract 10 from both sides. Anything subtracted from zero gives its negation.
10x-y=-9,-x+4y=-10
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.
-10x-\left(-y\right)=-\left(-9\right),10\left(-1\right)x+10\times 4y=10\left(-10\right)
To make 10x 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 10.
-10x+y=9,-10x+40y=-100
Simplify.
-10x+10x+y-40y=9+100
Subtract -10x+40y=-100 from -10x+y=9 by subtracting like terms on each side of the equal sign.
y-40y=9+100
Add -10x to 10x. Terms -10x and 10x cancel out, leaving an equation with only one variable that can be solved.
-39y=9+100
Add y to -40y.
-39y=109
Add 9 to 100.
y=-\frac{109}{39}
Divide both sides by -39.
-x+4\left(-\frac{109}{39}\right)=-10
Substitute -\frac{109}{39} for y in -x+4y=-10. Because the resulting equation contains only one variable, you can solve for x directly.
-x-\frac{436}{39}=-10
Multiply 4 times -\frac{109}{39}.
-x=\frac{46}{39}
Add \frac{436}{39} to both sides of the equation.
x=-\frac{46}{39}
Divide both sides by -1.
x=-\frac{46}{39},y=-\frac{109}{39}
The system is now solved.