PolynomialTools
SquareFreePart
compute the square-free part of a polynomial
Calling Sequence
Parameters
Description
Examples
Compatibility
SquareFreePart(f)
SquareFreePart(f, x)
f
-
multivariate polynomial
x
name or list or set of names
This function computes the square-free part of the polynomial f. That is, it computes g so that gcdg,f=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.
withPolynomialTools:
SquareFreePartx+y+1expandx+y+12x−y−333x+6y−21,x,y
x+y+1x−y−3x+2y−7
This input is treated as a linear polynomial in the variable A
SquareFreePartA−expx
A−ⅇx
Explicitly supplying x as a variable will cause the command to reject this input
SquareFreePartA−expx,x
Error, (in PolynomialTools:-SquareFreePart) invalid input: PolynomialTools:-SquareFreePart expects its 1st argument to be of type polynom but received A-exp(x)
The PolynomialTools[SquareFreePart] command was updated in Maple 2017.
See Also
convert/sqrfree
sqrfree
Download Help Document