Quadratic Equation Solver & Grapher
Solve quadratic equations instantly with real and complex roots. Features an interactive SVG graph that visualizes the parabola and x-intercepts.
Equation Coefficients
About
Quadratic equations model parabolic trajectories, fluid dynamics, and profit maximization. Solving them manually involves the quadratic formula, but visualizing the result provides deeper intuition. This tool combines a logic engine for finding roots - including imaginary numbers (i) when the parabola never touches the X-axis - with a vector-based graphing engine.
The solver computes the discriminant Δ to determine the nature of the roots. If Δ < 0, the solutions exist in the complex plane. The accompanying graph dynamically scales the viewport to focus on the vertex and intercepts, ensuring the curve is always visible.
Formulas
The standard form is ax2 + bx + c = 0. The roots are found via:
The vertex coordinates (h, k) are calculated as:
Reference Data
| Discriminant (Δ) | Root Type | Graph Behavior |
|---|---|---|
| Δ > 0 | Two distinct real roots | Intersects X-axis twice |
| Δ = 0 | One real repeated root | Touches X-axis at vertex |
| Δ < 0 | Two complex conjugate roots | Does not touch X-axis |