Skip to main content
Solve for x, y
Tick mark Image
Solve for x, y (complex solution)
Tick mark Image
Graph

Similar Problems from Web Search

Share

x-ky=b
Consider the first equation. Subtract ky from both sides.
x+\left(-k\right)y=b,y^{2}+9x^{2}=m^{2}
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+\left(-k\right)y=b
Solve x+\left(-k\right)y=b for x by isolating x on the left hand side of the equal sign.
x=ky+b
Subtract \left(-k\right)y from both sides of the equation.
y^{2}+9\left(ky+b\right)^{2}=m^{2}
Substitute ky+b for x in the other equation, y^{2}+9x^{2}=m^{2}.
y^{2}+9\left(k^{2}y^{2}+2bky+b^{2}\right)=m^{2}
Square ky+b.
y^{2}+9k^{2}y^{2}+18bky+9b^{2}=m^{2}
Multiply 9 times k^{2}y^{2}+2bky+b^{2}.
\left(9k^{2}+1\right)y^{2}+18bky+9b^{2}=m^{2}
Add y^{2} to 9k^{2}y^{2}.
\left(9k^{2}+1\right)y^{2}+18bky+9b^{2}-m^{2}=0
Subtract m^{2} from both sides of the equation.
y=\frac{-18bk±\sqrt{\left(18bk\right)^{2}-4\left(9k^{2}+1\right)\left(9b^{2}-m^{2}\right)}}{2\left(9k^{2}+1\right)}
This equation is in standard form: ax^{2}+bx+c=0. Substitute 1+9k^{2} for a, 9\times 2kb for b, and 9b^{2}-m^{2} for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
y=\frac{-18bk±\sqrt{324b^{2}k^{2}-4\left(9k^{2}+1\right)\left(9b^{2}-m^{2}\right)}}{2\left(9k^{2}+1\right)}
Square 9\times 2kb.
y=\frac{-18bk±\sqrt{36k^{2}m^{2}+4m^{2}-36b^{2}}}{2\left(9k^{2}+1\right)}
Add 324k^{2}b^{2} to -4\left(1+9k^{2}\right)\left(9b^{2}-m^{2}\right).
y=\frac{-18bk±2\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}}{2\left(9k^{2}+1\right)}
Take the square root of 36k^{2}m^{2}+4m^{2}-36b^{2}.
y=\frac{-18bk±2\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}}{18k^{2}+2}
Multiply 2 times 1+9k^{2}.
y=\frac{2\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}-18bk}{18k^{2}+2}
Now solve the equation y=\frac{-18bk±2\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}}{18k^{2}+2} when ± is plus. Add -18kb to 2\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}.
y=\frac{\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}-9bk}{9k^{2}+1}
Divide -18bk+2\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}} by 2+18k^{2}.
y=\frac{-2\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}-18bk}{18k^{2}+2}
Now solve the equation y=\frac{-18bk±2\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}}{18k^{2}+2} when ± is minus. Subtract 2\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}} from -18kb.
y=-\frac{\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}+9bk}{9k^{2}+1}
Divide -18kb-2\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}} by 2+18k^{2}.
x=k\times \frac{\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}-9bk}{9k^{2}+1}+b
There are two solutions for y: \frac{-9bk+\sqrt{-9b^{2}+m^{2}+9k^{2}m^{2}}}{9k^{2}+1} and -\frac{9bk+\sqrt{-9b^{2}+m^{2}+9k^{2}m^{2}}}{9k^{2}+1}. Substitute \frac{-9bk+\sqrt{-9b^{2}+m^{2}+9k^{2}m^{2}}}{9k^{2}+1} for y in the equation x=ky+b to find the corresponding solution for x that satisfies both equations.
x=\frac{\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}-9bk}{9k^{2}+1}k+b
Multiply k times \frac{-9bk+\sqrt{-9b^{2}+m^{2}+9k^{2}m^{2}}}{9k^{2}+1}.
x=k\left(-\frac{\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}+9bk}{9k^{2}+1}\right)+b
Now substitute -\frac{9bk+\sqrt{-9b^{2}+m^{2}+9k^{2}m^{2}}}{9k^{2}+1} for y in the equation x=ky+b and solve to find the corresponding solution for x that satisfies both equations.
x=\left(-\frac{\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}+9bk}{9k^{2}+1}\right)k+b
Multiply k times -\frac{9bk+\sqrt{-9b^{2}+m^{2}+9k^{2}m^{2}}}{9k^{2}+1}.
x=\frac{\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}-9bk}{9k^{2}+1}k+b,y=\frac{\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}-9bk}{9k^{2}+1}\text{ or }x=\left(-\frac{\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}+9bk}{9k^{2}+1}\right)k+b,y=-\frac{\sqrt{9k^{2}m^{2}+m^{2}-9b^{2}}+9bk}{9k^{2}+1}
The system is now solved.