The quadratic formula solves any equation in the form ax² + bx + c = 0 by plugging the values of a, b, and c into a single expression: x = (-b ± √(b² – 4ac)) / 2a. It works every time, even when factoring fails, making it the most reliable method for solving quadratic equations.
Get Your Equation Into Standard Form
Before you can use the formula, your equation needs to look like this: ax² + bx + c = 0. Here, a is the number in front of x², b is the number in front of x, and c is the constant (the number with no variable). All three must be real numbers, and a cannot be zero. If a were zero, there would be no x² term, and the equation wouldn’t be quadratic at all.
If your equation isn’t already in standard form, rearrange it so everything is on one side and zero is on the other. For example, if you have 3x² + 5 = 2x, subtract 2x from both sides to get 3x² – 2x + 5 = 0. Now you can read off a = 3, b = -2, and c = 5. Getting these values right, including their signs, is the foundation of everything that follows.
Plug In and Simplify Step by Step
Let’s walk through a full example. Say you need to solve 2x² – 4x – 21 = 0.
Step 1: Identify a, b, and c. Here, a = 2, b = -4, and c = -21.
Step 2: Substitute into the formula. Replace every a, b, and c in x = (-b ± √(b² – 4ac)) / 2a with your values:
x = (-(-4) ± √((-4)² – 4(2)(-21))) / 2(2)
Step 3: Simplify inside the radical. Start with b²: (-4)² = 16. Then compute 4ac: 4 × 2 × (-21) = -168. Since you’re subtracting a negative, 16 – (-168) = 16 + 168 = 184. So you now have:
x = (4 ± √184) / 4
Step 4: Simplify the square root if possible. √184 simplifies to 2√46 (since 184 = 4 × 46). This gives you:
x = (4 ± 2√46) / 4, which reduces to x = (2 ± √46) / 2
Step 5: Split into two answers. The ± symbol means you calculate twice, once with addition and once with subtraction. Your two solutions are x = (2 + √46) / 2 and x = (2 – √46) / 2. If you need decimals, those are approximately 4.39 and -2.39.
What the Discriminant Tells You
The expression under the square root sign, b² – 4ac, is called the discriminant. Before you do all the arithmetic, checking this single value tells you what kind of answers to expect:
- Positive discriminant (b² – 4ac > 0): Two distinct real solutions. This is the most common case you’ll encounter in algebra courses.
- Zero discriminant (b² – 4ac = 0): Exactly one real solution (technically a repeated root). The ± part drops away because you’re adding and subtracting zero.
- Negative discriminant (b² – 4ac < 0): No real solutions. The answers involve imaginary numbers.
Checking the discriminant first can save you time. If it comes out to a perfect square like 25 or 100, the square root will be a clean whole number, and your final answers will be simple fractions or integers. If the discriminant is negative, you know immediately you’ll be working with complex numbers.
Handling Negative Discriminants
When b² – 4ac is negative, you’re asked to take the square root of a negative number, which doesn’t produce a real result. Instead, you express the answer using the imaginary unit i, defined as the square root of -1.
The process is straightforward: separate the negative sign from the rest of the number, then simplify. For example, √(-25) becomes √(25 × -1), which equals 5i. You then continue with the formula as usual, writing your two solutions in the form x = (something + something × i) and x = (something – something × i). These complex solutions always come in pairs.
Common Mistakes to Avoid
A few errors come up repeatedly when students use the quadratic formula, and knowing them in advance makes a real difference.
Forgetting that the fraction bar covers everything. The denominator 2a divides the entire numerator, not just part of it. A common slip is dividing only the radical by 2a and leaving -b outside the fraction. Write out the fraction bar long enough to cover -b ± √(b² – 4ac) completely, and you’ll avoid this.
Mishandling the negative in -b. If b is already negative, then -b becomes positive. For instance, if b = -7, then -b = 7. Students sometimes carry the negative sign through incorrectly, ending up with -7 in front instead of +7. Double-check this substitution every time.
Making b² negative. Squaring any real number, positive or negative, always gives a positive result. (-5)² is 25, not -25. If b is negative, square the whole thing (including the sign) and you’ll always get a positive value for b².
Not rearranging to standard form first. If your equation is 5x = x² + 3, you need to move everything to one side before identifying a, b, and c. Skipping this step means your coefficients will be wrong from the start.
When to Use the Quadratic Formula
You have three main options for solving quadratic equations: factoring, completing the square, and the quadratic formula. Factoring is usually faster when it works, because you can often find the answer by inspection in a few seconds. But many quadratics don’t factor into neat whole numbers, even though they still have solutions. The quadratic formula handles every case, including equations with irrational or complex roots.
A practical approach: try factoring first, especially if the coefficients are small and the constant has only a few factor pairs. If nothing clicks within a minute or two, switch to the quadratic formula. It’s mechanical and reliable. Completing the square is the third option and is essentially the technique used to derive the quadratic formula itself. It’s useful in specific situations (like rewriting equations in vertex form) but is generally slower for just finding solutions.
Where the Formula Comes From
The quadratic formula isn’t a rule pulled from thin air. It’s derived by applying the completing the square method to the general equation ax² + bx + c = 0. The process starts by dividing everything by a, moving the constant to the other side, then adding a carefully chosen value to both sides so the left side becomes a perfect square. After taking the square root of both sides and isolating x, you arrive at x = (-b ± √(b² – 4ac)) / 2a. Understanding this gives you confidence that the formula works for every quadratic, since the derivation makes no assumptions about specific values of a, b, or c (other than a ≠ 0).
Practical Uses Beyond the Classroom
Quadratic equations show up whenever a relationship involves a squared variable. The most intuitive example is projectile motion. When you throw a ball, its height over time follows a parabolic path, and the equation describing that path is quadratic. Solving it with the quadratic formula tells you when the ball hits the ground (the positive root) or when it was launched.
Other common applications include calculating areas when one dimension depends on another (for example, finding the dimensions of a rectangular garden with a fixed perimeter and a target area), determining break-even points in business models where revenue and cost curves are parabolic, and computing trajectories in physics and engineering. In each case, the quadratic formula gives you the exact values where the equation equals zero, which correspond to the meaningful real-world answers you’re looking for.

