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

Similar Problems from Web Search

Share

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