Question: when discriminant is zero then roots are?
Answer: If the discriminant is equal to zero, this means that the quadratic equation has two real, identical roots. Therefore, there are two real, identical roots to the quadratic equation x2 + 2x + 1. D > 0 means two real, distinct roots.