Quadratic Equations: From Zero to Hero

If linear equations are the straight roads of algebra, quadratic equations are the arches and bridges. They curve. They have peaks and valleys. They can cross the x-axis twice, once, or not at all. And they show up everywhere — from the path of a thrown ball to the shape of a satellite dish to the profit curve of a business.

A quadratic equation is any equation where the highest power of the variable is 2. That single exponent change — from x to x² — transforms a simple line into a parabola and opens up an entirely new world of math. This article walks you through every method for solving quadratics, explains when to use each one, and gives you enough solved problems to feel confident on any test.

What Is a Quadratic Equation?

A quadratic equation is an equation of the form ax² + bx + c = 0, where a, b, and c are real numbers and a ≠ 0. The "a ≠ 0" part is critical — if a were zero, the x² term would disappear and you would be left with a linear equation, not a quadratic one.

The word "quadratic" comes from the Latin quadratus, meaning "square." It refers to the x² term, not to four-sided shapes. Every quadratic equation has a squared variable as its highest-degree term.

Here are some examples of quadratic equations:

And here are some equations that are not quadratic:

Standard Form: ax² + bx + c = 0

Before you can solve a quadratic equation, you need to write it in standard form: all terms on one side, zero on the other, with terms arranged in descending order of degree.

ax² + bx + c = 0
a is the leading coefficient, b is the linear coefficient, c is the constant term. a ≠ 0.

Sometimes an equation does not look quadratic at first glance, but a little rearranging reveals that it is. For example, x(x + 5) = 14 becomes x² + 5x − 14 = 0 after distributing and moving 14 to the left side. Similarly, (2x − 1)² = 9 can be expanded to 4x² − 4x + 1 = 9, then rearranged to 4x² − 4x − 8 = 0.

Getting comfortable with rearranging equations into standard form is half the battle. Once you have ax² + bx + c = 0, you can choose from three main solving methods.

Solving by Factoring

Factoring is the fastest method — when it works. The idea is simple: rewrite the quadratic as a product of two binomials, then use the zero product property to find the solutions.

If A × B = 0, then A = 0 or B = 0
The zero product property: if a product equals zero, at least one factor must be zero.

Factoring x² + bx + c (Leading Coefficient = 1)

When a = 1, you need two numbers that multiply to c and add to b. If those two numbers are p and q, then x² + bx + c = (x + p)(x + q).

✏️ Example: Solve x² − 5x + 6 = 0

Step 1: Find two numbers that multiply to 6 and add to −5.
Step 2: Those numbers are −2 and −3 (because −2 × −3 = 6 and −2 + −3 = −5).
Step 3: Factor: (x − 2)(x − 3) = 0
Step 4: Apply zero product property: x − 2 = 0 or x − 3 = 0
x = 2 or x = 3

Factoring ax² + bx + c (Leading Coefficient ≠ 1): The AC Method

When a ≠ 1, factoring gets trickier. The AC method works like this: multiply a × c, find two numbers that multiply to ac and add to b, then rewrite the middle term using those two numbers and factor by grouping.

✏️ Example: Solve 2x² + 7x + 3 = 0

Step 1: a × c = 2 × 3 = 6. Find two numbers that multiply to 6 and add to 7.
Step 2: Those numbers are 1 and 6.
Step 3: Rewrite: 2x² + 1x + 6x + 3 = 0
Step 4: Group: x(2x + 1) + 3(2x + 1) = 0
Step 5: Factor out (2x + 1): (2x + 1)(x + 3) = 0
Step 6: Solve: 2x + 1 = 0 → x = −1/2, or x + 3 = 0 → x = −3
x = −1/2 or x = −3

Special Factoring Patterns

Some quadratics follow patterns you should recognize instantly:

💡 When Does Factoring Fail?

Not every quadratic factors neatly with integers. For example, x² + 3x + 1 = 0 does not produce nice integer or simple fraction roots. When you cannot find integer pairs that work, move on to the quadratic formula. Do not waste time guessing — if it does not click within 30 seconds, switch methods.

The Quadratic Formula

The quadratic formula solves every quadratic equation, whether or not it factors. It is the universal tool — slower than factoring for easy problems, but it never fails.

x = (−b ± √(b² − 4ac)) / 2a
Works for any equation in the form ax² + bx + c = 0, where a ≠ 0.

The ± symbol means you get two answers: one using + and one using −. These correspond to the two places where the parabola crosses (or touches) the x-axis.

✏️ Example: Solve 3x² − 2x − 5 = 0

Identify: a = 3, b = −2, c = −5
Plug in: x = (−(−2) ± √((−2)² − 4(3)(−5))) / 2(3)
Simplify inside the square root: x = (2 ± √(4 + 60)) / 6 = (2 ± √64) / 6
Take the square root: x = (2 ± 8) / 6
Two solutions: x = (2 + 8)/6 = 10/6 = 5/3, or x = (2 − 8)/6 = −6/6 = −1
x = 5/3 or x = −1

✏️ Example: Solve x² + 3x + 1 = 0 (non-factorable)

Identify: a = 1, b = 3, c = 1
Plug in: x = (−3 ± √(9 − 4)) / 2 = (−3 ± √5) / 2
Approximate: √5 ≈ 2.236
x₁ ≈ (−3 + 2.236)/2 ≈ −0.382
x₂ ≈ (−3 − 2.236)/2 ≈ −2.618
x = (−3 + √5)/2 ≈ −0.382 or x = (−3 − √5)/2 ≈ −2.618

⚠️ Common Quadratic Formula Mistakes

The two biggest errors: (1) forgetting that the entire numerator is divided by 2a, not just the square root — use parentheses around −b ± √(b² − 4ac) and divide the whole thing by 2a, and (2) mishandling the negative sign on b — if b is already negative, then −b becomes positive. Write it out carefully every time.

Completing the Square

Completing the square is a method that transforms ax² + bx + c = 0 into a perfect square trinomial, making it easy to solve by taking a square root. It is also how the quadratic formula itself is derived, and it is essential for converting quadratics to vertex form.

Step-by-Step Process

For the equation x² + bx + c = 0 (where a = 1):

✏️ Example: Solve x² + 6x − 7 = 0 by Completing the Square

Step 1: Move constant: x² + 6x = 7
Step 2: Half of 6 is 3, and 3² = 9
Step 3: Add 9 to both sides: x² + 6x + 9 = 7 + 9 = 16
Step 4: Factor: (x + 3)² = 16
Step 5: Square root: x + 3 = ±4
Step 6: Solve: x = −3 + 4 = 1 or x = −3 − 4 = −7
x = 1 or x = −7

When a ≠ 1, divide the entire equation by a first, then follow the same steps. For example, to complete the square on 2x² + 8x − 10 = 0, first divide everything by 2 to get x² + 4x − 5 = 0, then proceed as above.

💡 The Geometric Meaning

The name "completing the square" is literal. Imagine you have a rectangle with area x² + 6x. You can split it into a square of x² and a rectangle of 6x. Cut the rectangle in half (two strips of 3x) and rearrange them around the square. You are left with an L-shape that is almost a complete square — you just need a small 3 × 3 = 9 corner piece to "complete" it. That is why you add (b/2)².

The Discriminant: How Many Solutions?

The expression under the square root in the quadratic formula — b² − 4ac — is called the discriminant. It tells you exactly how many real solutions a quadratic equation has before you even solve it.

D = b² − 4ac
The discriminant determines the number and type of solutions.
Discriminant ValueNumber of SolutionsWhat It Means Graphically
D > 0Two distinct real solutionsParabola crosses x-axis at two points
D = 0One repeated real solutionParabola just touches x-axis (vertex on axis)
D < 0No real solutions (two complex)Parabola floats above or below x-axis entirely

✏️ Example: Determine the number of solutions

Equation: x² − 4x + 4 = 0
Calculate: D = (−4)² − 4(1)(4) = 16 − 16 = 0
D = 0 → Exactly one repeated solution. (x = 2, since (x − 2)² = 0)

✏️ Example: Why does x² + 1 = 0 have no real solutions?

Identify: a = 1, b = 0, c = 1
Calculate: D = 0² − 4(1)(1) = −4
D = −4 (negative) → No real solutions. You cannot take the square root of a negative number in the real number system. The parabola y = x² + 1 sits entirely above the x-axis.

If D is a perfect square (like 0, 1, 4, 9, 16, ...), the solutions will be rational numbers and the equation is factorable over the integers. If D is positive but not a perfect square, the solutions involve irrational square roots.

Graphing Quadratics: The Parabola

Every quadratic equation y = ax² + bx + c produces a parabola — a symmetric U-shaped curve. Understanding the graph helps you visualize the solutions and make sense of the algebra.

Key Features of a Parabola

Vertex x-coordinate: x = −b / (2a)
Then find y by substituting back: y = a(−b/2a)² + b(−b/2a) + c

✏️ Example: Graph y = x² − 4x + 3

Direction: a = 1 > 0, so parabola opens upward.
Vertex x: x = −(−4) / (2·1) = 4/2 = 2
Vertex y: y = (2)² − 4(2) + 3 = 4 − 8 + 3 = −1. Vertex = (2, −1)
Y-intercept: Set x = 0 → y = 3. Point: (0, 3)
X-intercepts: x² − 4x + 3 = 0 → (x − 1)(x − 3) = 0 → x = 1 and x = 3
Vertex at (2, −1), opens upward, crosses x-axis at x = 1 and x = 3, crosses y-axis at y = 3.

How the Value of "a" Affects the Parabola

The coefficient a controls both the direction and the width of the parabola. When |a| > 1, the parabola is narrower than y = x² (stretched vertically). When 0 < |a| < 1, the parabola is wider (compressed vertically). For example, y = 5x² is a very narrow, steep parabola, while y = 0.2x² is wide and flat. Changing the sign of a flips the parabola upside down.

Vertex Form: y = a(x − h)² + k

Vertex form makes it easy to read the vertex directly from the equation. The vertex is at (h, k), and a still controls the direction and width.

y = a(x − h)² + k
Vertex at (h, k). Note the minus sign inside the parentheses — if the equation says (x − 3)², then h = 3, not −3.

To convert from standard form to vertex form, use completing the square. To convert from vertex form to standard form, expand the squared binomial and simplify.

✏️ Example: Convert y = x² − 6x + 11 to vertex form

Step 1: Group the x-terms: y = (x² − 6x) + 11
Step 2: Complete the square: half of −6 is −3, and (−3)² = 9
Step 3: Add and subtract 9 inside: y = (x² − 6x + 9) − 9 + 11
Step 4: Factor and simplify: y = (x − 3)² + 2
Vertex form: y = (x − 3)² + 2. Vertex at (3, 2). Opens upward (a = 1 > 0).

Quadratic Word Problems

Quadratic equations model countless real-world situations. The key is recognizing when a problem involves something squared — area, projectile motion, revenue, or any relationship where one quantity depends on the square of another.

Projectile Motion

The height of a projectile (ball, arrow, rocket) follows a quadratic path. The standard physics formula is h(t) = −16t² + v₀t + h₀ (in feet, with t in seconds), where v₀ is the initial velocity and h₀ is the starting height. The −16 comes from gravity (half of 32 ft/s²).

✏️ Example: Projectile Problem

Problem: A ball is thrown upward from a 48-foot building with an initial velocity of 32 ft/s. When does it hit the ground?
Setup: h(t) = −16t² + 32t + 48 = 0 (height = 0 when it hits the ground)
Simplify: Divide by −16: t² − 2t − 3 = 0
Factor: (t − 3)(t + 1) = 0 → t = 3 or t = −1
Interpret: t = −1 is not physically meaningful (negative time). So t = 3.
The ball hits the ground after 3 seconds.

Area Problems

✏️ Example: Garden Fencing

Problem: You have 40 meters of fencing to enclose a rectangular garden along a wall (so you only need fencing on three sides). What dimensions give the maximum area?
Setup: Let x = the width (two sides). Then the length = 40 − 2x.
Area: A = x(40 − 2x) = 40x − 2x² = −2x² + 40x
This is a downward parabola. Maximum at x = −b/(2a) = −40/(2·(−2)) = 10
Dimensions: Width = 10 m, Length = 40 − 2(10) = 20 m
Maximum area = 10 × 20 = 200 m² with dimensions 10 m × 20 m.

Revenue and Profit

✏️ Example: Pricing for Maximum Revenue

Problem: A shop sells 200 items per week at $50 each. For every $5 price increase, they sell 10 fewer items. What price maximizes revenue?
Setup: Let x = number of $5 increases. Price = 50 + 5x. Quantity = 200 − 10x.
Revenue: R = (50 + 5x)(200 − 10x) = 10000 − 500x + 1000x − 50x² = −50x² + 500x + 10000
Max at: x = −500/(2·(−50)) = −500/(−100) = 5
Price: 50 + 5(5) = $75. Quantity: 200 − 10(5) = 150 items.
Maximum revenue of $11,250 at a price of $75 per item (150 items sold).

Want to practice solving quadratic equations with instant feedback? Our interactive algebra engine generates unlimited problems — factoring, quadratic formula, word problems — all with step-by-step solutions.

Practice Quadratics Now

Solved Practice Problems

✏️ Problem 1: Solve by Factoring

Solve x² + x − 12 = 0
Find two numbers: multiply to −12, add to 1 → those are 4 and −3.
Factor: (x + 4)(x − 3) = 0
x = −4 or x = 3

✏️ Problem 2: Solve Using the Quadratic Formula

Solve 2x² − 3x − 2 = 0
a = 2, b = −3, c = −2
D = (−3)² − 4(2)(−2) = 9 + 16 = 25
x = (3 ± 5) / 4
x = (3 + 5)/4 = 8/4 = 2, or x = (3 − 5)/4 = −2/4 = −1/2
x = 2 or x = −1/2

✏️ Problem 3: Solve by Completing the Square

Solve x² − 8x + 5 = 0
Move constant: x² − 8x = −5
Half of −8 is −4, (−4)² = 16. Add 16 to both sides: x² − 8x + 16 = 11
Factor: (x − 4)² = 11
Square root: x − 4 = ±√11
x = 4 + √11 ≈ 7.317 or x = 4 − √11 ≈ 0.683

✏️ Problem 4: Find the Vertex

Find the vertex of y = −2x² + 12x − 7
x = −b/(2a) = −12/(2·(−2)) = −12/(−4) = 3
y = −2(3)² + 12(3) − 7 = −18 + 36 − 7 = 11
Vertex = (3, 11). Since a = −2 < 0, the parabola opens downward and (3, 11) is the maximum point.

✏️ Problem 5: Discriminant Check

How many real solutions does 4x² + 4x + 1 = 0 have?
D = 4² − 4(4)(1) = 16 − 16 = 0
D = 0 → Exactly one repeated solution. (x = −1/2, from (2x + 1)² = 0)

✏️ Problem 6: Number Problem

Problem: The product of two consecutive positive integers is 156. Find the integers.
Setup: Let x = first integer. Then x(x + 1) = 156 → x² + x − 156 = 0
Factor: Find two numbers that multiply to −156 and add to 1 → 13 and −12.
(x + 13)(x − 12) = 0 → x = −13 or x = 12
Since we need positive integers, x = 12.
The consecutive integers are 12 and 13. Check: 12 × 13 = 156 ✓

6 Common Quadratic Mistakes

1. Forgetting to set the equation equal to zero before factoring. The zero product property only works when the product equals zero. If you have x² − 5x = 6 and you factor the left side without moving the 6, you are factoring incorrectly. Always rearrange to standard form first.

2. Losing a solution when dividing by x. If you have x² = 5x, do not divide both sides by x — you will lose the solution x = 0. Instead, move everything to one side: x² − 5x = 0, then factor: x(x − 5) = 0. Now you see both solutions: x = 0 and x = 5.

3. Sign errors in the quadratic formula. When b is negative, −b becomes positive. When c is negative, −4ac becomes positive (since you are multiplying two negatives). Write every step carefully. The most common spot for errors is inside the square root: b² − 4ac requires you to square b first (always positive), then subtract 4ac (which could be positive or negative depending on the signs of a and c).

4. Forgetting the ± when taking a square root. If (x − 3)² = 25, then x − 3 = ±5, giving x = 8 or x = −2. If you only take the positive root, you miss half the solutions. Every square root in equation-solving produces two cases.

5. Confusing the vertex with the solutions. The vertex (h, k) is the highest or lowest point of the parabola. The solutions (roots, zeros, x-intercepts) are where the parabola crosses the x-axis. They are different things. A parabola can have a vertex at (2, −3) and solutions at x = 0.27 and x = 3.73.

6. Not checking answers in the original equation. Especially with word problems or equations you rearranged significantly, plug your answers back in to verify. This catches arithmetic mistakes and identifies extraneous solutions — answers that satisfy the rearranged equation but not the original one.

Which Method Should You Use?

You have three methods. Here is how to choose:

MethodBest WhenProsCons
FactoringCoefficients are small integers; you can spot the factors quicklyFastest method; no calculator neededDoes not work for all quadratics; requires trial-and-error
Quadratic FormulaFactoring fails; coefficients are messy; you need exact irrational answersAlways works; systematic; no guessingMore arithmetic; easy to make sign errors
Completing the SquareYou need vertex form; deriving the quadratic formula; solving circle equationsGives vertex form directly; builds deep understandingMany steps; easy to lose track of signs

In practice, most students try factoring first (30 seconds maximum), and if it does not work, they switch to the quadratic formula. Completing the square is used less often for solving and more often for converting to vertex form or working with circles in geometry.

Wrapping Up

Quadratic equations are the gateway to higher algebra. Once you are comfortable with them, you can tackle polynomial equations, rational expressions, conic sections, and eventually calculus. The core ideas are straightforward: standard form gives you a, b, and c; factoring is fast when it works; the quadratic formula is the reliable backup; completing the square reveals the vertex; and the discriminant tells you what to expect before you even start solving.

The best way to get good at quadratics is to practice with all three methods. Factor when you can, use the formula when you cannot, and understand completing the square deeply enough that you could derive the formula yourself. That level of understanding is what separates students who struggle from students who see quadratics as a set of tools they can wield with confidence.

If you found this article helpful, explore our guides on slope and rate of change, exponent rules, and fraction operations to strengthen the building blocks you need for every quadratic problem.

Practice