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

Similar Problems from Web Search

Share

y^{2}+2y=21
All equations of the form ax^{2}+bx+c=0 can be solved using the quadratic formula: \frac{-b±\sqrt{b^{2}-4ac}}{2a}. The quadratic formula gives two solutions, one when ± is addition and one when it is subtraction.
y^{2}+2y-21=21-21
Subtract 21 from both sides of the equation.
y^{2}+2y-21=0
Subtracting 21 from itself leaves 0.
y=\frac{-2±\sqrt{2^{2}-4\left(-21\right)}}{2}
This equation is in standard form: ax^{2}+bx+c=0. Substitute 1 for a, 2 for b, and -21 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
y=\frac{-2±\sqrt{4-4\left(-21\right)}}{2}
Square 2.
y=\frac{-2±\sqrt{4+84}}{2}
Multiply -4 times -21.
y=\frac{-2±\sqrt{88}}{2}
Add 4 to 84.
y=\frac{-2±2\sqrt{22}}{2}
Take the square root of 88.
y=\frac{2\sqrt{22}-2}{2}
Now solve the equation y=\frac{-2±2\sqrt{22}}{2} when ± is plus. Add -2 to 2\sqrt{22}.
y=\sqrt{22}-1
Divide -2+2\sqrt{22} by 2.
y=\frac{-2\sqrt{22}-2}{2}
Now solve the equation y=\frac{-2±2\sqrt{22}}{2} when ± is minus. Subtract 2\sqrt{22} from -2.
y=-\sqrt{22}-1
Divide -2-2\sqrt{22} by 2.
y=\sqrt{22}-1 y=-\sqrt{22}-1
The equation is now solved.
y^{2}+2y=21
Quadratic equations such as this one can be solved by completing the square. In order to complete the square, the equation must first be in the form x^{2}+bx=c.
y^{2}+2y+1^{2}=21+1^{2}
Divide 2, the coefficient of the x term, by 2 to get 1. Then add the square of 1 to both sides of the equation. This step makes the left hand side of the equation a perfect square.
y^{2}+2y+1=21+1
Square 1.
y^{2}+2y+1=22
Add 21 to 1.
\left(y+1\right)^{2}=22
Factor y^{2}+2y+1. In general, when x^{2}+bx+c is a perfect square, it can always be factored as \left(x+\frac{b}{2}\right)^{2}.
\sqrt{\left(y+1\right)^{2}}=\sqrt{22}
Take the square root of both sides of the equation.
y+1=\sqrt{22} y+1=-\sqrt{22}
Simplify.
y=\sqrt{22}-1 y=-\sqrt{22}-1
Subtract 1 from both sides of the equation.
y^{2}+2y=21
All equations of the form ax^{2}+bx+c=0 can be solved using the quadratic formula: \frac{-b±\sqrt{b^{2}-4ac}}{2a}. The quadratic formula gives two solutions, one when ± is addition and one when it is subtraction.
y^{2}+2y-21=21-21
Subtract 21 from both sides of the equation.
y^{2}+2y-21=0
Subtracting 21 from itself leaves 0.
y=\frac{-2±\sqrt{2^{2}-4\left(-21\right)}}{2}
This equation is in standard form: ax^{2}+bx+c=0. Substitute 1 for a, 2 for b, and -21 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
y=\frac{-2±\sqrt{4-4\left(-21\right)}}{2}
Square 2.
y=\frac{-2±\sqrt{4+84}}{2}
Multiply -4 times -21.
y=\frac{-2±\sqrt{88}}{2}
Add 4 to 84.
y=\frac{-2±2\sqrt{22}}{2}
Take the square root of 88.
y=\frac{2\sqrt{22}-2}{2}
Now solve the equation y=\frac{-2±2\sqrt{22}}{2} when ± is plus. Add -2 to 2\sqrt{22}.
y=\sqrt{22}-1
Divide -2+2\sqrt{22} by 2.
y=\frac{-2\sqrt{22}-2}{2}
Now solve the equation y=\frac{-2±2\sqrt{22}}{2} when ± is minus. Subtract 2\sqrt{22} from -2.
y=-\sqrt{22}-1
Divide -2-2\sqrt{22} by 2.
y=\sqrt{22}-1 y=-\sqrt{22}-1
The equation is now solved.
y^{2}+2y=21
Quadratic equations such as this one can be solved by completing the square. In order to complete the square, the equation must first be in the form x^{2}+bx=c.
y^{2}+2y+1^{2}=21+1^{2}
Divide 2, the coefficient of the x term, by 2 to get 1. Then add the square of 1 to both sides of the equation. This step makes the left hand side of the equation a perfect square.
y^{2}+2y+1=21+1
Square 1.
y^{2}+2y+1=22
Add 21 to 1.
\left(y+1\right)^{2}=22
Factor y^{2}+2y+1. In general, when x^{2}+bx+c is a perfect square, it can always be factored as \left(x+\frac{b}{2}\right)^{2}.
\sqrt{\left(y+1\right)^{2}}=\sqrt{22}
Take the square root of both sides of the equation.
y+1=\sqrt{22} y+1=-\sqrt{22}
Simplify.
y=\sqrt{22}-1 y=-\sqrt{22}-1
Subtract 1 from both sides of the equation.