Solve any quadratic equation ax² + bx + c = 0 instantly. Get real and complex roots with discriminant analysis and step-by-step solution.
Enter the coefficients a, b, and c for the equation ax² + bx + c = 0.
The quadratic formula solves any equation of the form ax² + bx + c = 0, where a is not zero. It is one of the few tools in school mathematics that works universally: every quadratic equation yields to it, including those that cannot be factored by inspection. The formula also reveals, through its discriminant, how many real solutions exist before you finish calculating them.
The expression under the square root, b² - 4ac, is called the discriminant. It determines the character of the solutions on its own.
| Discriminant | Solutions | Graph Meaning |
|---|---|---|
| Greater than 0 | Two distinct real solutions | Parabola crosses the x-axis twice |
| Equal to 0 | One repeated real solution | Parabola touches the x-axis once |
| Less than 0 | No real solutions | Parabola never reaches the x-axis |
Step 1: Identify the coefficients
Step 2: Calculate the discriminant
Step 3: Apply the formula
Step 4: Split into two solutions
Step 5: Check by substitution
The solutions are x = 3 and x = 0.5
The formula begins with negative b. If b is already negative, as in the example above, negative b becomes positive. Sign errors at this step are the single most common source of wrong answers. Write out the substitution explicitly rather than doing it mentally.
The formula requires ax² + bx + c = 0. Equations often arrive in other arrangements and must be rearranged first, with every term moved to one side.
Only now can the formula be applied
Quadratic equations describe any situation with a squared relationship, which turns out to be a great many. Projectile motion under gravity follows a parabola, which is why the formula appears throughout physics and engineering. Profit maximisation problems in economics, area optimisation in construction, and parabolic reflector design in optics all reduce to solving quadratics.
The quadratic formula is derived by completing the square on the general form ax² + bx + c = 0. It is not an arbitrary rule but the algebraic consequence of that process, which is why it works for every quadratic without exception. Methods for solving quadratics appear in Babylonian tablets from around 2000 BC, long before the modern notation existed.
When a quadratic can be factored, it's often the fastest method. For example, x² - 5x + 6 = (x-2)(x-3) = 0 gives x = 2 or x = 3. Finding factors often relies on the Greatest Common Factor.
This method transforms the equation into a perfect square trinomial. It's actually how the quadratic formula itself is derived, as explained in Purplemath's completing the square guide.
The solutions (roots) of a quadratic equation are the x-intercepts of the corresponding parabola y = ax² + bx + c.
If a = 0, the equation becomes linear (bx + c = 0), not quadratic. The solution is simply x = -c/b. A quadratic equation must have a ≠ 0.
When the discriminant is negative, the square root of a negative number involves the imaginary unit i (where i² = -1). The roots come in conjugate pairs: a + bi and a - bi. Complex numbers are widely used in electrical engineering and quantum physics.
The quadratic formula is derived by completing the square on the general equation ax² + bx + c = 0. You isolate x by systematically transforming the equation into a perfect square on one side.
No, the quadratic formula only works for degree-2 equations. Cubic (degree 3) and quartic (degree 4) have their own formulas. Equations of degree 5 or higher have no general algebraic formula (proven by Abel-Ruffini theorem).
The discriminant is b squared minus 4ac, the part under the square root. If it is positive there are two distinct real solutions; if zero there is exactly one; if negative there are no real solutions, only complex ones. It tells you the nature of the answer before you finish solving.
Factor when the numbers are small and the factors are obvious, because it is faster. Use the formula when factoring is not apparent, when the coefficients are awkward, or when the solutions are irrational. The formula always works; factoring only sometimes does.
Because squaring both a positive and a negative number gives a positive result, so the square root step produces two values. Graphically, a parabola can cross the horizontal axis at two points, and each crossing is a solution.
Then the equation is not quadratic, it is linear, and the formula does not apply because you would be dividing by zero. Solve bx plus c equals zero directly instead, giving x equals negative c over b.
This calculator is provided for educational purposes.