Quadratic Formula: Extract Both Roots Without Factoring

By Vegard Gjerde Based on Masterful Learning 8 min read
quadratic-formula algebra quadratic-equations math learning-strategies

The Quadratic Formula solves any quadratic equation in standard form by substituting aa, bb, and cc into x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2-4ac}}{2a}, giving both roots provided a0a \neq 0. Unlike factoring, it always terminates and applies to any quadratic regardless of whether it factors nicely. Move-selection fluency means recognizing when a quadratic is ready for this substitution and identifying aa, bb, cc without sign errors — a skill drilled systematically in the Unisium Study System.

This guide sits inside the Algebra study map, where you can see the neighboring moves, models, and next-step guides that connect this principle to the rest of algebra.

Quadratic Formula hero image showing x = (-b ± sqrt(b^2 - 4ac)) / (2a) with condition a ≠ 0
The Quadratic Formula x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2-4ac}}{2a} under condition a0a \neq 0.

On this page: The Principle | Conditions | Failure Modes | EE Questions | Retrieval Practice | Practice Ground | Solve a Problem | FAQ


The Principle

The move: Substitute aa, bb, cc from the standard-form equation ax2+bx+c=0ax^2 + bx + c = 0 (a0a \neq 0) into x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2-4ac}}{2a} to obtain both roots simultaneously.

The invariant: This preserves the solution set: the values produced by the formula are exactly the solutions of the quadratic equation.

Pattern: ax2+bx+c=0x=b±b24ac2aax^2 + bx + c = 0 \quad \longrightarrow \quad x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Legal ✓Illegal ✗
From x25x+6=0x^2 - 5x + 6 = 0: a=1,b=5,c=6a=1,\, b=-5,\, c=6x=5±12x = \frac{5 \pm 1}{2}From x25x=6x^2 - 5x = -6: use a=1,b=5,c=0a=1,\, b=-5,\, c=0x=5±52x = \frac{5 \pm 5}{2} — wrong (c0c \neq 0)

The illegal column applies the formula before rearranging to standard form: the constant 66 was left on the right side, so cc was silently misread as 00 instead of 66. Both roots are wrong as a result.


Conditions of Applicability

Condition: a0a \neq 0

Before applying, check: Rewrite the equation in standard form ax2+bx+c=0ax^2 + bx + c = 0 with every term on the left side; read off aa, bb, cc explicitly — including cases where b=0b = 0 or c=0c = 0.

  • When a=0a = 0: the equation is not quadratic; the denominator 2a=02a = 0 makes the formula undefined. Solve by linear methods instead.
  • When b=0b = 0 or c=0c = 0: the formula still applies — treat missing coefficients as zero, not absent.

The formula always yields the algebraic solutions; whether they are real or complex depends on the sign of b24acb^2 - 4ac.

Want the complete framework behind this guide? Read Masterful Learning.

This method is most transparent once you have seen its source in Completing the Square. Compare it with Quadratic Factoring when deciding whether a quick factorization exists, and use it next in Quadratic Model problems where solving for roots explains the graph.


Common Failure Modes

Failure mode: applying the formula before rearranging to standard form → one or more coefficients are read from the wrong position, and both roots are wrong.

Debug: Write ax2+bx+c=0ax^2 + bx + c = 0 explicitly — with all terms on the left and the right side equal to zero — before reading any coefficient. Never read cc as the value sitting on the right-hand side of the original equation. Once the coefficients are identified, write b-b explicitly before substituting: when bb is negative, b-b is positive, and skipping this step is the second most common source of wrong roots.


Elaborative Encoding

Use these questions to build deep understanding. (See Elaborative Encoding for the full method.)

Within the Principle

  • Why does the numerator use b-b rather than bb, and how does that sign behave when bb is itself negative?
  • What does the ±\pm symbol encode, and which property of square roots makes it necessary?

For the Principle

  • How do you extract bb correctly from 2x27x+3=02x^2 - 7x + 3 = 0 — what is the sign of bb, and what value enters the formula as b-b?
  • What must be true about the form of the equation before any coefficient is identified?

Between Principles

  • How does the Quadratic Formula relate to completing the square — is the formula derived from completing the square on the general form ax2+bx+c=0ax^2 + bx + c = 0, and what does that tell you about when the two methods produce the same answer?

Generate an Example

  • Write a quadratic equation where bb is negative. Show the substitution step explicitly, labeling aa, bb, b-b, and cc separately before plugging in, and identify what a sign error at the b-b step would produce.

Retrieval Practice

Answer from memory, then click to reveal and check. (See Retrieval Practice for the full method.)

State the move in one sentence: _____Substitute a, b, c from ax^2 + bx + c = 0 into x = (-b ± sqrt(b^2 - 4ac)) / (2a) to obtain both roots, provided a ≠ 0.
Write the canonical pattern: _____x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
State the canonical condition: _____a0a \neq 0

Practice Ground

Use these exercises to build move-selection fluency. (See Self-Explanation for how to use worked examples effectively.)

Procedure Walkthrough

Starting from 2x27x+3=02x^2 - 7x + 3 = 0, find both roots using the Quadratic Formula.

StepExpressionOperation
02x27x+3=02x^2 - 7x + 3 = 0
1x=(7)±(7)24(2)(3)2(2)x = \dfrac{-(-7) \pm \sqrt{(-7)^2 - 4(2)(3)}}{2(2)}Apply Quadratic Formula: a=2, b=7, c=3a=2,\ b=-7,\ c=3
2x=7±49244x = \dfrac{7 \pm \sqrt{49 - 24}}{4}Simplify: (7)=7-(-7) = 7; evaluate discriminant operands
3x=7±54x = \dfrac{7 \pm 5}{4}4924=2549 - 24 = 25;, 25=5\sqrt{25} = 5
4x=3  or  x=12x = 3 \;\text{or}\; x = \dfrac{1}{2}124=3\dfrac{12}{4} = 3;, 24=12\dfrac{2}{4} = \dfrac{1}{2}

The negative b=7b = -7 is a diagnostic checkpoint: b=(7)=7-b = -(-7) = 7. A sign error here shifts both roots.


Drills

Format D — Goal-directed micro-chain

Micro-chain: Starting from x2+4x5=0x^2 + 4x - 5 = 0, find both roots using the Quadratic Formula. Show the discriminant step explicitly.

Reveal

a=1, b=4, c=5a=1,\ b=4,\ c=-5. Discriminant: 164(1)(5)=16+20=3616 - 4(1)(-5) = 16 + 20 = 36.

x=4±62x = \frac{-4 \pm 6}{2}

x=1x = 1 or x=5x = -5.

Verify: (1)2+4(1)5=0(1)^2 + 4(1) - 5 = 0 ✓;, (5)2+4(5)5=25205=0(-5)^2 + 4(-5) - 5 = 25 - 20 - 5 = 0 ✓.


Micro-chain: Starting from x26x+9=0x^2 - 6x + 9 = 0, find all roots. How many distinct real roots exist?

Reveal

a=1, b=6, c=9a=1,\ b=-6,\ c=9. Discriminant: 364(1)(9)=3636=036 - 4(1)(9) = 36 - 36 = 0.

x=6±02=3x = \frac{6 \pm 0}{2} = 3

One repeated root: x=3x = 3 (multiplicity 2). A discriminant of zero means the quadratic is a perfect square — both roots coincide.


Micro-chain: Starting from 3x2+6x+4=03x^2 + 6x + 4 = 0, evaluate the discriminant. What does its sign tell you about real roots?

Reveal

a=3, b=6, c=4a=3,\ b=6,\ c=4. Discriminant: 364(3)(4)=3648=1236 - 4(3)(4) = 36 - 48 = -12.

The discriminant is negative — no real roots. The formula produces complex values x=6±126x = \frac{-6 \pm \sqrt{-12}}{6}, but no real number satisfies this equation.


Micro-chain (identify eligible): Which of the following can have the Quadratic Formula applied directly, which need rearrangement first, and which cannot use it at all? Explain each.

(a) x23x+2=0x^2 - 3x + 2 = 0

(b) x2=4x4x^2 = 4x - 4

(c) 5x3=05x - 3 = 0

(d) 2x2+x1=02x^2 + x - 1 = 0

Reveal

(a) x23x+2=0x^2 - 3x + 2 = 0 — already in standard form; apply directly with a=1,b=3,c=2a=1,\, b=-3,\, c=2. Ready ✓

(b) x2=4x4x^2 = 4x - 4 — not in standard form; rearrange first: x24x+4=0x^2 - 4x + 4 = 0, then apply with a=1,b=4,c=4a=1,\, b=-4,\, c=4. Needs rearrangement before applying.

(c) 5x3=05x - 3 = 0 — linear (a=0a=0); the denominator 2a=02a = 0 is undefined. Cannot use the formula ✗ — solve as x=35x = \frac{3}{5} by linear methods.

(d) 2x2+x1=02x^2 + x - 1 = 0 — standard form; apply directly with a=2,b=1,c=1a=2,\, b=1,\, c=-1. Ready ✓


Micro-chain (catch the error): Starting from x25x=6x^2 - 5x = 6, a student reads a=1, b=5, c=0a=1,\ b=-5,\ c=0 and applies the formula to obtain x=5±52x = \frac{5 \pm 5}{2}, giving x=5x = 5 or x=0x = 0. What went wrong? Apply correctly.

Reveal

Error: The formula was applied before rearranging. The right-hand side 66 was left there, so cc was misread as 00 instead of 6-6.

Correct setup: x25x6=0x^2 - 5x - 6 = 0;, a=1, b=5, c=6a=1,\ b=-5,\ c=-6.

Discriminant: 254(1)(6)=25+24=4925 - 4(1)(-6) = 25 + 24 = 49.

x=5±72x = \frac{5 \pm 7}{2}

x=6x = 6 or x=1x = -1.

Key lesson: cc is the constant you see on the left side when the right side is zero — not the value that happens to appear on the right-hand side of the original equation.


Format A — Forward step

Forward step: Write the substituted expression for x22x8=0x^2 - 2x - 8 = 0. Do not simplify yet — the goal is one application of the formula.

Reveal

a=1, b=2, c=8a=1,\ b=-2,\ c=-8.

x=(2)±(2)24(1)(8)2(1)x = \frac{-(-2) \pm \sqrt{(-2)^2 - 4(1)(-8)}}{2(1)}

The one-step result is the substituted form above. Subsequent simplification (36=6\sqrt{36} = 6, x=4x = 4 or x=2x = -2) is separate.


Forward step: From the equation 5x2+2x7=05x^2 + 2x - 7 = 0, identify aa, bb, cc and write only the discriminant expression b24acb^2 - 4ac with values substituted but not yet evaluated.

Reveal

a=5, b=2, c=7a=5,\ b=2,\ c=-7.

b24ac=(2)24(5)(7)b^2 - 4ac = (2)^2 - 4(5)(-7)

The next step (evaluating 4+140=1444 + 140 = 144) is a separate arithmetic transition.


Forward step: You have reached x=2±362x = \dfrac{2 \pm \sqrt{36}}{2}. Apply one simplification step: evaluate the radical.

Reveal

36=6\sqrt{36} = 6, so the next state is:

x=2±62x = \frac{2 \pm 6}{2}

Splitting into two roots (x=4x = 4 or x=2x = -2) is the following step.


Forward step: You have reached x=3±942x = \dfrac{-3 \pm \sqrt{9 - 4}}{2}. Apply one step: evaluate the discriminant expression under the radical.

Reveal

94=59 - 4 = 5, so the next state is:

x=3±52x = \frac{-3 \pm \sqrt{5}}{2}

Splitting the ±\pm into two roots is the following step.


Forward step: From x29=0x^2 - 9 = 0, identify aa, bb, cc and write the fully substituted formula expression. Do not simplify — just substitute. (Pay attention to the missing linear term.)

Reveal

a=1, b=0, c=9a = 1,\ b = 0,\ c = -9. The term 9-9 is cc; there is no xx term, so b=0b = 0 (a real coefficient, not an absent one).

x=0±024(1)(9)2(1)x = \frac{-0 \pm \sqrt{0^2 - 4(1)(-9)}}{2(1)}

Simplification is the following step.


Solve a Problem

Apply what you’ve learned with Problem Solving.

Problem: Starting from x24x12=0x^2 - 4x - 12 = 0, find both roots using the Quadratic Formula.

Full solution
StepExpressionMove
0x24x12=0x^2 - 4x - 12 = 0
1x=(4)±(4)24(1)(12)2(1)x = \dfrac{-(-4) \pm \sqrt{(-4)^2 - 4(1)(-12)}}{2(1)}Apply Quadratic Formula: a=1, b=4, c=12a=1,\ b=-4,\ c=-12
2x=4±16+482x = \dfrac{4 \pm \sqrt{16 + 48}}{2}Simplify: b=4-b = 4;, evaluate discriminant operands
3x=4±82x = \dfrac{4 \pm 8}{2}16+48=6416 + 48 = 64;, 64=8\sqrt{64} = 8
4x=6  or  x=2x = 6 \;\text{or}\; x = -2122=6\dfrac{12}{2} = 6;, 42=2\dfrac{-4}{2} = -2

Verify: (6)24(6)12=362412=0(6)^2 - 4(6) - 12 = 36 - 24 - 12 = 0 ✓;, (2)24(2)12=4+812=0(-2)^2 - 4(-2) - 12 = 4 + 8 - 12 = 0 ✓.


FAQ

What is the Quadratic Formula?

The Quadratic Formula states that both solutions of ax2+bx+c=0ax^2 + bx + c = 0 (a0a \neq 0) are x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2-4ac}}{2a}. It is derived by completing the square on the general form and gives exact roots — rational, irrational, or complex — depending on the discriminant.

When is the Quadratic Formula valid?

The formula requires a0a \neq 0. Without a quadratic term, the denominator 2a2a is zero and the formula is undefined. Subject to a0a \neq 0, it applies to any quadratic in standard form ax2+bx+c=0ax^2 + bx + c = 0, including cases where b=0b = 0 or c=0c = 0.

What goes wrong if I apply it before rearranging to standard form?

If constants remain on the right-hand side, cc is misread as zero or as some other wrong value. Both roots shift, and verification fails: substituting either candidate back into the original equation will not produce zero.

How is the Quadratic Formula different from factoring?

Factoring requires integer or simple rational root pairs and involves a guess-and-check step. The Quadratic Formula always terminates and gives exact answers for any a,b,ca,\, b,\, c — including irrational and complex roots. Factoring is faster when it works; the formula is the guaranteed method when it does not.

What does the discriminant b24acb^2 - 4ac tell you?

Δ=b24ac\Delta = b^2 - 4ac determines the root count: Δ>0\Delta \gt 0 means two distinct real roots; Δ=0\Delta = 0 means one repeated real root; Δ<0\Delta \lt 0 means no real roots (two complex conjugate roots). Evaluating the discriminant first previews the outcome before computing the full formula.

Does the Quadratic Formula apply to inequalities, equations, or both?

The Quadratic Formula applies to quadratic equations, not directly to inequalities. For inequalities, you typically solve the related quadratic equation first to find the critical points, then analyze intervals separately to determine where the inequality holds.


How This Fits in Unisium

The Quadratic Formula is the universal exit move for quadratic equations — the technique that applies regardless of whether the equation factors over the integers. Unisium builds fluency through goal-directed micro-chain drills (start state to both roots) and forward-step drills (identify coefficients, substitute once, evaluate the discriminant). The target is automatic execution: see a quadratic in standard form, name aa, bb, cc without hesitation, and apply the formula in one confident pass — with no coefficient misread and no sign error on b-b.

Explore further:

  • Radical Definition — Understand the b24ac\sqrt{b^2-4ac} component of the formula
  • Completing the Square — The derivational source of the Quadratic Formula
  • Quadratic Model — The representational counterpart: when quadratic relationships describe real-world phenomena
  • Elaborative Encoding — Build deep understanding of why coefficient identification is the critical first step
  • Retrieval Practice — Make the formula and its condition instantly accessible

Ready to master the Quadratic Formula? Start practicing with Unisium or explore the full learning framework in Masterful Learning.

Masterful Learning book cover

Masterful Learning

The study system for physics, math, & programming that works: retrieval, connection, explanation, problem solving, and more.

Read the book (opens in new tab) ISBN 979-8-2652-9642-9

Ready to apply this strategy?

Join Unisium and start implementing these evidence-based learning techniques.

Start Learning with Unisium Read More Guides

Want the complete framework? This guide is from Masterful Learning.

Learn about the book →