Could someone please tell me how to expand this?
$\bigg(\sum_{i=1}^ne^{at_i-\frac{1}{2}\sigma^2t_i+\beta t_i}\bigg)^2$
i know the general formula goes something like this:
$\bigg(\sum_{i=1}^na_i\bigg)^2 = \sum_{i=1}^n\sum_{j=1}^na_ia_j$
but where does that j term come from?
You can't call both indexes $i$. It's the same as asking why you can't call two different sequences' terms $a_i$ - if you then tried to talk about the value of $a_1$, nobody would know which one you mean.