I read in a book that the number of solutions of x+y+z=11 where x,y,z belong to [1,6] and are integers, can be given by coefficient of \(x^{11}\) in expansion of \((x+x^2+x^3+.....+x^6)^3\). I can't understand the method. Can someone explain the logic behind it? And is there a general statement for this?
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Consider using the distributive property to write the following product as the sum of a bunch of terms:
(t1+t2+t3+t4+t5+t6)(t1+t2+t3+t4+t5+t6)(t1+t2+t3+t4+t5+t6).
If you pick the tx term from the first sum, the ty term from the first sum, and the tz term from the first sum, then the product will be tx+y+z.
So, each solution (x,y,z) to x+y+z=11 with x,y,z∈1,6 yields a t11 term.
Thus, the t11 coefficient of the expansion is the number of such solutions.
This method goes under the category of Generating Functions. There are several sources online that formalize this and give more examples.
Log in to reply
Oh! It was so simple. Thanks for explaining.
I am also not able to understand this theorem.I am also stuck with it.I think here multinomial theorem is used.