Quadratic Formula Calculator
Solve quadratic equations using the quadratic formula. Find real and complex roots with full step-by-step solution.
About the Quadratic Formula Calculator
A quadratic formula calculator solves any quadratic equation of the form ax^2 + bx + c = 0 by applying the quadratic formula, returning the roots (solutions) and showing every step of the calculation. The quadratic formula is one of the most important results in elementary algebra — it guarantees a solution exists for any quadratic equation with real coefficients, whether the solutions are real, repeated (double root), or complex (imaginary). Along with the roots, our calculator displays the discriminant (b^2 - 4ac), which determines the nature of the solutions; the vertex of the parabola y = ax^2 + bx + c; the axis of symmetry; and the factored form of the quadratic (when the roots are rational). Understanding the quadratic formula is essential for algebra, pre-calculus, physics (projectile motion), economics (profit maximisation), and engineering (control systems, signal processing).
Formula
x = (-b +/- sqrt(b^2 - 4ac)) / 2a | Discriminant D = b^2 - 4ac | Vertex x = -b/(2a)
How It Works
Quadratic formula: x = (-b +/- sqrt(b^2 - 4ac)) / (2a). The discriminant D = b^2 - 4ac determines the solution type: D > 0: two distinct real solutions. D = 0: one repeated real solution (double root) at x = -b/(2a). D < 0: two complex conjugate solutions (no real roots). Example: 2x^2 - 5x - 3 = 0. a=2, b=-5, c=-3. D = (-5)^2 - 4(2)(-3) = 25 + 24 = 49 > 0 (two distinct real roots). x = (5 +/- sqrt(49)) / (2x2) = (5 +/- 7) / 4. x1 = (5+7)/4 = 3 and x2 = (5-7)/4 = -0.5. Factored form: 2(x - 3)(x + 0.5) = (x-3)(2x+1). Vertex: x = -b/2a = 5/4 = 1.25. y = 2(1.25)^2 - 5(1.25) - 3 = 3.125 - 6.25 - 3 = -6.125. Vertex: (1.25, -6.125).
Tips & Best Practices
- ✓Discriminant shortcut: before applying the full formula, check D = b^2 - 4ac. If D is a perfect square, the roots are rational and the quadratic can be factored by inspection. Example: D = 49 means roots involve sqrt(49) = 7, giving clean rational answers.
- ✓Completing the square and the quadratic formula: the quadratic formula is derived by completing the square on the general form ax^2 + bx + c = 0. Understanding this derivation connects the formula to the geometric concept of the vertex.
- ✓Physics application: projectile height h = -16t^2 + v0*t + h0 (in feet) is a quadratic in t. Setting h = 0 and solving with the quadratic formula gives the time when the projectile hits the ground.
- ✓Sum and product of roots (Vieta's formulas): for ax^2 + bx + c = 0, x1 + x2 = -b/a and x1 x x2 = c/a. This allows quick checking of roots without multiplying them out.
- ✓Complex roots come in conjugate pairs: if a + bi is a root of a quadratic with real coefficients, then a - bi is also a root. Complex roots mean the parabola does not intersect the x-axis.
- ✓Quadratic formula versus factoring: for textbook problems, factoring is faster when it works cleanly. The quadratic formula always works — it is the universal fallback when factoring is not obvious.
- ✓Numerical precision: for equations where b^2 is very large relative to ac, the quadratic formula can suffer from cancellation errors in floating-point arithmetic. High-precision calculators use the numerically stable form.
- ✓Higher-degree polynomials: cubic (degree 3) and quartic (degree 4) equations also have general formulas (discovered in the 16th century), but they are extremely complex. For degree 5 and above, the Abel-Ruffini theorem proves no general algebraic formula exists.
Who Uses This Calculator
Algebra students solve quadratic equations and check that manual factoring and formula applications are correct. Pre-calculus students analyse parabola properties from the standard form. Physics students solve kinematic equations for time and distance in projectile motion. Economics students find profit-maximising output levels from quadratic cost and revenue functions. Engineering students solve quadratic characteristic equations for control system analysis. Computer graphics programmers find intersection points between rays and spheres (a quadratic intersection problem). Teachers create problems with specific root types (rational, irrational, complex) using the discriminant.
Optimised for: USA · Canada · UK · Australia · Calculations run in your browser · No data stored
Frequently Asked Questions
What is the quadratic formula?
x = (-b ± √(b²-4ac)) / 2a. The discriminant (b²-4ac) determines number of roots: positive=2 real, zero=1 real, negative=2 complex.