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

Similar Problems from Web Search

Share

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