What Is a Quadratic Equation?
A quadratic equation is a polynomial equation of degree two, written in standard form as ax² + bx + c = 0, where a, b and c are numbers and a ≠ 0. The solutions, called roots or zeros, are the x-values where the parabola y = ax² + bx + c crosses the x-axis. A quadratic always has exactly two roots, counting repeats and complex numbers. They can be two different real numbers, one repeated real number, or a pair of complex conjugates.
Quadratics are everywhere in algebra and physics: the path of a thrown ball, the area of a rectangle with a fixed perimeter, profit maximisation in business, lens and satellite-dish shapes, and stopping distances. This quadratic equation solver gives exact and decimal answers with full working, which makes it ideal for checking homework and understanding each step.
How to Use the Quadratic Solver
- Type the whole equation in the top box (e.g. 3x^2 + 2x = 8). Terms can be on both sides, and they're rearranged automatically.
- Or enter the coefficients a, b and c directly. Use negative signs where needed; decimals and fractions like 1/2 work.
- Read the roots in exact form (fractions and simplified surds such as 1 ± √2) and as decimals.
- Follow the steps of the quadratic formula, and use the graph to see the roots and vertex.
The Quadratic Formula
The roots of ax² + bx + c = 0 are given by:
x = (−b ± √(b² − 4ac)) / 2a
The expression under the square root, D = b² − 4ac, is the discriminant. It tells you what kind of roots to expect before you finish solving:
| Discriminant | Roots | Graph |
|---|---|---|
| D > 0 (perfect square) | Two rational roots | Crosses the x-axis twice |
| D > 0 (not a perfect square) | Two irrational roots (surds) | Crosses the x-axis twice |
| D = 0 | One repeated root | Touches the x-axis at the vertex |
| D < 0 | Two complex conjugate roots | Never touches the x-axis |
Worked Example
Solve x² − 3x − 10 = 0. Here a = 1, b = −3, c = −10.
- Discriminant: D = (−3)² − 4(1)(−10) = 9 + 40 = 49.
- √49 = 7, a perfect square, so the roots are rational.
- x = (3 ± 7) / 2, giving x = 5 or x = −2.
- Check: 5² − 3(5) − 10 = 0 ✓. Factored form: (x − 5)(x + 2) = 0.
Other Ways to Solve Quadratics
- Factoring: find two numbers that multiply to ac and add to b. It's quick when the roots are whole numbers: x² − 5x + 6 = (x − 2)(x − 3).
- Completing the square: rewrite as a(x − h)² + k = 0, then x = h ± √(−k/a). This is also how the vertex form shown by the calculator is found, and how the quadratic formula itself is derived.
- Graphing: the roots are where the parabola crosses the x-axis.
- Vieta's formulas: the roots always add up to −b/a and multiply to c/a, a handy check.
The Parabola: Vertex and Axis of Symmetry
The graph of a quadratic is a parabola. If a > 0 it opens upwards and the vertex is the minimum; if a < 0 it opens downwards and the vertex is the maximum. The vertex is at x = −b / 2a, and the vertical line through it is the axis of symmetry: the two roots always sit an equal distance either side of it. In a projectile problem, such as h = −4.9t² + 20t + 1.5, the vertex gives the maximum height and when it's reached, and the positive root gives when the object lands.
Features
- Exact answersFractions and simplified surds.
- Complex rootsShown in a ± bi form.
- Equation inputType 2x^2 - 4x = 6 directly.
- Step-by-stepQuadratic formula fully worked.
- Vertex and formsVertex, factored and vertex form.
- Interactive graphParabola with roots and vertex marked.
Frequently Asked Questions
What if a = 0?
Then it's not a quadratic but a linear equation, bx + c = 0, with the single solution x = −c/b. The solver tells you this.
What does a negative discriminant mean?
There are no real solutions: the parabola never crosses the x-axis. The roots are complex numbers of the form p ± qi.
How do I enter x squared?
Type x^2 or x². For example: 3x^2 - 2x + 1 = 0.
Can a quadratic have just one solution?
Yes, when the discriminant is zero. The single "double root" is at the vertex, which touches the x-axis.
What is a surd?
An irrational root left in exact form, like √2. The solver simplifies surds, for example √8 = 2√2.