MathematicsVerified Mathematical Model

Quadratic Equation Solver

Solve any quadratic equation (ax² + bx + c = 0) with step-by-step discriminant analysis, real and complex roots, and parabola vertex.

Initializing calculation engine...
Educational Guide & Formulation

How to Calculate Quadratic Equation Solver

A quadratic equation is a second-order polynomial equation of the form ax² + bx + c = 0, where 'x' represents an unknown variable and 'a', 'b', and 'c' are constants with a ≠ 0. Graphically, every quadratic equation describes a parabola whose x-intercepts correspond directly to the roots of the equation.

Governing Mathematical Equation

x = (-b ± √(b² - 4ac)) / (2a)
VariableNameDescriptionUnit Example
aLeading Coefficient (x²)Controls the vertical stretch and direction (upward if a > 0, downward if a < 0).1
bLinear Coefficient (x)Shifts the parabola horizontally and affects the slope at the y-intercept.-5
cConstant TermThe y-intercept of the parabola where x = 0.6
ΔDiscriminant (b² - 4ac)Determines whether roots are real and distinct (Δ > 0), repeated (Δ = 0), or complex (Δ < 0).1

Step-by-Step Worked Example

Solve the quadratic equation x² - 5x + 6 = 0.

a
1
b
-5
c
6
1Calculate discriminant: Δ = (-5)² - 4(1)(6) = 25 - 24 = 1
2Because Δ = 1 > 0, there are two distinct real solutions
3Apply quadratic formula: x = (-(-5) ± √1) / 2(1) = (5 ± 1) / 2
4x₁ = (5 + 1) / 2 = 6 / 2 = 3
5x₂ = (5 - 1) / 2 = 4 / 2 = 2
Final Result: The solutions are x₁ = 3 and x₂ = 2, with the parabola vertex located at (2.5, -0.25).

Assumptions & Practical Limitations

  • The leading coefficient 'a' cannot equal zero; if a = 0, the equation reduces to a linear function.
  • Complex solutions use the imaginary unit i where i² = -1.
  • Extreme numerical magnitudes may be subject to standard 64-bit IEEE-754 floating-point precision limits.

Frequently Asked Questions

The formula is derived from ax² + bx + c = 0 by dividing the entire equation by 'a', moving 'c/a' to the right side, and completing the square: (x + b/(2a))² = (b² - 4ac) / (4a²), then taking the square root of both sides.

Related Calculators