Quadratic Equation

Mathematics

Solve quadratic equations using the formula

A quadratic equation is any equation that can be written in the standard form ax² + bx + c = 0, where a, b, and c are known numbers and a is never zero. These equations show up everywhere — from calculating the trajectory of a thrown ball to modeling profit curves in business, designing parabolic satellite dishes, and solving physics problems involving acceleration. Because the variable x appears squared, a quadratic equation generally has two solutions (called roots), though it can also have exactly one repeated root or two complex roots, depending on the values of a, b, and c.

Solving a quadratic by hand means either factoring, completing the square, or applying the quadratic formula: x = (-b ± √(b² - 4ac)) / 2a. Factoring only works cleanly when the roots are simple integers or fractions, and completing the square is tedious and error-prone. The quadratic formula always works, but the arithmetic under the square root — the discriminant, b² - 4ac — can quickly get messy, especially with decimals or negative numbers, and a single sign error throws off the whole answer.

Our quadratic equation calculator removes that risk. Enter the coefficients a, b, and c, and the tool instantly computes the discriminant, tells you whether the roots are real or complex, and returns both solutions with full precision. It is built for students checking homework, teachers preparing answer keys, and anyone who needs a fast, accurate way to solve ax² + bx + c = 0 without redoing algebra by hand.

Why Quadratic Equation Matters

Quadratic equations are one of the most widely used tools in algebra because parabolic relationships appear constantly in the real world:

Physics and engineering: Projectile motion (the height of a ball thrown in the air), the trajectory of a rocket, and the shape of suspension bridge cables are all modeled by quadratic equations. Finding when an object hits the ground means solving a quadratic for time.

Business and economics: Profit functions are often quadratic — revenue minus cost curves that peak at a maximum. Solving for the roots tells a business the break-even points where profit equals zero.

Design and geometry: Satellite dishes, telescope mirrors, and architectural arches use parabolic curves. Engineers solve quadratics to determine dimensions and focal points.

Academics: Quadratic equations are a core topic in Algebra I and II, tested heavily on the SAT, ACT, and standardized math exams. Being able to verify your factoring or formula work with a calculator builds confidence and catches arithmetic mistakes before a test.

Computer graphics and animation: Curved motion paths, easing functions, and collision detection in video games and animation software frequently rely on quadratic equations to calculate where and when two moving objects intersect.

The Quadratic Equation Formula, Explained

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

Where a, b, and c are the coefficients from the standard form ax² + bx + c = 0, and a ≠ 0. The expression under the square root, b² - 4ac, is called the discriminant and determines the nature of the roots.

If the discriminant is positive, the equation has two distinct real roots — the parabola crosses the x-axis at two points. If the discriminant equals zero, there is exactly one real root (a repeated root), meaning the parabola touches the x-axis at a single point, its vertex. If the discriminant is negative, the equation has two complex conjugate roots of the form p ± qi, meaning the parabola never touches the x-axis at all.

The ± symbol produces two answers: one root using addition (-b + √(discriminant)) / 2a and one using subtraction (-b - √(discriminant)) / 2a. Both values, when substituted back into the original equation, make it true.

How to Use the Quadratic Equation: Step by Step

  1. Write the equation in standard form

    Rearrange your equation so it reads ax² + bx + c = 0, with all terms on one side and zero on the other.

  2. Identify coefficients a, b, and c

    a is the coefficient of x², b is the coefficient of x, and c is the constant term. Note the correct sign for each.

  3. Enter the values into the calculator

    Input a, b, and c exactly as they appear, including negative signs. The calculator does not require you to simplify first.

  4. Review the discriminant

    The calculator computes b² - 4ac and tells you whether the equation has two real roots, one repeated root, or two complex roots.

  5. Read the solutions

    The calculator displays both values of x, rounded to a precise decimal or expressed with a radical or imaginary unit i as appropriate.

Quadratic Equation Examples: Real-World Scenarios

1

Two Real Roots — Factorable Equation

A student needs to solve x² - 5x + 6 = 0 for an algebra assignment.

a:1
b:-5
c:6

Calculation

Discriminant = (-5)² - 4(1)(6) = 25 - 24 = 1. x = (5 ± √1) / 2 = (5 ± 1) / 2

Result

x = 3 and x = 2. Both roots are real, rational integers — this equation could also be solved by factoring as (x-2)(x-3) = 0.

2

Two Real Roots — Non-Integer Solutions

An engineer models a trajectory with the equation 2x² + 3x - 2 = 0 and needs the exact roots.

a:2
b:3
c:-2

Calculation

Discriminant = 3² - 4(2)(-2) = 9 + 16 = 25. x = (-3 ± √25) / 4 = (-3 ± 5) / 4

Result

x = 0.5 and x = -2. Since the discriminant (25) is a perfect square, both roots are rational.

3

Two Complex Roots — Negative Discriminant

A student encounters x² + 4x + 13 = 0 and finds the parabola never crosses the x-axis.

a:1
b:4
c:13

Calculation

Discriminant = 4² - 4(1)(13) = 16 - 52 = -36. x = (-4 ± √(-36)) / 2 = (-4 ± 6i) / 2

Result

x = -2 + 3i and x = -2 - 3i. The negative discriminant confirms there are no real solutions, only a complex conjugate pair.

Common Mistakes to Avoid

  • Misidentifying coefficients — forgetting that a term like "-x²" means a = -1, or missing a coefficient of 1 when a variable appears without a written number in front.
  • Sign errors in the discriminant — 4ac can be positive or negative depending on the signs of a and c; always compute -4ac carefully before subtracting from b².
  • Forgetting the ± — only calculating one root and missing the second solution entirely.
  • Not simplifying the equation to standard form first — if terms are on both sides of the equals sign, move everything to one side before identifying a, b, and c.
  • Assuming a negative discriminant means "no solution" rather than "no real solution" — the equation still has two valid complex roots.

Tips & Tricks

  • If the discriminant is a perfect square (like 1, 4, 9, 16, 25), the roots will be rational numbers and the equation could likely have been factored directly.
  • Always double check by substituting your calculated roots back into the original equation — both should make the equation equal zero.
  • The sum of the roots always equals -b/a, and the product of the roots always equals c/a. Use these relationships to sanity-check your calculator results quickly.
  • For word problems (projectile motion, area, profit), discard any root that doesn't make physical sense, such as a negative time or negative length.

The quadratic formula works for every quadratic equation, no matter how ugly the coefficients look, and this calculator handles the arithmetic instantly so you can focus on setting up the problem correctly. Whether you're checking homework, solving a physics trajectory, or finding the break-even points of a business model, entering a, b, and c gives you accurate real or complex roots every time. For a deeper conceptual walkthrough of where the formula comes from and how completing the square derives it, see the resources linked below. Save this page and return to it any time a quadratic shows up in a homework set, exam review, or real-world modeling problem.

Quadratic Equation — Frequently Asked Questions

Related Calculators

Authoritative References

External links open in a new tab. OmniCalc.us is not affiliated with these organisations.

Related Calculators