HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Vieta's Formulas and Symmetric Functions
  1. 1Roots and coefficients
  2. 2Symmetric functions of the roots
  3. 3Conditions on the roots
  1. Mathematics
  2. /Vieta's Formulas and Symmetric Functions
  3. /Conditions on the roots

Course 33.1·Lesson 3 of 3

Conditions on the roots

A fact about the roots becomes an equation in the coefficients. Roots in arithmetic progression have their middle root at a third of the sum; roots in geometric progression have their middle root as the cube root of the product. Two equations share a root when a certain determinant condition holds, and a root is repeated when it is also a root of the derivative.

about 30 min1 simulation2 practice questions
Lesson 3 of 3Show all lessonsHide
Vieta's Formulas and Symmetric Functions
  1. 1Roots and coefficients
  2. 2Symmetric functions of the roots
  3. 3Conditions on the roots

Try the code and the simulations beside the lesson.

What you will be able to do

  • solve a cubic whose roots are in arithmetic, geometric or harmonic progression;
  • find the condition for two quadratics to share a root;
  • use the derivative to find a repeated root, and handle roots in a given ratio.

Three steps on a staircase

Three numbers in arithmetic progression are like three steps of a staircase: m−dm - dm−d, mmm and m+dm + dm+d. Their sum is 3m3m3m. So if the roots of a cubic are in arithmetic progression, the middle root is a third of the sum of the roots. One root comes for free.

Roots in arithmetic progression

Take x3+px2+qx+r=0x^3 + px^2 + qx + r = 0x3+px2+qx+r=0. The sum of the roots is −p-p−p, so the middle root is m=−p3m = -\dfrac{p}{3}m=−3p​. It must satisfy the equation. Put it in and clear the fractions:

2p3−9pq+27r=0.\displaystyle 2p^3 - 9pq + 27r = 0.2p3−9pq+27r=0.

This is the condition for the roots to be in arithmetic progression.

Example. The roots of x3−12x2+39x−28=0x^3 - 12x^2 + 39x - 28 = 0x3−12x2+39x−28=0 are in arithmetic progression. The middle root is 444. Check: 64−192+156−28=064 - 192 + 156 - 28 = 064−192+156−28=0. The other two add to 888 and multiply to 284=7\dfrac{28}{4} = 7428​=7. So they are 111 and 777, and the roots are 111, 444 and 777.

The graph of a cubic whose three roots are evenly spaced on the x-axis, at m minus d, m and m plus d. The middle root m is marked in a different colour, and the graph turns about the point where it crosses at m.

Roots in geometric progression

Write the roots as mk\dfrac{m}{k}km​, mmm and mkmkmk. Their product is m3=−rm^3 = -rm3=−r, so the middle root is the real cube root of −r-r−r. Putting it into the equation gives the condition

q3=p3r.\displaystyle q^3 = p^3 r.q3=p3r.

Roots in harmonic progression

The roots are in harmonic progression when their reciprocals are in arithmetic progression. Put x=1yx = \dfrac{1}{y}x=y1​ and multiply by y3y^3y3. The roots of ry3+qy2+py+1=0ry^3 + qy^2 + py + 1 = 0ry3+qy2+py+1=0 are the reciprocals. Now use the arithmetic test on this new cubic. You learn this change of variable in the next course.

A common root

When do a1x2+b1x+c1=0a_1x^2 + b_1x + c_1 = 0a1​x2+b1​x+c1​=0 and a2x2+b2x+c2=0a_2x^2 + b_2x + c_2 = 0a2​x2+b2​x+c2​=0 share a root ttt? Treat t2t^2t2 and ttt as two unknowns and solve the pair by cross-multiplication. The square of the value found for ttt must equal the value found for t2t^2t2. That gives the condition

(c1a2−c2a1)2\displaystyle (c_1a_2 - c_2a_1)^2(c1​a2​−c2​a1​)2
=(a1b2−a2b1)\displaystyle \quad = (a_1b_2 - a_2b_1)=(a1​b2​−a2​b1​)
×(b1c2−b2c1).\displaystyle \qquad \times (b_1c_2 - b_2c_1).×(b1​c2​−b2​c1​).

Often it is quicker to subtract the equations. The square terms cancel, and the common root drops out.

A repeated root

If α\alphaα is a double root of fff, then f(x)=(x−α)2g(x)f(x) = (x - \alpha)^2g(x)f(x)=(x−α)2g(x). Differentiate: f′(x)f'(x)f′(x) still has the factor x−αx - \alphax−α. So

f(α)=0 and f′(α)=0.\displaystyle f(\alpha) = 0 \text{ and } f'(\alpha) = 0.f(α)=0 and f′(α)=0.

For example, x3−3x+kx^3 - 3x + kx3−3x+k has f′(x)=3x2−3f'(x) = 3x^2 - 3f′(x)=3x2−3, so a repeated root is ±1\pm 1±1. Then f(1)=0f(1) = 0f(1)=0 gives k=2k = 2k=2, and f(−1)=0f(-1) = 0f(−1)=0 gives k=−2k = -2k=−2.

Roots in a given ratio

The roots of ax2+bx+c=0ax^2 + bx + c = 0ax2+bx+c=0 are in the ratio m:nm : nm:n when they are mtmtmt and ntntnt. Then (m+n)t=−ba(m + n)t = -\dfrac{b}{a}(m+n)t=−ab​ and mnt2=camnt^2 = \dfrac{c}{a}mnt2=ac​. Remove ttt:

mnb2=(m+n)2ac.\displaystyle mnb^2 = (m + n)^2ac.mnb2=(m+n)2ac.

Practise with new numbers

Try it in Python

The program builds cubics from roots in arithmetic and in geometric progression. It then tests the two conditions on each cubic.

Read it first. Then run it. Which test is 0 for which cubic?

1. Change the geometric roots to 1, 3, 9. Is the geometric test still 0?

2. Change one arithmetic root a little, to 4.1. What happens to the arithmetic test?

Common mistakes

  • A non-monic cubic. For ax3+bx2+…ax^3 + bx^2 + \dotsax3+bx2+… the middle root of an arithmetic progression is −b3a-\dfrac{b}{3a}−3ab​.
  • The real cube root. In a geometric progression of real roots, the middle root is the real cube root of the product.
  • A common root that is not real. The condition also holds when the shared root is complex. Check what the question asks for.
  • A double root. f′(α)=0f'(\alpha) = 0f′(α)=0 alone is not enough. α\alphaα must also be a root of fff.

Remember these

  • Arithmetic progression: the middle root is −p3-\dfrac{p}{3}−3p​; test 2p3−9pq+27r=02p^3 - 9pq + 27r = 02p3−9pq+27r=0.
  • Geometric progression: the middle root cubed is −r-r−r; test q3=p3rq^3 = p^3rq3=p3r.
  • A repeated root: f(α)=f′(α)=0f(\alpha) = f'(\alpha) = 0f(α)=f′(α)=0.
  • Ratio m:nm : nm:n in a quadratic: mnb2=(m+n)2acmnb^2 = (m + n)^2acmnb2=(m+n)2ac.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. The roots of x3−6x2+3x+10=0x^3 - 6x^2 + 3x + 10 = 0x3−6x2+3x+10=0 are in arithmetic progression. Find them.
  1. The roots of x3−7x2+14x−8=0x^3 - 7x^2 + 14x - 8 = 0x3−7x2+14x−8=0 are in geometric progression. Find the middle root.
  1. Find kkk if x2−5x+6=0x^2 - 5x + 6 = 0x2−5x+6=0 and x2−kx+8=0x^2 - kx + 8 = 0x2−kx+8=0 share a root, and the shared root is the larger root of the first.
  1. Find the repeated root of x3−5x2+8x−4=0x^3 - 5x^2 + 8x - 4 = 0x3−5x2+8x−4=0.
  1. The roots of x2+bx+8=0x^2 + bx + 8 = 0x2+bx+8=0 are in the ratio 1:21 : 21:2. Find bbb.

References

  • H. S. Hall and S. R. Knight, Higher Algebra, the chapter on the theory of equations.
  • S. Barnard and J. M. Child, Higher Algebra, the chapter on the theory of equations.

Enroll free in Vieta's Formulas and Symmetric Functions

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

The roots of x³ - 9x² + kx - 15 = 0 are in arithmetic progression…Hard · High School (11–12) · by StemPy Lab
The three equations x² + ax + 12 = 0,; x² + bx + 15 = 0,; x² + (a + b)x + 36 = 0; have a common…Advanced · High School (11–12) · by StemPy Lab
The roots of x³ - 14x² + kx - 64 = 0 are real and in geometric progression…Hard · High School (11–12) · by StemPy Lab
That was the last lessonBack to the course: take the test
← Vieta's Formulas and Symmetric Functions
← Symmetric functions of the rootsNext →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Question Sets (1)

Vieta and Symmetric Functions: Check Your Understanding10 questions · by StemPy Lab

Notes (1)

Vieta and Symmetric Functions: Quick RevisionNote · by StemPy Lab