Ask Your Question

Revision history [back]

A polynomial has a double root iff its discriminant is zero, so:

sage: f.discriminant()
-4*c - 3
sage: f.discriminant().roots(multiplicities=False)
[-3/4]