FunctionalDecomposition - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Algebra : Polynomials : PolynomialTools : FunctionalDecomposition

PolynomialTools

  

FunctionalDecomposition

  

compute a functional decomposition of a polynomial

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

FunctionalDecomposition(f)

FunctionalDecomposition(f, v)

FunctionalDecomposition(f, v, inert)

Parameters

f

-

multivariate polynomial

v

-

name or list or set of names

Description

• 

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.

Examples

> 

with⁡PolynomialTools:

> 

f≔expand⁡eval⁡eval⁡x2+2⁢x−1,x=x3−x,x=x2+3⁢x

f≔x12+18⁢x11+135⁢x10+540⁢x9+1213⁢x8+1434⁢x7+623⁢x6−198⁢x5−107⁢x4+60⁢x3+7⁢x2−6⁢x−1

(1)
> 

FunctionalDecomposition⁡f,x

x2+3⁢x3−x2−3⁢x2+2⁢x2+3⁢x3−2⁢x2−6⁢x−1

(2)
> 

f1≔expand⁡eval⁡x2+x⁢exp⁡a−1,x=x2−x

f1≔x4−2⁢x3+x2+ⅇa⁢x2−x⁢ⅇa−1

(3)
> 

FunctionalDecomposition⁡f1,x

x2−x2+x2−x⁢ⅇa−1

(4)
> 

f2≔expand⁡eval⁡−x3−2⁢x2−x+1,x=−y2+x−1

f2≔y6−3⁢x⁢y4+3⁢x2⁢y2+y4−x3−2⁢x⁢y2+x2+1

(5)
> 

FunctionalDecomposition⁡f2

−−y2+x−13−2⁢−y2+x−12+y2−x+2

(6)
> 

FunctionalDecomposition⁡f2,inert

−−y2+x−13−2⁢−y2+x−12−−y2+x−1+1

(7)

Compatibility

• 

The PolynomialTools[FunctionalDecomposition] command was introduced in Maple 2022.

• 

For more information on Maple 2022 changes, see Updates in Maple 2022.

See Also

compoly