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

Similar Problems from Web Search

Share

x=\frac{2}{7}y+\frac{15}{7}
Consider the first equation. Divide each term of 2y+15 by 7 to get \frac{2}{7}y+\frac{15}{7}.
\frac{2}{7}y+\frac{15}{7}+\frac{5}{6}y=\frac{1}{2}
Substitute \frac{2y+15}{7} for x in the other equation, x+\frac{5}{6}y=\frac{1}{2}.
\frac{47}{42}y+\frac{15}{7}=\frac{1}{2}
Add \frac{2y}{7} to \frac{5y}{6}.
\frac{47}{42}y=-\frac{23}{14}
Subtract \frac{15}{7} from both sides of the equation.
y=-\frac{69}{47}
Divide both sides of the equation by \frac{47}{42}, which is the same as multiplying both sides by the reciprocal of the fraction.
x=\frac{2}{7}\left(-\frac{69}{47}\right)+\frac{15}{7}
Substitute -\frac{69}{47} for y in x=\frac{2}{7}y+\frac{15}{7}. Because the resulting equation contains only one variable, you can solve for x directly.
x=-\frac{138}{329}+\frac{15}{7}
Multiply \frac{2}{7} times -\frac{69}{47} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
x=\frac{81}{47}
Add \frac{15}{7} to -\frac{138}{329} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
x=\frac{81}{47},y=-\frac{69}{47}
The system is now solved.
x=\frac{2}{7}y+\frac{15}{7}
Consider the first equation. Divide each term of 2y+15 by 7 to get \frac{2}{7}y+\frac{15}{7}.
x-\frac{2}{7}y=\frac{15}{7}
Subtract \frac{2}{7}y from both sides.
x=\frac{-5y+3}{6}
Consider the second equation. Multiply both numerator and denominator by -1.
x=-\frac{5}{6}y+\frac{1}{2}
Divide each term of -5y+3 by 6 to get -\frac{5}{6}y+\frac{1}{2}.
x+\frac{5}{6}y=\frac{1}{2}
Add \frac{5}{6}y to both sides.
x-\frac{2}{7}y=\frac{15}{7},x+\frac{5}{6}y=\frac{1}{2}
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}1&-\frac{2}{7}\\1&\frac{5}{6}\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{15}{7}\\\frac{1}{2}\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}1&-\frac{2}{7}\\1&\frac{5}{6}\end{matrix}\right))\left(\begin{matrix}1&-\frac{2}{7}\\1&\frac{5}{6}\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}1&-\frac{2}{7}\\1&\frac{5}{6}\end{matrix}\right))\left(\begin{matrix}\frac{15}{7}\\\frac{1}{2}\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}1&-\frac{2}{7}\\1&\frac{5}{6}\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&-\frac{2}{7}\\1&\frac{5}{6}\end{matrix}\right))\left(\begin{matrix}\frac{15}{7}\\\frac{1}{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}1&-\frac{2}{7}\\1&\frac{5}{6}\end{matrix}\right))\left(\begin{matrix}\frac{15}{7}\\\frac{1}{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{\frac{5}{6}}{\frac{5}{6}-\left(-\frac{2}{7}\right)}&-\frac{-\frac{2}{7}}{\frac{5}{6}-\left(-\frac{2}{7}\right)}\\-\frac{1}{\frac{5}{6}-\left(-\frac{2}{7}\right)}&\frac{1}{\frac{5}{6}-\left(-\frac{2}{7}\right)}\end{matrix}\right)\left(\begin{matrix}\frac{15}{7}\\\frac{1}{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}\frac{35}{47}&\frac{12}{47}\\-\frac{42}{47}&\frac{42}{47}\end{matrix}\right)\left(\begin{matrix}\frac{15}{7}\\\frac{1}{2}\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{35}{47}\times \frac{15}{7}+\frac{12}{47}\times \frac{1}{2}\\-\frac{42}{47}\times \frac{15}{7}+\frac{42}{47}\times \frac{1}{2}\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{81}{47}\\-\frac{69}{47}\end{matrix}\right)
Do the arithmetic.
x=\frac{81}{47},y=-\frac{69}{47}
Extract the matrix elements x and y.
x=\frac{2}{7}y+\frac{15}{7}
Consider the first equation. Divide each term of 2y+15 by 7 to get \frac{2}{7}y+\frac{15}{7}.
x-\frac{2}{7}y=\frac{15}{7}
Subtract \frac{2}{7}y from both sides.
x=\frac{-5y+3}{6}
Consider the second equation. Multiply both numerator and denominator by -1.
x=-\frac{5}{6}y+\frac{1}{2}
Divide each term of -5y+3 by 6 to get -\frac{5}{6}y+\frac{1}{2}.
x+\frac{5}{6}y=\frac{1}{2}
Add \frac{5}{6}y to both sides.
x-\frac{2}{7}y=\frac{15}{7},x+\frac{5}{6}y=\frac{1}{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.
x-x-\frac{2}{7}y-\frac{5}{6}y=\frac{15}{7}-\frac{1}{2}
Subtract x+\frac{5}{6}y=\frac{1}{2} from x-\frac{2}{7}y=\frac{15}{7} by subtracting like terms on each side of the equal sign.
-\frac{2}{7}y-\frac{5}{6}y=\frac{15}{7}-\frac{1}{2}
Add x to -x. Terms x and -x cancel out, leaving an equation with only one variable that can be solved.
-\frac{47}{42}y=\frac{15}{7}-\frac{1}{2}
Add -\frac{2y}{7} to -\frac{5y}{6}.
-\frac{47}{42}y=\frac{23}{14}
Add \frac{15}{7} to -\frac{1}{2} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
y=-\frac{69}{47}
Divide both sides of the equation by -\frac{47}{42}, which is the same as multiplying both sides by the reciprocal of the fraction.
x+\frac{5}{6}\left(-\frac{69}{47}\right)=\frac{1}{2}
Substitute -\frac{69}{47} for y in x+\frac{5}{6}y=\frac{1}{2}. Because the resulting equation contains only one variable, you can solve for x directly.
x-\frac{115}{94}=\frac{1}{2}
Multiply \frac{5}{6} times -\frac{69}{47} by multiplying numerator times numerator and denominator times denominator. Then reduce the fraction to lowest terms if possible.
x=\frac{81}{47}
Add \frac{115}{94} to both sides of the equation.
x=\frac{81}{47},y=-\frac{69}{47}
The system is now solved.