Skip to content
Gioi Toan
Start learning
A parabola on coordinate axes with a smiling ball rolling along it

Notes on Lesson 20: Vieta's theorem and its applications (Maths 9 Ket noi tri thuc)

Lesson summary

Sum of roots S=x1+x2=−baS = x_1 + x_2 = -\frac{b}{a}; product of roots P=x1x2=caP = x_1 x_2 = \frac{c}{a}.

Adding the two roots, the Δ\sqrt{\Delta} part cancels: x1+x2=−2b2a=−bax_1 + x_2 = \frac{-2b}{2a} = -\frac{b}{a}.

This theorem tells you the sum and product of the two roots without solving, like knowing the total bill and the number of items without needing to look at each item's price.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Giải thích được định lí Viète
  • Ứng dụng định lí Viète để nhẩm nghiệm, tìm hai số biết tổng và tích

Your friend asks: “Which two numbers have sum 17 and product 60?” Trying pairs one by one takes ages. This lesson gives you a key: the sum and product of roots of a quadratic equation in one variable can be read straight from the coefficients. Thanks to that, you can solve quadratic equations by inspection in a few seconds, find two numbers given their sum and product, and compute many expressions without solving the equation.

Practise nowTextbook solutions for this lesson

Key ideas: what do you need to know?

Vieta's theorem

If x1x_1, x2x_2 are two solutions of the equation ax2+bx+c=0ax^2 + bx + c = 0 (a≠0)(a \ne 0) then {x1+x2=−bax1x2=ca\begin{cases} x_1 + x_2 = -\frac{b}{a} \\ x_1 x_2 = \frac{c}{a} \end{cases}

  • Sum of roots S=x1+x2=−baS = x_1 + x_2 = -\frac{b}{a}; product of roots P=x1x2=caP = x_1 x_2 = \frac{c}{a}.
  • It can only be used when the equation has solutions, that is, Δ≥0\Delta \ge 0 (or Δ′≥0\Delta' \ge 0). You must check this condition first.
  • Example: 2x2+11x+7=02x^2 + 11x + 7 = 0 has Δ=121−56=65>0\Delta = 121 - 56 = 65 > 0, so x1+x2=−112x_1 + x_2 = -\frac{11}{2}, x1x2=72x_1 x_2 = \frac{7}{2}.

In plain words: This theorem tells you the sum and product of the two roots without solving, like knowing the total bill and the number of items without needing to look at each item's price. Watch the signs: the sum has a minus sign, the product does not. Why check Δ\Delta first? Because x2+2x+5=0x^2 + 2x + 5 = 0 has no solution, yet if you just apply the formula you still get “sum equals −2-2”, a number belonging to two roots that do not exist at all.

Phrase by phrase
Sum of roots
The result of x1+x2x_1 + x_2, also written SS.Example: x2−5x+6=0x^2 - 5x + 6 = 0 has S=5S = 5.
product of roots
The result of x1⋅x2x_1 \cdot x_2, also written PP.Example: x2−5x+6=0x^2 - 5x + 6 = 0 has P=6P = 6.
has solutions
There is at least one number satisfying the equation (a double root counts too).Example: x2−4x+4=0x^2 - 4x + 4 = 0 has a double root x=2x = 2.
Δ≥0\Delta \ge 0
The discriminant is greater than or equal to 0.Example: Δ=0\Delta = 0 can still use Vieta's theorem, and then x1=x2x_1 = x_2.

Why the theorem is true and how to use it to compute expressions

From the quadratic formula x1,2=−b±Δ2ax_{1,2} = \frac{-b \pm \sqrt{\Delta}}{2a}:

  • Adding the two roots, the Δ\sqrt{\Delta} part cancels: x1+x2=−2b2a=−bax_1 + x_2 = \frac{-2b}{2a} = -\frac{b}{a}.
  • Multiplying the two roots using the difference of two squares identity: x1x2=b2−Δ4a2=4ac4a2=cax_1 x_2 = \frac{b^2 - \Delta}{4a^2} = \frac{4ac}{4a^2} = \frac{c}{a}.

Thanks to SS and PP, you can compute symmetric expressions of the two roots without finding the roots:

  • x12+x22=S2−2Px_1^2 + x_2^2 = S^2 - 2P.
  • 1x1+1x2=SP\frac{1}{x_1} + \frac{1}{x_2} = \frac{S}{P} (when P≠0P \ne 0).

In plain words: The two roots differ only in the plus or minus sign before Δ\sqrt{\Delta}. Added together, those two square roots cancel, like stepping up one step then down one step, back to where you were. Multiplied, you get a difference of two squares, and the root disappears too. That is why the sum and product are always tidy numbers, even when the roots involve messy square roots. Any expression that swaps x1x_1 and x2x_2 without changing its value can be written using SS and PP.

Phrase by phrase
cancel
Two parts with opposite signs add up to 0, and disappear.Example: 5+(−5)=0\sqrt{5} + (-\sqrt{5}) = 0.
difference of two squares
The identity (A+B)(A−B)=A2−B2(A + B)(A - B) = A^2 - B^2.Example: (−b+Δ)(−b−Δ)=b2−Δ(-b + \sqrt{\Delta})(-b - \sqrt{\Delta}) = b^2 - \Delta.
symmetric expression
An expression that does not change when x1x_1 and x2x_2 are swapped.Example: x12+x22x_1^2 + x_2^2, x1x2x_1 x_2, 1x1+1x2\frac{1}{x_1} + \frac{1}{x_2}.
x12+x22=S2−2Px_1^2 + x_2^2 = S^2 - 2P
From (x1+x2)2=x12+2x1x2+x22(x_1 + x_2)^2 = x_1^2 + 2x_1x_2 + x_2^2.Example: S=5S = 5, P=3P = 3 then x12+x22=19x_1^2 + x_2^2 = 19.

Solving quadratic equations by inspection

Consider the equation ax2+bx+c=0ax^2 + bx + c = 0 (a≠0)(a \ne 0):

  • If a+b+c=0a + b + c = 0 then the equation has one solution x1=1x_1 = 1, the other solution is x2=cax_2 = \frac{c}{a}.
  • If a−b+c=0a - b + c = 0 then the equation has one solution x1=−1x_1 = -1, the other solution is x2=−cax_2 = -\frac{c}{a}.
  • Knowing one solution in advance x1x_1, find the other solution using the sum or the product: x2=−ba−x1x_2 = -\frac{b}{a} - x_1, or x2=cax1x_2 = \frac{c}{a x_1} when x1≠0x_1 \ne 0.

Example: x2−6x+5=0x^2 - 6x + 5 = 0 has 1−6+5=01 - 6 + 5 = 0, so x1=1x_1 = 1, x2=5x_2 = 5.

In plain words: Substitute x=1x = 1 into ax2+bx+cax^2 + bx + c and you get exactly a+b+ca + b + c. That sum equals 0, which means 11 is a solution, that is all. Substitute x=−1x = -1 and you get a−b+ca - b + c. With one solution known, the other comes from the product: 1⋅x2=ca1 \cdot x_2 = \frac{c}{a}. Before computing Δ\Delta, glance at these two sums, hit one and the exercise is done in a few seconds, no square roots, no dividing.

Phrase by phrase
a+b+c=0a + b + c = 0
The sum of the three coefficients equals 0, in that case x=1x = 1 is a solution.Example: 3x2−5x+2=03x^2 - 5x + 2 = 0: 3−5+2=03 - 5 + 2 = 0.
a−b+c=0a - b + c = 0
In that case x=−1x = -1 is a solution.Example: 2x2+7x+5=02x^2 + 7x + 5 = 0: 2−7+5=02 - 7 + 5 = 0.
Knowing one solution in advance
The problem gives one solution, or you can try one out.Example: Knowing x1=3x_1 = 3 of x2−11x+24=0x^2 - 11x + 24 = 0 then x2=8x_2 = 8.

Find two numbers given their sum and product

If two numbers have sum equal to SS and product equal to PP then those two numbers are the two solutions of the equation
x2−Sx+P=0x^2 - Sx + P = 0.

  • Condition for such two numbers to exist: S2−4P≥0S^2 - 4P \ge 0.
  • Example: two numbers with sum 9 and product 20 are solutions of x2−9x+20=0x^2 - 9x + 20 = 0. Δ=81−80=1\Delta = 81 - 80 = 1, so the two numbers are 4 and 5.

In plain words: This is Vieta's theorem running backwards. Knowing SS and PP, you can build the equation that has the two numbers as solutions, then solve it. The minus sign in front of SS is there to match x1+x2=−bax_1 + x_2 = -\frac{b}{a} when a=1a = 1. Why do we need S2−4P≥0S^2 - 4P \ge 0? Because that is exactly Δ\Delta. Try finding two numbers with sum 3 and product 5: 9−20<09 - 20 < 0, there is no such pair at all.

Phrase by phrase
sum equal to SS
Add the two numbers and you get S.Example: The two numbers 4 and 5 have S=9S = 9.
product equal to PP
Multiply the two numbers and you get P.Example: The two numbers 4 and 5 have P=20P = 20.
Condition
It must be satisfied for such two numbers to exist.Example: Sum 2, product 5: 4−20<04 - 20 < 0, none exist.

Common mistakesWriting the sum as ba\frac{b}{a}, forgetting the minus sign: it should be x1+x2=−bax_1 + x_2 = -\frac{b}{a}.

Worked examples

Example 1

Without solving the equation, compute the sum and the product of the solutions (if any): a) 2x2−7x+3=02x^2 - 7x + 3 = 0; b) x2+2x+5=0x^2 + 2x + 5 = 0.

Show the solution to example 1

Step 1: a) Δ=49−24=25>0\Delta = 49 - 24 = 25 > 0, the equation has two solutions.
Step 2: By Vieta: x1+x2=−−72=72x_1 + x_2 = -\frac{-7}{2} = \frac{7}{2}, x1x2=32x_1 x_2 = \frac{3}{2}.
Why: b=−7b = -7 so −ba=72-\frac{b}{a} = \frac{7}{2}, positive. The common mistake is keeping the minus sign.
Step 3: b) Δ=4−20=−16<0\Delta = 4 - 20 = -16 < 0, the equation has no solution, so there is no sum or product of roots to compute.
Result: a) S=72S = \frac{7}{2}, P=32P = \frac{3}{2}; b) the equation has no solution.

Common mistakesUsing Viete when the equation has no solution, without checking Δ≥0\Delta \ge 0 first.

TipThe sum has a minus sign, the product stays the same: S=−baS = -\frac{b}{a}, P=caP = \frac{c}{a}.

Example 2

Solving quadratic equations by inspection: a) 3x2−5x+2=03x^2 - 5x + 2 = 0; b) 2x2+7x+5=02x^2 + 7x + 5 = 0.

Show the solution to example 2

Step 1: a) a+b+c=3+(−5)+2=0a + b + c = 3 + (-5) + 2 = 0, so x1=1x_1 = 1, x2=ca=23x_2 = \frac{c}{a} = \frac{2}{3}.
Step 2: b) a+b+c=14≠0a + b + c = 14 \ne 0; try a−b+c=2−7+5=0a - b + c = 2 - 7 + 5 = 0.
Why: a−b+ca - b + c has a minus sign in front of bb because it is the value of the left-hand side when substituting x=−1x = -1.
Step 3: So x1=−1x_1 = -1, x2=−ca=−52x_2 = -\frac{c}{a} = -\frac{5}{2}.
Step 4: Check b) with Vieta: −1+(−52)=−72=−ba-1 + (-\frac{5}{2}) = -\frac{7}{2} = -\frac{b}{a}, correct.
Result: a) x1=1x_1 = 1, x2=23x_2 = \frac{2}{3}; b) x1=−1x_1 = -1, x2=−52x_2 = -\frac{5}{2}.

Common mistakesSolving a−b+c=0a - b + c = 0 by inspection, then taking the other solution as ca\frac{c}{a}, forgetting the minus sign: it should be −ca-\frac{c}{a}.

Example 3

The equation x2+mx−12=0x^2 + mx - 12 = 0 has one solution 33. Find the other solution and the value of mm.

Show the solution to example 3

Step 1: The equation has a=1a = 1, c=−12c = -12, so x1x2=−12x_1 x_2 = -12.
Step 2: With x1=3x_1 = 3: 3x2=−123 x_2 = -12, so x2=−4x_2 = -4.
Why: Use the product first because the product does not contain mm, so the other solution comes out right away.
Step 3: Sum: x1+x2=−m1x_1 + x_2 = -\frac{m}{1}, that is 3+(−4)=−m3 + (-4) = -m, so m=1m = 1.
Step 4: Check: 32+1⋅3−12=03^2 + 1 \cdot 3 - 12 = 0, correct.
Result: The other solution is −4-4, m=1m = 1.

TipBefore computing Δ\Delta, try a+b+ca + b + c and a−b+ca - b + c right away.

TipOnce you find the solutions, add and multiply them back to compare with S and P. That is the quickest self-check.

Example 4

Find two numbers, given: a) sum equal to 9 and product equal to 20; b) sum equal to 3 and product equal to 5.

Show the solution to example 4

Step 1: a) The two numbers are solutions of x2−9x+20=0x^2 - 9x + 20 = 0.
Why: The equation is x2−Sx+P=0x^2 - Sx + P = 0, so the coefficient of xx is −9-9, not +9+9.
Step 2: Δ=81−80=1\Delta = 81 - 80 = 1, x1=9+12=5x_1 = \frac{9 + 1}{2} = 5, x2=9−12=4x_2 = \frac{9 - 1}{2} = 4.
Step 3: b) S2−4P=9−20=−11<0S^2 - 4P = 9 - 20 = -11 < 0, the condition is not satisfied.
Result: a) the two numbers are 5 and 4; b) there are no such two numbers.

Common mistakesForming the equation to find two numbers gives x2+Sx+P=0x^2 + Sx + P = 0, wrong sign before SS.

Common mistakesComputing x12+x22=S2−Px_1^2 + x_2^2 = S^2 - P, forgetting the coefficient 2 of PP.

Example 5

Let x1x_1, x2x_2 be the two solutions of x2−5x+3=0x^2 - 5x + 3 = 0. Without solving the equation, compute x12+x22x_1^2 + x_2^2 and 1x1+1x2\frac{1}{x_1} + \frac{1}{x_2}.

Show the solution to example 5

Step 1: Δ=25−12=13>0\Delta = 25 - 12 = 13 > 0, the equation has two solutions. By Vieta: S=5S = 5, P=3P = 3.
Step 2: x12+x22=(x1+x2)2−2x1x2=25−6=19x_1^2 + x_2^2 = (x_1 + x_2)^2 - 2x_1x_2 = 25 - 6 = 19.
Why: (x1+x2)2(x_1 + x_2)^2 has 2x1x22x_1x_2 extra compared with x12+x22x_1^2 + x_2^2, so you must subtract 2P2P, not PP.
Step 3: 1x1+1x2=x1+x2x1x2=53\frac{1}{x_1} + \frac{1}{x_2} = \frac{x_1 + x_2}{x_1 x_2} = \frac{5}{3}.
Result: x12+x22=19x_1^2 + x_2^2 = 19, 1x1+1x2=53\frac{1}{x_1} + \frac{1}{x_2} = \frac{5}{3}.

Example 6

A rectangular garden has perimeter 34 m and area 60 m². Find its length and width.

Show the solution to example 6

Step 1: Half the perimeter is 34:2=1734 : 2 = 17 m, so the length plus the width equals 17, and their product equals 60.
Why: The perimeter is twice the sum of length and width, so the sum SS is half the perimeter, not 34.
Step 2: The two sides are the solutions of x2−17x+60=0x^2 - 17x + 60 = 0. Δ=289−240=49\Delta = 289 - 240 = 49, Δ=7\sqrt{\Delta} = 7.
Step 3: x1=17+72=12x_1 = \frac{17 + 7}{2} = 12, x2=17−72=5x_2 = \frac{17 - 7}{2} = 5.
Step 4: Check: 2(12+5)=342(12 + 5) = 34, 12⋅5=6012 \cdot 5 = 60.
Result: Length 12 m, width 5 m.

Terms

Vieta's theorem
The theorem says the sum and product of the two solutions of a quadratic equation in one variable are computed from the coefficients.Example: x1+x2=−bax_1 + x_2 = -\frac{b}{a}, x1x2=cax_1x_2 = \frac{c}{a}.
Sum of roots (S)
S=x1+x2S = x_1 + x_2.Example: x2−7x+10=0x^2 - 7x + 10 = 0 has S=7S = 7.
Product of roots (P)
P=x1x2P = x_1 x_2.Example: x2−7x+10=0x^2 - 7x + 10 = 0 has P=10P = 10.
Solving quadratic equations by inspection
Find the solutions by a quick observation, without using the quadratic formula.Example: x2−6x+5=0x^2 - 6x + 5 = 0 has 1−6+5=01 - 6 + 5 = 0 so x=1x = 1, x=5x = 5.
Symmetric expression
An expression that does not change when x1x_1 and x2x_2 are swapped.Example: x12+x22x_1^2 + x_2^2.
Condition for having solutions
Δ≥0\Delta \ge 0, check it before using Viete.Example: x2+x+3=0x^2 + x + 3 = 0 has Δ=−11\Delta = -11, do not use Viete.
Equation x² − Sx + P = 0
The equation that has two numbers with sum S and product P as its solutions.Example: Sum 9, product 20: x2−9x+20=0x^2 - 9x + 20 = 0.

Practise this lesson with instant marking and saved progress in the study app. Suggested plan: Class lessons plan, Maths 9.

Practice

Answer each question, then press Check. If you get stuck, open the hints under the question one step at a time.

Question 5 of 12Written answer · Applying

This content is not yet available in English. It is shown below in the original Vietnamese.

Cho phương trình 3x² + 5x + 2 = 0.
a) Xác định các hệ số a, b, c rồi tính a - b + c.
b) Chứng tỏ rằng x₁ = -1 là một nghiệm của phương trình.
c) Dùng định lí Viète để tìm nghiệm còn lại x₂ của phương trình.

Do this question in your notebook and show every step. When you finish, press the button below to compare with the mark scheme.

Asking the teacher while practising is for children who have a profile. It is free to turn on: Parent sign-in.

More practice questions for you

Extra practice

  • Tìm hai số khi biết tổng và tích (Understanding)
  • Lập phương trình bậc hai có hai nghiệm cho trước hoặc nghiệm liên quan nghiệm phương trình khác (Understanding)
  • Phân tích tam thức bậc hai thành nhân tử nhờ nghiệm (Applying)
  • Tính giá trị biểu thức đối xứng của hai nghiệm (Applying)
  • Xét dấu các nghiệm (cùng dấu, trái dấu, cùng dương) (Applying)
  • Tìm tham số để hai nghiệm thỏa một hệ thức (Applying, Advanced applying)

Additional exercises

  • Tính tổng và tích hai nghiệm bằng định lí Viète mà không giải phương trình (Recall, Applying, Advanced applying)
  • Tính giá trị biểu thức đối xứng của hai nghiệm (Applying, Advanced applying)
  • Tìm tham số để hai nghiệm thỏa một hệ thức (Applying)
  • Lập phương trình bậc hai có hai nghiệm cho trước hoặc nghiệm liên quan nghiệm phương trình khác (Advanced applying)
  • Nhẩm nghiệm nhanh khi tổng các hệ số bằng 0 hoặc hệ số xen kẽ (Understanding, Applying)
  • Tìm hai số khi biết tổng và tích (Applying)
  • Phân tích tam thức bậc hai thành nhân tử nhờ nghiệm (Applying)

Challenge yourself

  • Nhẩm nghiệm nhanh khi tổng các hệ số bằng 0 hoặc hệ số xen kẽ (Applying)
  • Tính tổng và tích hai nghiệm bằng định lí Viète mà không giải phương trình (Applying, Understanding)
  • Tìm hai số khi biết tổng và tích (Applying, Advanced applying)
  • Tìm tham số để hai nghiệm thỏa một hệ thức (Applying)
  • Lập phương trình bậc hai có hai nghiệm cho trước hoặc nghiệm liên quan nghiệm phương trình khác (Applying)
  • Phân tích tam thức bậc hai thành nhân tử nhờ nghiệm (Applying)

Ask a parent to sign in and create your profile to unlock more. It's free. Sign in

Skills in this lesson

Tap a skill to see what to secure first, what comes next, and more practice.