1) At http://www.math.ucla.edu/~jimc/mathnet_d/sage/reference/sage/rings/polynomial/polynomial_element.html#sage.rings.polynomial.polynomial_element.Polynomial.discriminant there is example containing line "f = x^2 + a + b". Should it be "f = x^2 + a*x + b"?

2) How can I compute symbolic discrimant of for example cubic? This works:

R.<a, b> = QQ[]
f = x^2 + a*x + b
f.discriminant();

and this does not:

R.<a, b, c> = QQ[]
f = x^3 + a*x^2 + b*x + c
f.discriminant();

(Again, I remember I was able to do this with Sage -- and now I don't find it anymore. Arghs!)

--
Jori Mäntysalo

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to