Algebra & Quadratic Equations

Quadratic Formula Calculator

Solve any quadratic equation \(ax^2 + bx + c = 0\) with exact simplified radical expressions, complex numbers, vertex coordinates, and interactive Cartesian parabola plots.

Quick Examples:
Quadratic Coefficients: \(ax^2 + bx + c = 0\)
Cannot be 0
Linear term
Constant term
Solutions / Roots (\(x\)) 2 Real Irrational Roots
Discriminant \(\Delta\)

72

Vertex \((h, k)\)

(-1, -9)

Axis of Symmetry

x = -1

y-Intercept

(0, -7)

Parabola Cartesian Graph: \(y = ax^2 + bx + c\) Auto-scaled with roots, vertex, and axis
Step-by-Step Quadratic Formula Working

How to Use the Quadratic Formula Calculator

  1. Write equation in standard form: Arrange your quadratic equation as \(ax^2 + bx + c = 0\), identifying the numerical coefficients for \(a\), \(b\), and \(c\). Note that \(a\) must not equal zero.
  2. Enter the coefficients: Type the values into the respective input fields. The calculator calculates reactively with zero delays.
  3. Read the exact radical roots: Inspect the primary result card to see the solutions written in fully simplified radical format (e.g., \(\frac{-1 \pm \sqrt{15}}{2}\)) or exact integers and fractions.
  4. Check decimal and complex roots: View decimal approximations for real solutions or complex conjugate roots (\(u \pm vi\)) if the discriminant is negative.
  5. Analyze the interactive parabola graph: Review the auto-scaled Cartesian graph displaying the x-intercepts (roots), vertex point \((h, k)\), y-intercept, and vertical axis of symmetry.

Problems This Quadratic Formula Calculator Solves

Avoids Sign Traps with \(-b\) and \(-4ac\)

The most common algebra error is misinterpreting \(-b\) when \(b\) is already negative (e.g. \(-(-5) = +5\)) and miscalculating \(-4ac\) when \(c\) is negative. This tool displays each sign operation explicitly.

Extracts and Simplifies Radical Surds

Simplifying \(\sqrt{72}\) to \(6\sqrt{2}\) and dividing numerator and denominator by common factors is tedious. The calculator performs exact radical extraction and greatest common divisor fraction reduction automatically.

Handles Complex and Imaginary Roots

When the discriminant is negative, standard basic calculators simply return an error. Our tool transitions smoothly to complex number arithmetic, outputting exact real and imaginary components \(u \pm vi\).

Connects Algebra to Geometric Parabolas

Students frequently solve quadratic equations algebraically without understanding that roots are x-intercepts. The interactive SVG Cartesian graph grounds the algebra in visual parabolic geometry.

Key Features & Capabilities

01
Exact Radical Reduction

Simplifies square roots into canonical surd form with reduced common denominators.

02
Cartesian Parabola Plot

Renders dynamic SVG parabola with roots, vertex, y-intercept, and axis of symmetry.

03
Complete Step-by-Step KaTeX

Detailed algebraic derivation showing substitution, discriminant, and root isolation.

The Intuitive Mental Model: Symmetrical Wings from the Parabolic Apex

Most students memorize the quadratic formula as a jumble of letters. But if you look closely, the formula is built from two elegant geometric pieces:

\[x = \underbrace{-\frac{b}{2a}}_{\text{Axis of Symmetry}} \pm \underbrace{\frac{\sqrt{b^2 - 4ac}}{2a}}_{\text{Horizontal Spread to Roots}}\]

The Center Pivot (Vertex)

The term \(-\frac{b}{2a}\) is the exact center line of the parabola. Whether a ball is thrown in the air or a suspension bridge cable hangs, the vertex marks the line of perfect bilateral symmetry.

The Radical Wing Spread

The \(\pm\) radical measures how far you must walk to the left and right from the center pivot to hit the ground (\(y = 0\)). If \(\Delta = 0\), you walk zero distance (the vertex touches the axis). If \(\Delta < 0\), the parabola never reaches the axis in the real plane.

Mastering the Quadratic Formula Across Every Skill Level

Level 1: Beginner

The Standard Form Setup

Reliable step-by-step checklist:

  • Shift all terms to one side so the right side is strictly zero: \(ax^2 + bx + c = 0\).
  • Extract \(a\), \(b\), and \(c\) with their signs intact.
  • Evaluate the discriminant \(\Delta = b^2 - 4ac\) separately before touching the square root.
Level 2: Intermediate

Radical Simplification & Conjugates

Exact analytical precision:

  • Pull square factors out of the radical: \(\sqrt{72} = 6\sqrt{2}\).
  • When dividing by \(2a\), factor the numerator first to prevent illegal partial cancellations.
  • Complex roots always appear in conjugate pairs: \(p \pm qi\).
Level 3: Advanced STEM

Vieta's Formulas & Numerical Stability

In theoretical math and computational engineering:

  • Vieta's Theorem: Sum of roots \(r_1 + r_2 = -b/a\); product \(r_1 r_2 = c/a\).
  • Floating-Point Cancellation: When \(b \approx \sqrt{b^2 - 4ac}\), subtracting causes catastrophic cancellation error. Stable code uses the Citardauq formula: \(x = \frac{2c}{-b \mp \sqrt{b^2 - 4ac}}\).

Common Traps & Exam Pitfalls to Avoid

⚠️ The Negative \(b\) Squaring Bug

If \(b = -6\), calculating \(-6^2 = -36\) on a calculator is a disaster. You must evaluate \((-6)^2 = +36\). The value \(b^2\) is always non-negative for real numbers.

⚠️ Short Fraction Bar Error

Writing \(-b \pm \frac{\sqrt{b^2-4ac}}{2a}\) where only the radical is divided by \(2a\) is completely false. The division bar spans the entire numerator: both \(-b\) and the radical are divided by \(2a\).

⚠️ Unstandardized Equations

In \(3x^2 + 2x = 8\), setting \(c = 8\) is wrong. You must subtract \(8\) to reach \(3x^2 + 2x - 8 = 0\), meaning \(c = -8\). Forgetting this flips the sign of \(-4ac\).

Derivation and Principles of the Quadratic Formula

The quadratic formula is the universal algebraic solution to the general second-degree equation \(ax^2 + bx + c = 0\):

\(x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\)

It is derived through completing the square on the general polynomial:

  1. Divide through by \(a\): \(x^2 + \frac{b}{a}x + \frac{c}{a} = 0\).
  2. Isolate variable terms: \(x^2 + \frac{b}{a}x = -\frac{c}{a}\).
  3. Add the completing square term \(\left(\frac{b}{2a}\right)^2 = \frac{b^2}{4a^2}\) to both sides: \[x^2 + \frac{b}{a}x + \frac{b^2}{4a^2} = \frac{b^2}{4a^2} - \frac{c}{a} = \frac{b^2 - 4ac}{4a^2}\]
  4. Factor the left side into a perfect square binomial: \[\left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2}\]
  5. Take the square root of both sides and isolate \(x\): \[x + \frac{b}{2a} = \pm \frac{\sqrt{b^2 - 4ac}}{2a} \implies x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\]

Understanding the Discriminant \(\Delta = b^2 - 4ac\)

Discriminant Value Nature of Roots Graphical Geometry (x-intercepts)
\(\Delta > 0\) (Square) Two distinct rational roots Parabola crosses x-axis at two rational points
\(\Delta > 0\) (Non-square) Two distinct irrational conjugate roots Parabola crosses x-axis at two irrational points
\(\Delta = 0\) One repeated real rational root (Double root) Parabola touches x-axis tangentially at its vertex
\(\Delta < 0\) Two complex conjugate roots (\(u \pm vi\)) Parabola does not intersect the x-axis

Worked Step-by-Step Examples

Example 1: Distinct Real Roots

Solve \(2x^2 - 5x + 2 = 0\)

Step 1: Identify coefficients: \(a = 2, b = -5, c = 2\).

Step 2: Calculate discriminant \(\Delta\):

\(\Delta = b^2 - 4ac = (-5)^2 - 4(2)(2) = 25 - 16 = 9\).

Step 3: Apply quadratic formula:

\(x = \frac{-(-5) \pm \sqrt{9}}{2(2)} = \frac{5 \pm 3}{4}\).

Roots: \(x_1 = \frac{5 + 3}{4} = 2\) and \(x_2 = \frac{5 - 3}{4} = \frac{1}{2}\).

Example 2: Complex Conjugate Roots

Solve \(x^2 + 4x + 13 = 0\)

Step 1: Identify coefficients: \(a = 1, b = 4, c = 13\).

Step 2: Calculate discriminant \(\Delta\):

\(\Delta = 4^2 - 4(1)(13) = 16 - 52 = -36\).

Step 3: Apply quadratic formula with imaginary unit \(i\):

\(x = \frac{-4 \pm \sqrt{-36}}{2(1)} = \frac{-4 \pm 6i}{2} = -2 \pm 3i\).

Roots: Two non-real complex conjugate roots: \(x = -2 + 3i\) and \(x = -2 - 3i\).

Frequently Asked Questions

What is the quadratic formula?
The quadratic formula is x = (-b ± sqrt(b^2 - 4ac)) / (2a). It provides the exact algebraic solutions (roots or x-intercepts) for any second-degree polynomial equation written in standard form ax^2 + bx + c = 0, provided that a is non-zero.
What role does the discriminant play in the quadratic formula?
The discriminant is the expression under the square root, Delta = b^2 - 4ac. If Delta > 0, the equation has two distinct real roots. If Delta = 0, there is exactly one repeated real root. If Delta < 0, there are two complex conjugate roots involving the imaginary unit i = sqrt(-1).
How do you simplify radicals in the quadratic formula?
Factor out any perfect square numbers (4, 9, 16, 25, etc.) from under the square root: sqrt(k * m) = sqrt(k) * sqrt(m). Then, divide all terms in the numerator and denominator by their greatest common factor to express the solution in reduced fraction form.
What happens if the coefficient 'a' equals zero?
If a = 0, the x^2 term vanishes, reducing the equation to linear form bx + c = 0. The quadratic formula cannot be applied because division by 2a would cause division by zero. A linear equation has a single solution x = -c / b.
How is the vertex of a parabola related to the quadratic formula?
The x-coordinate of the parabola's vertex is the axis of symmetry, given by h = -b / (2a). This is precisely the midpoint between the two roots in the quadratic formula before adding and subtracting the radical term.
Can the quadratic formula solve equations with non-integer coefficients?
Yes, the quadratic formula holds for all real (and even complex) coefficients. For decimal or fractional coefficients, you can multiply the entire equation by a common denominator to clear fractions, or input them directly into our calculator.