Mathwords logoMathwords

Trinomial Coefficient — Definition, Formula & Examples

A trinomial coefficient is a number that appears when you expand a power of a three-term expression (trinomial), generalizing the familiar binomial coefficient to three variables instead of two.

The trinomial coefficient (nk1,k2,k3)\binom{n}{k_1, k_2, k_3} is the multinomial coefficient n!k1!k2!k3!\frac{n!}{k_1!\, k_2!\, k_3!} where k1+k2+k3=nk_1 + k_2 + k_3 = n and k1,k2,k30k_1, k_2, k_3 \geq 0. It counts the number of ways to partition nn objects into three groups of sizes k1k_1, k2k_2, and k3k_3.

Key Formula

(nk1,k2,k3)=n!k1!k2!k3!\binom{n}{k_1, k_2, k_3} = \frac{n!}{k_1!\, k_2!\, k_3!}
Where:
  • nn = The exponent of the trinomial
  • k1,k2,k3k_1, k_2, k_3 = Non-negative integers that sum to n, representing the exponents of the three terms

How It Works

When you expand (a+b+c)n(a + b + c)^n, each term has the form (nk1,k2,k3)ak1bk2ck3\binom{n}{k_1, k_2, k_3} a^{k_1} b^{k_2} c^{k_3}, where the exponents sum to nn. To find the coefficient of a particular term, identify the three exponents and compute n!k1!k2!k3!\frac{n!}{k_1!\, k_2!\, k_3!}. This works exactly like the binomial theorem but with an extra variable. The total number of terms in the expansion equals (n+22)\binom{n+2}{2}.

Worked Example

Problem: Find the coefficient of a2bca^2 b c in the expansion of (a+b+c)4(a + b + c)^4.
Identify exponents: The term a2bca^2 b c has exponents k1=2k_1 = 2, k2=1k_2 = 1, k3=1k_3 = 1. Check: 2+1+1=4=n2 + 1 + 1 = 4 = n.
k1=2,  k2=1,  k3=1k_1 = 2,\; k_2 = 1,\; k_3 = 1
Apply the formula: Substitute into the trinomial coefficient formula.
4!2!1!1!=24211=12\frac{4!}{2!\, 1!\, 1!} = \frac{24}{2 \cdot 1 \cdot 1} = 12
Answer: The coefficient of a2bca^2 b c in (a+b+c)4(a + b + c)^4 is 1212.

Why It Matters

Trinomial coefficients appear in probability when outcomes split three ways, such as draws with three categories. They also arise in combinatorics courses and in expanding expressions with three or more terms, which is common in multivariable algebra.

Common Mistakes

Mistake: Using the binomial coefficient formula n!k!(nk)!\frac{n!}{k!(n-k)!} with only one of the exponents, ignoring the third.
Correction: You must divide n!n! by the factorials of all three exponents: n!k1!k2!k3!\frac{n!}{k_1!\, k_2!\, k_3!}. The binomial coefficient is the special case where k3=0k_3 = 0.