Quadratic Equation Solver
Solve ax² + bx + c = 0 - find real and complex roots instantly.
x² What is a Quadratic Equation?
A quadratic equation is a polynomial equation of degree 2, written in the standard form ax² + bx + c = 0, where a, b, and c are real numbers and a ≠ 0. The term "quadratic" comes from the Latin word quadratus meaning square, because the highest power of the variable is 2 (squared).
Quadratic equations arise everywhere in mathematics, physics, and engineering. The trajectory of a thrown ball follows a parabolic path described by a quadratic equation. The area of a rectangle with a fixed perimeter is a quadratic function of its dimensions. In electronics, the resonant frequency of an LC circuit involves solving a quadratic. In finance, calculating the internal rate of return can require solving a quadratic. Even the perspective projection in 3D graphics uses quadratic equations.
The graph of y = ax² + bx + c is always a parabola. When a > 0, it opens upward (U-shape); when a < 0, it opens downward (∩-shape). The roots of the equation are the x-coordinates where the parabola crosses the x-axis. The vertex is the highest or lowest point of the parabola, and the axis of symmetry passes through it vertically.
There are four methods to solve quadratic equations: factoring (fast for simple cases), completing the square (foundational technique), the quadratic formula (always works), and graphing (visual but imprecise). The quadratic formula is derived by completing the square on the general form and gives exact solutions - including complex roots - for any quadratic equation.
📐 Quadratic Formula
The discriminant Δ = b² − 4ac determines how many real solutions exist:
The vertex of the parabola is at (h, k) where h = −b/(2a) and k = c − b²/(4a). The sum of the roots is −b/a and the product of the roots is c/a (Vieta's formulas).