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

Similar Problems from Web Search

Share

14x+7y=217,14x+3y=189
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.
14x+7y=217
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
14x=-7y+217
Subtract 7y from both sides of the equation.
x=\frac{1}{14}\left(-7y+217\right)
Divide both sides by 14.
x=-\frac{1}{2}y+\frac{31}{2}
Multiply \frac{1}{14} times -7y+217.
14\left(-\frac{1}{2}y+\frac{31}{2}\right)+3y=189
Substitute \frac{-y+31}{2} for x in the other equation, 14x+3y=189.
-7y+217+3y=189
Multiply 14 times \frac{-y+31}{2}.
-4y+217=189
Add -7y to 3y.
-4y=-28
Subtract 217 from both sides of the equation.
y=7
Divide both sides by -4.
x=-\frac{1}{2}\times 7+\frac{31}{2}
Substitute 7 for y in x=-\frac{1}{2}y+\frac{31}{2}. Because the resulting equation contains only one variable, you can solve for x directly.
x=\frac{-7+31}{2}
Multiply -\frac{1}{2} times 7.
x=12
Add \frac{31}{2} to -\frac{7}{2} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
x=12,y=7
The system is now solved.
14x+7y=217,14x+3y=189
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}14&7\\14&3\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}217\\189\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}14&7\\14&3\end{matrix}\right))\left(\begin{matrix}14&7\\14&3\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}14&7\\14&3\end{matrix}\right))\left(\begin{matrix}217\\189\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}14&7\\14&3\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}14&7\\14&3\end{matrix}\right))\left(\begin{matrix}217\\189\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}14&7\\14&3\end{matrix}\right))\left(\begin{matrix}217\\189\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{3}{14\times 3-7\times 14}&-\frac{7}{14\times 3-7\times 14}\\-\frac{14}{14\times 3-7\times 14}&\frac{14}{14\times 3-7\times 14}\end{matrix}\right)\left(\begin{matrix}217\\189\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{3}{56}&\frac{1}{8}\\\frac{1}{4}&-\frac{1}{4}\end{matrix}\right)\left(\begin{matrix}217\\189\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-\frac{3}{56}\times 217+\frac{1}{8}\times 189\\\frac{1}{4}\times 217-\frac{1}{4}\times 189\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}12\\7\end{matrix}\right)
Do the arithmetic.
x=12,y=7
Extract the matrix elements x and y.
14x+7y=217,14x+3y=189
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.
14x-14x+7y-3y=217-189
Subtract 14x+3y=189 from 14x+7y=217 by subtracting like terms on each side of the equal sign.
7y-3y=217-189
Add 14x to -14x. Terms 14x and -14x cancel out, leaving an equation with only one variable that can be solved.
4y=217-189
Add 7y to -3y.
4y=28
Add 217 to -189.
y=7
Divide both sides by 4.
14x+3\times 7=189
Substitute 7 for y in 14x+3y=189. Because the resulting equation contains only one variable, you can solve for x directly.
14x+21=189
Multiply 3 times 7.
14x=168
Subtract 21 from both sides of the equation.
x=12
Divide both sides by 14.
x=12,y=7
The system is now solved.