# Primitive part of a polynomial: primpart

### 5.27.15 Primitive part of a polynomial: primpart

The primitive part of a polynomial is the polynomial divided by its content (the greatest common divisor of its coefficients). The primpart command computes the primitive part of a polynomial.

- primpart takes one argument:
  P, a polynomial given by a symbolic expression or by the list of its coefficients.
- primpart(P) returns the primitive part of P.

#### Example.

Input:

primpart(6x^2-3x+9)

or:

primpart([6,-3,9],x))

Output:

2 x2−x+3