Quickest way to find coefficient of trinomial

7.6k Views Asked by At

How can I find the coefficient of $a^3b^2$ in the expansion of:

$$ (a+b+3)^5 $$

What is the quickest way to do this without doing the whole expansion?

Answer:
Coefficient of $a^3b^2$ is $10$ according to WolframAlpha

2

There are 2 best solutions below

3
On BEST ANSWER

You're looking for the multinomial theorem and coefficients.

$$(a+b+3)^5 = \sum_{k_1+k_2+k_3=5} \frac{5!}{k_1!k_2!k_3!}a^{k_1}b^{k_2}3^{k_3}$$

We're looking for $k_1=3, k_2=2, k_3=0$. The corresponding multinomial coefficient is

$$\frac{n!}{k_1!k_2!k_3!} = \frac{5!}{3!2!0!} = \frac{120}{12}=10.$$

Note that $\binom{5}{3}\binom{2}{2} =\frac{5!}{3!2!}\frac{5!}{5!0!} = \frac{5!}{3!2!0!}$ as in uniquesolution's answer.

0
On

Write $$(a+b+3)^5 = (a+b+3)(a+b+3)(a+b+3)(a+b+3)(a+b+3)$$ You want to choose $3$ $a$'s and two $b$'s. You have ${5 \choose 3}=10$ ways to choose the $a$'s, and then you must choose $b$'s from the other two parentheses, so you have $10$ ways.