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

Similar Problems from Web Search

Share

3x-6y=-15,15x+25y=89
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.
3x-6y=-15
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
3x=6y-15
Add 6y to both sides of the equation.
x=\frac{1}{3}\left(6y-15\right)
Divide both sides by 3.
x=2y-5
Multiply \frac{1}{3} times 6y-15.
15\left(2y-5\right)+25y=89
Substitute 2y-5 for x in the other equation, 15x+25y=89.
30y-75+25y=89
Multiply 15 times 2y-5.
55y-75=89
Add 30y to 25y.
55y=164
Add 75 to both sides of the equation.
y=\frac{164}{55}
Divide both sides by 55.
x=2\times \frac{164}{55}-5
Substitute \frac{164}{55} for y in x=2y-5. Because the resulting equation contains only one variable, you can solve for x directly.
x=\frac{328}{55}-5
Multiply 2 times \frac{164}{55}.
x=\frac{53}{55}
Add -5 to \frac{328}{55}.
x=\frac{53}{55},y=\frac{164}{55}
The system is now solved.
3x-6y=-15,15x+25y=89
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}3&-6\\15&25\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-15\\89\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}3&-6\\15&25\end{matrix}\right))\left(\begin{matrix}3&-6\\15&25\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}3&-6\\15&25\end{matrix}\right))\left(\begin{matrix}-15\\89\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}3&-6\\15&25\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}3&-6\\15&25\end{matrix}\right))\left(\begin{matrix}-15\\89\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}3&-6\\15&25\end{matrix}\right))\left(\begin{matrix}-15\\89\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{25}{3\times 25-\left(-6\times 15\right)}&-\frac{-6}{3\times 25-\left(-6\times 15\right)}\\-\frac{15}{3\times 25-\left(-6\times 15\right)}&\frac{3}{3\times 25-\left(-6\times 15\right)}\end{matrix}\right)\left(\begin{matrix}-15\\89\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{5}{33}&\frac{2}{55}\\-\frac{1}{11}&\frac{1}{55}\end{matrix}\right)\left(\begin{matrix}-15\\89\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{5}{33}\left(-15\right)+\frac{2}{55}\times 89\\-\frac{1}{11}\left(-15\right)+\frac{1}{55}\times 89\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{53}{55}\\\frac{164}{55}\end{matrix}\right)
Do the arithmetic.
x=\frac{53}{55},y=\frac{164}{55}
Extract the matrix elements x and y.
3x-6y=-15,15x+25y=89
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.
15\times 3x+15\left(-6\right)y=15\left(-15\right),3\times 15x+3\times 25y=3\times 89
To make 3x and 15x equal, multiply all terms on each side of the first equation by 15 and all terms on each side of the second by 3.
45x-90y=-225,45x+75y=267
Simplify.
45x-45x-90y-75y=-225-267
Subtract 45x+75y=267 from 45x-90y=-225 by subtracting like terms on each side of the equal sign.
-90y-75y=-225-267
Add 45x to -45x. Terms 45x and -45x cancel out, leaving an equation with only one variable that can be solved.
-165y=-225-267
Add -90y to -75y.
-165y=-492
Add -225 to -267.
y=\frac{164}{55}
Divide both sides by -165.
15x+25\times \frac{164}{55}=89
Substitute \frac{164}{55} for y in 15x+25y=89. Because the resulting equation contains only one variable, you can solve for x directly.
15x+\frac{820}{11}=89
Multiply 25 times \frac{164}{55}.
15x=\frac{159}{11}
Subtract \frac{820}{11} from both sides of the equation.
x=\frac{53}{55}
Divide both sides by 15.
x=\frac{53}{55},y=\frac{164}{55}
The system is now solved.