How to compute the derivative of a summation?
For example the function f(μ)=∑(xi-μ)^2, where xi=i,i=1,2,...,n.
What is the first and second derivative of f(μ) ?
Is there a generic rule to do this kind of derivation? I need to differentiate more complex function than the example