Common mistake
The sum of the roots is b/a.
Correct understanding
The sum is -b/a. The minus sign comes from expanding (x - α)(x - β).
Maths · Lesson 4.3
Root-coefficient relations, symmetric functions and forming equations.
By the end of this lesson, you should be able to:
The roots of a quadratic equation are not independent of its coefficients. Their sum and product can be read directly from a, b and c. These relations let you answer questions about roots without solving the equation.
They also work in reverse: given the sum and product of two numbers, you can write the quadratic equation that has those numbers as roots. This is a standard way to reconstruct an equation from information about its solutions.
If α and β are the roots of ax2 + bx + c = 0, then α + β = -b/a and αβ = c/a. These follow by expanding a(x - α)(x - β) and comparing coefficients with ax2 + bx + c.
Symmetric expressions in the roots can be written in terms of the sum and product. For example, α2 + β2 = (α + β)2 - 2αβ, and 1/α + 1/β = (α + β)/(αβ), provided neither root is zero.
If two numbers have sum S and product P, they are the roots of x2 - Sx + P = 0. This is because expanding (x - α)(x - β) gives x2 - (α + β)x + αβ. The equation is unique up to a non-zero scalar multiple.
The same idea extends to higher-degree polynomials. For a cubic with roots α, β, γ, the sum of the roots is -b/a, the sum of pairwise products is c/a, and the product is -d/a. These are the Vieta relations.
The sum is α + β = -b/a = 7/2.
The product is αβ = c/a = 3/2.
Use α2 + β2 = (α + β)2 - 2αβ.
Substitute: (7/2)2 - 2(3/2) = 49/4 - 3 = 49/4 - 12/4 = 37/4.
Common mistake
The sum of the roots is b/a.
Correct understanding
The sum is -b/a. The minus sign comes from expanding (x - α)(x - β).
Yes. The coefficients may be real while the roots are complex conjugates, and the formulas still apply.
Then the product is zero, so c = 0. The equation has a factor of x.