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

Share

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