Polynomial decomposition

From HandWiki
Short description: Factorization under function composition

In mathematics, a polynomial decomposition expresses a polynomial f as the functional composition g∘h of polynomials g and h, where g and h have degree greater than 1; it is an algebraic functional decomposition. Algorithms are known for decomposing univariate polynomials in polynomial time.

Polynomials which are decomposable in this way are composite polynomials; those which are not are indecomposable polynomials or sometimes prime polynomials[1] (not to be confused with irreducible polynomials, which cannot be factored into products of polynomials). The degree of a composite polynomial is always a composite number, the product of the degrees of the composed polynomials.

The rest of this article discusses only univariate polynomials; algorithms also exist for multivariate polynomials of arbitrary degree.[2][3][4]

Examples

In the simplest case, one of the polynomials is a monomial. For example,

f(x)=x6−3x3+1

decomposes into g∘h, where

g(x)=x2−3x+1 and h(x)=x3

since

f(x)=(g∘h)(x)=g(h(x))=g(x3)=(x3)2−3(x3)+1,

using the ring operator symbol ∘ to denote function composition. We write that as

x6−3x3+1=(x2−3x+1)∘(x3)

treating the polynomials implicitly as functions of x.

Less trivially,

x6−6x5+21x4−44x3+68x2−64x+41=(x3+9x2+32x+41)∘(x2−2x).

Uniqueness

A polynomial may have distinct decompositions into indecomposable polynomials where f=g1∘g2∘⋯∘gm=h1∘h2∘⋯∘hn where gi≠hi for some i. The restriction in the definition to polynomials of degree greater than one excludes the infinitely many decompositions possible with linear polynomials.

Joseph Ritt proved that m=n, and the degrees of the components are the same, but possibly in different order; this is Ritt's polynomial decomposition theorem.[1][5] For example, x2∘x3=x3∘x2. In fact, only three kinds of position swap are possible: between monomials; between Chebyshev polynomials Ti(x); and between (xku(x)p,xp)↔(xp,xku(xp))— summarized as "Every polynomial can be written as a composition of indecomposables, uniquely up to permutations and units."[6] For example:

x14(x98+1)2=(x(x7+1)2)∘(x7)∘(x2)=(x2)∘(x(x14+1))∘(x7)
T2(x)∘T3(x)=T3(x)∘T2(x)=32x6−48x4+18x2−1

Applications

A polynomial decomposition may enable more efficient evaluation of a polynomial. For example,

x8+4x7+10x6+16x5+19x4+16x3+10x2+4x−1=(x2−2)∘(x2)∘(x2+x+1)

can be calculated with 3 multiplications and 3 additions using the decomposition, while Horner's method would require 7 multiplications and 8 additions.

A polynomial decomposition enables calculation of symbolic roots using radicals, even for some irreducible polynomials of degree greater than 4. This technique is used in many computer algebra systems.[7] For example, using the decomposition

x6−6x5+15x4−20x3+15x2−6x−1=(x3−2)∘(x2−2x+1),

the roots of this irreducible polynomial can be calculated as[8]

1±21/6,1±−1±3i21/3.

In the case of quartic polynomials, if there is a decomposition, it can give a simpler form than the general formula. For example, the decomposition

x4−8x3+18x2−8x+2=(x2+1)∘(x2−4x+1)

gives the roots[8]

2±3±i

but straightforward application of the quartic formula gives a form that is difficult to simplify and difficult to understand; one of the four roots is:

2−9(810i33/2+72)2/3+36(810i33/2+72)1/3+156(810i33/2+72)1/36−−(810i33/2+72)1/3−523(810i33/2+72)1/3+82.

Algorithms

The first algorithm for polynomial decomposition was published in 1985,[9] though it had been discovered in 1976,[10] and implemented in the Macsyma/Maxima computer algebra system.[11] That algorithm takes exponential time in worst case, but works independently of the characteristic of the underlying field.

A 1989 algorithm runs in polynomial time but with restrictions on the characteristic.[12]

A 2014 algorithm calculates a decomposition in polynomial time and without restrictions on the characteristic.[13]

Notes

  1. ↑ 1.0 1.1 J.F. Ritt, "Prime and Composite Polynomials", Transactions of the American Mathematical Society 23:1:51–66 (January, 1922) doi:10.2307/1988911 JSTOR 1988911
  2. ↑ Jean-Charles Faugère, Ludovic Perret, "An efficient algorithm for decomposing multivariate polynomials and its applications to cryptography", Journal of Symbolic Computation, 44:1676-1689 (2009), doi:10.1016/j.jsc.2008.02.005
  3. ↑ Zhao, Shangwei; Feng, Ruyong; Gao, Xiao-Shan (2012-04-01). "On functional decomposition of multivariate polynomials with differentiation and homogenization" (in en). Journal of Systems Science and Complexity 25 (2): 329–347. doi:10.1007/s11424-012-1144-8. ISSN 1559-7067. https://doi.org/10.1007/s11424-012-1144-8. 
  4. ↑ von zur Gathen, Joachim; Ziegler, Konstantin (2015), Gutierrez, Jaime; Schicho, Josef; Weimann, Martin, eds., "Survey on Counting Special Types of Polynomials" (in en), Computer Algebra and Polynomials: Applications of Algebra and Number Theory (Cham: Springer International Publishing): pp. 50–75, doi:10.1007/978-3-319-15081-9_3, ISBN 978-3-319-15081-9, https://doi.org/10.1007/978-3-319-15081-9_3, retrieved 2025-07-14 
  5. ↑ Capi Corrales-Rodrigáñez, "A note on Ritt's theorem on decomposition of polynomials", Journal of Pure and Applied Algebra 68:3:293–296 (6 December 1990) doi:10.1016/0022-4049(90)90086-W
  6. ↑ Medvedev, Alice; Scanlon, Thomas (August 31, 2018). "Ritt's Theorem and refinements". DART XI (Differential Algebra and Related Topics) (University of Leeds). https://conferences.leeds.ac.uk/dart9/wp-content/uploads/sites/23/2018/08/DartIX-AMedvedev.pdf. 
  7. ↑ The examples below were calculated using Maxima.
  8. ↑ 8.0 8.1 Where each ± is taken independently.
  9. ↑ David R. Barton, Richard Zippel (1985). "Polynomial Decomposition Algorithms". Journal of Symbolic Computation 1 (2): 159–168. doi:10.1016/S0747-7171(85)80012-2. 
  10. ↑ Richard Zippel, Functional Decomposition, 1996.
  11. ↑ See the polydecomp function.
  12. ↑ Kozen, Dexter; Landau, Susan (1989). "Polynomial Decomposition Algorithms". Journal of Symbolic Computation 7 (5): 445–456. doi:10.1016/S0747-7171(89)80027-6. 
  13. ↑ Raoul Blankertz (2014). "A polynomial time algorithm for computing all minimal decompositions of a polynomial". ACM Communications in Computer Algebra 48 (187): 1. http://www.sigsam.org/bulletin/articles/187/Polynomial_time_decomposition_pp13-23.pdf. 

References

  • Joel S. Cohen (2003). "Chapter 5. Polynomial Decomposition". Computer Algebra and Symbolic Computation: Mathematical Methods. ISBN 1-56881-159-4.