Quadratic Formula Calculator
Solve quadratic equations using the quadratic formula. Returns real or complex roots with
What Is the Quadratic Formula?
The quadratic formula solves any equation of the form ax² + bx + c = 0. The formula is x = (-b plus or minus the square root of (b² - 4ac)) / (2a). It produces two solutions (roots) that tell you where a parabola crosses the x-axis. Enter the coefficients a, b, and c in the calculator above to find both solutions instantly, including real and complex roots.
How to Use the Quadratic Formula?
Identify a, b, and c from your equation. For 2x² - 5x + 3 = 0: a = 2, b = -5, c = 3. Substitute into the formula: x = (5 plus or minus sqrt(25 - 24)) / 4 = (5 plus or minus 1) / 4. The two solutions are x = 6/4 = 1.5 and x = 4/4 = 1. Always write the equation in standard form (ax² + bx + c = 0) before identifying coefficients. If the equation is 3x² = 12, rewrite as 3x² - 12 = 0 (a=3, b=0, c=-12).
What Is the Discriminant?
The discriminant is the expression under the square root: b² - 4ac. It determines the nature of the solutions without solving the full equation. If the discriminant is positive, the equation has two distinct real roots (the parabola crosses the x-axis twice). If the discriminant equals zero, there is exactly one real root, a repeated root (the parabola touches the x-axis at one point). If the discriminant is negative, there are no real roots, only two complex conjugate roots (the parabola never crosses the x-axis). The discriminant is a quick diagnostic tool used before committing to the full calculation.
Alternative Methods for Solving Quadratics
Factoring works when the equation factors neatly. x² - 5x + 6 = 0 factors as (x-2)(x-3) = 0, giving x = 2 and x = 3. Not all quadratics factor over integers, which is why the formula is necessary. Completing the square rewrites the equation to isolate x. It is the method used to derive the quadratic formula itself. Graphing finds approximate roots by identifying where the parabola crosses the x-axis. The quadratic formula always works regardless of whether the equation factors cleanly, making it the universal method.
Quadratic Equations in Real Life
Projectile motion follows quadratic equations: the height of a ball thrown upward is h = -16t² + v₀t + h₀ (in feet, with time in seconds). Setting h = 0 and solving tells you when the ball hits the ground. Business profit models are often quadratic: revenue increases with price up to a point, then decreases as customers leave, creating a parabolic curve. The maximum profit occurs at the vertex. Bridge arches, satellite dish shapes, and headlight reflectors are parabolas described by quadratic equations. Optimization problems in economics, engineering, and science frequently reduce to finding the roots or vertex of a quadratic.
Complex Roots and the Discriminant
When the discriminant is negative, the square root produces an imaginary number. For x² + 4 = 0: discriminant = 0 - 16 = -16. The solutions are x = plus or minus sqrt(-16) / 2 = plus or minus 4i / 2 = plus or minus 2i. Complex roots always come in conjugate pairs (a + bi and a - bi). In electrical engineering, complex roots describe oscillating circuits. In control systems, they indicate system stability. While complex roots may seem abstract in algebra class, they have direct physical meaning in engineering applications.
Vertex Form and Maximum/Minimum
The vertex of a parabola ax² + bx + c occurs at x = -b/(2a). This x-value gives the maximum (if a is negative) or minimum (if a is positive) of the quadratic function. Substituting back gives the y-value of the vertex. For -2x² + 12x - 10: vertex x = -12/(2 times -2) = 3, and y = -2(9) + 36 - 10 = 8. The maximum value is 8 at x = 3. This technique optimizes area, profit, projectile height, and any quantity modeled by a quadratic function. The vertex formula and the quadratic formula together provide complete analysis of any parabola: the quadratic formula finds where it crosses the x-axis, while the vertex formula finds its peak or trough.
Frequently asked questions
What is the quadratic formula?
What is the discriminant?
Can all quadratic equations be solved by factoring?
What is the vertex of a parabola?
What are complex roots?
Where are quadratic equations used?
Rate This Calculator
Your feedback helps us improve our tools