taking partial derivative of a sum

1.5k Views Asked by At

I want to take the partial derivative d/d$\mu$ of the following sum $\sum_{i=1}^n\frac{(x_i - \mu)^2}{x_i}$

Looking to keep the $\sum_{x=1}^n (x_i-\mu)$ in the result.

what happens to the $x_i$ when partially differentiating such a sum?

1

There are 1 best solutions below

0
On

$$\frac\partial{\partial \mu} \left(\sum_{i=1}^n \frac{(x_i - \mu)^2}{x_i}\right) = \sum_{i=1}^{n}\frac{-2(x_i - \mu)}{x_i}$$