Number of total possibilities for an equation

Do you know stars and bars? One usually solves this by introducing an additional variable, say $w$, and considering solutions to

$$x_1 + x_2 + x_3 + \cdots + x_{10} +w = 70$$

Can you see how solutions to your original inequality correspond to solutions to the equality above?


Here is another way using your original method. The number of solutions to $$ x_1+x_2+\dotsb+x_{10}=r\quad (0\leq r\leq 70) $$ is $$ \binom{r+10-1}{10-1}=\binom{r+9}{9}. $$ Thus the number of solutions to $$x_1 + x_2 + x_3 + \cdots + x_{10} \leq 70$$ is $$ \sum_{r=0}^{70}\binom{r+9}{9}= \sum_{k=9}^{79}\binom{k}{9} =\sum_{k=9}^{79}\left[\binom{k+1}{10}-\binom{k}{10}\right] =\binom{80}{10} $$ as the sum telescopes.