PolynomialTools
FunctionalDecomposition
compute a functional decomposition of a polynomial
Calling Sequence
Parameters
Description
Examples
Compatibility
FunctionalDecomposition(f)
FunctionalDecomposition(f, v)
FunctionalDecomposition(f, v, inert)
f
-
multivariate polynomial
v
name or list or set of names
This function computes a functional decomposition of the polynomial f. That is, it computes g(x) and h and rewrites the output as a composition f=gx=h|gx=h and the process is repeated on g and h until they can not be functionally decomposed further. This decomposition is not unique.
This function currently just calls compoly repeatedly and constructs the decomposition as a single unexpanded polynomial. If no decomposition is found, f is returned unaltered.
If f is not of type polynom then frontend is used before performing polynomial calculations.
The inert option adds ``() calls around x so that the linear part of the polynomial and pure monomial substitutions will not be expanded by automatic simplification. The output will look like a polynomial, but will not be true polynomial unless expand is called to remove the ``() similar to the output of ifactor.
withPolynomialTools:
f≔expandevalevalx2+2x−1,x=x3−x,x=x2+3x
f≔x12+18x11+135x10+540x9+1213x8+1434x7+623x6−198x5−107x4+60x3+7x2−6x−1
FunctionalDecompositionf,x
x2+3x3−x2−3x2+2x2+3x3−2x2−6x−1
f1≔expandevalx2+xexpa−1,x=x2−x
f1≔x4−2x3+x2+ⅇax2−xⅇa−1
FunctionalDecompositionf1,x
x2−x2+x2−xⅇa−1
f2≔expandeval−x3−2x2−x+1,x=−y2+x−1
f2≔y6−3xy4+3x2y2+y4−x3−2xy2+x2+1
FunctionalDecompositionf2
−−y2+x−13−2−y2+x−12+y2−x+2
FunctionalDecompositionf2,inert
−−y2+x−13−2−y2+x−12−−y2+x−1+1
The PolynomialTools[FunctionalDecomposition] command was introduced in Maple 2022.
For more information on Maple 2022 changes, see Updates in Maple 2022.
See Also
compoly
Download Help Document