Please excuse me in advance if this is the wrong type of question or too simple. I need to expand the following product for a proof: $ \left( \sum_{l=1}^{i} x_{l} \right) \left( \sum_{m=1}^{j} x_{m} \right)$
Would this be an appropriate notation or is there a more elegant way to write the following:
... we expand the product in Eq.XYZ to obtain
$ ( x_1x_1 + x_1x_2 + x_1x_3 + \ldots +x_1x_j \\ +x_2x_1 + x_2x_2 + x_2x_3 + \ldots +x_2x_j \\ \vdots \\ +x_ix_1 + x_ix_2 + x_ix_3 + \ldots +x_ix_j ) $
Edit: corrected index order
This notation is very clear. Personally I'd do it the same way if I had to, but I would try to stick with the sums for as long as possiple, to avoid tedious notation. It is also common to use:
$$\sum_{l,m} x_lx_m$$
As long as you make clear that $1\leq l\leq i$ and $1\leq m\leq j$.
Also beware that if the $x_l$ and $x_m$ do not commute, you should reverse the $i$'s and $j$'s in your form.