TOPICS
Search

Shuffle Product


The shuffle product of two words is the formal sum of all interleavings of their letters that preserve the order within each word, counted with multiplicity. Writing this product as sh(u,v), it satisfies

 sh(au,bv)=ash(u,bv)+bsh(au,v),
(1)

where a and b are letters of an alphabet, u and v are words, and juxtaposition denotes concatenation. The word epsilon of length zero satisfies sh(epsilon,u)=sh(u,epsilon)=u. For example,

 sh(ab,c)=abc+acb+cab.
(2)

Repeated letters can give repeated summands, as in sh(a,a)=2aa. There are (m+n; m) interleavings of words of lengths m and n, where the count includes multiplicities. Extending the product bilinearly to formal linear combinations of words over a commutative ring gives an associative commutative algebra, called the shuffle algebra (Luque and Thibon 2002).

A realization assigns to a word a_1...a_m the multiple integral

 I(a_1...a_m)=int_(0<t_1<...<t_m<1)product_(j=1)^mf_(a_j)(t_j)dt_1...dt_m,
(3)

where the f_a are Lebesgue integrable on (0,1) and I(epsilon)=1. Dividing the Cartesian product of two integration regions according to the relative order of their variables gives I(u)I(v)=I(sh(u,v)), with I extended linearly (Chen 1954, Luque and Thibon 2002).

For example, taking f_(a_i)(t)=t^(x_i-1) for positive real numbers x_i gives the rational identity

 sum_(sigma in S_m)product_(j=1)^m1/(sum_(k=1)^(j)x_(sigma(k)))=1/(x_1...x_m),
(4)

where S_m is the symmetric group (Luque and Thibon 2002, Trott 2006). Each summand is the integral over one ordering of the variables in the unit hypercube, while the full integral factors as product_(i)int_0^1t^(x_i-1)dt. The identity also holds for complex numbers x_i whenever all nonempty subset sums are nonzero, since it is an identity of rational functions.


See also

Alphabet, Commutative Algebra, Concatenation, Multiple Integral, Word

Explore with Wolfram|Alpha

References

Chen, K.-T. "Iterated Integrals and Exponential Homomorphisms." Proc. London Math. Soc. 4, 502-512, 1954. https://doi.org/10.1112/plms/s3-4.1.502.Luque, J.-G. and Thibon, J.-Y. "Pfaffian and Hafnian Identities in Shuffle Algebras." Adv. Appl. Math. 29, 620-646, 2002. https://doi.org/10.1016/S0196-8858(02)00036-2. https://arxiv.org/abs/math/0204026.Trott, M. "Operations on Rational Functions." §1.3 in The Mathematica GuideBook for Symbolics. New York: Springer-Verlag, 2006. https://doi.org/10.1007/0-387-28815-5. https://www.mathematicaguidebooks.org/.

Cite this as:

Weisstein, Eric W. "Shuffle Product." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/ShuffleProduct.html

Subject classifications