This question relates to an answer of mine, I suspect I got it slightly wrong and that it should be:
$$E={\bf s}^T\left(\sum_{k=1}^{\infty}(k+1)({\bf PD})^k\right){\bf P s}$$
What would be really curious if that was the case is that it would be the termwise derivative of the power series:
$${\bf s}^T\left(\sum_{k=1}^{\infty}({\bf PD})^{k+1}\right){\bf Ps}$$
Which we recognize from the formula for the geometric series: $$\frac{1}{1-x} = 1+x+x^2+\cdots$$ It's derivative being $$\frac{\partial}{\partial x}\left\{\frac{1}{1-x} \right\} =\frac{1}{(1-x)^2}$$
Now with this logic, would it make any sense to interpret the above expression as $${\bf s}^T(({\bf I-(PD)})^2)^{-1}{\bf Ps}$$
or am I just stumbling about, muttering non-sense?