What Is a Quadratic Equation?
A quadratic equation is an equation that can be written in the standard form:
$$
ax^2 + bx + c = 0, \quad a \ne 0
$$
The variable is usually \(x\). The numbers \(a\), \(b\), and \(c\) are coefficients: \(a\) multiplies \(x^2\), \(b\) multiplies \(x\), and \(c\) is the constant term. The condition \(a \ne 0\) is essential because without an \(x^2\) term, the equation is linear rather than quadratic.
Solving a quadratic equation means finding the values of \(x\) that make the equation true. These values are called roots, solutions, or zeros. When the related function \(y = ax^2 + bx + c\) is graphed, real roots appear as x-intercepts: the points where the parabola crosses or touches the x-axis.
Quadratic equations matter because they connect algebra and graphs. The same coefficients that determine the roots also determine the shape of the parabola, its turning point, its y-intercept, and whether the graph opens upward or downward.
Why Quadratic Equations Matter
Quadratic equations are one of the first places where algebra becomes more than finding one unknown. They help you understand curves, turning points, symmetry, and situations where a quantity increases and then decreases, or decreases and then increases.
Students use quadratics to practice factoring, completing the square, the quadratic formula, radicals, and complex numbers. Teachers use them to show how equations, tables, graphs, and formulas describe the same relationship. In applied problems, quadratic models can appear in area problems, revenue and profit models, projectile-height models, and optimization problems where a maximum or minimum value is important.
A quadratic solver is useful because it gives both the algebraic answer and the graph features. Seeing the roots, discriminant, vertex, axis of symmetry, and intercepts together makes it easier to understand why an equation has the type of answer it does.
Key Terms to Know
-
Quadratic equation: An equation that can be reduced to \(ax^2 + bx + c = 0\), where \(a \ne 0\).
-
Coefficient: A number multiplying a variable term. In \(ax^2 + bx + c\), the coefficients are \(a\), \(b\), and \(c\).
-
Root or solution: A value of \(x\) that makes the equation true.
-
Zero: A value of \(x\) where the function value is \(0\). For real roots, zeros match x-intercepts on the graph.
-
Discriminant: The expression \(b^2 - 4ac\), which tells whether a quadratic has two real roots, one repeated real root, or two complex roots.
-
Parabola: The U-shaped graph of a quadratic function.
-
Vertex: The turning point of the parabola. It is a minimum when the parabola opens upward and a maximum when it opens downward.
-
Axis of symmetry: The vertical line through the vertex that divides the parabola into mirror-image halves.
-
Y-intercept: The point where the graph crosses the y-axis. For \(y = ax^2 + bx + c\), it is always \((0,c)\).
-
Standard form: The form \(ax^2 + bx + c = 0\) for equations, or \(y = ax^2 + bx + c\) for functions.
-
Factored form: A form such as \(y = a(x-r_1)(x-r_2)\), useful when real roots are known.
-
Vertex form: A form such as \(y = a(x-h)^2 + k\), where \((h,k)\) is the vertex.
How Quadratic Equation Solving Works
The first step is to rewrite the equation so all terms are on one side and the other side is zero:
$$
ax^2 + bx + c = 0
$$
For example, the equation \(2x^2 + 3x = 5\) becomes:
$$
2x^2 + 3x - 5 = 0
$$
Once the equation is in standard form, the discriminant is calculated:
$$
d = b^2 - 4ac
$$
The discriminant classifies the roots:
| Discriminant value |
What it means |
Graph interpretation |
| \(d > 0\) |
Two distinct real roots |
The parabola crosses the x-axis twice |
| \(d = 0\) |
One repeated real root |
The parabola touches the x-axis at the vertex |
| \(d < 0\) |
Two complex roots |
The real graph has no x-intercepts |
The roots come from the quadratic formula:
$$
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$
The \(\pm\) symbol means there are usually two values to calculate: one using plus and one using minus. If the discriminant is zero, both calculations give the same root. If the discriminant is negative, the square root involves the imaginary unit \(i\), so the roots are complex.
The same coefficients also describe the graph of the related function:
$$
y = ax^2 + bx + c
$$
The vertex is found by first calculating the x-coordinate:
$$
h = -\frac{b}{2a}
$$
Then substitute \(h\) into the function to find the y-coordinate:
$$
k = ah^2 + bh + c
$$
So the vertex is \((h,k)\), and the vertex form is:
$$
y = a(x-h)^2 + k
$$
If \(a > 0\), the parabola opens upward and the vertex is a minimum. If \(a < 0\), the parabola opens downward and the vertex is a maximum.
Examples of Quadratic Equations in Practice
Example 1: Two Real Roots
Solve:
$$
x^2 - 5x + 6 = 0
$$
Identify the coefficients:
$$
a = 1, \quad b = -5, \quad c = 6
$$
Find the discriminant:
$$
d = (-5)^2 - 4(1)(6) = 25 - 24 = 1
$$
Since \(d > 0\), there are two real roots. Use the quadratic formula:
$$
x = \frac{-(-5) \pm \sqrt{1}}{2(1)} = \frac{5 \pm 1}{2}
$$
So:
$$
x_1 = 3, \quad x_2 = 2
$$
The factored form is:
$$
y = (x-2)(x-3)
$$
On the graph of \(y=x^2-5x+6\), the parabola crosses the x-axis at \(x=2\) and \(x=3\).
Example 2: A Practical Area Equation
Suppose a rectangle has a length that is \(5\) units more than its width, and its area is \(36\) square units. If the width is \(w\), then the length is \(w+5\), so:
$$
w(w+5)=36
$$
Rewrite in standard form:
$$
w^2 + 5w - 36 = 0
$$
Here:
$$
a = 1, \quad b = 5, \quad c = -36
$$
Find the discriminant:
$$
d = 5^2 - 4(1)(-36) = 25 + 144 = 169
$$
Use the quadratic formula:
$$
w = \frac{-5 \pm \sqrt{169}}{2} = \frac{-5 \pm 13}{2}
$$
The two roots are:
$$
w = 4 \quad \text{or} \quad w = -9
$$
In the equation, both values are algebraic roots. In the rectangle problem, only \(w=4\) makes sense because a physical width cannot be negative. This is why interpretation matters after solving.
Example 3: Complex Roots and No Real X-Intercepts
Solve:
$$
x^2 + 4x + 5 = 0
$$
The discriminant is:
$$
d = 4^2 - 4(1)(5) = 16 - 20 = -4
$$
Since \(d < 0\), the equation has two complex roots:
$$
x = \frac{-4 \pm \sqrt{-4}}{2} = \frac{-4 \pm 2i}{2}
$$
So:
$$
x_1 = -2 + i, \quad x_2 = -2 - i
$$
The graph of \(y=x^2+4x+5\) still exists as a real parabola, but it does not cross the x-axis. Complex roots are algebraic solutions, not real x-intercepts on the graph.
Example 4: One Repeated Root
Solve:
$$
x^2 - 6x + 9 = 0
$$
The discriminant is:
$$
d = (-6)^2 - 4(1)(9) = 36 - 36 = 0
$$
There is one repeated real root:
$$
x = \frac{-(-6)}{2(1)} = 3
$$
The factored form is:
$$
y = (x-3)^2
$$
The graph touches the x-axis at \((3,0)\) and turns around there. It does not cross through the axis.
How to Interpret the Result
A quadratic result is more than a pair of numbers. Each output tells you something about the equation or the graph.
The discriminant tells you what kind of roots to expect. A positive discriminant means two real roots. A zero discriminant means one repeated real root. A negative discriminant means two complex roots.
The exact roots are best for algebraic work because they preserve fractions, square roots, and complex terms without rounding. A simplified rational value is shown only when it can be verified against all of the original coefficients. Otherwise, including for decimal coefficients, the calculator keeps an original-coefficient symbolic quadratic formula and shows decimal roots separately as approximations; it does not turn a tiny nonzero term into an exact zero by rounding the discriminant.
The factored form shows the roots directly when the quadratic can be expressed over the real numbers. For example, \(y=(x-2)(x-3)\) shows roots \(2\) and \(3\). If the roots are complex, a real factored form using real linear factors is not available.
The vertex tells where the parabola turns. If \(a > 0\), the vertex is the lowest point and the function has a minimum. If \(a < 0\), the vertex is the highest point and the function has a maximum.
The axis of symmetry is the vertical line through the vertex:
$$
x = h
$$
The y-intercept is \((0,c)\). It shows where the graph crosses the y-axis.
The domain of a quadratic function is all real numbers:
$$
(-\infty, \infty)
$$
The range depends on the vertex and opening direction. If the vertex is \((h,k)\) and \(a>0\), the range is:
$$
[k, \infty)
$$
If \(a<0\), the range is:
$$
(-\infty, k]
$$
Common Mistakes and Misconceptions
One common mistake is forgetting that \(a\) must be nonzero. If \(a=0\), the equation is not quadratic, and a quadratic formula approach does not apply.
Another mistake is using the wrong sign in the quadratic formula. The numerator starts with \(-b\), not \(b\):
$$
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$
Students also sometimes round too early. Rounding the discriminant, square root, or intermediate values can change the final decimal answer. When exact roots are available, keep the exact form until the final step.
Complex roots are often misunderstood. A negative discriminant does not mean there is “no solution.” It means there are no real roots, but there are two complex roots.
Another graphing misconception is assuming every root appears as an x-intercept. Only real roots appear on the real coordinate graph. Complex roots do not appear as points where the parabola crosses the x-axis.
When entering an equation, use a format the calculator can read. For example, enter \(2x^2\), not 2*x^2, and include a relation such as \(=0\). If you have fractional coefficients, convert them to decimals if slash notation is not accepted.
Finally, an inequality sign such as \(<\), \(>\), \(\le\), or \(\ge\) is not the same as an equation sign. Solving a quadratic inequality requires interval reasoning, not just finding roots.
When to Use Quadratic Equation Solving
Use quadratic equation solving when you need to:
-
Find the roots of an equation in the form \(ax^2 + bx + c = 0\).
-
Check whether a quadratic has two real roots, one repeated root, or complex roots.
-
Connect algebraic roots to the x-intercepts of a parabola.
-
Find the vertex, axis of symmetry, y-intercept, domain, and range of a quadratic function.
-
Compare standard form, factored form, and vertex form.
-
Check homework or classwork involving factoring, the quadratic formula, or graphing parabolas.
-
Explore how changing \(a\), \(b\), or \(c\) changes the shape and position of the graph.
Limitations and Things to Keep in Mind
A quadratic equation solver is designed for equations that can be reduced to:
$$
ax^2 + bx + c = 0
$$
It does not replace every type of algebra solver. If the leading coefficient is zero, the problem becomes linear rather than quadratic. If the expression contains higher powers, other variables, parentheses that must be expanded, functions, or unsupported fractional notation, it may need to be rewritten before it can be solved.
The calculator works with the variable \(x\) and terms involving \(x^2\), \(x\), and constants. It is best to enter expressions such as \(2x^2+3x+1=0\) rather than using explicit multiplication such as 2*x^2 or factored input such as (x-2)(x-3)=0.
Relation signs such as \(<\), \(>\), \(\le\), and \(\ge\) return the corresponding interval solution set as well as the boundary roots and graph analysis.
Simplified rational roots are shown only when they are verified against the original coefficients. Other equations retain an original-coefficient symbolic quadratic formula and also show numerically stable decimal approximations; the decimal display does not replace the symbolic result.
Decimal displays are rounded for readability, but calculations use scale-aware classification and stable root formulas. A warning is shown when a near-zero discriminant makes the roots sensitive to floating-point rounding.
The graph is a visual aid, not a proof. For important academic, engineering, financial, scientific, or safety-related work, double-check the algebra and use the appropriate professional or course-approved method.
How to Use This Calculator
-
Enter a quadratic equation using \(x^2\), \(x\), constants, and a relation such as \(=0\). For example: \(x^2 - 5x + 6 = 0\).
-
Alternatively, enter the coefficients \(a\), \(b\), and \(c\) directly or adjust the coefficient sliders.
-
Make sure \(a\) is not zero. A zero \(a\) value makes the equation linear, not quadratic.
-
Check the status message. If there is an input error, revise the equation format before using the result.
-
Read the root type and discriminant to understand whether the roots are real, repeated, or complex.
-
Compare the exact roots with the decimal roots. Use exact roots for algebra and decimal roots for estimates.
-
Review the standard form, factored form, vertex form, vertex, axis of symmetry, y-intercept, opening direction, domain, and range.
-
Use the graph to connect the algebra to the parabola. Real roots appear as x-intercepts; complex roots do not.
-
Zoom, pan, reset, fit the graph view, hover for coordinates, export the graph image, or use practice mode if those controls are available.
Frequently Asked Questions
What does the discriminant tell me?
The discriminant \(d=b^2-4ac\) tells the type of roots before you finish solving. If \(d>0\), there are two real roots. If \(d=0\), there is one repeated real root. If \(d<0\), there are two complex roots.
Why does \(a\) have to be nonzero?
The coefficient \(a\) multiplies \(x^2\). If \(a=0\), the \(x^2\) term disappears, so the equation is no longer quadratic. It becomes a linear equation or, in some cases, a constant statement.
What is the difference between exact and decimal roots?
Verified rational roots are shown as simplified exact values. When that proof is not available, the calculator keeps the original coefficients in a symbolic quadratic formula and shows decimal roots separately as numerical approximations. Decimals are convenient for graphing and estimation, but do not replace the symbolic formula when precision matters.
Why does a quadratic sometimes have no x-intercepts but still have roots?
When the discriminant is negative, the roots are complex. Complex roots solve the algebraic equation, but they are not real x-values on the coordinate plane. That is why the real graph has no x-intercepts in that case.
What is vertex form useful for?
Vertex form shows the turning point directly:
$$
y = a(x-h)^2 + k
$$
The vertex is \((h,k)\). This makes it easier to identify the minimum or maximum value and the axis of symmetry.
Can this solve quadratic inequalities?
Yes. Enter \(<\), \(>\), \(\le\), or \(\ge\) to receive the interval solution set along with the boundary roots.
Sources and References
Books and Open Textbooks
-
OpenStax. College Algebra 2e. OpenStax, 2021. Sections 2.5, “Quadratic Equations,” and 5.1, “Quadratic Functions.” Section 2.5 and Section 5.1.
-
OpenStax. Intermediate Algebra 2e. OpenStax, 2020. Sections 9.3, “Solve Quadratic Equations Using the Quadratic Formula,” and 9.6, “Graph Quadratic Functions Using Properties.” Section 9.3 and Section 9.6.