Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

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⁡(x2+bx+c,x)=b2−4c\displaystyle \operatorname{discriminant}(x^{2}+b x+c, x) = b^{2}-4 c
    discriminant(x^2 + b*x + c, x)

    In the solver, discriminant(x^2 + b*x + c, x) gives b^2 - 4c.

    Open in the solver
  • 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.