🎯 Quadratic Equation Solver

Solve equations in the form ax² + bx + c = 0 using the quadratic formula

Enter Coefficients

x² + x + = 0

Solutions

x₁: 3
x₂: 2
Discriminant (Δ): 1

Vertex Form

Vertex (h, k): (2.5, -0.25)
Axis of Symmetry: x = 2.5

📊 Parabola Graph

Visual representation of the quadratic function y = ax² + bx + c

Parabola
Roots (x-intercepts)
Vertex
Axis of symmetry

Solution Steps

How to Use This Calculator

  1. Write your quadratic equation in standard form: ax² + bx + c = 0
  2. Enter the coefficient a (the number before x²). If there's no number, a = 1
  3. Enter the coefficient b (the number before x). Remember to use negative values if applicable
  4. Enter the constant c (the standalone number). Use negative if the equation has subtraction
  5. Solutions appear automatically, showing both roots (x₁ and x₂)
  6. Check the discriminant to understand the type of roots: positive = two real roots, zero = one repeated root, negative = complex roots
  7. View the vertex and axis of symmetry to understand the parabola's shape
  8. Review the step-by-step solution to see how the quadratic formula was applied

Understanding Quadratic Equations

What is a Quadratic Equation?

A quadratic equation is a polynomial equation of degree 2, meaning the highest exponent is 2. The standard form is ax² + bx + c = 0, where a ≠ 0. These equations create U-shaped curves called parabolas when graphed. Examples include x² - 5x + 6 = 0, 2x² + 3x - 2 = 0, and x² - 4 = 0. Quadratic equations appear in physics (projectile motion), engineering (optimization problems), and finance (profit calculations).

The Quadratic Formula Explained

The quadratic formula x = (-b ± √(b² - 4ac)) / 2a solves any quadratic equation by substituting the coefficients a, b, and c. The ± symbol indicates two solutions. The expression under the square root, b² - 4ac, is the discriminant (Δ). It determines whether solutions are real or complex: Δ > 0 gives two real solutions, Δ = 0 gives one repeated solution, and Δ < 0 gives two complex solutions with imaginary components.

Why Quadratic Equations Matter

Quadratic equations model countless real-world phenomena. In physics, they describe projectile trajectories (like a thrown ball's path). In business, they optimize profit by finding maximum revenue points. In engineering, they calculate optimal dimensions and structural loads. Understanding how to solve them is fundamental to algebra, calculus, and advanced mathematics. The quadratic formula guarantees a solution exists for every quadratic equation, making it a powerful universal tool.

Tips for Solving Quadratics

1) Always write equations in standard form (ax² + bx + c = 0) before identifying coefficients. 2) Pay attention to signs—a negative coefficient must be entered as a negative number. 3) Check if the equation can be factored easily before using the formula. 4) Remember that a = 0 means it's not a quadratic equation (it's linear). 5) The discriminant quickly tells you if you'll get real or complex roots before calculating. 6) Verify solutions by substituting them back into the original equation.

⚠️ Common Mistakes When Solving Quadratics

Mistake #1: Sign errors when identifying coefficients

Wrong approach: For x² - 5x + 6 = 0, setting b = 5 instead of b = -5

Why it's wrong: The coefficient includes its sign. When you see -5x, that means b = -5, not +5.

How to avoid: Always rewrite the equation in standard form (ax² + bx + c = 0) first, keeping track of all signs.

Mistake #2: Forgetting the ± in the quadratic formula

Wrong approach: Only calculating x = (-b + √Δ) / 2a and missing the second solution

Why it's wrong: Quadratic equations have TWO solutions (unless discriminant = 0). The ± gives both x₁ and x₂.

How to avoid: Always calculate BOTH solutions: one with +√Δ and one with -√Δ.

Mistake #3: Forgetting parentheses in the formula

Wrong calculation: x = -b + √(b² - 4ac) / 2a, dividing only the radical by 2a

Why it's wrong: The entire numerator (-b ± √Δ) must be divided by 2a, not just the square root.

Correct formula: x = (-b ± √(b² - 4ac)) / (2a) — the whole numerator over the whole denominator

Mistake #4: Not checking if a = 0

Wrong approach: Trying to solve 0x² + 3x - 5 = 0 as a quadratic

Why it's wrong: If a = 0, it's not a quadratic equation—it's linear! You'll get division by zero.

How to avoid: Always verify a ≠ 0 before applying the quadratic formula. If a = 0, solve as a linear equation.

Mistake #5: Miscalculating the discriminant

Wrong calculation: Δ = b² - 4ac, but forgetting to square b or multiply by 4

Example: For 2x² - 3x + 1 = 0, calculating 3 - 4(2)(1) = 3 - 8 = -5 instead of 9 - 8 = 1

How to avoid: Write it step by step: b² - 4ac = (-3)² - 4(2)(1) = 9 - 8 = 1. Square first, then multiply.

Mistake #6: Not simplifying the equation first

Wrong approach: Applying the formula to 2x² + 4x - 6 = 8 without moving everything to one side

Why it's wrong: The formula only works when the equation equals zero.

Correct method: Rewrite as 2x² + 4x - 14 = 0, then identify a = 2, b = 4, c = -14.

Mistake #7: Misinterpreting complex/imaginary roots

Wrong thinking: "The discriminant is negative, so there's no solution."

Why it's wrong: There ARE solutions—they're just complex (involving i = √-1).

Correct interpretation: Negative discriminant means two complex conjugate roots: a + bi and a - bi.

Frequently Asked Questions

What is the quadratic formula?

The quadratic formula is x = (-b ± √(b² - 4ac)) / 2a. It solves any quadratic equation in the form ax² + bx + c = 0. The ± symbol means there are typically two solutions (x₁ and x₂). The expression under the square root (b² - 4ac) is called the discriminant.

What does the discriminant tell me?

The discriminant (Δ = b² - 4ac) determines the nature of solutions: If Δ > 0, there are two distinct real roots. If Δ = 0, there is one repeated real root (the parabola touches the x-axis at one point). If Δ < 0, there are two complex (imaginary) roots (the parabola doesn't cross the x-axis).

Can this solver handle complex roots?

Yes! When the discriminant is negative, this calculator displays complex roots in the form a + bi and a - bi, where i is the imaginary unit (√-1). For example, if the discriminant is -4, the calculator will show roots like 2 + 1i and 2 - 1i.

What is the vertex of a quadratic equation?

The vertex (h, k) is the highest or lowest point on the parabola. h = -b/2a gives the x-coordinate, and k is found by substituting h back into the equation. If a > 0, the parabola opens upward and the vertex is the minimum point. If a < 0, it opens downward and the vertex is the maximum point.

How accurate is this quadratic solver?

This calculator uses the mathematically exact quadratic formula, providing accurate solutions to at least 4 decimal places. Results are precise for all real and complex root calculations within JavaScript's floating-point arithmetic limits.

Is this tool free to use?

Yes! This quadratic equation solver is completely free with no hidden costs, subscriptions, or limitations. Use it for homework, test preparation, or any mathematical needs.

Is my data private?

Absolutely. All calculations are performed locally in your browser. Your equations and solutions never leave your device and are not stored on any server.