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 gcd⁡g,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.
with⁡PolynomialTools:
SquareFreePart⁡x+y+1⁢expand⁡x+y+12⁢x−y−33⁢3⁢x+6⁢y−21,x,y
x+y+1⁢x−y−3⁢x+2⁢y−7
This input is treated as a linear polynomial in the variable A
SquareFreePart⁡A−exp⁡x
A−ⅇx
Explicitly supplying x as a variable will cause the command to reject this input
SquareFreePart⁡A−exp⁡x,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