SquareFreePart - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


PolynomialTools

  

SquareFreePart

  

compute the square-free part of a polynomial

 

Calling Sequence

Parameters

Description

Examples

Compatibility

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 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.

Examples

withPolynomialTools:

SquareFreePartx+y+1expandx+y+12xy333x+6y21,x,y

x+y+1xy3x+2y7

(1)

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

SquareFreePartAexpx

Aⅇx

(2)

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

SquareFreePartAexpx,x

Error, (in PolynomialTools:-SquareFreePart) invalid input: PolynomialTools:-SquareFreePart expects its 1st argument to be of type polynom but received A-exp(x)

Compatibility

• 

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

See Also

convert/sqrfree

sqrfree