Expand the expression in the equation (y+1)2=0 We get the quadratic equation y2+2y+1=0 This equation is of the form
a*y^2 + b*y + c = 0
A quadratic equation can be solved using the discriminant. The roots of the quadratic equation: y1=2aD−b y2=2a−D−b where D = b^2 - 4*a*c - it is the discriminant. Because a=1 b=2 c=1 , then