Discriminant of cubic equation in terms of coefficients

Click For Summary
SUMMARY

The discussion focuses on deriving the discriminant of a cubic equation of the form x3 + px2 + qx + r = 0 in terms of its coefficients p, q, and r. Participants explored methods to express (x1 - x2)2(x2 - x3)2(x3 - x1)2 using polynomial expansions and symmetry properties of the roots. Key findings include the identification of terms such as -27r2 and -4q3 and the realization that the discriminant can be expressed as a polynomial in elementary symmetric polynomials. The use of a computer algebra system (CAS) like Maxima was highlighted as beneficial for handling complex calculations.

PREREQUISITES
  • Understanding of cubic equations and their roots
  • Familiarity with polynomial expansions and manipulations
  • Knowledge of symmetric polynomials and their properties
  • Experience with computer algebra systems (CAS) such as Maxima
NEXT STEPS
  • Study the properties of symmetric polynomials and their applications
  • Learn how to derive discriminants for higher-degree polynomials
  • Explore the use of CAS tools like Maxima for polynomial computations
  • Investigate the algorithm for constructing symmetric polynomial expressions
USEFUL FOR

Mathematicians, students studying algebra, and anyone interested in polynomial theory and discriminants will benefit from this discussion.

  • #31
Well, Dowland said the answer was obtained in post #24. I don't have any idea whether it's correct or not since the solution wasn't presented. I was also kind of curious as to why Dowland was convinced the linear equations were correct when one (I think) wasn't. Guess we'll never know.
 
Physics news on Phys.org
  • #32
Sorry guys! I have been too lazy to write down the solution here. :redface: Anyways, here is the full solution I wrote down in my papers (I also remind you that English is not my native so have forgiveness for any language errors):

When we expand the expression Δ = (x1 - x2)2(x2 - x3)2(x3 - x1)2 we get a polynomial with terms of degree 6 in x1, x2, x3. Now, p has degree 1, q has degree 2 and r has degree 3 so no other terms than the following are possible in the expression:

p6, q3, r2, pqr, p3r, p4q, p2q2

Furthermore, when we expand the above expression we never get a term where a single variable x1, x2, x3 has a degree higher than 4. Thus, we may exclude the terms p6 and p4q as possible terms in the expression since they require the variables to have a degree higher than 4. We can now write:

Δ = Aq3 + Br2 + Cp2q2 + Dp3r + Epqr where A,...,E are constants.

Consider the expression x3 - x = x(x+1)(x-1). If we compare it to the general expression x3 + px2 + qx + r we see that p=0, r=0 so the discriminant only contains the term Aq3 = -A since q = -1. We compute the discriminant to 4, so -A = 4, or A = 4.

Now consider x3 - 7x - 6 = (x-1)(x-2)(x+3). p = 0 so Δ = -4q3 + Br2 = -4(-7)3 + 36B, since q = -7, r = -6. We compute the discriminant to 400, so 36B = 400 + Aq3, hence B = -27.

Consider x3 - 3x2 + 2x = x(x-1)(x-2). r = 0 so Δ = -4q3 + Cp2q2 = -4*23 + C(-3)2*22. We compute that Δ = 4, so 36C = 36, hence C = 1.

Consider x3 - 7x2 + 36 = (x+2)(x-3)(x-6). q = 0 so Δ = -27r2 + Dp3r = -27*362 + D(-7)3*36. We compute that Δ = 14400, so -12348D = 49392D, hence D = -4.

Until now we know that Δ = -4q3 - 27r2 + p2q2 - 4p3r + Epqr where E is some constant which remains to be determined.

Consider x3 - 2x2 - x + 2 = (x-1)(x+1)(x-2). We see that Δ = -4(-1)3 - 27*22 + (-2)2(-1)2 - 4(-2)3*2 + E(-2)(-1)*2 = 4E - 36. Furthermore, we compute that Δ = 36, so 4E = 72, hence E = 18.

We conclude that Δ = -4q3 - 27r2 + p2q2 - 4p3r + 18pqr.
 
Last edited:
  • #33
Dick said:
Now that you know the correct values for A,B,C,D,E,F,G you should be able to substitute them into your equations from post 11 and see if the numbers check. I tried that and they all check out except for the third one. What happened there?
Ah! I see now the mistake I made (I accidently wrote 6192 instead of 6912...). The third equation in #11 should be 4928 = A + 256D -16E - 16F + 256G (I used the values 1, 4, -4 for the roots). Can't believe I messed up with the numbers twice - I thought I was sooo cautious...
 
  • #34
Dowland said:
Sorry guys! I have been too lazy to write down the solution here. :redface: Anyways, here is the full solution I wrote down in my papers (I also remind you that English is not my native so have forgiveness for any language errors):

When we expand the expression Δ = (x1 - x2)2(x2 - x3)2(x3 - x1)2 we get a polynomial with terms of degree 6 in x1, x2, x3. Now, p has degree 1, q has degree 2 and r has degree 3 so no other terms than the following are possible in the expression:

p6, q3, r2, pqr, p3r, p4q, p2q2

Furthermore, when we expand the above expression we never get a term where a single variable x1, x2, x3 has a degree higher than 4. Thus, we may exclude the terms p6 and p4q as possible terms in the expression since they require the variables to have a degree higher than 4. We can now write:

Δ = Aq3 + Br2 + Cp2q2 + Dp3r + Epqr where A,...,E are constants.

Consider the expression x3 - x = x(x+1)(x-1). If we compare it to the general expression x3 + px2 + qx + r we see that p=0, r=0 so the discriminant only contains the term Aq3 = -A since q = -1. We compute the discriminant to 4, so -A = 4, or A = 4.

Now consider x3 - 7x - 6 = (x-1)(x-2)(x+3). p = 0 so Δ = -4q3 + Br2 = -4(-7)3 + 36B, since q = -7, r = -6. We compute the discriminant to 400, so 36B = 400 + Aq3, hence B = -27.

Consider x3 - 3x2 + 2x = x(x-1)(x-2). r = 0 so Δ = -4q3 + Cp2q2 = -4*23 + C(-3)2*22. We compute that Δ = 4, so 36C = 36, hence C = 1.

Consider x3 - 7x2 + 36 = (x+2)(x-3)(x-6). q = 0 so Δ = -27r2 + Dp3r = -27*362 + D(-7)3*36. We compute that Δ = 14400, so -12348D = 49392D, hence D = -4.

Until now we know that Δ = -4q3 - 27r2 + p2q2 - 4p3r + Epqr where E is some constant which remains to be determined.

Consider x3 - 2x2 - x + 2 = (x-1)(x+1)(x-2). We see that Δ = -4(-1)3 - 27*22 + (-2)2(-1)2 - 4(-2)3*2 + E(-2)(-1)*2 = 4E - 36. Furthermore, we compute that Δ = 36, so 4E = 72, hence E = 18.

We conclude that Δ = -4q3 - 27r2 + p2q2 - 4p3r + 18pqr.

Yep, that's it. Well done!
 
  • #35
That seems exactly right. Congratulations! :approve: You have done it by a method which seems not found in a book for this problem.

I think the mathematicians should have a look at this.

I venture that it could be used for discriminants in general and wider polynomial algebra etc., whether the mathematicians would consider that of interest, novel, convenient or insightful is another matter, but IMO you can be pleased with yourself. :thumbs:

You may be taken through conventional symmetric polynomial theory etc. now, but you already have a few insights into it so I hope are well motivated by this success.
 
  • #36
Cool, and thanks for your kind words epenguin. :smile: And thank you so much for your help, Dick and epenguin, I am grateful to you for you took the time and effort to help me with this!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
776
  • · Replies 1 ·
Replies
1
Views
936
  • · Replies 10 ·
Replies
10
Views
4K
Replies
6
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K