Quadratic Formula Calculator
The universal quadratic algebra calculator for evaluating real and complex roots of $ax^2 + bx + c = 0$, analyzing the discriminant $\Delta$, finding vertex coordinates $(h, k)$, and plotting dynamic parabolic curves.
Equation Coefficients
ax² + bx + c = 0Vertex Form Parameters
y = a(x − h)² + kQuadratic Solutions & Roots
Interactive Parabola Curve Plot
Step-by-Step Quadratic Formula Derivation
How to Solve Quadratic Equations Using the Quadratic Formula
To solve any quadratic equation ax² + bx + c = 0, identify the coefficients a, b, and c (where a ≠ 0) and substitute them into the quadratic formula x = (−b ± √(b² − 4ac)) / (2a). The term under the square root (the discriminant Δ = b² − 4ac) indicates whether the solutions are two real numbers, one repeated real number, or two complex conjugates.
Anatomy of a Quadratic Equation (ax² + bx + c = 0)
A quadratic equation is a second-order polynomial equation in a single variable x where the highest exponent is 2. In standard form, it contains three distinct components:
Defines the curvature and opening direction of the parabola. If a > 0, the curve opens upward; if a < 0, it opens downward.
Determines the horizontal and vertical shift of the parabolic axis of symmetry off the y-axis.
The y-intercept of the parabola, corresponding to the point (0, c) where the curve intersects the vertical axis.
The Quadratic Formula & Discriminant Analysis (Δ = b² − 4ac)
The term under the radical in the quadratic formula is called the discriminant (Δ). It reveals the algebraic nature and geometric count of intersections without calculating the exact roots:
The parabola intersects the horizontal x-axis at two distinct real coordinate points (x₁ ≠ x₂).
The parabola is tangent to the x-axis; its vertex touches the horizontal axis exactly once (x = −b / 2a).
The parabola never crosses the x-axis. Roots exist in the complex plane as conjugate pairs (p ± qi).
Deriving the Formula via Completing the Square
The quadratic formula is derived directly from the standard quadratic equation using the algebraic technique of completing the square:
1. Start with standard form: ax² + bx + c = 0
2. Divide all terms by a: x² + (b/a)x + c/a = 0
3. Move the constant term to the right: x² + (b/a)x = −c/a
4. Add (b / 2a)² = b² / (4a²) to both sides to complete the perfect square trinomial:
x² + (b/a)x + b²/(4a²) = b²/(4a²) − c/a = (b² − 4ac) / (4a²)
5. Factor the left side as a binomial square: (x + b/(2a))² = (b² − 4ac) / (4a²)
6. Take the square root of both sides: x + b/(2a) = ±√(b² − 4ac) / (2a)
7. Isolate x: x = (−b ± √(b² − 4ac)) / (2a)
Parabola Geometry: Vertex (h, k), Axis of Symmetry & Extrema
Graphically, every quadratic function f(x) = ax² + bx + c traces a symmetrical U-shaped curve known as a parabola:
Vertex Coordinates (h, k)
The peak turning point of the curve is located at:
Axis of Symmetry & Vertex Form
The vertical line of bilateral mirror symmetry is x = h. Vertex form is:
Real-World Applications (Physics Trajectories & Optimization)
Quadratic equations model physical laws and optimization systems across multiple scientific fields:
Kinematics & Projectile Trajectories
Under uniform gravity g, the vertical position of an object is h(t) = −½gt² + v₀t + h₀. Solving for h(t) = 0 gives the exact landing time.
Revenue & Profit Maximization
Price-demand curves create parabolic revenue functions R(p) = −ap² + bp. The vertex gives the optimal price that maximizes profit.
Structural Engineering & Suspension Bridges
Suspension bridge main cables and parabolic arch bridges distribute compressive gravitational load uniformly to anchor abutments.
Optics & Satellite Reflectors
Paraboloid surfaces reflect incoming parallel light or radio waves directly to a single focus point, powering satellite dishes and telescope mirrors.
Step-by-Step Worked Examples
1. Identify coefficients: a = 2, b = −8, c = 6.
2. Calculate discriminant: Δ = (−8)² − 4(2)(6) = 64 − 48 = 16 (> 0 ⟹ 2 real roots).
3. Apply formula: x = [−(−8) ± √16] / (2 × 2) = [8 ± 4] / 4.
4. Evaluate roots: x₁ = (8 + 4)/4 = 3, x₂ = (8 − 4)/4 = 1.
1. Coefficients: a = 1, b = 2, c = 5.
2. Discriminant: Δ = (2)² − 4(1)(5) = 4 − 20 = −16 (< 0 ⟹ Complex roots).
3. Square root of negative discriminant: √−16 = 4i.
4. Evaluate: x = [−2 ± 4i] / 2 = −1 ± 2i.
Common Calculation Pitfalls & Sign Errors
Sign Error on −b
If b = −5, then −b = −(−5) = +5. Dropping the double negative is the #1 algebraic error students make.
Fractional Bar Division Scope
The denominator 2a divides the ENTIRE numerator [−b ± √Δ], not just the square root term.
Squaring Negative b Values
(−4)² = +16, never −16. The first term of the discriminant b² is always positive or zero.
Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.
Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.