All concepts

15. Quadratics and factoring

Vieta's: sum = -b/a, product = c/a. Factoring by grouping.

r1r2r1 + r2 = −b/ar1 · r2 = c/ano solving needed:read roots from coefficients

Core ideas

- Vieta's for x^2 + bx + c = 0 (a = 1): sum of roots = -b, product of roots = c. General ax^2 + bx + c: sum = -b/a, product = c/a.
- If a question asks about roots but not their exact values, reach for sum and product before solving.
- Factoring by grouping: split four terms into two pairs, pull the common factor from each, then factor out the shared binomial.
- Difference of squares a^2 - b^2 = (a - b)(a + b) shows up constantly after grouping.

Worked example 1

The equation x^2 - 7x + k = 0 has two roots that differ by 1. What is k?

Show solution

By Vieta's, the roots sum to 7 and their product is k. Two numbers that sum to 7 and differ by 1 are 3 and 4. So k = 3 * 4 = 12. Check: x^2 - 7x + 12 = (x - 3)(x - 4), roots 3 and 4, which differ by 1. No quadratic formula needed.

Worked example 2

Solve x^3 + 2x^2 - 9x - 18 = 0.

Show solution

Group: (x^3 + 2x^2) + (-9x - 18) = x^2(x + 2) - 9(x + 2). Factor out the shared binomial: (x + 2)(x^2 - 9). The second factor is a difference of squares: (x + 2)(x - 3)(x + 3) = 0. So x = -2, x = 3, or x = -3.

Practice set

Question 1

What is the sum of all roots of the equation x^3 + 3x^2 - 4x - 12 = 0?






Question 2

If r and s are the roots of x^2 - 6x + 4 = 0, what is the value of r^2 + s^2?






Question 3

What is the sum of the roots of the equation x^2 - 7x + 12 = 0?






Question 4

The equation x^2 - kx + 16 = 0 has two equal roots. If k is positive, what is the value of k?