A quadratic equation is any equation that can be written in the standard form
where , , and are constants and is the unknown. The condition is what makes it quadratic: if , the term disappears and you are left with a linear equation. Because the highest power of is two, a quadratic equation has at most two real solutions, called its roots. This guide covers the three main solving methods — the quadratic formula, factoring, and completing the square — along with the discriminant, which tells you how many real roots to expect before you solve.
Standard Form And What The Coefficients Mean
Putting an equation in standard form is almost always the first step, because every method below assumes one side equals zero. For example, becomes , so , , and . Identifying , , correctly — including their signs — is the single most important setup step. A misplaced sign here propagates through every later calculation.
The Discriminant: How Many Real Roots?
The discriminant is the quantity under the square root in the quadratic formula:
It tells you the nature of the roots without solving the whole equation:
Discriminant Roots
------------------ ------------------------------------------
Δ > 0 Two distinct real roots
Δ = 0 One repeated real root (a double root)
Δ < 0 No real roots (two complex conjugate roots)
For , the discriminant is
Since , there are two distinct real roots. And because is a perfect square, the roots will be rational, which is a hint that factoring may work cleanly.
The Quadratic Formula
The quadratic formula solves any quadratic equation in standard form:
The produces the two roots. This is the method to reach for when factoring is not obvious, since it never fails as long as .
Why The Formula Works (Derivation)
The quadratic formula is not magic — it is completing the square done once, in general. Start from standard form, divide by , move the constant to the right, and add to both sides. The left side becomes a perfect square, and combining the right side over a common denominator gives
Take the square root of both sides (keeping the ) and isolate :
This derivation also explains why the discriminant controls the number of roots: it is the quantity sitting under the square root.
Solving By Factoring
Factoring is the fastest method when the quadratic factors nicely over the integers. The idea relies on the zero-product property: if a product equals zero, at least one factor is zero.
To factor , look for two numbers that multiply to and add to . Those numbers are and . Split the middle term and factor by grouping:
Setting each factor to zero gives
Solving By Completing The Square
Completing the square works for every quadratic and is the method behind the formula. Take , move the constant across, and add to both sides to form a perfect square:
Take square roots and solve:
This method is especially useful for finding the vertex of a parabola, since it rewrites the quadratic in vertex form.
Choosing A Method
Situation Best method
------------------------------------ --------------------------
Factors over the integers Factoring (fastest)
Messy / non-integer coefficients Quadratic formula
Need vertex form or a proof Completing the square
Just need root count Discriminant only
Worked Example 1: Quadratic Formula
Solve .
Here , , . Compute the discriminant first:
Since , expect two real roots. Apply the formula:
So the roots are and .
Worked Example 2: A Repeated Root
Solve .
With , , , the discriminant is
Because , there is exactly one repeated root. The formula gives
This matches factoring, since , confirming the double root at . Here the parabola just touches the -axis at one point instead of crossing it twice.
Now You Try
Solve by two different methods and check that they agree. First compute the discriminant (), so two rational roots exist; then try factoring by finding numbers that multiply to and add to . Confirm with the quadratic formula. Your roots should be and — if both methods land on the same pair, you have verified your work.
Calculation Traps To Watch
Sign errors in are the most common mistake; when is negative, becomes positive, so grows rather than shrinks. The second trap is forgetting that the whole numerator is divided by , not just the square-root part — write the fraction bar across the entire numerator. Third, students sometimes divide both sides by to "simplify," which silently discards the root ; factor instead. Finally, never drop the : a quadratic almost always has two roots, and keeping only the plus sign loses one of them.
Where Quadratic Equations Show Up
Quadratics model projectile motion, area and optimization problems, and the parabolic shapes that appear throughout physics and engineering. Mastering the standard form, the discriminant, and all three solving methods gives you a complete toolkit: the discriminant tells you what to expect, factoring handles the clean cases quickly, and the quadratic formula closes out everything else.
Frequently Asked Questions
- What is the standard form of a quadratic equation?
- The standard form is a x squared plus b x plus c equals zero, where a, b, and c are constants and a is not zero. The condition that a is nonzero is essential: if a were zero, the x squared term would vanish and the equation would be linear, not quadratic. Writing an equation in standard form is the first step for every solving method.
- What does the discriminant tell you?
- The discriminant is b squared minus 4 a c, the quantity under the square root in the quadratic formula. If it is positive, there are two distinct real roots. If it equals zero, there is one repeated real root. If it is negative, there are no real roots, only a pair of complex conjugate roots. It lets you predict the number of real solutions before solving.
- When should I factor instead of using the quadratic formula?
- Factoring is fastest when the quadratic factors nicely over the integers, which often happens when the discriminant is a perfect square. If the coefficients are messy or the discriminant is not a perfect square, the quadratic formula is more reliable because it works for every quadratic regardless of how the numbers behave.
- What is completing the square used for?
- Completing the square rewrites a quadratic as a perfect square plus a constant, which both solves the equation and produces vertex form for the parabola. It is the method behind the derivation of the quadratic formula, and it is especially useful when you need the vertex, the axis of symmetry, or a clean proof rather than just the roots.
- Why does a quadratic have two solutions?
- The quadratic formula contains a plus-or-minus sign in front of the square root, which produces two values whenever the discriminant is positive. Geometrically, these correspond to the two points where the parabola crosses the x-axis. When the discriminant is zero the two points merge into one repeated root, and when it is negative the parabola never touches the axis.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →