Quadratic Equation Solver
Solve any quadratic equation ax² + bx + c = 0. Get both roots, the discriminant, vertex coordinates, and axis of symmetry with full working shown.
Solve ax² + bx + c = 0
What Is a Quadratic Equation Solver?
The quadratic equation solver finds the roots of any equation in the form ax² + bx + c = 0 using the quadratic formula. This formula, derived by completing the square, has been used for over a thousand years and remains one of the most important tools in algebra. Enter any coefficients and the calculator returns both solutions, whether they are real, repeated, or complex.
The discriminant (b² − 4ac) determines the nature of the roots. When it is positive, the equation has two distinct real roots and the parabola crosses the x-axis at two points. When it equals zero, there is exactly one repeated root and the parabola touches the x-axis at its vertex. When the discriminant is negative, there are no real roots — the parabola does not intersect the x-axis — and the solutions are complex conjugates involving the imaginary unit i.
Beyond finding roots, the calculator provides the vertex of the parabola and its axis of symmetry. These are essential for graphing quadratic functions and for optimisation problems. Engineers use quadratics to model projectile trajectories, economists use them for cost and revenue curves, and physicists apply them in kinematics equations. Understanding the quadratic formula is a gateway to higher mathematics including calculus and differential equations.
How Do You Use This Quadratic Equation Solver?
Enter the coefficients a, b, and c from your equation ax² + bx + c = 0. Click Calculate to see both roots (real or complex), the discriminant value, the vertex, and the axis of symmetry.
- Identify the coefficients a, b, and c from your equation ax² + bx + c = 0.
- Enter each coefficient into the corresponding input field.
- Click Calculate to apply the quadratic formula.
- Check the discriminant value to understand the nature of the roots.
- Read both roots from the results — real values or complex numbers.
- Review the vertex coordinates and axis of symmetry for graphing.
How Does the Quadratic Equation Solver Formula Work?
The formula used: x = (-b ± √(b² - 4ac)) / 2a; Discriminant Δ = b² - 4ac; Vertex = (-b/2a, f(-b/2a))
The quadratic formula solves any equation of the form ax² + bx + c = 0 for x. It is derived by completing the square on the general form.
x = (-b ± √(b² - 4ac)) / (2a)
The expression under the square root, Δ = b² - 4ac, is the discriminant. If Δ > 0, two distinct real roots exist. If Δ = 0, one repeated real root exists. If Δ < 0, the roots are complex conjugates of the form (-b ± i√|Δ|) / (2a). The vertex of the parabola is at x = -b/(2a), and the y-coordinate is found by substituting back into the equation.
What Are Some Example Calculations?
For 2x² + 5x − 3 = 0: Δ = 25 + 24 = 49. x = (−5 ± 7) / 4. Roots: x₁ = 0.5, x₂ = −3. Vertex: (−1.25, −6.125).
Solve x² − 5x + 6 = 0 (two distinct real roots)
a = 1, b = −5, c = 6. Δ = 25 − 24 = 1 (positive). x = (5 ± √1) / 2 = (5 ± 1) / 2.
x₁ = 3, x₂ = 2. Vertex at (2.5, −0.25). The parabola crosses the x-axis at x = 2 and x = 3.
Solve x² − 6x + 9 = 0 (one repeated root)
a = 1, b = −6, c = 9. Δ = 36 − 36 = 0. x = 6 / 2 = 3.
x = 3 (repeated root). Vertex at (3, 0). The parabola just touches the x-axis at its vertex.
Solve x² + 2x + 5 = 0 (complex roots)
a = 1, b = 2, c = 5. Δ = 4 − 20 = −16 (negative). x = (−2 ± √−16) / 2 = (−2 ± 4i) / 2.
x₁ = −1 + 2i, x₂ = −1 − 2i. The parabola does not cross the x-axis. Vertex at (−1, 4).
When Should You Use a Quadratic Equation Solver?
Use the quadratic solver whenever you encounter an equation with an x² term. Common applications include finding the time a projectile hits the ground (physics), calculating break-even points (economics), determining intersection points of curves (geometry), and solving optimisation problems where the cost or profit function is quadratic.
Students at GCSE and A-level use this calculator to verify manual solutions and understand the relationship between the discriminant and the graph. Engineers apply it when designing parabolic arches, satellite dishes, and suspension cables. Programmers use it in game physics for collision detection. Any scenario that produces a second-degree polynomial equation can be solved with this tool.
What Do These Terms Mean?
What Are the Best Tips to Know?
- Always rearrange your equation into standard form ax² + bx + c = 0 before entering coefficients.
- Check the discriminant first — it tells you whether to expect real or complex roots without computing them.
- If a = 0, the equation is linear (bx + c = 0), not quadratic. Solve it as x = −c/b instead.
- Use the vertex form y = a(x − h)² + k for graphing, where (h, k) is the vertex provided by the calculator.
- For integer roots, verify by factoring — if x₁ and x₂ are whole numbers, then ax² + bx + c = a(x − x₁)(x − x₂).
What Mistakes Should You Avoid?
- Entering incorrect signs for b or c — double-check whether the coefficient is positive or negative in the original equation.
- Forgetting to rearrange the equation to equal zero before reading off a, b, and c.
- Assuming the discriminant is always positive — a negative discriminant means complex roots, not an error.
- Dividing by 2a but writing 2 × a incorrectly when a itself is negative — use parentheses to avoid sign errors.
Frequently Asked Questions
What does a negative discriminant mean?
A negative discriminant (b² − 4ac < 0) means the equation has no real roots. The solutions are complex numbers involving i (the square root of −1). The parabola does not cross the x-axis.
Can the quadratic formula solve any quadratic equation?
Yes. Unlike factoring, which only works for specific cases, the quadratic formula solves every equation of the form ax² + bx + c = 0, including those with irrational or complex roots.
What happens when a = 0?
If a = 0, the equation becomes linear (bx + c = 0) and is no longer quadratic. The solution is simply x = −c/b. The quadratic formula requires a ≠ 0.
How do I find the vertex of a parabola?
The x-coordinate of the vertex is −b/(2a). Substitute this x-value back into the equation to find the y-coordinate. The vertex is the minimum point if a > 0 or the maximum if a < 0.
What is the relationship between roots and factors?
If x₁ and x₂ are the roots, then the equation can be written as a(x − x₁)(x − x₂) = 0. This is the factored form and is useful for verifying solutions.
Why is the quadratic formula important?
It provides a universal method for solving second-degree equations. Factoring only works for special cases, and completing the square is more laborious. The formula gives both roots directly and reveals the discriminant.
Can quadratic equations have only one root?
When the discriminant equals zero, the equation has one repeated (double) root. Graphically, the parabola just touches the x-axis at its vertex without crossing it.
More Maths & Conversion Calculators
Category
← Maths & Conversion CalculatorsNext up
Fraction Calculator →