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

Notes on Lesson 3: Vieta's theorem (Maths 9 Chan troi sang tao, Chapter 6)

Lesson summary

Explanation: add the two roots −b+Δ2a+−b−Δ2a=−2b2a=−ba\frac{-b + \sqrt{\Delta}}{2a} + \frac{-b - \sqrt{\Delta}}{2a} = \frac{-2b}{2a} = -\frac{b}{a}; multiply the two roots (−b)2−Δ4a2=b2−b2+4ac4a2=ca\frac{(-b)^2 - \Delta}{4a^2} = \frac{b^2 - b^2 + 4ac}{4a^2} = \frac{c}{a}.

If a+b+c=0a + b + c = 0 then the equation has one root x1=1x_1 = 1, and the other root is x2=cax_2 = \frac{c}{a}.

The two roots look like "something plus a square root" and "something minus a square root".

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

Some quadratic equations can be solved by inspection in a few seconds, without computing Δ\Delta. The secret lies in Vieta's theorem: the sum and product of roots can be read straight off the coefficients. This lesson helps you explain the theorem, use it to solve quadratic equations by inspection, and find two numbers when you know their sum and product.

Practise nowTextbook solutions for this lesson

Key ideas: what do you need to know?

Vieta's theorem

Vieta's theorem: If x1x_1, x2x_2 are two roots of the equation ax2+bx+c=0ax^2 + bx + c = 0 (a≠0)(a \ne 0) then

  • S=x1+x2=−baS = x_1 + x_2 = -\frac{b}{a}; P=x1x2=caP = x_1 x_2 = \frac{c}{a}
  • Explanation: add the two roots −b+Δ2a+−b−Δ2a=−2b2a=−ba\frac{-b + \sqrt{\Delta}}{2a} + \frac{-b - \sqrt{\Delta}}{2a} = \frac{-2b}{2a} = -\frac{b}{a}; multiply the two roots (−b)2−Δ4a2=b2−b2+4ac4a2=ca\frac{(-b)^2 - \Delta}{4a^2} = \frac{b^2 - b^2 + 4ac}{4a^2} = \frac{c}{a}.
  • The theorem only applies when the equation has solutions (Δ≥0\Delta \ge 0); for a double root, take x1=x2x_1 = x_2.
  • 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: The two roots look like "something plus a square root" and "something minus a square root". Added together, the two square roots cancel out; multiplied, you get the difference of two squares, and the square root disappears too. So the sum and product depend only on aa, bb, cc, with no need to solve the equation. It is like paying for two dishes at a restaurant: you do not know the price of each dish, but knowing the total and their product is enough to work out a lot.

Phrase by phrase
two roots
The equation must have solutions, including a double root, for this to apply.Example: x2+x+1=0x^2 + x + 1 = 0 has Δ<0\Delta < 0, so Vieta's theorem cannot be used.
has solutions
Condition Δ≥0\Delta \ge 0 (or Δ′≥0\Delta' \ge 0).Example: x2−4x+4=0x^2 - 4x + 4 = 0: Δ=0\Delta = 0, it has a double root.
−ba-\frac{b}{a}
Sum of roots, remember the minus sign.Example: x2−5x+6=0x^2 - 5x + 6 = 0: the sum is 55.
ca\frac{c}{a}
Product of roots, no extra minus sign.Example: x2−5x+6=0x^2 - 5x + 6 = 0: the product is 66.

Solving a quadratic equation when one root is known

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 root x1=1x_1 = 1, and the other root is x2=cax_2 = \frac{c}{a}.
  • If a−b+c=0a - b + c = 0 then the equation has one root x1=−1x_1 = -1, and the other root is x2=−cax_2 = -\frac{c}{a}.
  • In general, if one root is known x1x_1, find the other root from the sum x2=−ba−x1x_2 = -\frac{b}{a} - x_1, or from the product 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 the two roots are 1 and 5.
Dấu hiệuNghiệm thứ nhấtNghiệm thứ hai
a + b + c = 0x₁ = 1x₂ = c/a
a − b + c = 0x₁ = −1x₂ = −c/a
Bảng nhẩm nghiệm: nếu a + b + c = 0 thì hai nghiệm là 1 và c/a; nếu a − b + c = 0 thì hai nghiệm là −1 và −c/a

In plain words: Substituting x=1x = 1 into ax2+bx+cax^2 + bx + c gives exactly a+b+ca + b + c. This sum being 0 means 1 is a root. Substituting x=−1x = -1 gives a−b+ca - b + c. With one root known, the product of roots is ca\frac{c}{a}, so dividing gives the other root. It is like knowing two friends put in 30 thousand dong together, and one put in 12, then the other put in 18, no need to ask.

Phrase by phrase
a+b+c=0a + b + c = 0
The sum of the three coefficients is 0, in which case x=1x = 1 is a root.Example: 3x2−5x+2=03x^2 - 5x + 2 = 0: 3−5+2=03 - 5 + 2 = 0, roots 1 and 23\frac{2}{3}.
a−b+c=0a - b + c = 0
In that case x=−1x = -1 is a root.Example: x2+4x+3=0x^2 + 4x + 3 = 0: 1−4+3=01 - 4 + 3 = 0, roots −1-1 and −3-3.
one root is known
The problem gives one root, just find the remaining root.Example: x2−7x+10=0x^2 - 7x + 10 = 0 has root 2, the other root is 102=5\frac{10}{2} = 5.

TipWith a new equation, first add a+b+ca + b + c and a−b+ca - b + c mentally. If it equals 0, there is a solution right away, no need to compute Δ\Delta.

Finding two numbers when their sum and product are known

If two numbers have sum equal to SS and product equal to PP, then those two numbers are the two roots of the quadratic 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 roots 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: Call the two numbers uu and vv. Then (x−u)(x−v)=x2−(u+v)x+uv=x2−Sx+P(x - u)(x - v) = x^2 - (u + v)x + uv = x^2 - Sx + P, so uu and vv are exactly the two roots of this equation. The condition S2−4P≥0S^2 - 4P \ge 0 is exactly the Δ≥0\Delta \ge 0 of that equation. It is like the riddle Dad often asks: "Two numbers add up to 7 and multiply to 12, what are they?" Set up x2−7x+12=0x^2 - 7x + 12 = 0 and you get 3 and 4. But a riddle with sum 3 and product 5 has no answer, because 9−20<09 - 20 < 0.

Phrase by phrase
sum equal to SS
Adding the two numbers gives SS.Example: 4 and 5 have sum 9.
product equal to PP
Multiplying the two numbers gives PP.Example: 4 and 5 have product 20.
x2−Sx+P=0x^2 - Sx + P = 0
The equation has two roots, which are the numbers to find; the sign before SS is a minus.Example: Sum 7, product 12: x2−7x+12=0x^2 - 7x + 12 = 0.
Condition
The two numbers exist only when S2−4P≥0S^2 - 4P \ge 0.Example: Sum 2, product 5: 4−20<04 - 20 < 0, none exist.

TipOnce you have found the two numbers, add and multiply them to check.

Worked examples

Example 1

Without solving the equation, compute the sum and product of the roots of 2x2+11x+7=02x^2 + 11x + 7 = 0.

Show the solution to example 1

Step 1: Check that the equation has solutions: Δ=112−4⋅2⋅7=121−56=65>0\Delta = 11^2 - 4 \cdot 2 \cdot 7 = 121 - 56 = 65 > 0, it has two distinct roots x1x_1, x2x_2.
Why: Vieta's theorem only talks about two real roots. Skip this step and an equation with no solution still "gives" a meaningless sum and product.
Step 2: a=2a = 2, b=11b = 11, c=7c = 7. Sum S=x1+x2=−112S = x_1 + x_2 = -\frac{11}{2}.
Step 3: Product P=x1x2=72P = x_1 x_2 = \frac{7}{2}.
Result: S=−112S = -\frac{11}{2}, P=72P = \frac{7}{2}.

Example 2

Given the equation x2−5x+3=0x^2 - 5x + 3 = 0. Without solving the equation, compute x1+x2x_1 + x_2, x1x2x_1 x_2, then compute x12+x22x_1^2 + x_2^2 and 1x1+1x2\frac{1}{x_1} + \frac{1}{x_2}.

Show the solution to example 2

Step 1: Δ=25−12=13>0\Delta = 25 - 12 = 13 > 0, the equation has two distinct roots.
Step 2: By Vieta's theorem: x1+x2=5x_1 + x_2 = 5, x1x2=3x_1 x_2 = 3.
Why: b=−5b = -5 so −ba=5-\frac{b}{a} = 5, positive. Easy to mistake it for −5-5.
Step 3: x12+x22=(x1+x2)2−2x1x2=25−6=19x_1^2 + x_2^2 = (x_1 + x_2)^2 - 2x_1 x_2 = 25 - 6 = 19.
Step 4: 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: x1+x2=5x_1 + x_2 = 5; x1x2=3x_1 x_2 = 3; x12+x22=19x_1^2 + x_2^2 = 19; 1x1+1x2=53\frac{1}{x_1} + \frac{1}{x_2} = \frac{5}{3}.

TipFor an expression containing x12+x22x_1^2 + x_2^2, change it to (x1+x2)2−2x1x2(x_1 + x_2)^2 - 2x_1 x_2 and then substitute the sum and product.

Example 3

Solving quadratic equations by inspection: a) x2−6x+5=0x^2 - 6x + 5 = 0; b) 5x2+14x+9=05x^2 + 14x + 9 = 0; c) 2x2−3x−5=02x^2 - 3x - 5 = 0.

Show the solution to example 3

Step 1: a) a+b+c=1−6+5=0a + b + c = 1 - 6 + 5 = 0, so x1=1x_1 = 1, x2=ca=5x_2 = \frac{c}{a} = 5.
Step 2: b) a+b+c=28≠0a + b + c = 28 \ne 0; try a−b+c=5−14+9=0a - b + c = 5 - 14 + 9 = 0, so x1=−1x_1 = -1, x2=−ca=−95x_2 = -\frac{c}{a} = -\frac{9}{5}.
Why: With a−b+ca - b + c the second solution is −ca-\frac{c}{a}, with a minus sign. Writing 95\frac{9}{5} gets the sign wrong.
Step 3: c) a−b+c=2+3−5=0a - b + c = 2 + 3 - 5 = 0, so x1=−1x_1 = -1, x2=−−52=52x_2 = -\frac{-5}{2} = \frac{5}{2}.
Step 4: Check c): 2⋅254−3⋅52−5=12,5−7,5−5=02 \cdot \frac{25}{4} - 3 \cdot \frac{5}{2} - 5 = 12,5 - 7,5 - 5 = 0, correct.
Result: a) 1 and 5; b) −1-1 and −95-\frac{9}{5}; c) −1-1 and 52\frac{5}{2}.

Common mistakesSolving quadratic equations by inspection with a−b+c=0a - b + c = 0 but writing the second solution as ca\frac{c}{a}, forgetting the minus sign.

Example 4

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

Show the solution to example 4

Step 1: The equation has ac=−6<0ac = -6 < 0 so it always has two solutions. By Vieta, x1x2=ca=−6x_1 x_2 = \frac{c}{a} = -6.
Step 2: 2⋅x2=−62 \cdot x_2 = -6, so x2=−3x_2 = -3.
Why: Use the product because the product does not contain mm. Using the sum right away still leaves the unknown mm, which cannot be calculated yet.
Step 3: The sum x1+x2=−m1x_1 + x_2 = -\frac{m}{1}, that is 2+(−3)=−m2 + (-3) = -m, so m=1m = 1.
Step 4: Check: x2+x−6=0x^2 + x - 6 = 0 with x=2x = 2: 4+2−6=04 + 2 - 6 = 0; with x=−3x = -3: 9−3−6=09 - 3 - 6 = 0, correct.
Result: The other solution is −3-3, m=1m = 1.

Common mistakesUsing Vieta's theorem when the equation has no solution. Always check Δ≥0\Delta \ge 0 (or ac<0ac < 0) first.

Example 5

a) Find two numbers whose sum is 9 and whose product is 20.
b) Are there two numbers whose sum is 3 and whose product is 5?

Show the solution to example 5

Step 1: a) S=9S = 9, P=20P = 20. The two numbers are the solutions of x2−9x+20=0x^2 - 9x + 20 = 0.
Why: The equation is x2−Sx+Px^2 - Sx + P, before SS there is a minus sign. Writing x2+9x+20=0x^2 + 9x + 20 = 0 would give two negative numbers −4-4, −5-5, whose sum is −9-9, which is wrong.
Step 2: Δ=(−9)2−4⋅20=1\Delta = (-9)^2 - 4 \cdot 20 = 1, Δ=1\sqrt{\Delta} = 1. The two solutions are 9+12=5\frac{9 + 1}{2} = 5 and 9−12=4\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 4 and 5; b) there are no such two numbers.

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

Common mistakesForming the equation to find two numbers as x2+Sx+P=0x^2 + Sx + P = 0. It should be x2−Sx+P=0x^2 - Sx + P = 0.

Example 6

A rectangular garden has a perimeter of 34 m and an area of 60 m². Find the length and the width of the garden.

Show the solution to example 6

Step 1: Half the perimeter is 34:2=1734 : 2 = 17 m. So the length and the width have sum S=17S = 17 and product P=60P = 60.
Why: The perimeter is twice the sum of length and width, so you must halve it first. Taking S=34S = 34 gives a wrong result.
Step 2: The two sides are the solutions of x2−17x+60=0x^2 - 17x + 60 = 0. Condition: 172−4⋅60=289−240=49≥017^2 - 4 \cdot 60 = 289 - 240 = 49 \ge 0.
Step 3: 49=7\sqrt{49} = 7, the two solutions are 17+72=12\frac{17 + 7}{2} = 12 and 17−72=5\frac{17 - 7}{2} = 5.
Step 4: Check: 2(12+5)=342(12 + 5) = 34 and 12⋅5=6012 \cdot 5 = 60, correct.
Result: The length is 12 m, the width is 5 m.

Terms

Vieta's theorem
The relation between the sum and product of the two solutions and the coefficients of a quadratic equation in one variable.Example: x1+x2=−bax_1 + x_2 = -\frac{b}{a}, x1x2=cax_1 x_2 = \frac{c}{a}.
Sum of roots
The result of adding the two solutions, equal to −ba-\frac{b}{a}.Example: x2−7x+10=0x^2 - 7x + 10 = 0: the sum is 7.
Product of roots
The result of multiplying the two solutions, equal to ca\frac{c}{a}.Example: x2−7x+10=0x^2 - 7x + 10 = 0: the product is 10.
Solving quadratic equations by inspection
Finding solutions by mental calculation, without using the quadratic formula.Example: x2−3x+2=0x^2 - 3x + 2 = 0 has 1−3+2=01 - 3 + 2 = 0, solutions 1 and 2.
Condition S2−4P≥0S^2 - 4P \ge 0
The condition for having two numbers with sum SS and product PP.Example: S=4S = 4, P=4P = 4: 16−16=016 - 16 = 0, the two numbers are 2 and 2.
Discriminant Δ\Delta
The number b2−4acb^2 - 4ac, you need Δ≥0\Delta \ge 0 to use Vieta's theorem.Example: x2−5x+3=0x^2 - 5x + 3 = 0: Δ=13\Delta = 13.

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 4 of 9Written answer · Applying

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

a) Tìm hai số, biết tổng của chúng bằng 15 và tích của chúng bằng 44.
b) Có tồn tại hai số a và b có tổng bằng 7 và tích bằng 13 không?

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

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 (Understanding)
  • Tìm hai số khi biết tổng và tích (Applying)
  • Tính giá trị biểu thức đối xứng của hai nghiệm (Applying)

Challenge yourself

  • Dạng khác (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.