Find the number of solutions $(x,y,z)$ of the equation $x+y+z=10$,where each of $x$,$y$,and $z$ is a positive integer.
-
2Show some effort first next time. – Pieter21 Mar 18 '16 at 08:55
3 Answers
Given $x+y+z=10\;,$ Where $x,y,z\geq 1$
Which is equivalent to distribute $10$ chocolates into $3$ students, such that at least get one chocolates, which can be done as
$$\bf{\underbrace{**}_{2\; chocolates}|\underbrace{***}_{3\; chocolates}|\underbrace{*****}_{5\; chocolates}}$$ as one example
Means arranging $2$ bars in $9$ gap(In between two square)
So total number of ways $$\binom{9}{2} = 36$$

- 3,862

- 53,015
hint: Let $x = 1+m, y = 1+n, z = 1 + p \Rightarrow m+n+p = 7$. This is well-known star-and-bar method for counting number of non-negative integer solutions of an equation like this one. Can you continue?

- 77,651
Hint:
If $x=1$, $y+z=9$, and there are $8$ ways to achieve that (from $1+8$ to $8+1$).
If $x=2$, $y+z=8$, and there are $7$ ways to achieve that (from $1+7$ to $7+1$).
...
If $x=8$, $y+z=2$, and there is $1$ way to achieve that ($1+1$).