WLJS LogoWLJS Notebook

PolynomialQuotient

PolynomialQuotient[p, q, x] gives the quotient of p and q, treated as polynomials in x, with any remainder dropped.

Examples

Polynomial division:

PolynomialQuotient[x^3 + 2x^2 + x + 1, x + 1, x]
(* x^2 + x *)

Divide higher degree polynomial:

PolynomialQuotient[x^4 - 1, x^2 - 1, x]
(* x^2 + 1 *)

Please visit the official Wolfram Language Reference for more details.

On this page