I'm working on exercise 1.15 from Bishop's Pattern Recognition and Machine Learning, and ran into a step I don't understand. $$\sum^{D+1}_{i=1} \frac{(M + i - 2)!}{(M - 1)! (i - 1)!} = \frac{(D + M -1)!}{(D-1)!M!} + \frac{(D + M - 1)!}{D!(M - 1)!}$$ I'm not sure of the proper way to evaluate the sum for $D+1$ and don't know the trick or rule that produces the two RHS terms.
If anyone could explain how to evaluate the sum, and the rule implicitly used here, I would appreciate it!
We would write:
$$\sum^{D+1}_{i=1} \frac{(M + i - 2)!}{(M - 1)! (i - 1)!} = \sum^{D}_{i=1} \frac{(M + i - 2)!}{(M - 1)! (i - 1)!} + \frac{(D + M - 1)!}{D!(M - 1)!}$$
And then use the supplied inductive formula:
$$\sum^{D}_{i=1} \frac{(M + i - 2)!}{(M - 1)! (i - 1)! }= \frac{(D + M -1)!}{(D-1)!M!}=\binom{D+M-1}{D-1}$$
to arrive at:
$$\sum^{D+1}_{i=1} \frac{(M + i - 2)!}{(M - 1)! (i - 1)!} = \frac{(D + M -1)!}{(D-1)!M!} + \frac{(D + M - 1)!}{D!(M - 1)!}$$
We can group like terms:
$$\frac{(D + M -1)!}{(D-1)!M!} + \frac{(D + M - 1)!}{D!(M - 1)!}= \frac{(D + M - 1)!}{D!M!}(D+M)$$
And notice:
$$\frac{(D + M - 1)!}{D!M!}(D+M)=\frac{(D + M)!}{D!M!}$$
$$=\binom{D+M}{D}$$