MathAdvanced

Elementary Symmetric Functions

Elementary symmetric functions collect every square-free product of a fixed degree into one permutation-invariant polynomial.

Symmetric functionsCombinatoricsq-binomialGenerating functions
Combinatorial lattice branching into time-series traces and a transit network
Generated visual worldMath, data & systems

Combinatorial structure, time series, transit flows, and compute systems sharing one visual grammar.

Interactive model

Generating functions turn products into coefficients

The q-integer demo previews the weighted-counting idea that appears after substituting powers of q into elementary symmetric functions.

Live HTML simulation · adjust the controls and watch the computed output respond.

Interactive

A q-integer records a weighted count: 1 + q + ... + q^(n-1)

[0]q = 0
[1]q = 1
[2]q = 3
[3]q = 7
[4]q = 15
[5]q = 31

This is a simplified teaching model. Its displayed values are computed from the controls; the article explains where the model stops.

Site connection

The DRP project uses elementary symmetric functions as the bridge from symmetric polynomials to the finite q-binomial theorem.

For variables x1,,xnx_1,\ldots,x_n, define

ek(x1,,xn)=1i1<<iknxi1xik,e0=1.e_k(x_1,\ldots,x_n)=\sum_{1\le i_1<\cdots<i_k\le n}x_{i_1}\cdots x_{i_k},\qquad e_0=1.

For three variables,

e1=x1+x2+x3,e2=x1x2+x1x3+x2x3,e3=x1x2x3.e_1=x_1+x_2+x_3,\quad e_2=x_1x_2+x_1x_3+x_2x_3,\quad e_3=x_1x_2x_3.

SymmetricPermuting variables leaves the polynomial unchanged.
ElementaryEach selected variable appears once.
Degree kEvery monomial chooses exactly k distinct indices.
Generating functionOne product stores every e_k as a coefficient.

Definition and Selection Model

The strict inequalities $i_1<\cdots<i_k$ mean that each $k$-element subset of the variables contributes exactly once. Every monomial is square-free and has total degree $k$. The boundary values are $e_0=1$ and $e_k=0$ for $k>n$.

Permutation invariance follows because reordering the variables merely reorders the same collection of $k$-element subsets. Symmetry describes the whole sum; an individual monomial such as $x_1x_3$ is not itself invariant under every variable swap.

Reference table for this concept
ObjectSelection ruleNumber of monomials
$e_0$Choose no variables$1$
$e_1$Choose one variable$\binom{n}{1}$
$e_k$Choose $k$ distinct variables$\binom{n}{k}$
$e_n$Choose every variable$1$

The Generating Function

The finite generating identity is $\prod_{i=1}^{n}(1+x_i t)=\sum_{k=0}^{n}e_k(x_1,\ldots,x_n)t^k$. To obtain $t^k$ during expansion, choose $x_it$ from exactly $k$ factors and choose $1$ from all others. The coefficient therefore sums all products of $k$ distinct variables.

This coefficient-extraction view is more than shorthand: it turns subset selection into multiplication. Evaluating at $t=1$ gives $\prod_i(1+x_i)=\sum_k e_k$, while setting every $x_i=1$ gives $(1+t)^n=\sum_k\binom{n}{k}t^k$.

Worked Example

For $(x_1,x_2,x_3)=(2,3,5)$, expand $(1+2t)(1+3t)(1+5t)$. First, $(1+2t)(1+3t)=1+5t+6t^2$; multiplying by $(1+5t)$ gives $1+10t+31t^2+30t^3$.

Thus $e_0=1$, $e_1=2+3+5=10$, $e_2=2\cdot3+2\cdot5+3\cdot5=31$, and $e_3=2\cdot3\cdot5=30$. The coefficient $31$ comes from choosing the $t$-term in exactly two factors, never twice from one factor.

Reference table for this concept
Power of $t$SelectionsCoefficient
$t^0$Choose no variables$1$
$t^1$$2,3,5$$10$
$t^2$$2\cdot3,2\cdot5,3\cdot5$$31$
$t^3$$2\cdot3\cdot5$$30$

Why They Generate Symmetric Polynomials

The fundamental theorem of symmetric polynomials says that every symmetric polynomial in $n$ variables over an appropriate coefficient ring can be expressed uniquely as a polynomial in $e_1,\ldots,e_n$. This is a structural statement about the algebra of symmetric polynomials, not a claim that each symmetric polynomial equals one $e_k$.

For example, $x_1^2+x_2^2=(x_1+x_2)^2-2x_1x_2=e_1^2-2e_2$. The right-hand side uses elementary symmetric functions even though the original polynomial contains squared variables.

The q-Binomial Bridge

Substitute $(x_1,\ldots,x_n)=(1,q,\ldots,q^{n-1})$ into the finite generating function. Then $\prod_{i=0}^{n-1}(1+q^it)=\sum_{k=0}^{n}e_k(1,q,\ldots,q^{n-1})t^k$.

The finite q-binomial theorem identifies $e_k(1,q,\ldots,q^{n-1})=q^{k(k-1)/2}\binom{n}{k}_q$. The factor $q^{k(k-1)/2}$ is essential. As $q\to1$, the variables all approach $1$, $e_k(1,\ldots,1)=\binom{n}{k}$, and the identity returns to the ordinary binomial theorem.

Limits and Common Misconceptions

Elementary does not mean linear: $e_k$ has degree $k$. It means that variables occur with exponent at most one in each monomial. Complete homogeneous symmetric functions instead allow repeated indices and powers such as $x_1^2$.

The displayed product is finite for $n$ variables. The infinite-variable identity in the DRP source is interpreted degree by degree in the theory of symmetric functions; it is not an instruction to multiply numerically without convergence assumptions. Also, $e_k(1,q,\ldots,q^{n-1})$ is not merely $\binom{n}{k}_q$—the scaling power of $q$ must remain.

Common Pitfalls

  • Allowing repeated indices such as $x_1^2$ inside $e_k$.
  • Counting both $x_ix_j$ and $x_jx_i$ despite the strict index order.
  • Confusing elementary symmetric functions with complete homogeneous symmetric functions.
  • Forgetting $e_0=1$ or that $e_k=0$ when $k>n$.
  • Dropping $q^{k(k-1)/2}$ after the geometric specialization.

Sources and Further Reading

Related Explainers