PolynomialRemainder

PolynomialRemainder[p,q,x]

gives the remainder from dividing p by q, treated as polynomials in x.

Details and Options

  • The degree of the result in x is guaranteed to be smaller than the degree of q.
  • Unlike PolynomialMod, PolynomialRemainder performs divisions in generating its results.
  • With the option Modulus->n, the remainder is computed modulo n.

Examples

open allclose all

Basic Examples  (1)

Find the remainder after dividing one polynomial by another:

In[1]:=
Click for copyable input
Out[1]=

Scope  (2)

Options  (1)

Applications  (1)

Properties & Relations  (3)

Possible Issues  (1)

See Also

PolynomialQuotient  Apart  Cancel  PolynomialMod  Mod  PolynomialReduce  ShiftRegisterSequence

Tutorials

Introduced in 1988
(1.0)