Quadratic equations

Solving by factoring, the quadratic formula and the discriminant, the number of roots, Vieta’s formulas and expressions such as x₁² + x₂² and 1/x₁ + 1/x₂, equations that reduce to quadratics.

  • Intermediate
  • 22 min
  • 15 questions
  • Lesson 41 of 53

In this lesson you will learn

  • Solve a quadratic equation by factoring and with the quadratic formula
  • Use the discriminant to find the number of roots and to find a parameter
  • Use Vieta’s formulas to find the sum, the product and expressions built from them without finding the roots

In TR-YÖS a quadratic often comes not as «find the roots» but as «find the sum, the product or the sum of squares of the roots». For example, «x² − 5x + 2 = 0 ⇒ x₁² + x₂² = ?». The roots are (5 ± √17)/2, but you do not need them: Vieta’s formulas and the identity from the «Algebraic identities» lesson give the answer in one line — 25 − 4 = 21.

None of the items ÖSYM has published was purely about a quadratic equation, but quadratics turn up inside systems, fractional and radical equations; our estimate is about one item per test. Full theory: Mathematics → Quadratic equations.

Factoring and the zero product

If a product is zero, at least one factor is zero. So move everything to one side, leaving 0 on the other. Then factor and set each factor equal to zero. Never divide the equation by x: you may lose the root x = 0.

ax² + bx + c = 0, a ≠ 0A · B = 0 ⇒ A = 0 or B = 0

Where

a, b, c
the coefficients; a ≠ 0, otherwise the equation is linear

Solving by factoring

Problem

1) x² − 5x + 6 = 0
2) x² = 4x
3) 4x² − 9 = 0
4) 2x² + x − 6 = 0

Show solutionHide solution

Solution

1) (x − 2)(x − 3) = 0 ⇒ x = 2 or x = 3.
2) x² − 4x = 0 ⇒ x(x − 4) = 0 ⇒ x = 0 or x = 4. Dividing by x would have lost the root 0.
3) (2x − 3)(2x + 3) = 0 ⇒ x = ±3/2.
4) ac = −12; 4 + (−3) = 1: 2x² + 4x − 3x − 6 = (2x − 3)(x + 2) ⇒ x = 3/2 or x = −2.

Sign up free to keep reading

The rest of the lesson, the quiz and your notes open with an Educora account. Signing up takes a minute, and your progress is saved on all your devices.

The discriminant and the quadratic formula

When the equation does not factor easily, use the quadratic formula. The number under the root — the discriminant Δ — tells you how many roots there are. On a graph this means the parabola crosses the x-axis twice, touches it, or misses it.

Δ = b² − 4acx₁,₂ = (−b ± √Δ)/(2a)Δ = b² − 4acx₁,₂ = (−b ± √Δ)/(2a)

Where

Δ
the discriminant
x₁, x₂
the roots

Compute Δ first: if it is negative, stop — there are no real roots.

−2−101234−4−202468yxΔ > 0Δ = 0Δ < 0−131
y
xy (Δ > 0)y (Δ = 0)y (Δ < 0)
−25911
−1046
0−313
1−402
2−313
3046
45911
The roots are where the parabola meets the x-axis; Δ tells you how many there are.

Read the graph like this: the three parabolas have the same shape and differ only in c. As c grows, the parabola moves up: first two roots (−1 and 3), then one touching point (1), then no roots. The vertex lies exactly halfway between the roots: x = −b/(2a) = 1.

ΔRoots
Δ > 0two different real roots
Δ = 0one (double) root: x = −b/(2a)
Δ < 0no real roots
The sign of the discriminant and the number of roots.

With the discriminant

Problem

1) x² − 4x + 1 = 0
2) 9x² − 6x + 1 = 0
3) x² + x + 1 = 0
4) x² − 6x + m = 0 has a double root ⇒ m = ?

Show solutionHide solution

Solution

1) Δ = 16 − 4 = 12, √12 = 2√3: x = (4 ± 2√3)/2 = 2 ± √3.
2) Δ = 36 − 36 = 0: x = 6/18 = 1/3. It is a perfect square: (3x − 1)² = 0.
3) Δ = 1 − 4 = −3 < 0: no real roots.
4) Δ = 36 − 4m = 0 ⇒ m = 9. (For m < 9 two different roots, for m > 9 none.)

Vieta’s formulas: sum and product of the roots

If we know the roots, we can write the equation: a(x − x₁)(x − x₂) = ax² − a(x₁ + x₂)x + a · x₁x₂. Compare this with ax² + bx + c: the sum and the product of the roots come straight from the coefficients. No need to compute the roots.

x₁ + x₂ = −b/ax₁ · x₂ = c/ax₁ + x₂ = −b/ax₁ · x₂ = c/a

Where

x₁ + x₂
the sum of the roots (mind the minus sign)
x₁ · x₂
the product of the roots

For an equation that has roots (Δ ≥ 0). The equation with given roots: x² − (x₁ + x₂)x + x₁x₂ = 0.

x₁² + x₂² = (x₁ + x₂)² − 2x₁x₂1/x₁ + 1/x₂ = (x₁ + x₂)/(x₁x₂)(x₁ − x₂)² = (x₁ + x₂)² − 4x₁x₂x₁² + x₂² = (x₁ + x₂)² − 2x₁x₂1/x₁ + 1/x₂ = (x₁ + x₂)/(x₁x₂)(x₁ − x₂)² = (x₁ + x₂)² − 4x₁x₂

Where

x₁ + x₂, x₁x₂
the numbers Vieta’s formulas give

These are the formulas of the «Algebraic identities» lesson, with the roots in place of a and b.

Without finding the roots

Problem

1) 2x² − 6x − 5 = 0: x₁ + x₂, x₁x₂, x₁² + x₂², 1/x₁ + 1/x₂, (x₁ − x₂)²?
2) Write the equation with roots 2 and −5.
3) One root of x² + mx − 12 = 0 is 3 ⇒ m = ?, the other root = ?

Show solutionHide solution

Solution

1) Δ = 36 + 40 > 0. x₁ + x₂ = 6/2 = 3, x₁x₂ = −5/2. x₁² + x₂² = 9 + 5 = 14. 1/x₁ + 1/x₂ = 3 ÷ (−5/2) = −6/5. (x₁ − x₂)² = 9 + 10 = 19.
2) Sum −3, product −10: x² + 3x − 10 = 0.
3) 9 + 3m − 12 = 0 ⇒ m = 1. Product −12: 3 · x₂ = −12 ⇒ x₂ = −4.

Equations that reduce to quadratics

Some equations are not quadratic, but a new letter turns them into one: t = x² (a biquadratic equation), a repeated expression t = x² − 2x, or a fractional equation such as x + 6/x = 5, which we multiply by x. At the end do not forget to go back from t to x.

With a new letter

Problem

1) x⁴ − 13x² + 36 = 0
2) x + 6/x = 5
3) (x² − 2x)² − 2(x² − 2x) − 3 = 0

Show solutionHide solution

Solution

1) t = x²: t² − 13t + 36 = 0 ⇒ t = 4 or t = 9 ⇒ x = ±2, ±3 (four roots with sum 0).
2) x ≠ 0; multiply by x: x² − 5x + 6 = 0 ⇒ x = 2 or x = 3.
3) t = x² − 2x: t² − 2t − 3 = 0 ⇒ t = 3 or t = −1. x² − 2x = 3 ⇒ x = 3 or x = −1; x² − 2x = −1 ⇒ (x − 1)² = 0 ⇒ x = 1. Answer: x ∈ {−1, 1, 3}.
  1. Bring it to standard form

    Move everything to one side: ax² + bx + c = 0. Do not divide by x.

  2. Look at what is asked

    If a sum, a product or an expression built from them is asked — Vieta; do not find the roots.

  3. Find the roots

    Try factoring first (numbers with sum −b/a and product c/a); if that fails — Δ and the formula.

  4. Check the conditions

    Conditions such as x > 0, excluded values or «the larger root» pick the root you need.

How TR-YÖS asks about it

Turkish terms: ikinci dereceden denklem (quadratic equation), kök (root), diskriminant (Δ), kökler toplamı (sum of roots), kökler çarpımı (product of roots). A worded item usually reads «x² − 7x + 3 = 0 denkleminin kökleri x₁ ve x₂ olduğuna göre, x₁² + x₂² kaçtır?». The wordless version just gives the equation and «⇒ x₁² + x₂² = ?».

Practice (ÖSYM style)

Problem

x² − 7x + 3 = 0
⇒ x₁² + x₂² = ?
A) 37 B) 40 C) 43 D) 46 E) 49

Show solutionHide solution

Solution

1) Δ = 49 − 12 = 37 > 0 — there are two real roots.
2) x₁ + x₂ = 7, x₁x₂ = 3.
3) x₁² + x₂² = 7² − 2 · 3 = 49 − 6 = 43.
Answer C. E (49) forgets to subtract the product term; D (46) subtracts x₁x₂ instead of 2x₁x₂.

Remember

  • Product = 0 ⇒ one factor = 0; never divide the equation by x.
  • Δ = b² − 4ac; x₁,₂ = (−b ± √Δ)/(2a).
  • Δ > 0 — two roots, Δ = 0 — one root, Δ < 0 — no real roots.
  • x₁ + x₂ = −b/a, x₁x₂ = c/a; x₁² + x₂² = (x₁ + x₂)² − 2x₁x₂.
  • t = x² or t = a repeated expression turns the equation into a quadratic; go back to x at the end.
Spotted a mistake or something inaccurate in this lesson?

Check yourself

15 questions. Every correct answer earns XP.

Question 1 / 15

Question 1 / 15. 2x² − 3x − 2 = 0
⇒ x₁ · x₂ = ?