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

Similar Problems from Web Search

Share

\sqrt{2}x+y=1,x+\sqrt{3}y=4
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.
\sqrt{2}x+y=1
Choose one of the equations and solve it for x by isolating x on the left hand side of the equal sign.
\sqrt{2}x=-y+1
Subtract y from both sides of the equation.
x=\frac{\sqrt{2}}{2}\left(-y+1\right)
Divide both sides by \sqrt{2}.
x=\left(-\frac{\sqrt{2}}{2}\right)y+\frac{\sqrt{2}}{2}
Multiply \frac{\sqrt{2}}{2} times -y+1.
\left(-\frac{\sqrt{2}}{2}\right)y+\frac{\sqrt{2}}{2}+\sqrt{3}y=4
Substitute \frac{\left(1-y\right)\sqrt{2}}{2} for x in the other equation, x+\sqrt{3}y=4.
\left(-\frac{\sqrt{2}}{2}+\sqrt{3}\right)y+\frac{\sqrt{2}}{2}=4
Add -\frac{\sqrt{2}y}{2} to \sqrt{3}y.
\left(-\frac{\sqrt{2}}{2}+\sqrt{3}\right)y=-\frac{\sqrt{2}}{2}+4
Subtract \frac{\sqrt{2}}{2} from both sides of the equation.
y=\frac{4\sqrt{2}+8\sqrt{3}-\sqrt{6}-1}{5}
Divide both sides by -\frac{\sqrt{2}}{2}+\sqrt{3}.
x=\left(-\frac{\sqrt{2}}{2}\right)\times \frac{4\sqrt{2}+8\sqrt{3}-\sqrt{6}-1}{5}+\frac{\sqrt{2}}{2}
Substitute \frac{8\sqrt{3}-\sqrt{6}+4\sqrt{2}-1}{5} for y in x=\left(-\frac{\sqrt{2}}{2}\right)y+\frac{\sqrt{2}}{2}. Because the resulting equation contains only one variable, you can solve for x directly.
x=-\frac{\sqrt{2}\left(4\sqrt{2}+8\sqrt{3}-\sqrt{6}-1\right)}{10}+\frac{\sqrt{2}}{2}
Multiply -\frac{\sqrt{2}}{2} times \frac{8\sqrt{3}-\sqrt{6}+4\sqrt{2}-1}{5}.
x=\frac{\sqrt{3}+3\sqrt{2}-4\sqrt{6}-4}{5}
Add \frac{\sqrt{2}}{2} to -\frac{\sqrt{2}\left(8\sqrt{3}-\sqrt{6}+4\sqrt{2}-1\right)}{10}.
x=\frac{\sqrt{3}+3\sqrt{2}-4\sqrt{6}-4}{5},y=\frac{4\sqrt{2}+8\sqrt{3}-\sqrt{6}-1}{5}
The system is now solved.
\sqrt{2}x+y=1,x+\sqrt{3}y=4
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.
\sqrt{2}x+y=1,\sqrt{2}x+\sqrt{2}\sqrt{3}y=\sqrt{2}\times 4
To make \sqrt{2}x and x equal, multiply all terms on each side of the first equation by 1 and all terms on each side of the second by \sqrt{2}.
\sqrt{2}x+y=1,\sqrt{2}x+\sqrt{6}y=4\sqrt{2}
Simplify.
\sqrt{2}x+\left(-\sqrt{2}\right)x+y+\left(-\sqrt{6}\right)y=1-4\sqrt{2}
Subtract \sqrt{2}x+\sqrt{6}y=4\sqrt{2} from \sqrt{2}x+y=1 by subtracting like terms on each side of the equal sign.
y+\left(-\sqrt{6}\right)y=1-4\sqrt{2}
Add \sqrt{2}x to -\sqrt{2}x. Terms \sqrt{2}x and -\sqrt{2}x cancel out, leaving an equation with only one variable that can be solved.
\left(1-\sqrt{6}\right)y=1-4\sqrt{2}
Add y to -\sqrt{6}y.
y=\frac{4\sqrt{2}+8\sqrt{3}-\sqrt{6}-1}{5}
Divide both sides by 1-\sqrt{6}.
x+\sqrt{3}\times \frac{4\sqrt{2}+8\sqrt{3}-\sqrt{6}-1}{5}=4
Substitute \frac{8\sqrt{3}-\sqrt{6}+4\sqrt{2}-1}{5} for y in x+\sqrt{3}y=4. Because the resulting equation contains only one variable, you can solve for x directly.
x+\frac{\sqrt{3}\left(4\sqrt{2}+8\sqrt{3}-\sqrt{6}-1\right)}{5}=4
Multiply \sqrt{3} times \frac{8\sqrt{3}-\sqrt{6}+4\sqrt{2}-1}{5}.
x=\frac{\sqrt{3}+3\sqrt{2}-4\sqrt{6}-4}{5}
Subtract \frac{\sqrt{3}\left(8\sqrt{3}-\sqrt{6}+4\sqrt{2}-1\right)}{5} from both sides of the equation.
x=\frac{\sqrt{3}+3\sqrt{2}-4\sqrt{6}-4}{5},y=\frac{4\sqrt{2}+8\sqrt{3}-\sqrt{6}-1}{5}
The system is now solved.