The quadratic equation is any equation that can be written in the form ax² + bx + c = 0, where x is the unknown value you’re solving for. The quadratic formula, x = (-b ± √(b² – 4ac)) / 2a, gives you the solution to any equation in that form. It’s one of the most useful tools in algebra because it works every time, even when other methods fail.
In the equation, “a” is the number in front of x², “b” is the number in front of x, and “c” is the constant (the number standing alone with no x attached). The only rule is that “a” can’t be zero, because without the x² term, it’s no longer quadratic.
How the Formula Works
The quadratic formula looks intimidating at first glance, but it’s really just a set of instructions. You plug in your values for a, b, and c, do the arithmetic, and out come the values of x that make the equation true. These values are called the “roots” or “solutions” of the equation.
The ± symbol in the formula means you calculate it twice: once with addition and once with subtraction. That’s why quadratic equations can have two solutions. For example, if you’re solving x² + 4x – 21 = 0, you’d identify a = 1, b = 4, and c = -21, then substitute those into the formula. Working through the math gives you x = 3 and x = -7, both of which satisfy the original equation.
What the Discriminant Tells You
The expression under the square root sign, b² – 4ac, is called the discriminant. It acts like a preview of what kind of answers you’ll get before you finish the calculation.
- Positive discriminant: the equation has two different real solutions.
- Discriminant of zero: the equation has exactly one real solution (technically a repeated root).
- Negative discriminant: the equation has no real solutions, because you can’t take the square root of a negative number in ordinary arithmetic.
Checking the discriminant first can save you time. If it’s negative, you know right away there’s no real answer, and you don’t need to keep calculating.
Other Ways to Solve Quadratic Equations
The quadratic formula always works, but it’s not always the fastest route. Two other methods are worth knowing.
Factoring
Factoring means rewriting the equation as two simpler expressions multiplied together. For instance, x² + 4x – 21 = 0 factors neatly into (x + 7)(x – 3) = 0, which immediately tells you x = -7 or x = 3. This is quick and clean when it works, but many quadratic equations don’t factor into neat whole numbers. If you try and nothing fits, switch to the formula.
Completing the Square
Completing the square is a technique where you rearrange the equation so one side becomes a perfect square. Take x² + 6x = -2 as an example. You can’t factor x² + 6x + 2, and you can’t just take the square root because of the 6x term. Instead, you add 9 to both sides (because (6/2)² = 9), which transforms the left side into (x + 3)². Now you have (x + 3)² = 7, and you can solve by taking the square root of both sides.
The general rule: to complete x² + bx into a perfect square, add (b/2)² to both sides of the equation. Before you start, make sure the coefficient in front of x² equals 1. If it doesn’t, divide the entire equation by that coefficient first. Completing the square is actually how the quadratic formula itself is derived. It’s the same process, just done with letters instead of numbers.
The Parabola: What Quadratics Look Like
When you graph a quadratic function, the result is a U-shaped curve called a parabola. The most important point on the parabola is the vertex, which is the turning point where the curve changes direction. If the value of “a” is positive, the parabola opens upward and the vertex is the lowest point. If “a” is negative, the parabola opens downward and the vertex is the highest point.
Every parabola is perfectly symmetrical. A vertical line drawn through the vertex, called the axis of symmetry, divides the curve into two mirror-image halves. The roots of the equation, if they exist, are the points where the parabola crosses the horizontal axis. A positive discriminant means two crossing points, a zero discriminant means the vertex just touches the axis, and a negative discriminant means the entire parabola floats above or below the axis without crossing it.
Where Quadratic Equations Show Up
Quadratic equations aren’t just classroom exercises. They model real situations where something rises, peaks, and falls, or where two factors multiply together to produce an outcome.
Projectile Motion
Anything launched into the air follows a parabolic path (ignoring air resistance). A baseball hit straight up at 140 feet per second from a height of 4 feet, for example, can be modeled by h(t) = -16t² + 140t + 4, where t is time in seconds and h is height in feet. The ball reaches its maximum height at the vertex of the parabola, so finding the vertex tells you both when and how high. The -16 comes from the acceleration due to gravity, and the negative sign is why the parabola opens downward: what goes up comes down.
Business and Optimization
Revenue and cost functions often turn out to be quadratic. If a company’s revenue as a function of units sold forms a downward-opening parabola, the vertex tells you the exact number of units that produces maximum revenue. Similarly, if a cost function forms an upward-opening parabola, the vertex identifies the production level with minimum cost. In both cases, you’re finding the vertex of a quadratic, which is a straightforward calculation using the formula -b/2a for the x-coordinate.
A Formula Thousands of Years in the Making
People have been solving quadratic equations since at least 1800 BC. An Old Babylonian clay tablet from roughly 1900 BC contains a quadratic problem and its solution, worked out long before algebra had any formal notation. Indian mathematicians Aryabhata (476-550 AD) and Brahmagupta (598-665 AD) advanced the subject further. Brahmagupta published a solution algorithm written in verse that is equivalent to part of the quadratic formula, though it only produced the positive root.
The formula students memorize today didn’t fully emerge until the 18th century. One reason it took so long: negative numbers weren’t accepted as legitimate answers for most of mathematical history. Even René Descartes, in the 1600s, called negative solutions “false.” Once negative numbers were finally embraced, the modern version of the formula, with its ± symbol capturing both roots, became standard. By the time Euler published his algebra textbook in 1770, the old habit of tying every equation to a geometric shape had disappeared entirely.

