Fact-checked by Grok 2 weeks ago

Trinomial expansion

In , trinomial expansion is the process of expressing a power of a of three terms, such as (x + y + z)^n where n is a nonnegative , as a of monomials with determined by multinomial coefficients. The general form is (x + y + z)^n = \sum_{r_1 + r_2 + r_3 = n} \frac{n!}{r_1! r_2! r_3!} x^{r_1} y^{r_2} z^{r_3}, where the is over all nonnegative integers r_1, r_2, r_3 satisfying , and the multinomial \frac{n!}{r_1! r_2! r_3!} counts the number of distinct terms arising from the product of n factors. This expansion is a special case of the multinomial theorem for three variables, generalizing the binomial theorem (x + y)^n = \sum_{k=0}^n \binom{n}{k} x^{n-k} y^k. The number of distinct monomials in the expansion equals the number of nonnegative integer solutions to r_1 + r_2 + r_3 = n, which is \binom{n + 2}{2}. For example, (x + y + z)^3 expands to x^3 + y^3 + z^3 + 3x^2 y + 3x^2 z + 3y^2 x + 3y^2 z + 3z^2 x + 3z^2 y + 6x y z, containing 10 terms corresponding to the solutions. The trinomial theorem can be proved combinatorially by considering the product of n identical factors (x + y + z), where each factor contributes one of the three terms, leading to the multinomial coefficients as the ways to choose the exponents. A related is the trinomial coefficient (n; k)_2, which appears in the expansion of (1 + x + x^2)^n, where (n; k)_2 is the coefficient of x^{n+k} for integers k with -n \leq k \leq n, satisfying the recurrence (n; k)_2 = (n-1; k-1)_2 + (n-1; k)_2 + (n-1; k+1)_2 with symmetry (n; -k)_2 = (n; k)_2. These coefficients form the trinomial triangle, an analog of where each entry is the sum of the three entries above it, and the row sums equal $3^n. Historically, Leonhard Euler explored trinomial coefficients in a 1765 paper, deriving properties of these coefficients. Closed forms for trinomial coefficients can be expressed using . Trinomial expansions find applications in for counting lattice paths in three dimensions, generating functions, and solving Diophantine equations, as well as in statistics for the trinomial distribution modeling three outcomes.

Fundamentals

Definition

A is a consisting of exactly three terms, typically expressed in the form a + b + c, where a, b, and c are variables or constants. The expansion is the algebraic process of raising such a to a nonnegative power n, resulting in a that is a of . Each in the expansion corresponds to a unique of exponents on the original terms whose degrees to n. The general form of the expansion is (a + b + c)^n = \sum_{i + j + k = n} \frac{n!}{i! \, j! \, k!} a^i b^j c^k, where the is taken over all nonnegative i, j, and k satisfying i + j + k = n. The coefficient \frac{n!}{i! \, j! \, k!} in each term is known as the trinomial coefficient, often denoted T(n; i, j, k). This coefficient quantifies the number of distinct ways to arrange i instances of a, j instances of b, and k instances of c in a of n. The trinomial expansion is a specific instance of the more general .

Historical Context

The roots of trinomial expansion trace back to 17th-century , building on the as a foundational precursor. Isaac Newton's work on the in the late provided the general framework for expansions like the trinomial case. Blaise Pascal's 1654 treatise Traité du triangle arithmétique explored binomial coefficients through his eponymous triangle, laying groundwork for higher-dimensional extensions like the trinomial case via , a three-dimensional analog for organizing trinomial coefficients. This structure, though formalized later, represented initial efforts to generalize combinatorial patterns beyond two terms. In the , Leonhard Euler advanced the field through generating functions that implicitly addressed trinomial expansions. Euler's 1765 paper Observationes analyticae provided an extensive analysis of trinomial coefficients, deriving their properties and distributions over 20 pages, marking a seminal contribution to their systematic study. These works connected trinomial forms to broader algebraic series, emphasizing unimodal patterns and recursive relations. The 19th century saw formalization of expansion within the , with mathematicians like contributing to combinatorial invariants and enumerations in theory and symmetric functions. This era solidified expansions as a core tool in and . By the , expansions gained prominence in probabilistic models through connections to distributions, which model probabilities with three or more outcomes. These were applied in early 1900s , including limit theorems. Post-1950s developments integrated digital for efficient generation, enabling practical applications in statistical simulations.

Formulation

General Expression

The trinomial theorem provides the general for the power of a of three terms. For nonnegative n and variables x, y, z in the complex numbers, it states that (x + y + z)^n = \sum_{\substack{i,j,k \geq 0 \\ i + j + k = n}} \frac{n!}{i! \, j! \, k!} x^i y^j z^k, where the is taken over all nonnegative i, j, k satisfying i + j + k = n. This can be expressed as a triple for computational convenience: (x + y + z)^n = \sum_{i=0}^n \sum_{j=0}^{n-i} \frac{n!}{i! \, j! \, (n-i-j)!} x^i y^j z^{n-i-j}, or equivalently as a single over the partitions of n into three nonnegative parts. The coefficients in this expansion are known as trinomial coefficients, denoted by the multinomial notation \binom{n}{i,j,k} = \frac{n!}{i! \, j! \, k!} for i + j + k = n. These coefficients satisfy the property that their sum over all such i, j, k equals $3^n, as obtained by substituting x = y = z = 1. For the base case n = 0, the expansion yields (x + y + z)^0 = 1, corresponding to the empty sum with the single term where i = j = k = 0. The theorem applies specifically for nonnegative integers n, as the factorial in the coefficients is defined accordingly. While the theorem is stated here for complex numbers, it extends more generally to any commutative ring with unity, where x, y, z are elements that commute under multiplication, though the primary focus remains on numerical cases for real or complex scalars.

Coefficient Determination

In the trinomial expansion of (x + y + z)^n, the coefficient of the term x^i y^j z^k, where i + j + k = n and i, j, k are non-negative integers, is given directly by the multinomial coefficient \frac{n!}{i! \, j! \, k!}. This formula allows computation of individual coefficients without generating the full expansion, as it counts the number of ways to choose positions for each variable in the product of n factors. For specific forms like the generating function (1 + x + x^2)^n, the coefficient of x^m is obtained by summing multinomial coefficients over all non-negative integers i, j, k satisfying i + j + k = n and j + 2k = m, yielding \sum \frac{n!}{i! \, j! \, k!}, where the sum is over valid triples. This approach extracts the desired coefficient by enumerating contributions from terms where the x^2 component accounts for part of the exponent. To determine all coefficients in the expansion, one enumerates the set of non-negative solutions (i, j, k) to i + j + k = n; there are exactly \binom{n+2}{2} such triples, allowing in O(n^2) time by iterating over possible values of i and j (with k = n - i - j). Each coefficient is then calculated using the multinomial formula in constant time per triple. In where two variables are identical, such as the expansion of (x + y + y)^n = (x + 2y)^n, the trinomial reduces to a form, with coefficients \binom{n}{i} 2^{n-i} for the term x^i y^{n-i}. This simplification arises because the identical terms combine multiplicatively, transforming the multinomial structure into a one. For advanced extraction without enumeration, coefficients in the multivariate can be obtained using partial derivatives: the coefficient of x^i y^j z^k in f(x, y, z) = (x + y + z)^n is \frac{1}{i! \, j! \, k!} \left. \frac{\partial^{i+j+k} f}{\partial x^i \partial y^j \partial z^k} \right|_{(0,0,0)}. Similarly, tools like the enable extraction via contour integrals, such as \frac{1}{(2\pi i)^3} \oint \frac{f(x, y, z)}{x^{i+1} y^{j+1} z^{k+1}} \, dx \, dy \, dz over suitable around the origin, though these are typically used for asymptotic or symbolic computations rather than direct numerical evaluation.

Derivation Methods

Combinatorial Derivation

The combinatorial derivation of the trinomial expansion interprets (a + b + c)^n as the product of n identical factors, where each factor offers three choices: a, b, or c. This setup models n independent selections, akin to assigning each of n distinct positions (or "steps") to one of three options, with the exponent tracking the frequency of each choice. The resulting expansion arises from enumerating all possible outcomes of these selections, where the coefficient of each reflects the number of ways to achieve a specific of choices. Consider a general term in the expansion, a^i b^j c^k where i + j + k = n and i, j, k \geq 0. This term emerges from selecting a exactly i times, b exactly j times, and c exactly k times across the n factors. Since the factors are ordered and the selections are distinct, the number of distinct sequences yielding this term is the number of ways to arrange i a's, j b's, and k c's in a sequence of length n, given by the multinomial coefficient \frac{n!}{i! \, j! \, k!}. Thus, the contribution of this term is \frac{n!}{i! \, j! \, k!} a^i b^j c^k. This counting aligns with partitioning n distinct objects into three labeled groups of sizes i, j, and k, where the factorial division accounts for indistinguishability within each group. To illustrate conceptually for small n, take n=2. The expansion involves two factors, (a + b + c)(a + b + c), yielding nine total terms before combining like monomials (since $3^2 = 9). These group into distinct monomials such as a^2 (from selecting a both times, in one way), ab (from selecting a first and b second, or vice versa, in two ways), and similarly for other pairs and the b^2, c^2 terms, with the cross term abc absent for n=2. The coefficients emerge naturally from these selection counts, without needing explicit computation. This approach connects to distributing n indistinct items into three distinct bins, but with a multinomial twist: while stars and bars counts the non-negative solutions to i + j + k = n (number of distinct monomials), the full coefficients incorporate the arrangements of distinct selections, scaling by the multinomial factor to reflect ordered distributions of distinct positions. The proof completes by summing over all non-negative integers i, j, k with i + j + k = n: (a + b + c)^n = \sum_{i+j+k=n} \frac{n!}{i! \, j! \, k!} a^i b^j c^k. To verify, substitute a = b = c = 1, yielding $3^n = \sum_{i+j+k=n} \frac{n!}{i! \, j! \, k!}, which holds as the left side counts total sequences ($3 choices per position), and the right sums the ways to partition into frequency groups.

Algebraic Derivation

The algebraic derivation of the trinomial theorem, a special case of the multinomial theorem for three terms, proceeds via mathematical induction on the exponent n, leveraging the binomial theorem in the inductive step. The theorem states that for variables a, b, and c, and non-negative integer n, (a + b + c)^n = \sum_{i + j + k = n} \frac{n!}{i! \, j! \, k!} a^i b^j c^k, where the sum is over all non-negative integers i, j, k satisfying the condition. To prove this by , first consider the base cases. For n = 0, both sides equal 1, as the left is (a + b + c)^0 = 1 and the right sums to the single term with i = j = k = 0, giving \frac{0!}{0! \, 0! \, 0!} a^0 b^0 c^0 = 1. For n = 1, the left side is a + b + c, and the right side sums the terms \frac{1!}{1! \, 0! \, 0!} a^1 b^0 c^0 = a, \frac{1!}{0! \, 1! \, 0!} b, and \frac{1!}{0! \, 0! \, 1!} c, yielding a + b + c. These cases hold trivially. Assume the statement holds for some n-1 \geq 1, so (a + b + c)^{n-1} = \sum_{i + j + k = n-1} \frac{(n-1)!}{i! \, j! \, k!} a^i b^j c^k. For the inductive step, multiply both sides by (a + b + c): (a + b + c)^n = (a + b + c) \cdot (a + b + c)^{n-1} = (a + b + c) \sum_{i + j + k = n-1} \frac{(n-1)!}{i! \, j! \, k!} a^i b^j c^k. Distribute the factor (a + b + c) over the sum, applying the binomial theorem to group terms as needed, but more directly, for each term \frac{(n-1)!}{i! \, j! \, k!} a^i b^j c^k in the expansion of (a + b + c)^{n-1}, multiply by a to get \frac{(n-1)!}{i! \, j! \, k!} a^{i+1} b^j c^k, by b to get \frac{(n-1)!}{i! \, j! \, k!} a^i b^{j+1} c^k, and by c to get \frac{(n-1)!}{i! \, j! \, k!} a^i b^j c^{k+1}. Collecting like terms where the exponents sum to n, for a general term with exponents p, q, r where p + q + r = n, the coefficient arises from contributions where the multiplication increases one exponent by 1 from the (n-1)-case. Specifically, it comes from the term with exponents (p-1, q, r), (p, q-1, r), or (p, q, r-1) in the inductive hypothesis, each contributing \frac{(n-1)!}{(p-1)! \, q! \, r!}, \frac{(n-1)!}{p! \, (q-1)! \, r!}, or \frac{(n-1)!}{p! \, q! \, (r-1)!}, respectively, provided the indices are non-negative. Summing these yields \frac{(n-1)!}{(p-1)! \, q! \, r!} + \frac{(n-1)!}{p! \, (q-1)! \, r!} + \frac{(n-1)!}{p! \, q! \, (r-1)!} = \frac{n!}{p! \, q! \, r!}, using the identity \frac{(n-1)!}{(p-1)! \, q! \, r!} = \frac{n!}{p! \, q! \, r!} \cdot \frac{p}{n} and similarly for the others, which sum to the full multinomial coefficient since \frac{p}{n} + \frac{q}{n} + \frac{r}{n} = 1. Thus, the expansion for n matches the desired form, completing the induction. An alternative algebraic approach expands (a + b + c)^n iteratively using the . First, treat it as ((a + b) + c)^n and apply the : ((a + b) + c)^n = \sum_{k=0}^n \binom{n}{k} (a + b)^k c^{n-k}. Then, for each k, expand (a + b)^k via the again: (a + b)^k = \sum_{i=0}^k \binom{k}{i} a^i b^{k-i}. Substituting yields \sum_{k=0}^n \sum_{i=0}^k \binom{n}{k} \binom{k}{i} a^i b^{k-i} c^{n-k} = \sum_{i + j + k = n} \frac{n!}{i! \, j! \, k!} a^i b^j c^k, where j = k - i, and the double sum reindexes over i + j + k = n with the product of binomials equaling the multinomial coefficient, as \binom{n}{k} \binom{k}{i} = \frac{n!}{k! (n-k)!} \cdot \frac{k!}{i! j!} = \frac{n!}{i! j! (n - i - j)!} with k = n - i - j. This confirms the theorem through successive binomial expansions. To illustrate the inductive step without full computation, consider n=2 from the n=1 base: (a + b + c)^2 = (a + b + c)(a + b + c). Multiplying the terms gives a^2 + ab + ac + ba + b^2 + bc + ca + cb + c^2, which groups to a^2 + b^2 + c^2 + 2ab + 2ac + 2bc, matching \sum \frac{2!}{i! j! k!} a^i b^j c^k for the relevant exponents (e.g., coefficient 2 for ab from \frac{2!}{1!1!0!} = 2). Similarly, for n=3, the induction from n=2 produces terms like a \cdot a^2 = a^3 (coeff 1), a \cdot 2ab = 2a^2 b plus b \cdot 2a^2 = 2a^2 b totaling 3 for a^2 b, aligning with \frac{3!}{2!1!0!} = 3. This derivation assumes a, b, c commute under , as is in rings over commutative fields like the reals or complexes. For non-commuting variables, such as in algebras or , generalized multinomial expansions exist but require ordered products and adjusted coefficients.

Key Properties

Symmetry and Invariance

The trinomial expansion of (a + b + c)^n demonstrates symmetry through its multinomial coefficients, which depend solely on the of exponents \{i, j, k\} where i + j + k = n. The general term is \frac{n!}{i! j! k!} a^i b^j c^k, and this remains unchanged under any of the exponents, as it is defined combinatorially as the number of ways to divide n distinct objects into three labeled groups of sizes i, j, and k. This symmetry arises directly from the structure of the , ensuring that permuted terms share identical coefficients. As a result, the groups terms that are permutations of each other, facilitating efficient by reducing . For instance, all six permutations of distinct exponents i, j, k (with i \neq j \neq k) contribute the same to their respective monomials, allowing aggregation into symmetric sums. This property holds because the theorem's formula is to the ordering of the factors in the sum. The full (a + b + c)^n is under relabeling of the variables, such that (a + b + c)^n = (b + a + c)^n = (c + b + a)^n, reflecting the symmetric of the expression in its linear factors. This invariance simplifies evaluations, such as substituting specific values or deriving identities, by exploiting the equality across permutations without recomputing the . In the special case of symmetric trinomials like (x + y + z)^n, where the variables are formally indistinct, the expansion inherently produces a , with all permuted monomials coalescing under the action. This case underscores the theorem's role in generating elementary symmetric functions when variables are treated equivalently.

Recurrence Relations

The trinomial coefficients T(n; i, j, k), defined for non-negative integers i, j, k with i + j + k = n, satisfy the basic T(n; i, j, k) = T(n-1; i-1, j, k) + T(n-1; i, j-1, k) + T(n-1; i, j, k-1), with boundary conditions T(n; i, j, k) = 0 if any of i, j, k is negative or if i + j + k \neq n, and T(0; 0, 0, 0) = 1. This relation generalizes Pascal's identity for coefficients to the three-variable case. This recurrence arises as an extension of to a pyramidal structure, where each coefficient is the sum of the three coefficients that precede it in the previous layer, corresponding to the last term in the expansion contributing to one of the three variables. Algebraically, it follows from the by considering the expansion of (x + y + z)^n = (x + y + z) \cdot (x + y + z)^{n-1} and collecting . The coefficients can be constructed row by row in a triangular , with row n containing entries T(n; i, j, k) for i + j + k = n and i, j, k \geq 0, ordered by increasing i (for example), where each entry is computed as the sum of up to three entries from row n-1. This generates all coefficients systematically, mirroring the iterative buildup of but in a two-dimensional slice of the three-dimensional multinomial . These recurrences enable efficient computation of all trinomial coefficients up to degree n by dynamic programming, filling a of size O(n^2) (since there are \Theta(n^2) non-zero coefficients per full set up to n) in O(n^3) time, as each entry requires constant-time summation from predecessors.

Examples and Computations

Simple Expansions

The simplest case of trinomial expansion occurs when n=1, yielding the trivial identity (a + b + c)^1 = a + b + c. This consists of three monomials, each with coefficient 1. For n=2, the expansion is (a + b + c)^2 = a^2 + b^2 + c^2 + 2ab + 2ac + 2bc. Here, the squared terms a^2, b^2, and c^2 arise from selecting the same variable twice, while the cross terms like $2ab result from selecting different variables once each, with the 2 reflecting the two possible orders of selection. The case n=3 produces a more involved expansion with 10 distinct monomials: (a + b + c)^3 = a^3 + b^3 + c^3 + 3a^2b + 3a^2c + 3b^2a + 3b^2c + 3c^2a + 3c^2b + 6abc. The cubic terms such as a^3 have 1, the terms with exponents (2,1,0) like $3a^2b have 3, and the balanced term $6abc accounts for all permutations of the exponents (1,1,1). These coefficients align with the general multinomial formula from the theorem's expression, where the of a^i b^j c^k with i+j+k=n is \frac{n!}{i! j! k!}. For instance, the of abc is \frac{3!}{1!1!1!} = 6. A clear pattern emerges in these examples: the total number of distinct monomials in (a + b + c)^n is \frac{(n+1)(n+2)}{2}, increasing from 3 terms for n=1 to 6 for n=2 and 10 for n=3.

Computational Techniques

One efficient method for computing the full set of trinomial coefficients in the expansion of (a + b + c)^n involves iterative application of the recurrence relation, where the coefficient T(n; i, j, k) with i + j + k = n satisfies T(n; i, j, k) = T(n-1; i-1, j, k) + T(n-1; i, j-1, k) + T(n-1; i, j, k-1), with boundary conditions T(n; i, j, k) = 0 if any index is negative and T(0; 0, 0, 0) = 1. This dynamic programming approach builds a triangular table of size O(n^2), computing all coefficients in O(n^2) time by filling rows incrementally from lower degrees. For software implementations, a straightforward algorithmic approach enumerates all non-negative solutions to i + j + k = n using nested loops and computes each directly as the multinomial \frac{n!}{i! \, j! \, k!}, though for large n this risks numerical and is better replaced by the recurrence to avoid explicit factorials. The following generates the terms:
function trinomial_terms(n, a, b, c):
    terms = []
    for i in 0 to n:
        for j in 0 to n - i:
            k = n - i - j
            coeff = multinomial(n, i, j, k)  # or via recurrence table
            term = coeff * a^i * b^j * c^k
            terms.append(term)
    return sum(terms)  # or list for expansion
This has time complexity O(n^2) due to \Theta(n^2) terms in the expansion. Symbolic computation systems provide exact expansions without numerical issues. In Mathematica, the command Expand[(a + b + c)^n] directly yields the full in symbolic form, handling arbitrary n through built-in algebraic manipulation. Similarly, Python's SymPy library uses sympy.expand((a + b + c)**n) to produce the exact trinomial expansion as a expression, supporting further manipulation like extraction. For large n, where exact computation becomes infeasible due to the in coefficient size and number of terms, asymptotic approximations via Stirling's formula estimate individual coefficients: \frac{n!}{i! \, j! \, k!} \sim \sqrt{\frac{n}{4\pi^2 i j k}} \left( \frac{n}{i} \right)^i \left( \frac{n}{j} \right)^j \left( \frac{n}{k} \right)^k when i, j, k = \Theta(n), enabling focus on dominant terms near i \approx j \approx k \approx n/3. Storage optimizations treat the expansion as a sparse in two variables (e.g., degrees in a and b, with c implicit), reducing memory to O(n^2) while preserving all non-zero terms.

Applications

Probability and Statistics

The trinomial distribution arises in probability models where each of n independent trials results in one of three mutually exclusive outcomes, labeled A, B, or C, with corresponding probabilities p_A, p_B, and p_C satisfying p_A + p_B + p_C = 1. The probability of observing i outcomes of type A, j of type B, and k of type C, where i + j + k = n, is given by the probability mass function P(X_A = i, X_B = j, X_C = k) = \frac{n!}{i! \, j! \, k!} p_A^i p_B^j p_C^k. This expression corresponds directly to the general in the trinomial of (p_A x + p_B y + p_C z)^n, where the multinomial \frac{n!}{i! \, j! \, k!} weights the probability contributions from each of outcomes. The for the joint distribution of (X_A, X_B, X_C) is (p_A x + p_B y + p_C z)^n, which encapsulates all joint probabilities as in its . Moments such as and variance can be derived from this or its moment-generating counterpart (p_A e^{t_A} + p_B e^{t_B} + p_C e^{t_C})^n. For instance, the E[X_A] = n p_A emerges from the of the linear in x when expanding (p_A x + p_B + p_C)^n and evaluating at x = 1, while the variance \operatorname{Var}(X_A) = n p_A (1 - p_A) follows from second-order derivatives or properties. These derivations highlight how trinomial expansions provide a combinatorial foundation for computing statistical summaries in probabilistic settings. Historically, trinomial expansions informed early genetic models, including Mendel's trihybrid crosses involving three traits, where offspring probabilities align with trinomial (or multinomial) distributions for . In quality control, the models inspection outcomes with three categories—such as acceptable, reworkable defect, or scrap—enabling probabilistic assessment of process variability through expansion-based likelihoods. In modern statistics, trinomial frameworks extend to categorical with three response categories, supporting techniques like trinomial for modeling dependencies in tables.

Combinatorics and Generating Functions

In , the coefficients arising from the trinomial expansion of (x + y + z)^n, known as multinomial coefficients \binom{n}{i, j, k} = \frac{n!}{i! \, j! \, k!} where i + j + k = n, provide a direct count of the number of ways to a set of n distinct objects into three labeled groups of sizes i, j, and k, respectively. This interpretation generalizes the case and is fundamental to divisions of objects into ordered categories, such as assigning tasks to three distinct processors or coloring vertices with three colors under size constraints. Generating functions play a central role in leveraging trinomial expansions for enumeration. For instance, the ordinary generating function (1 + x + x^2 + \cdots)^3 = \frac{1}{(1 - x)^3} encodes the number of ways to distribute n indistinguishable objects into three distinct bins, with the coefficient of x^n being \binom{n + 2}{2}, corresponding to the non-negative solutions to a + b + c = n. Finite truncations, such as (1 + x + \cdots + x^m)^3, restrict bin capacities to at most m objects each and yield s that count bounded partitions, useful for problems with limits. More generally, the itself serves as the for these partitions, expanding (x + y + z)^n to sum over all possible group sizes. In , expansions enumerate structures with three possible choices per step. A prominent application is counting paths: the of x^k in the expansion of (1 + x + x^2)^n equals the number of paths from (0, 0) to (n, k) using n steps of the form (1, 0), (1, 1), or (1, 2), which models sequences of increments by 0, 1, or 2 totaling k. Similarly, for paths allowing down steps, the coefficients in (x^{-1} + 1 + x)^n count paths from (0, 0) to (n, k) with steps (1, -1), (1, 0), or (1, 1), applicable to balanced parentheses variants or random walks with three outcomes. These path counts extend to higher dimensions, such as 3D paths with choices in three directions, where -like expansions track coordinates via multivariate s. For tilings, the \frac{1}{1 - x - x^2 - x^3} enumerates ways to cover a $1 \times n board using tiles of lengths 1, 2, or 3, with coefficients satisfying the recurrence t_n = t_{n-1} + t_{n-2} + t_{n-3} (t_0 = 1, t_1 = 1, t_2 = 2), related to relations. The trinomial triangle organizes these coefficients row by row, analogous to for binomials. Each row n lists the coefficients of (1 + x + x^2)^n, starting with row 0 as 1, row 1 as $1, 1, 1, and subsequent entries formed by t_{n,k} = t_{n-1,k-1} + t_{n-1,k} + t_{n-1,k+1} (with zeros outside bounds). This generates sequences like the central trinomial coefficients along the middle diagonal, which satisfy recurrences tied to the triangle's structure and count symmetric path returns. The rows serve as generating sequences for enumerating objects with trinomial symmetry, such as ternary trees or three-choice decision paths. In advanced frameworks, trinomial expansions integrate into combinatorial species theory through exponential generating functions. For species involving labeled structures partitioned into three types (e.g., vertices colored in three classes), the egf \exp(x + y + z) yields coefficients \frac{n!}{i! j! k!} for the number of such structures on n labels divided into sizes i, j, k, enabling compositional enumeration of complex assemblies like multiset permutations across types. Similarly, in umbral calculus, trinomial coefficients appear in extensions of binomial-type sequences, where formal power series operators model multinomial expansions, facilitating identities for higher-order differences and generalizations of finite calculus to three variables. These tools underpin derivations in formal power series for enumerative problems beyond basic counts.

References

  1. [1]
    Trinomial Coefficient -- from Wolfram MathWorld
    A trinomial coefficient is a coefficient of the trinomial triangle. Following the notation of Andrews (1990), the trinomial coefficient (n; k)_2 , with n>=0 ...
  2. [2]
    The Trinomial Theorem - Mathonline - Wikidot
    The only potential difficulty that arises in applying the Trinomial Theorem is finding all solutions nonnegative integer solutions to the equation $n = r_1 + ...<|separator|>
  3. [3]
    [PDF] Pascal's Triangle, Pascal's Pyramid, and the Trinomial Triangle
    Many properties have been found hidden in Pascal's triangle. In this paper, we will present several known properties in Pascal's triangle as well as the ...
  4. [4]
    17.3 - The Trinomial Distribution | STAT 414 - STAT ONLINE
    What happens if there aren't two, but rather three, possible outcomes? That's what we'll explore here on this page, ending up not with the binomial distribution ...
  5. [5]
    Polynomials - Algebra - Pauls Online Math Notes
    Nov 16, 2022 · Finally, a trinomial is a polynomial that consists of exactly three terms. We will use these terms off and on so you should probably be at ...
  6. [6]
    Trinomial Coefficient & Theorem: Definition - Statistics How To
    The trinomial triangle, an extension of Pascal's triangle, gives the coefficients of the expansion (1 + x + x2)k. trinomial triangle.
  7. [7]
    Multinomial Theorem -- from Wolfram MathWorld
    - **Definition**: The Multinomial Theorem provides a generalization of the binomial theorem for expanding expressions of the form (x₁ + x₂ + ... + xₘ)ⁿ, where there are m variables and n is a positive integer.
  8. [8]
    [PDF] 21-228 Week 3 Notes - andrew.cmu.ed
    Sep 16, 2001 · we can use multinomial coefficients to find the coefficients of (x1 + ··· + xm)n: Theorem 1.3 (Multinomial Theorem). (x1 + ··· + xm)n is the ...
  9. [9]
    [PDF] Multinomial coefficients - Purdue Math
    ⋯𝑚𝑏 ! Page 9. Multinomial coefficients. 9. Definition: If 𝑛1. + 𝑛2. + ⋯+ 𝑛𝑟. = 𝑛, we define the multinomial coefficient. 𝑛. 𝑛1. ,𝑛2. ,…,𝑛𝑟 by. 𝑛. 𝑛1.Missing: mathematics | Show results with:mathematics
  10. [10]
    A History of the Binomial and Multinomial Theorems - SpringerLink
    Feb 7, 2022 · Some historians hold that the history of the binomial theorem goes back as far as the Elements of Euclid (fl.300 BC) by interpreting proposition 4 of Book II.
  11. [11]
    Euler's "Exemplum Memorabile Inductionis Fallacis" and q-Trinomial ...
    The coefficients in (1.1) are called trinomial coefficients (although the same name is used for the coefficients arising in (x + y + z)n) .
  12. [12]
    [PDF] arXiv:0805.2769v2 [math.CO] 26 Sep 2010
    Sep 26, 2010 · When Euler (1765) was inves- tigating the properties of the trinomial coefficients (see Andrews [1]), he obtained an unimodal distribution ...
  13. [13]
    [PDF] Chapter 4 Some Counting Problems; Multinomial Coefficients, The ...
    SOME COUNTING PROBLEMS; MULTINOMIAL COEFFICIENTS. Figure 4.6: James Joseph Sylvester, 1814-1897. Then, we have the following version of Theorem 4.4.2: Theorem ...
  14. [14]
    Introduction of <i>p</i>-nomial Distribution as a Generalization of ...
    In 1909, Émile Borel states and proves, in the case of binomial law, the first version of the strong law of large numbers. Binomial law appeared in many ...<|control11|><|separator|>
  15. [15]
    Multinomial Series -- from Wolfram MathWorld
    A multinomial series is generalization of the binomial series discovered by Johann Bernoulli and Leibniz. The multinomial series arises in a generalization ...<|separator|>
  16. [16]
    Multinomial Coefficient -- from Wolfram MathWorld
    The multinomial coefficients (n_1,n_2,...,n_k)!=((n_1+n_2+...+n_k)!)/(n_1!n_2!...n_k!) are the terms in the multinomial series expansion.
  17. [17]
    26.4 Lattice Paths: Multinomial Coefficients and Set Partitions
    Apr 26, 2010 · Table 26.4.1 gives numerical values of multinomials and partitions λ, M 1, M 2, M 3 for 1 ≤ m ≤ n ≤ 5. These are given by the following equations.
  18. [18]
  19. [19]
  20. [20]
    [PDF] Lecture 1.4: Binomial and multinomial coefficients
    A proof that establishes an identity by counting a carefully chosen set two different ways is called a combinatorial proof. M. Macauley (Clemson). Lecture 1.4: ...
  21. [21]
    By Induction - BookOfProofs
    Proof: By Induction ... We want to prove that the sum of r complex or real numbers x_1,x_2,\ldots,x_n raised to the n-th power of will expand as follows: (x_1 + ...
  22. [22]
  23. [23]
    Multinomial Theorem | Brilliant Math & Science Wiki
    Proof of Multinomial Theorem. There are two proofs of the multinomial theorem, an algebraic proof by induction and a combinatorial proof by counting. The ...
  24. [24]
    Proof of the Multinomial Theorem Using Mathematical Induction
    Jan 14, 2021 · The case for n=1 and n=2 can be easily verified. To use mathematical induction, we assume that the formula holds at an arbitrary n≥2. That is to ...Combinatorial Proof of Multinomial Theorem - Without Induction or ...The proof by induction of the multinomial theoremMore results from math.stackexchange.com
  25. [25]
    [PDF] Applied Combinatorics - William T. Trotter
    Feb 15, 2015 · Theorem 2.27 (Multinomial Theorem). Let x1,x2,...,xr be nonzero real ... Give a proof by induction of the Binomial Theorem (Theorem 2.24).
  26. [26]
    [PDF] multinomial.pdf - Rice Statistics
    Aug 21, 2018 · One can use this theorem to prove the multinomial formula of the first theorem by observing that when we expand out all the terms in the n-fold.
  27. [27]
    [PDF] Induction - Mathematical Institute
    Induction is an extremely powerful method of proof used throughout mathematics. It deals with infinite families of statements which come in the form of lists.
  28. [28]
    [PDF] Generalized Multinomial Theorem - Alien's Mathematics
    n. Hereafter, by induction we obtain the desired expression. Example: Sum ... 2022.02.06 updated ( Proof of Theorem 3.4.1 ). Kano Kono. Hiroshima, Japan.
  29. [29]
  30. [30]
    [PDF] Enumerative Combinatorics Volume 1 second edition - Mathematics
    ... Concrete Mathematics, second ed., Addison-Wesley, Reading, MA, 1994 (Exercise 6.75). 142. It is easy to verify that. X n≥0 fn(a)xn = (secx)(cos(a − 1)x + ...<|separator|>
  31. [31]
    Central Trinomial Coefficient -- from Wolfram MathWorld
    The nth central trinomial coefficient is defined as the coefficient of x^n in the expansion of (1+x+x^2)^n. It is therefore the middle column of the ...
  32. [32]
    Multinomial Theorem - GeeksforGeeks
    Aug 27, 2025 · It is a very useful theorem in probability theory, computer science, and statistics since it provides a basic method of polynomial expansion.
  33. [33]
  34. [34]
    Fast computation of multinomial coefficients
    Jan 9, 2021 · Fast computation of multinomial coefficients. Leonardo C. Araujo1. ·Jo ˜ao P. H. Sans ˜ao1 ·Adriano S. Vale-Cardoso1. Received: 6 April 2020 ...
  35. [35]
    The κ-Generalizations of Stirling Approximation and Multinominal ...
    Stirling approximation of the factorials and multinominal coefficients are generalized based on the κ-generalized functions introduced by Kaniadakis.
  36. [36]
    [PDF] Hand-book on STATISTICAL DISTRIBUTIONS for experimentalists
    27.4 Probability Generating Function. The probability generating function for the multinomial distribution is given by. G(z) = k. X i=1 pizi !N. 27.5 Random ...
  37. [37]
    [PDF] Chapter 3 Some Special Distributions
    The Trinomial Distribution: Trinomial : If n is a positive integer and ... Moment generating function for the trinomial distribution. 1. 2. 1. 2 ! 1 2. 1. 2.
  38. [38]
    Probability: Rules, Expansion and Distribution | Genetics
    We now have a trinomial distribution (p + q + r)n, where p, q and r represent probabilities of AA, Aa and aa respectively.
  39. [39]
    The demerit-based control chart for trinomial distribution
    Aug 10, 2025 · Finally we exhibit an application of the said distribution in quality control problems for monitoring process outputs using control charts.
  40. [40]
    plot3logit: Ternary Plots for Interpreting Trinomial Regression Models
    Jul 19, 2022 · This paper presents the R package plot3logit which enables the covariate effects of trinomial regression models to be represented ...
  41. [41]
    Trinomial Triangle -- from Wolfram MathWorld
    ### Summary of Trinomial Triangle