I just want to ask how do we solve this kind of summation?
$$\sum_{i=1}^n x_i\sum_{i=1}^n y_i$$
I am confused how
- Do we solve for each summation first? then multiply the summation of x, to the summation of y?
- Or do we solve the summation of all $y_i$ first, then we multiply it to each element of $x_i$ changing all the value of $x_i$, and then only after that, we get the summation of the $x_i$?