convert/sqrfree - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Conversion : convert/sqrfree

convert/sqrfree

convert to square-free form

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert(a, sqrfree, x)

Parameters

a

-

polynomial

x

-

optional variable name or list of names

Description

• 

Convert to sqrfree performs a square-free factorization of the polynomial a.  It is most often called with the third argument x specified.  In this case, content( a, x) is first removed (thus making a primitive) before doing the square-free factorization.  The resulting factorization is of the form:

contenta,xp1k1p2k2pnkn

wheregcdpi,pj=1for1i<jn

• 

If called with only two arguments, a complete square-free factorization will be done.  A variable is first chosen for which the above computation is done.   Next, the content is made square-free by recursive application of convert to sqrfree.  This is repeated until there are no variables left in the content.

• 

It is important to realize that the factors will be in random order, not in order of increasing multiplicity as may be expected.  Also, the multiplicities are not necessarily distinct as partial factorizations in the input are preserved as much as possible.

Examples

convertx2&plus;4x&plus;4&comma;sqrfree&comma;x

x&plus;22

(1)

polyy2x3&plus;2y2x2&plus;y2x&plus;2yx3&plus;4yx2&plus;2yx&colon;

convertpoly&comma;sqrfree&comma;x

yy&plus;2xx&plus;12

(2)

convertpoly&comma;sqrfree

yy&plus;2xx&plus;12

(3)

gx&plus;y&plus;1expandx&plus;y&plus;12xy333x&plus;6y21

gx&plus;y&plus;1x2&plus;2xy&plus;y2&plus;2x&plus;2y&plus;1xy333x&plus;6y21

(4)

convertg&comma;sqrfree&comma;x&comma;y

3x&plus;2y7x&plus;y&plus;13xy33

(5)

See Also

content

gcd

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam