Two real roots
A standard parabola crosses the x-axis twice and is easy to inspect around the vertex.
- Coefficient a
- 1
- Coefficient b
- -5
- Coefficient c
- 6
- Target y value
- 0
- Sample range
- -2 to 7
The solver should return two real roots at x = 2 and x = 3 with a positive discriminant.
Open the step-by-step view after loading the example if you want to inspect the formula substitutions.
No real roots
This equation stays above the x-axis, so the solver has to explain complex roots instead of visible intersections.
- Coefficient a
- 1
- Coefficient b
- 2
- Coefficient c
- 5
- Target y value
- 0
- Sample range
- -6 to 2
The discriminant is negative here, so the roots are complex and the graph never reaches the target line on the real plane.
Change c from 5 to 0 after loading the example to see when the curve starts intersecting the axis.