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

Similar Problems from Web Search

Share

5y=7x
Consider the first equation. Variable x cannot be equal to 0 since division by zero is not defined. Multiply both sides of the equation by 5x, the least common multiple of x,5.
y=\frac{1}{5}\times 7x
Divide both sides by 5.
y=\frac{7}{5}x
Multiply \frac{1}{5} times 7x.
3\times \frac{7}{5}x-4x=-27
Substitute \frac{7x}{5} for y in the other equation, 3y-4x=-27.
\frac{21}{5}x-4x=-27
Multiply 3 times \frac{7x}{5}.
\frac{1}{5}x=-27
Add \frac{21x}{5} to -4x.
x=-135
Multiply both sides by 5.
y=\frac{7}{5}\left(-135\right)
Substitute -135 for x in y=\frac{7}{5}x. Because the resulting equation contains only one variable, you can solve for y directly.
y=-189
Multiply \frac{7}{5} times -135.
y=-189,x=-135
The system is now solved.
5y=7x
Consider the first equation. Variable x cannot be equal to 0 since division by zero is not defined. Multiply both sides of the equation by 5x, the least common multiple of x,5.
5y-7x=0
Subtract 7x from both sides.
3\left(y-3\right)=4\left(x-9\right)
Consider the second equation. Variable x cannot be equal to 9 since division by zero is not defined. Multiply both sides of the equation by 3\left(x-9\right), the least common multiple of x-9,3.
3y-9=4\left(x-9\right)
Use the distributive property to multiply 3 by y-3.
3y-9=4x-36
Use the distributive property to multiply 4 by x-9.
3y-9-4x=-36
Subtract 4x from both sides.
3y-4x=-36+9
Add 9 to both sides.
3y-4x=-27
Add -36 and 9 to get -27.
5y-7x=0,3y-4x=-27
Put the equations in standard form and then use matrices to solve the system of equations.
\left(\begin{matrix}5&-7\\3&-4\end{matrix}\right)\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}0\\-27\end{matrix}\right)
Write the equations in matrix form.
inverse(\left(\begin{matrix}5&-7\\3&-4\end{matrix}\right))\left(\begin{matrix}5&-7\\3&-4\end{matrix}\right)\left(\begin{matrix}y\\x\end{matrix}\right)=inverse(\left(\begin{matrix}5&-7\\3&-4\end{matrix}\right))\left(\begin{matrix}0\\-27\end{matrix}\right)
Left multiply the equation by the inverse matrix of \left(\begin{matrix}5&-7\\3&-4\end{matrix}\right).
\left(\begin{matrix}1&0\\0&1\end{matrix}\right)\left(\begin{matrix}y\\x\end{matrix}\right)=inverse(\left(\begin{matrix}5&-7\\3&-4\end{matrix}\right))\left(\begin{matrix}0\\-27\end{matrix}\right)
The product of a matrix and its inverse is the identity matrix.
\left(\begin{matrix}y\\x\end{matrix}\right)=inverse(\left(\begin{matrix}5&-7\\3&-4\end{matrix}\right))\left(\begin{matrix}0\\-27\end{matrix}\right)
Multiply the matrices on the left hand side of the equal sign.
\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}-\frac{4}{5\left(-4\right)-\left(-7\times 3\right)}&-\frac{-7}{5\left(-4\right)-\left(-7\times 3\right)}\\-\frac{3}{5\left(-4\right)-\left(-7\times 3\right)}&\frac{5}{5\left(-4\right)-\left(-7\times 3\right)}\end{matrix}\right)\left(\begin{matrix}0\\-27\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}y\\x\end{matrix}\right)=\left(\begin{matrix}-4&7\\-3&5\end{matrix}\right)\left(\begin{matrix}0\\-27\end{matrix}\right)
Do the arithmetic.
\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}7\left(-27\right)\\5\left(-27\right)\end{matrix}\right)
Multiply the matrices.
\left(\begin{matrix}y\\x\end{matrix}\right)=\left(\begin{matrix}-189\\-135\end{matrix}\right)
Do the arithmetic.
y=-189,x=-135
Extract the matrix elements y and x.
5y=7x
Consider the first equation. Variable x cannot be equal to 0 since division by zero is not defined. Multiply both sides of the equation by 5x, the least common multiple of x,5.
5y-7x=0
Subtract 7x from both sides.
3\left(y-3\right)=4\left(x-9\right)
Consider the second equation. Variable x cannot be equal to 9 since division by zero is not defined. Multiply both sides of the equation by 3\left(x-9\right), the least common multiple of x-9,3.
3y-9=4\left(x-9\right)
Use the distributive property to multiply 3 by y-3.
3y-9=4x-36
Use the distributive property to multiply 4 by x-9.
3y-9-4x=-36
Subtract 4x from both sides.
3y-4x=-36+9
Add 9 to both sides.
3y-4x=-27
Add -36 and 9 to get -27.
5y-7x=0,3y-4x=-27
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.
3\times 5y+3\left(-7\right)x=0,5\times 3y+5\left(-4\right)x=5\left(-27\right)
To make 5y and 3y equal, multiply all terms on each side of the first equation by 3 and all terms on each side of the second by 5.
15y-21x=0,15y-20x=-135
Simplify.
15y-15y-21x+20x=135
Subtract 15y-20x=-135 from 15y-21x=0 by subtracting like terms on each side of the equal sign.
-21x+20x=135
Add 15y to -15y. Terms 15y and -15y cancel out, leaving an equation with only one variable that can be solved.
-x=135
Add -21x to 20x.
x=-135
Divide both sides by -1.
3y-4\left(-135\right)=-27
Substitute -135 for x in 3y-4x=-27. Because the resulting equation contains only one variable, you can solve for y directly.
3y+540=-27
Multiply -4 times -135.
3y=-567
Subtract 540 from both sides of the equation.
y=-189
Divide both sides by 3.
y=-189,x=-135
The system is now solved.