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.
2026-03-25 23:36:44.1774481804
On
Find the number of solutions.
88 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
There are 3 best solutions below
0
On
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$$
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?