Question: if the discriminant is zero how many roots are there?
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.