Discriminant and x-axis intersections

The number of points a parabola shares with the xx-axis is decided by the sign of the discriminant D=b24acD = b^2 - 4ac: two points when D>0D > 0, one point (tangent) when D=0D = 0, and none when D<0D < 0.

The three parabolas on the graph compare the cases. y=x22x3y = x^2 - 2x - 3 has D=16>0D = 16 > 0 and crosses at x=1,3x = -1, 3. y=x22x+1=(x1)2y = x^2 - 2x + 1 = (x - 1)^2 has D=0D = 0 and touches the xx-axis at (1,0)(1, 0). y=x22x+2y = x^2 - 2x + 2 has D=4<0D = -4 < 0 and never meets the xx-axis. The large dots mark the shared points.