Factoring, Completing the Square & Quadratic Formula.
Enter any quadratic equation ax2+bx+c=0 to see exact real or complex roots and step-by-step algebra.
For any quadratic equation ax2+bx+c=0 (a=0), the roots are x=2a−b±b2−4ac. The discriminant Δ=b2−4ac determines whether there are 2 real roots (Δ>0), 1 repeated real root (Δ=0), or 2 complex conjugate roots (Δ<0).
| Discriminant $\Delta = b^2 - 4ac$ | Root Type | Graph Behavior |
|---|---|---|
| Δ>0 | Two distinct real roots | Crosses x-axis twice |
| Δ=0 | One repeated real root (x=−2ab) | Vertex touches x-axis |
| Δ<0 | Two complex conjugate roots | Does not cross x-axis |
Yes. When the discriminant b² - 4ac is negative, Thinkercan outputs exact complex conjugate roots in a + bi form.
Use factoring when ac splits cleanly into integer factors; use the quadratic formula whenever coefficients are messy or roots are irrational.