$$x_1 + x_2 + x_3 + x_4 = 28$$ I tried to solve it with generating functions. Is it correct to get to the form of
$${(1 + x + {x^2} + {x^3} + ....)^4}$$
and this equals to:
$${(1 - x)^{ - 4}}$$
and then solve it with binomial expansion ? Is this correct ?
every question similar to "how many solutions are axsist to this equation?" can be solved this method?
I know there're a lot of methods and manipulations for this kind of problem. Can you confirm it's the right path for this kind of problems?
It's like distribute 28 things into 4 objects. This is why I used generating functions.
I will assume you are asking for how many solutions with $x_i\in\mathbb{N}$ for each $i$ (where $\mathbb{N}=\{0,1,2,\dots\}$). If you are looking for real solutions, there are clearly infinitely many.
This can be seen via stars&bars.