Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Polynomial Algebra > Polynomial Division >

PolynomialQuotientRemainder

PolynomialQuotientRemainder[p, q, x]
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 f, fEqualq g+r:
Use Expand to verify identity:
PolynomialReduce generalizes PolynomialQuotientRemainder for multivariate polynomials:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team