Skip to content
AllCalcHub

Multinomial Theorem Calculator

Find the coefficient of any term in (a₁x₁ + a₂x₂ + … + aₘxₘ)ⁿ with the multinomial theorem, plus the number of terms and the sum of the coefficients.

About the Multinomial Theorem Calculator

The multinomial theorem extends the binomial theorem to more than two terms: the coefficient of x₁^k₁ ⋯ xₘ^kₘ in (x₁ + ⋯ + xₘ)ⁿ is n!/(k₁! ⋯ kₘ!), where the k's add to n. With numbers in front, multiply by a₁^k₁ ⋯ aₘ^kₘ.

The expansion has C(n + m − 1, m − 1) terms, and putting every letter equal to 1 shows the coefficients add to (a₁ + ⋯ + aₘ)ⁿ.

The formula

coefficient = n!/(k₁! k₂! ⋯ kₘ!) · a₁^k₁ ⋯ aₘ^kₘ

Worked example

Coefficient of x²y³z in (2x + 3y − z)⁶

  1. 6!/(2! 3! 1!) = 60
  2. 60 × 2² × 3³ × (−1) = −6480

Questions people ask

How is it related to the binomial theorem?

With two terms, n!/(k!(n − k)!) is the binomial coefficient C(n, k).

Why C(n + m − 1, m − 1) terms?

It counts the ways to split n into m whole-number powers (stars and bars).