convert to square-free form
convert(a, sqrfree, x)
optional variable name or list of names
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:
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.
poly ≔ y2⁢x3+2⁢y2⁢x2+y2⁢x+2⁢y⁢x3+4⁢y⁢x2+2⁢y⁢x:
g ≔ x+y+1⁢expand⁡x+y+12⁢x−y−33⁢3⁢x+6⁢y−21
Download Help Document
What kind of issue would you like to report? (Optional)