Resultant of two polynomials (resultant)
Resultant of two polynomials in a variable.
How to write it
resultant(p, q, x)
- p
- A polynomial. Takes a polynomial.
- q
- A polynomial. Takes a polynomial.
- x
- The variable of the polynomials. Takes a variable.
Examples
resultant(x^2 - 1, x - 2, x)In the solver,
Open in the solverresultant(x^2 - 1, x - 2, x)gives3.
Related functions
- simplify
Simplify an expression, optionally under assumptions.
- power_expand
Expand powers and logarithms of products and powers.
- subs
Substitute a rule, or a list of rules, in an expression.
- polynomial_remainder
Remainder of a polynomial division.
- to_radicals
Write algebraic numbers, given as roots of polynomials, with radicals.
- polynomial_quotient
Quotient of a polynomial division.