Skip to content
NCERT Exemplar · Q26

Q.The number of terms in the expansion of (x+y+z)n(x + y + z)^n ______ .

Yanam BieapShort· 1mImportance★★★★★est
78% · 50/64 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The expansion of (x+y+z)n(x + y + z)^n is a sum of monomials of the form xaybzcx^a y^b z^c where a+b+c=na + b + c = n; counting these is a classic "stars and bars" problem. The number of terms is (n+2)!n!⋅2!=(n+1)(n+2)2\boxed{\frac{(n+2)!}{n! \cdot 2!}} = \frac{(n+1)(n+2)}{2}.

When we expand (x+y+z)n(x + y + z)^n, we're multiplying nn copies of the trinomial together. Each term in the expansion comes from choosing one variable from each of the nn factors. The result is a monomial xaybzcx^a y^b z^c where the exponents aa, bb, and cc count how many times we picked xx, yy, and zz respectively. Since we make exactly nn choices in total, we must have a+b+c=na + b + c = n with a,b,c≥0a, b, c \geq 0.

The question reduces to: how many non-negative integer solutions does a+b+c=na + b + c = n have?

This is the combinatorial problem of distributing nn identical objects into 33 distinct bins. The standard technique is "stars and bars."

Counting with stars and bars

  1. Visualize the problem: Imagine nn stars in a row: ⋆⋆⋆⋯⋆\star \star \star \cdots \star. We need to partition them into three groups (for xx, yy, and zz). We do this by inserting 22 dividers (bars) among the stars.

  2. Total positions: We have nn stars and need to place 22 bars. Think of it as arranging n+2n + 2 objects in a line: nn indistinguishable stars and 22 indistinguishable bars.

  3. Choose positions for the bars: The number of ways to choose 22 positions out of n+2n + 2 total positions for the bars is (n+22)\binom{n+2}{2}.

  4. Compute the binomial coefficient:

(n+22)=(n+2)!2!⋅n!=(n+2)(n+1)2\binom{n+2}{2} = \frac{(n+2)!}{2! \cdot n!} = \frac{(n+2)(n+1)}{2}

Tip

The general formula for distributing nn identical items into kk distinct bins is (n+k−1k−1)\binom{n+k-1}{k-1}. Here k=3k = 3, so we get (n+22)\binom{n+2}{2}. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.