François Viète (1540–1603) was a lawyer, a royal counsellor to King Henry III of France and later worked for King Henry IV. He decoded secret letters sent to King Philip II of Spain, so that Henry IV learnt of his enemy's military plans. In mathematics, he introduced the first systematic algebraic notation: vowels for the unknowns and consonants for the known numbers, which let him write general rules for every equation (MacTutor, University of St Andrews). The link between roots and coefficients that we study today bears his name.
Minh tells the class: "The equation x2−7x+12=0 has roots 3 and 4. I knew at once, without working out Δ, because 3+4=7 and 3⋅4=12." Was Minh lucky, or is there a rule behind it? And if there is, what can that rule do for us?
Viète's theorem
Explore: the sum and product of the roots
We solve a few equations (with the quadratic formula) and work out the sum and product of the roots:
Equation
Roots
x1+x2
x1x2
x2−5x+6=0
2; 3
5
6
2x2−7x+3=0
3; 21
27
23
x2+2x−8=0
2; −4
−2
−8
In the second row the sum is 27=2−(−7) and the product is 23: the sum is always −ab and the product is always ac.
Why? When Δ≥0, add and multiply the two roots 2a−b±Δ (lesson quadratic equations); the square roots cancel:
Going deeper. If x1, x2 are the roots, then (x−x1)(x−x2)=x2−(x1+x2)x+x1x2. Comparing this with x2+abx+ac (the equation divided by a), we see that Viète's theorem is very natural. But the theorem only talks about roots that exist: always check that Δ≥0 (or that a and c have opposite signs) before using it.
From the sum S and the product P we can work out many "symmetric" expressions (swapping x1 and x2 does not change their value), for example x12+x22=(x1+x2)2−2x1x2=S2−2P.
Finding the roots mentally
Substituting x=1 into ax2+bx+c gives a+b+c; substituting x=−1 gives a−b+c. Together with the product x1x2=ac, we find the other root at once.
Part c) shows the power of this method: with the quadratic formula you would have to work out Δ=20272−4⋅2026=20252.
Finding two numbers from their sum and product
Viète's theorem also works backwards: if two numbers u, v have u+v=S and uv=P, then (x−u)(x−v)=x2−Sx+P, so u and v are the roots of x2−Sx+P=0.
The garden 12 m ×5 m
The signs of the roots
Without solving, S and P tell us the signs of the two roots (when the equation has roots):
P<0: the roots have opposite signs (then a and c have opposite signs, so the equation certainly has two roots);
Δ≥0, P>0, S>0: both roots are positive;
Δ≥0, P>0, S<0: both roots are negative.
The reason: a negative product means the numbers have different signs; a positive product means the same sign, and the sum shows which sign.
Connections. Viète's theorem follows directly from the quadratic formula and gives a new point of view: instead of finding each root, we work with the pair (S,P). This point of view is used a lot in solving word problems by forming equations (rectangle problems), in factorising ax2+bx+c=a(x−x1)(x−x2), and it is a standard question type in the grade 10 entrance exam.
Key terms
Summary
If Δ≥0: x1+x2=−ab, x1x2=ac.
a+b+c=0: roots 1 and ac; a−b+c=0: roots −1 and −ac.
Two numbers with sum S and product P are the roots of x2−Sx+P=0 (need S2−4P≥0).
x12+x22=S2−2P; x11+x21=PS.
P<0: opposite signs; P>0, S>0: both positive; P>0, S<0: both negative (when Δ≥0).
Practice
Each exercise comes with what you need and some steps to start. Try it yourself first, then open the solution.
Exercise 1
Without solving, find the sum and the product of the roots (if any) of each equation:
a) x2−6x+2=0.
b) 3x2+5x−4=0.
c) x2+x+1=0.
What you need and how to start
What you need: Viète's theorem, used only when the equation has roots.
Steps:
Check that Δ≥0 or that a and c have opposite signs.
Work out −ab and ac.
Show solution
a) We have Δ′=9−2=7>0, so x1+x2=6 and x1x2=2.
b) We have a=3 and c=−4 of opposite signs, so the equation has two roots, with x1+x2=−35 and x1x2=−34.
c) We have Δ=1−4=−3<0, so the equation has no solutions.
So a) S=6, P=2; b) S=−35, P=−34; c) there are no roots.
Answer. a) 6 and 2; b) −35 and −34; c) the equation has no solutions.
Exercise 2
Find the roots of the following equations mentally:
Without solving, find the signs of the roots of each equation:
a) 2x2+5x−9=0.
b) x2−10x+7=0.
c) x2+8x+3=0.
What you need and how to start
What you need:P<0: opposite signs; Δ≥0 and P>0: both have the sign of S.
Steps:
Work out P; if P>0, check Δ′ and work out S.
Show solution
a) We have P=−29<0, so the roots have opposite signs.
b) We have Δ′=25−7=18>0, P=7>0 and S=10>0, so both roots are positive.
c) We have Δ′=16−3=13>0, P=3>0 and S=−8<0, so both roots are negative.
So a) opposite signs; b) both positive; c) both negative.
Answer. a) Opposite signs; b) two positive roots; c) two negative roots.
Exercise 7
Suppose a rectangular outdoor sports court with spectator area has perimeter 120 m and area 875 m². Find the length and the width of the pitch.
What you need and how to start
What you need: the two sides have sum S=60 and product P=875.
Steps:
Form the equation x2−60x+875=0.
Solve it with the reduced discriminant.
Show solution
The two sides of the pitch are the roots of x2−60x+875=0. We have Δ′=900−875=25, so x=30±5, that is x=35 or x=25.
So the pitch is 35 m long and 25 m wide.
Answer.35 m and 25 m.
Exercise 8
(1.5 marks) Consider the equation x2−5x+2=0.
a) Prove that the equation has two distinct roots x1, x2.
b) Without solving the equation, find x12+x22.
c) Find the value of the expression A=x2x1+x1x2.
What you need and how to start
What you need:Δ>0; x12+x22=S2−2P; over a common denominator A=x1x2x12+x22.
Steps:
Work out Δ.
Find S, P, then S2−2P.
Use the result of part b) in part c).
Show solution
a) We have Δ=25−8=17>0, so the equation has two distinct roots.
b) By Viète's theorem, S=5 and P=2. Hence x12+x22=25−4=21.
c) We have A=x1x2x12+x22=221.
So b) x12+x22=21; c) A=221.
Answer. a) Δ=17>0; b) 21; c) 221.
Exercise 9 Challenge
Let x1, x2 be the roots of the equation x2−6x+4=0. Prove that both roots are positive, then find x1+x2.
What you need and how to start
What you need: the signs of the roots; (x1+x2)2=x1+x2+2x1x2.
Steps:
Work out Δ′, S, P.
Square the required expression and use S, P.
Take the square root, remembering that the expression is positive.
Show solution
We have Δ′=9−4=5>0, S=6>0 and P=4>0, so both roots are positive. Let T=x1+x2>0; then
T2=x1+x2+2x1x2=6+24=10.
Since T>0, T=10.
So x1+x2=10.
Answer.10.
Mini test
Mini test
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
Question 1. The sum of the roots of the equation 2x2−6x−5=0 is
Answer: A.
a and c have opposite signs, so there are two roots; S=−2−6=3. B has the wrong sign, C is the product, and D forgets to divide by a.
Question 2. The product of the roots of the equation 3x2+7x−6=0 is
Answer: A.
P=ac=3−6=−2. B has the wrong sign, C is the sum, and D forgets to divide by a.
Question 3. The roots of the equation 4x2−9x+5=0 are
Answer: A.
a+b+c=4−9+5=0, so x1=1 and x2=ac=45. B uses the rule for a−b+c=0 by mistake, C has the wrong sign of ac, and D forgets to divide by a.
Question 4. Two numbers with sum 9 and product 20 are the roots of the equation
Answer: A.
The equation is x2−Sx+P=0 with S=9, P=20. B has the wrong sign of S, C swaps S and P, and D has the wrong signs of both S and P.
Part II. True or false
Question 1. The equation x2−3x−10=0 has two roots x1, x2. Decide whether each statement is true or false.
a) The equation has two roots of opposite signs.
b)x1+x2=−3.
c)x1x2=−10.
d)x12+x22=29.
Answer: a) True; b) False; c) True; d) True.
a) True: P=−10<0. b) False: S=3. c) True. d) True: 9+20=29.
Part III. Short answer
Question 1. Let x1, x2 be the roots of the equation x2−7x+2=0. Find x12+x22.
Answer: 45.
Δ=41>0, S=7, P=2, so x12+x22=49−4=45.
Question 2. Find mentally the larger root of the equation 2x2−11x+9=0 (give your answer as a decimal).
Answer: 4.5.
a+b+c=2−11+9=0, so the roots are 1 and 29=4.5.
Show answers and explanations
Part I, question 1: A. a and c have opposite signs, so there are two roots; S=−2−6=3. B has the wrong sign, C is the product, and D forgets to divide by a.
Part I, question 2: A. P=ac=3−6=−2. B has the wrong sign, C is the sum, and D forgets to divide by a.
Part I, question 3: A. a+b+c=4−9+5=0, so x1=1 and x2=ac=45. B uses the rule for a−b+c=0 by mistake, C has the wrong sign of ac, and D forgets to divide by a.
Part I, question 4: A. The equation is x2−Sx+P=0 with S=9, P=20. B has the wrong sign of S, C swaps S and P, and D has the wrong signs of both S and P.
Part II, question 1: a) True; b) False; c) True; d) True. a) True: P=−10<0. b) False: S=3. c) True. d) True: 9+20=29.
Part III, question 1: 45. Δ=41>0, S=7, P=2, so x12+x22=49−4=45.
Part III, question 2: 4.5. a+b+c=2−11+9=0, so the roots are 1 and 29=4.5.
Solutions and answers
Try each exercise on your own first, then check here.
Exercise 1.
a) We have Δ′=9−2=7>0, so x1+x2=6 and x1x2=2.
b) We have a=3 and c=−4 of opposite signs, so the equation has two roots, with x1+x2=−35 and x1x2=−34.
c) We have Δ=1−4=−3<0, so the equation has no solutions.
So a) S=6, P=2; b) S=−35, P=−34; c) there are no roots.
Answer. a) 6 and 2; b) −35 and −34; c) the equation has no solutions.
Exercise 2.
a) We have 5−3−2=0, so x1=1 and x2=−52.
b) We have 1−9+8=0, so x1=−1 and x2=−8.
c) We have 7−4−3=0, so x1=−1 and x2=73.
So a) 1; −52. b) −1; −8. c) −1; 73.
Answer. a) 1; −52. b) −1; −8. c) −1; 73.
Exercise 3.
By Viète's theorem, x1+x2=4, so x2=4−(2+3)=2−3. Check with the product: (2+3)(2−3)=4−3=1=ac.
So the other root is x2=2−3.
Answer.x2=2−3.
Exercise 4.
a) u, v are the roots of x2−10x+21=0. We have Δ′=25−21=4, so x=5±2, that is x=7 or x=3.
b) u, v are the roots of x2+3x−40=0. We have Δ=9+160=169, so x=2−3±13, that is x=5 or x=−8.
c) We have S2−4P=36−40=−4<0, so there are no such numbers.
So a) {u,v}={7,3}; b) {u,v}={5,−8}; c) they do not exist.
Answer. a) 7 and 3; b) 5 and −8; c) none.
Exercise 5.
We have a=1 and c=−5 of opposite signs, so the equation has two roots, with S=3 and P=−5. Hence
a) We have P=−29<0, so the roots have opposite signs.
b) We have Δ′=25−7=18>0, P=7>0 and S=10>0, so both roots are positive.
c) We have Δ′=16−3=13>0, P=3>0 and S=−8<0, so both roots are negative.
So a) opposite signs; b) both positive; c) both negative.
Answer. a) Opposite signs; b) two positive roots; c) two negative roots.
Exercise 7.
The two sides of the pitch are the roots of x2−60x+875=0. We have Δ′=900−875=25, so x=30±5, that is x=35 or x=25.
So the pitch is 35 m long and 25 m wide.
Answer.35 m and 25 m.
Exercise 8.
a) We have Δ=25−8=17>0, so the equation has two distinct roots.
b) By Viète's theorem, S=5 and P=2. Hence x12+x22=25−4=21.
c) We have A=x1x2x12+x22=221.
So b) x12+x22=21; c) A=221.
Answer. a) Δ=17>0; b) 21; c) 221.
Exercise 9.
We have Δ′=9−4=5>0, S=6>0 and P=4>0, so both roots are positive. Let T=x1+x2>0; then
T2=x1+x2+2x1x2=6+24=10.
Since T>0, T=10.
So x1+x2=10.
Answer.10.
Mini test: answers
Part I, question 1: A. a and c have opposite signs, so there are two roots; S=−2−6=3. B has the wrong sign, C is the product, and D forgets to divide by a.
Part I, question 2: A. P=ac=3−6=−2. B has the wrong sign, C is the sum, and D forgets to divide by a.
Part I, question 3: A. a+b+c=4−9+5=0, so x1=1 and x2=ac=45. B uses the rule for a−b+c=0 by mistake, C has the wrong sign of ac, and D forgets to divide by a.
Part I, question 4: A. The equation is x2−Sx+P=0 with S=9, P=20. B has the wrong sign of S, C swaps S and P, and D has the wrong signs of both S and P.
Part II, question 1: a) True; b) False; c) True; d) True. a) True: P=−10<0. b) False: S=3. c) True. d) True: 9+20=29.
Part III, question 1: 45. Δ=41>0, S=7, P=2, so x12+x22=49−4=45.
Part III, question 2: 4.5. a+b+c=2−11+9=0, so the roots are 1 and 29=4.5.