Learn · Mathematics · Grade 10 · Algebra

Quadratic equations: factoring, the formula and the discriminant

Solving ax² + bx + c = 0 by factoring, by completing the square and by the formula; what Δ = b² − 4ac says about the roots; sum and product of the roots.

High school Lesson 18 of 31 Interactive figure Practice

First, the rules

Three ways to solve, one number that decides

Standard form
ax² + bx + c = 0, a ≠ 0
Bring everything to one side first.
★ Factoring
Example 1
x² − 5x + 6 = (x − 2)(x − 3) = 0 ⇒ x = 2 or 3
Two numbers with product c and sum b (for a = 1). A product is zero only when a factor is zero.
Completing the square
Example 2
x² + 6x − 7 = 0 ⇒ (x + 3)² = 16 ⇒ x + 3 = ±4
★ The formula
Example 2
x = −b ± √b² − 4ac2a
Works every time; use it when factoring is not obvious.
★ The discriminant
Example 2
Δ = b² − 4ac
Δ > 0 two different real roots · Δ = 0 one repeated root · Δ < 0 no real root.
★ Sum and product of the roots (Vieta)
Example 3
x₁ + x₂ = −ba, x₁ · x₂ = ca
Building an equation from its roots
Example 3
x² − (x₁ + x₂)x + x₁x₂ = 0
Useful identities
Example 3
x₁² + x₂² = (x₁ + x₂)² − 2x₁x₂, 1x₁ + 1x₂ = x₁ + x₂x₁x₂

See it

Watch Δ decide

Slide a, b, c. When Δ is positive the parabola crosses the axis twice, at zero it touches once, below zero it never arrives — the roots are read straight off the formula.

Step by step

Worked examples

The picture behind every quadratic equation is a parabola — the roots are where it crosses the x-axis. That is the next lesson; here we only solve.

1

Factoring

product and sum

Solve x² − x − 12 = 0 and 2x² − 8x = 0.

Ask yourself: For the first: two numbers whose product is −12 and sum is −1. For the second: what is common to both terms?

Show the solution
  1. −4 and 3: product −12, sum −1. (x − 4)(x + 3) = 0 ⇒ x = 4 or x = −3.
  2. Common factor 2x: 2x(x − 4) = 0 ⇒ x = 0 or x = 4. Never divide both sides by x — you would lose the root 0.

Answer {−3, 4} and {0, 4}

2

The formula and the discriminant

Δ decides

Solve 2x² − 3x − 4 = 0, then decide how many real roots x² + 4x + 5 = 0 has without solving it.

Ask yourself: Compute Δ first — it tells you how many roots to expect before you write any square roots.

Show the solution
  1. a = 2, b = −3, c = −4: Δ = 9 + 32 = 41 > 0, two roots.
  2. x = 3 ± √414 (irrational, so factoring could not have worked).
  3. Second equation: Δ = 16 − 20 = −4 < 0: no real root (the parabola never reaches the x-axis).

Answer 3 ± √414; no real root

3

Without finding the roots

Vieta

x² − 5x + 3 = 0 has roots x₁ and x₂. Find x₁² + x₂² and the equation whose roots are 2x₁ and 2x₂.

Ask yourself: You never need the roots themselves — only their sum and product.

Show the solution
  1. x₁ + x₂ = 5, x₁x₂ = 3.
  2. x₁² + x₂² = (x₁ + x₂)² − 2x₁x₂ = 25 − 6 = 19.
  3. New roots: sum 2(x₁ + x₂) = 10, product 4x₁x₂ = 12, equation x² − 10x + 12 = 0.

Answer 19; x² − 10x + 12 = 0

Practice: quadratic equations

0 / 0

Roots by factoring, the discriminant and the number of roots, sums and products, and building an equation from its roots. Your best score is kept in this browser only.

About this lesson

Quadratic equations: factoring, completing the square, the quadratic formula x = (−b ± √Δ) / 2a, the discriminant Δ = b² − 4ac and the three cases (two roots, one repeated root, no real root), Vieta’s formulas for the sum and product of the roots, and building an equation from its roots. Worked examples and practice with exact answers.

Part of Learn mathematics · Grade 10 · Algebra. Check a number with the scientific calculator or draw a function with the function plotter. Everything on this page runs in your browser; nothing you type is sent or stored, and your practice score stays in this browser only. Spotted an error? Tell us.