Discriminant of a polynomial (discriminant)
Discriminant of a polynomial in a variable.
How to write it
discriminant(p, x)
- p
- A polynomial. Takes a polynomial.
- x
- The variable of the polynomials. Takes a variable.
Examples
discriminant(x^2 + b*x + c, x)In the solver,
Open in the solverdiscriminant(x^2 + b*x + c, x)givesb^2 - 4c.
Related functions
- expand
Multiply out products and powers into a sum.
- denominator
Denominator of a fraction.
- factor
Factor a polynomial into irreducible factors.
- degree
Degree of a polynomial in a variable.
- full_simplify
Search harder than simplify for a simpler form, under assumptions.
- cyclotomic
Cyclotomic polynomial of a given order.