Details and Options
ResourceFunction["PseudoQuotientRemainder"] performs the operation of pseudodivision, which is a form of polynomial division that uses cross-multiplication by leading coefficients to avoid actual division in the coefficient arithmetic.
The input polynomials need not be univariate and in common usage are multivariate. Coefficients of the polynomials in the main variable are themselves polynomials in the remaining variables. ResourceFunction["PseudoQuotientRemainder"] avoids dividing by coefficient polynomials.
Pseudodivision is typically used as a step in forming what are called triangular sets for a system of n multivariate polynomials in n variables.
A pseudodivision of polynomials p and q returns a triple {pre,quot,rem} satisfying the relation pre·p=quot·q+rem.
The prefactor returned by ResourceFunction["PseudoQuotientRemainder"] is a power of the leading coefficient of the divisor polynomial, where all coefficients are taken with respect to the specified variable. The power is at most one more than the difference in degrees of the input polynomials with respect to that variable.
With the option
Modulus→n, the pseudodivision is performed modulo
n for computing over a prime field.