In how many different ways can two identical balls be arranged inside $10$ different jars?
My first thought was to say the first ball has $10$ different options, after that the second ball will have $9$ options, so $10 \cdot 9=90$ combinations, however the correct answer is $10+9+8+7+...+1=55$, yet I am unable I can't understand how this solution came to be.
(I am not native English speaker, apologies if the question is badly worded)
Since the balls are identical, the only thing characterizing a solution is how many balls there are in each jar. If $x_i$ denotes the balls in jar $i$, then you need to count the integer non-negative solutions to the equation $$x_1+\cdots+x_{10}=2.$$ In general, an equation such as $x_1+\cdots+x_n = m$ has ${m + n - 1\choose m}$ solutions. Indeed, you can think of a solution as a binary vector of $m+n-1$ bits with exactly $n-1$ ones and $m$ zeros. Then $x_i$ represents how many "$0$" there are between the $(i-1)^{th}$ and the $i^{th}$ "$1$". If we apply the formula to our case, where $m=2$ and $n=10$ we get ${11\choose 2}=55$.