I haven't worked with summation notation in a while, and am unsure how to approach the following:
$\sum_1^n [-\frac 12 * \frac{(x_i - \alpha)^2}{\alpha}]$ where $\alpha \in R$
What would be the best/correct way to simplify this, i.e. pull the summation through to $x_i$? Would you leave the constants in the brackets, such that
$= -\frac n2 * \frac{(x_i - \alpha)^2}{\alpha}$
Or, should you pull the constants out so that we have
$-\frac{1}{2\alpha} \sum_1^n (x_i - \alpha)^2$ ?
Or should I multiple out the $(x_i - \alpha)^2$ term so that we have
$-\frac{1}{2\alpha} \sum_1^n (x_i)^2 + \sum_1^n (x_i) - \frac{n\alpha}{2}$ ?