Quadratic Formula Calculator

x = (-b ± √(b²-4ac)) / 2a

x₁ = -2.0000

x₂ = -3.0000

D = 1.0000

Vertex: (-2.5000, -0.2500)

The Quadratic Formula: Complete Guide

The quadratic formula is one of the most important equations in mathematics, providing a universal method for solving any second-degree polynomial equation. Dating back to ancient civilizations but fully formalized during the Islamic Golden Age, this formula remains essential for students, engineers, scientists, and anyone working with quadratic relationships.

Understanding the Formula

For any quadratic equation in the form ax² + bx + c = 0, where a, b, and c are constants and a ≠ 0, the solutions are given by:

x = (-b ± √(b² - 4ac)) / 2a

The ± symbol indicates there are typically two solutions—one using plus and one using minus. These represent the two x-intercepts of the parabola on a coordinate plane.

Breaking Down the Components

  • ax²: The quadratic term, defining the parabola's shape
  • bx: The linear term, determining the parabola's horizontal position
  • c: The constant term, the y-intercept of the parabola
  • b² - 4ac: The discriminant, determining root nature
  • 2a: The denominator, scaling the solutions

The Discriminant: b² - 4ac

The discriminant reveals the nature of the roots without solving:

DiscriminantRootsParabola
D > 0Two real, distinctCrosses x-axis twice
D = 0One repeated realTouches x-axis once
D < 0Two complex conjugatesNever touches x-axis

The Vertex: Maximum or Minimum Point

Every parabola has a vertex—the point where it changes direction. For y = ax² + bx + c:

Vertex x-coordinate: x = -b/(2a)
Vertex y-coordinate: y = -D/(4a)

When a > 0, the parabola opens upward and the vertex is a minimum. When a < 0, it opens downward and the vertex is a maximum. This is fundamental for optimization problems.

Step-by-Step Examples

Example 1: Solve x² + 5x + 6 = 0

a = 1, b = 5, c = 6

D = 25 - 24 = 1 > 0 (two real roots)

x = (-5 ± √1) / 2

x₁ = (-5 + 1)/2 = -2, x₂ = (-5 - 1)/2 = -3

Example 2: Solve 2x² - 8x + 8 = 0

a = 2, b = -8, c = 8

D = 64 - 64 = 0 (one repeated root)

x = (8 ± 0) / 4 = 2

The parabola touches the x-axis at x = 2

Example 3: Solve x² + 4 = 0

a = 1, b = 0, c = 4

D = 0 - 16 = -16 < 0 (complex roots)

x = ±√(-16) / 2 = ±4i / 2

x₁ = 2i, x₂ = -2i (imaginary conjugates)

Alternative Solution Methods

While the quadratic formula always works, other methods may be faster:

  • Factoring: Express as (x - r₁)(x - r₂) = 0 when roots are integers. Fast but not always possible.
  • Square Root Method: For equations like x² = 9, simply take square roots: x = ±3. Only works when b = 0.
  • Completing the Square: Rewrites the equation to reveal roots. Useful when deriving the quadratic formula itself.

Applications in the Real World

  • Physics: Projectile trajectories follow parabolic paths. Quadratic equations determine launch angles, maximum heights, and impact times.
  • Architecture: Parabolic arches and domes distribute weight efficiently. The quadratic formula helps calculate structural dimensions.
  • Finance: Compound interest calculations, profit maximization, and break-even analysis often lead to quadratic equations.
  • Computer Graphics: Quadratic Bezier curves create smooth animations and font outlines in digital design.
  • Sports: Optimal launch angles for basketball shots, javelin throws, and golf drives are found using quadratic equations.

Graphical Interpretation

The quadratic formula solutions represent where the parabola y = ax² + bx + c crosses the x-axis (where y = 0). The axis of symmetry is the vertical line x = -b/(2a), which passes through the vertex and exactly halfway between the two roots (or through the single root when they coincide).

Remember: The quadratic formula works for ALL quadratic equations. Even if factoring seems possible, the quadratic formula provides a reliable backup method. When in doubt, use the formula!