SquareFreePart - Maple Help

PolynomialTools

 SquareFreePart
 compute the square-free part of a polynomial

 Calling Sequence SquareFreePart(f) SquareFreePart(f, x)

Parameters

 f - multivariate polynomial x - name or list or set of names

Description

 • This function computes the square-free part of the polynomial f. That is, it computes g so that $\mathrm{gcd}\left(g,f\right)=g$ and $g$ has no repeated factors. If f is not of type polynom then frontend is used before performing polynomial calculations.
 • This function currently just calls sqrfree and then constructs the square-free part from the square-free factorization. It is provided for convenience and not for efficiency.

Examples

 > $\mathrm{with}\left(\mathrm{PolynomialTools}\right):$
 > $\mathrm{SquareFreePart}\left(\left(x+y+1\right)\mathrm{expand}\left({\left(x+y+1\right)}^{2}\right){\left(x-y-3\right)}^{3}\left(3x+6y-21\right),\left\{x,y\right\}\right)$
 $\left({x}{+}{y}{+}{1}\right){}\left({x}{-}{y}{-}{3}\right){}\left({x}{+}{2}{}{y}{-}{7}\right)$ (1)

This input is treated as a linear polynomial in the variable A

 > $\mathrm{SquareFreePart}\left(A-\mathrm{exp}\left(x\right)\right)$
 ${A}{-}{{ⅇ}}^{{x}}$ (2)

Explicitly supplying x as a variable will cause the command to reject this input

 > $\mathrm{SquareFreePart}\left(A-\mathrm{exp}\left(x\right),x\right)$

Compatibility

 • The PolynomialTools[SquareFreePart] command was updated in Maple 2017.