This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

PolynomialQuotientRemainder

PolynomialQuotientRemainder
gives a list of the quotient and remainder of p and q, treated as polynomials in x.
  • The remainder will always have a degree not greater than q.
Find the quotient and remainder after dividing one polynomial by another:
Find the quotient and remainder after dividing one polynomial by another:
In[1]:=
Click for copyable input
Out[1]=
The resulting polynomial will have coefficients that are rational expressions of input coefficients:
PolynomialQuotientRemainder also works for rational functions:
Use a prime modulus:
Express the rational function as a polynomial and simple fraction:
The transformed rational function:
For a polynomial , :
Use Expand to verify identity:
PolynomialReduce generalizes PolynomialQuotientRemainder for multivariate polynomials:
New in 6