Zeroes and coefficients of a quadratic
For a quadratic p(x)=ax2+bx+c (a=0), suppose the zeroes are α and β. There is a stunning shortcut: the sum and product of α,β can be read directly off the coefficients, without ever solving the quadratic.
Idea
If α and β are zeroes of p(x)=ax2+bx+c, then p(x) factorises as
p(x)=a(x−α)(x−β).
Expanding the right side,
a(x−α)(x−β)=ax2−a(α+β)x+aαβ.
Comparing with ax2+bx+c:
−a(α+β)=b⟹α+β=−ab,
aαβ=c⟹αβ=ac.
So:
α+β=−ab,αβ=ac.
These two identities are sometimes called Vieta's formulas for the quadratic, and they are the bread and butter of this chapter.
Theorem and consequences
Theorem. For the quadratic ax2+bx+c with zeroes α,β:
α+β=−ab,αβ=ac.
A few immediate uses.
(i) Constructing a quadratic from given zeroes. Given α and β, the quadratic with leading coefficient 1 is
x2−(α+β)x+αβ.
Any non-zero scalar multiple is also a valid answer.
(ii) Finding one zero when the other is known. If you know one zero α, then β=−b/a−α or β=(c/a)/α.
(iii) Reading the signs. The signs of α+β and αβ tell you whether the zeroes are positive, negative, or of opposite sign. For example, αβ>0 and α+β<0 means both zeroes are negative.
(iv) Symmetric functions. Expressions like α2+β2, α3+β3, 1/α+1/β, α/β+β/α are symmetric in α,β. They can always be written in terms of α+β and αβ. For instance,
α2+β2=(α+β)2−2αβ,
α3+β3=(α+β)3−3αβ(α+β),
α1+β1=αβα+β.
So Vieta's formulas let you compute many natural expressions without solving the quadratic.
Worked examples
Example 1. Find the zeroes of p(x)=x2−5x+6 and verify the sum/product relations.
Factor: x2−5x+6=(x−2)(x−3). Zeroes: α=2,β=3.
Check: α+β=5=−(−5)/1. ✓ αβ=6=6/1. ✓
Example 2. If one zero of x2−4x+k=0 is 3, find the other and k.
By Vieta: α+β=4 and αβ=k. With α=3, we get β=1. Then k=3⋅1=3.
Example 3. Form a quadratic whose zeroes are −3 and 4.
α+β=1,αβ=−12. Quadratic: x2−x−12. (Or any non-zero multiple.)
Example 4. If α and β are zeroes of 2x2−7x+3, find α2+β2 and α1+β1.
α+β=7/2 and αβ=3/2.
α2+β2=(α+β)2−2αβ=(7/2)2−2(3/2)=49/4−3=37/4.
α1+β1=αβα+β=3/27/2=7/3.
Example 5. Find a quadratic whose zeroes are the reciprocals of the zeroes of 5x2−7x+1.
Let α,β be zeroes of the given polynomial: α+β=7/5, αβ=1/5.
Reciprocals 1/α,1/β have sum αβα+β=1/57/5=7, and product αβ1=5.
Required quadratic: x2−7x+5.
Try it yourself
- Find the zeroes of x2−7x+12 and verify Vieta.
- If one zero of x2+(k−3)x+2k=0 is −2, find k.
- Form a quadratic with zeroes 5 and −2.
- For p(x)=x2−8x+15, find α2+β2.
- The zeroes of 3x2−8x+4 are α,β. Find α1+β1.
- Form a quadratic whose zeroes are the squares of the zeroes of x2−5x+4.
- If α+β=−3 and αβ=−10, write the quadratic.
- The zeroes of x2−p(x+1)−c are α,β. Show that (α+1)(β+1)=1−c.
- For p(x)=x2+7x+10, find α−β assuming α>β.
- Find the value of k such that the quadratic x2−(k+6)x+2(2k−1) has the sum of its zeroes equal to half their product.
Pitfalls / Insight
- Watch the sign in α+β=−b/a. It is minus b, not b.
- Always divide by a. If the leading coefficient is not 1, b and c are not directly the sum and product.
- Symmetric expressions in α,β can always be written via (α+β) and αβ , don't try to find each zero separately if you don't have to.
Insight. Vieta's formulas turn algebra into arithmetic on coefficients. Combined with the geometry of the previous topic, you now have two complementary lenses: the graph and the coefficients.