Young Tableau

Introduction

Young tableau, also called a Young table, is a combinatorial object commonly used in representation theory and Schubert calculus.

A Young tableau is a special kind of matrix. It facilitates the study of representations and properties of symmetric groups and general linear groups. Young tableaux were first introduced in 1900 by the Cambridge mathematician Alfred Young, and were applied to the study of symmetric groups in 1903 by the German mathematician Ferdinand Georg Frobenius.

Note

Representation theory is a branch of mathematics. It studies abstract algebraic structures by representing their elements as linear transformations of vector spaces. Schubert calculus is a branch of algebraic geometry, introduced by Hermann Schubert in the 19th century to solve counting problems in projective geometry.

Definition

Young diagram

A Young diagram (also called a Ferrers diagram when dots are used to represent it; see the section on integer partitions for more information) is a finite collection of boxes or cells, left-aligned, with row lengths in non-increasing order. If we list the number of squares in each row of a Young diagram, we obtain an integer partition nn (the total number of squares) λ\lambda. Thus, we can regard the shape of a Young diagram as λ\lambda, since it carries the same information as its integer partition.

The inclusion relation between Young diagrams defines a partial order on integer partitions. This relation has the structure of a lattice, called Young's lattice. If we list the number of squares in each column of a Young diagram, we obtain the "conjugate partition" or "transpose partition" of the integer partition λ\lambda. The corresponding Young diagram can be obtained by reflecting the original Young diagram across its main diagonal.

The position of each square in a Young diagram is determined by two coordinates representing the row number and column number, respectively. Columns are ordered from left to right, while rows are ordered in the direction from more squares to fewer squares. Here, it is important to note that there are two different conventions for drawing Young diagrams: in the first, rows with fewer squares are placed below rows with more squares; in the second, the rows are stacked upward, one layer at a time, from largest to smallest. Since the former convention is used mainly in English-speaking countries, while the latter is usually used in French-speaking countries, they are conventionally called the English and French conventions, respectively.

The following table shows the two conventions for drawing the Young diagram corresponding to the integer partition (5,4,1)(5,4,1):

  • English convention:
    Figure: young diagram 1
  • French convention:
    Figure: young diagram 2

Young tableau

Definition

A Young tableau (Young tableau) is obtained by filling the boxes of a Young diagram with symbols taken from some alphabet, which is usually required to be a totally ordered set. The filled elements are written as x1x_{1}, x2x_{2}, x3x_{3}, …\ldots. For convenience, however, positive integers are filled in directly.

When Young tableaux were first applied to the representation theory of symmetric groups, the nn squares of a Young diagram could be filled arbitrarily with distinct positive integers from 11 to nn. Most research today, however, uses "standard" Young tableaux, in which the numbers in the boxes of each row and each column are strictly increasing. The number of distinct Young tableaux with nn squares forms the involution number:

Note

The involution number (or telephone number) is an integer sequence in mathematics that counts the number of ways to connect nn telephone lines to one another, with each line connected to at most one other line. It can also describe the number of matchings in a complete graph with nn vertices, the number of permutations of nn elements that are involutions, the sum of the absolute values of the coefficients of a Hermite polynomial, the number of standard Young tableaux with nn cells, and the sum of the degrees of the irreducible representations of a symmetric group.

1,1,2,4,10,26,76,232,764,2620,9496,…1, 1, 2, 4, 10, 26, 76, 232, 764, 2620, 9496, \ldots (sequence A000085 in the OEIS)

In other applications, Young diagrams may also be filled with repeated numbers. If the numbers in each column are strictly increasing and the numbers in each row are non-decreasing, the resulting Young tableau is called semistandard (Semistandard Young Tableaux, sometimes called column-strict). Recording the number of times each number appears in a Young tableau gives a sequence regarded as the weight of the Young tableau. Therefore, the weight of a standard Young tableau must be (1,1,…,1)(1,1,\ldots,1), because each positive integer from 11 to nn appears exactly once in a standard Young tableau.

Insertion algorithm for standard Young tableaux

The properties of permutations can be illustrated intuitively by Young tableaux. The RSK insertion algorithm provides a way to connect Young tableaux and permutations. It was proposed by Robinson, Schensted, and Knuth.

Let SS be a Young tableau. Define S←xS \leftarrow x to mean inserting xx into the Young tableau starting from the first row, as follows:

  1. In the current row, find the smallest number yy that is greater than xx.
  2. If one is found, replace yy with xx, move to the next row, set x←yx \leftarrow y, and repeat step 1.
  3. If none is found, put xx at the end of the row and exit. Suppose that xx is in row ss and column tt; (s,t)(s, t) must be a corner. A cell (s,t)(s, t) is a corner if and only if neither (s+1,t)(s + 1, t) nor (s,t+1)(s, t + 1) is a cell.

For example, the steps for inserting 33 into the Young tableau (2,5,9)(6,7)(8)(2, 5, 9)(6, 7)(8) are:

Figure: young tableau insert

Variants

There are many variants of Young tableaux that are not fully strict standard tableaux (Variations). For example, row-strict Young tableaux require the numbers in each row to be strictly increasing and the numbers in each column to be non-decreasing; they are the conjugates of column-strict Young tableaux. In addition, in the theory of plane partitions, it is customary to replace increasing with decreasing in the definition above. Other variants, such as set-valued Young tableaux, first package some boxes into groups and then require all boxes in each group to be filled with the same number.

Skew tableaux

Given two Young diagrams λ=(λ1,λ2…)\lambda = (\lambda{1}, \lambda{2} \ldots) and μ=(μ1,μ2,…)\mu = (\mu{1}, \mu{2},\ldots) satisfying that λ\lambda contains μ\mu, that is, μi≤μi\mu{i} \leq \mu{i} for every ii, define the "skew Young diagram" λ/μ\lambda/\mu as all squares in λ\lambda minus all squares in μ\mu, that is, the set difference λ\lambda minus μ\mu. Filling the cells of a skew Young diagram with elements forms a skew tableau (Skew tableaux).

For example, the figure below shows a standard skew tableau corresponding to the integer partition (5,4,1)(5,4,1):

Figure: skew tableau

Similarly, if the numbers in each column are strictly increasing and the numbers in each row are non-decreasing, the skew tableau is called a semistandard skew tableau; if a semistandard skew tableau is filled with the distinct numbers 11 to nn (the total number of cells), it is called a standard skew tableau. Note that different λ\lambda and μ\mu can yield the same λ/μ\lambda/\mu. Although most properties of skew tableaux depend only on the cells remaining after taking the set difference, some operations still depend on the choice of λ\lambda and μ\mu. Therefore, λ/μ\lambda/\mu must be regarded as containing two pieces of information: λ\lambda and μ\mu. When μ\mu is the empty partition (the unique partition of 00), the skew tableau λ/μ\lambda/\mu becomes the Young tableau λ\lambda.

Applications

Young tableaux are commonly used in combinatorics, representation theory, and algebraic geometry. Various methods for counting Young tableaux yield the definition of Schur functions and related identities. In informatics competitions, problems often test the hook length formula for Young tableaux.

Hook length

Given a Young tableau πλ\pi_{\lambda} with a total of nn cells, fill it with the nn numbers from 11 to nn so that the numbers increase from left to right in each row and from bottom to top in each column. Let dimπλdim_{\pi_{\lambda}} denote the number of ways to perform such a filling.

For a cell vv in a Young tableau, define its hook length hook(v)\mathrm{hook}(v) as the number of cells to its right in the same row plus the number of cells above it in the same column, plus 1 (the cell itself).

Hook length formula

If dimλdim_{\lambda} denotes the number of such fillings, the hook length formula states that this number equals n!n! divided by the product of the hook lengths of all cells.

dim⁡πλ=n!∏x∈Y(λ)hook(x).\dim \pi _{\lambda}={\frac {n!}{\prod_{{x\in Y(\lambda)}}{\mathrm {hook}}(x)}}.
Figure: young tableau 2

Therefore, for the Young tableau of the integer partition 10=5+4+110 = 5 + 4 + 1, as shown above, we have

dim⁡πλ=10!7⋅5⋅4⋅3⋅1⋅5⋅3⋅2⋅1⋅1=288.\dim \pi _{\lambda }={\frac {10!}{7\cdot 5\cdot 4\cdot 3\cdot 1\cdot 5\cdot 3\cdot 2\cdot 1\cdot 1}}=288.

ways.

Examples

Subsequence problem

For a Young tableau PP, consider a permutation X=x1,…,xnX = x_{1}, \ldots , x_{n} of the numbers from 11 to nn.

  1. The length of the first row in PXP_{X} is the length of the longest increasing subsequence (LIS) of the permutation XX. Note that the first row of PP is not necessarily the LIS itself, so properties of Young tableaux cannot be used directly to solve problems such as "LIS partitioning".

  2. For a permutation XX and the Young tableau PXP_{X} it produces, if XRX^R is the reversal of XX, then the Young tableau PXRP_{X^R} produced by XRX^R is obtained by transposing PXP_{X}.

    For example, for the permutations X=1,5,7,2,8,6,3,4X = 1, 5, 7, 2, 8, 6, 3, 4 and XR=4,3,6,8,2,7,5,1X^R = 4, 3, 6, 8, 2, 7, 5, 1, we obtain the following Young tableau PXP_{X}:

    Figure: young tableau LIS
  3. The length of the first column in the Young tableau PXP_{X} is the length of the longest decreasing subsequence (LDS) of the permutation XX.

Define the length of an LIS/LDSLIS/LDS with length no more than kk as k−LISk-LIS and k−LDSk-LDS, respectively. Such problems can likewise be solved using Young tableaux. For 1−LIS1-LIS, it is obvious that the longest 1−LIS1-LIS subsequence is the LDSLDS of the sequence, which is also the first column of the Young tableau. Similarly, the length of the first kk columns of the Young tableau is the length of the longest k−LISk-LIS subsequence. The proof is as follows:

For a permutation XX and its mm-row Young tableau PP, let the permutation X∗X^∗ be (Pm,1…,Pm,λm,Pm−1,1…,P1,1…P1,λ1)(P_{m,1}\ldots,P_{m,λ_{m}},P_{m−1,1}\ldots,P_{1,1}\ldots P_{1,λ_{1}}) (that is, write the rows of the Young tableau one after another from bottom to top). Then XX can always be transformed into X∗X^* by swap operations.

Therefore, the length of the longest k−LISk-LIS subsequence can be written as F(k)=∑i=1mmin⁡(k,λi)F(k)=\sum_{i=1}^{m} \min(k,\lambda_{i}), that is, the sum of the lengths of the first kk columns.

CTSC2017 Longest Increasing Subsequence

Given a sequence bb of length nn. For the sequence Bm=(b1,b2,…,bm)B_{m} = (b_{1}, b_{2},\ldots, b_{m}), let CC be a subsequence of BmB_{m}, and suppose that the length of CC's longest increasing subsequence is at most kk. Find the maximum possible length of CC.

Solution idea

For multiple queries, consider using a scanline method. We then need to maintain the Young tableau of every prefix. Using the conclusion above, the problem becomes how to efficiently maintain the sum of the lengths of the first kk columns of the Young tableau. Maintaining it directly has complexity O(n2log⁡n)O(n^2 \log n), which is unacceptable. Consider maintaining the first n\sqrt{n} columns and the first n\sqrt{n} rows.

It can be seen that the Young tableau will never completely cover this W×HW \times H rectangle. If K≤WK \leq W, the answer can be obtained directly; if K>WK > W, the part greater than WW must lie within the HH rows. Thus, we can consider maintaining the first n\sqrt{n} columns and the first n\sqrt{n} rows simultaneously. Reversing this permutation gives the transpose of the Young tableau, so it is only necessary to maintain −Ai-A_{i} simultaneously as well, with complexity O(nnlog⁡n)O(n \sqrt{n} \log n).

BJWC2018 Longest Increasing Subsequence

Given a random permutation of length nn, find the expected length of its longest increasing subsequence.

CF1268B Young Dominoes

Given a histogram with nn columns of lengths a1,a2,…,an (a1≥a2≥…≥an≥1)a_{1} ,a_{2},\ldots,a_{n}\,(a_{1} \geq a_{2} \geq \ldots \geq a_{n} \geq 1). The Young diagram for a=[3,2,2,2,1]a=[3,2,2,2,1]. Find the maximum number of non-overlapping dominoes (1×21 \times 2 or 2×12 \times 1 rectangles) that can be drawn in this histogram.

References and further reading

  1. Young Tableau - from Wolfram MathWorld
  2. Young tableau - Wikipedia
  3. Hook length formula - Wikipedia
  4. Fangzhou Yuan, "An Introduction to the Applications of Young Matrices in Informatics Competitions" IOI2019, Proceedings of the Chinese National Team Candidate Papers, 202-229

This content comes from OI Wiki: Young Tableau. See the original for authors and revision history. AIOJ has adapted the formatting, in-site links, and resource paths.

Content is shared under CC BY-SA 4.0 and SATA license; additional terms are governed by the original notice. Thanks to the OI Wiki authors and contributors; per the SATA terms, please visit the OI Wiki repository and star it to show your support.