We have that $$(x+y)^n=\sum_{k=0}^n\binom{n}{k}x^ky^{n-k},$$ but is there such a formula for $(x+y+z)^n$ ?
Asked
Active
Viewed 4,006 times
-1
-
1Try to withdraw yourself, replacing y + z = t – Vladislav Kharlamov May 09 '18 at 07:46
-
4https://en.wikipedia.org/wiki/Multinomial_theorem – Hans Lundmark May 09 '18 at 07:50
-
1Also: https://math.stackexchange.com/q/1008703, https://math.stackexchange.com/q/74362, https://math.stackexchange.com/q/837346 – all found quickly with Apporach0 (but who cares) – Martin R May 09 '18 at 08:00
3 Answers
5
$$(x+y+z)^n=([x+y]+z)^n=\sum_{k=0}^n\binom{n}{k}(x+y)^kz^{n-k}=\sum_{k=0}^n\binom nk\left[\sum_{j=0}^k\binom{k}{j}x^jy^{k-j}\right]z^{n-k}$$

ə̷̶̸͇̘̜́̍͗̂̄︣͟
- 27,005
4
What you are looking for is the multinomial theorem.
In your case (3 variables), a bit of combinatronics yields: $$ (x+y+z)^n=\sum_{k+l+m=n} \frac{n!}{k!l!m!}x^ky^lz^m $$

Bill O'Haran
- 3,034
0
There is::
$$(x+y+z)^n= \!\!\sum_{\substack{(i,j,k)\in\mathbf N^3\\i+j+k=n}}\!\frac{n!}{i!\,j!\,k!} x^i y^j z^k.$$ It can be extended to sums of more than $3$ terms (multinomial formula): $$(x_1+x_2+\dots+x_r)^n= \!\!\sum_{\substack{(i_1,i_2,\dots, i_r)\in\mathbf N^r\\i_1+i_2+\dots+i_r=n}}\!\frac{n!}{i_1!\,i_2!\,\dotsm i_r!}\, x_1^{i_1} x_2^{i_2}\dotsm \,x_r^{i_r}.$$

Bernard
- 175,478
-
Where is the difference to Bill's answer https://math.stackexchange.com/a/2773339/42969 above? – Martin R May 09 '18 at 09:04
-
Sorry, I didn't look at the comments. You're right – none, except the variables exponents names. I'll remove it in a moment. – Bernard May 09 '18 at 09:08