Quadratic Equation Solver
Quadratic Equation Solver
A quadratic equation is a second-order polynomial equation in a single variable , with a non-zero coefficient for . The general form is:
Where represents an unknown, and , , and represent known numbers (coefficients), such that is not equal to zero. If , the equation becomes linear (), and it is no longer quadratic.
What is the Discriminant?
The term is known as the discriminant (often denoted by the Greek letter delta, ). It is the part of the quadratic formula under the square root sign. The value of the discriminant determines the nature of the roots:
- Positive Discriminant (): The equation has two distinct real roots. The parabola crosses the x-axis at two points.
- Zero Discriminant (): The equation has exactly one real root (a repeated root). The vertex of the parabola touches the x-axis.
- Negative Discriminant (): The equation has two complex (imaginary) roots. The parabola never touches or crosses the x-axis.
The Quadratic Formula
To solve for , we use the quadratic formula:
This formula works for all quadratic equations, whether the roots are real, rational, irrational, or complex.
How to Use This Calculator
- Enter Coefficient 'a': This is the number before the term. It cannot be zero.
- Enter Coefficient 'b': This is the number before the term.
- Enter Coefficient 'c': This is the constant term at the end.
- Review Results: The calculator will immediately display the discriminant, the type of roots, the roots themselves, and the coordinates of the vertex (the peak or valley of the parabola).
- Study the Steps: Scroll down to see the step-by-step algebraic derivation of your specific solution.
Worked Examples
Example 1: Two Real Roots
Solve:
- Since , we have two roots:
Example 2: Complex Roots
Solve:
- Since , roots are complex:
FAQ
Can 'a' be zero?
No. If , the term disappears, leaving , which is a linear equation. Quadratic equations must have a squared term.
What is the vertex of a parabola?
The vertex is the highest or lowest point on the graph of a quadratic function. For the equation , the x-coordinate of the vertex is found using .
What if 'b' or 'c' are zero?
That's perfectly fine. If , the equation is (pure quadratic). If , the equation is , which can be solved easily by factoring out an .
Why are complex roots always in pairs?
Due to the Conjugate Root Theorem, if a polynomial with real coefficients has a complex root , then its conjugate must also be a root.
Does the calculator show the graph?
Yes, the calculator generates a plot of the parabola centered around its vertex so you can visually see where it crosses the x-axis (the roots) and the y-axis (the constant ).
How does the discriminant relate to the graph?
If the discriminant is positive, the graph has two x-intercepts. If zero, one x-intercept. If negative, zero x-intercepts.
Limitations
This calculator assumes real-numbered coefficients. It does not support solving equations where the coefficients or are themselves complex numbers or matrices.