2
$\begingroup$

I would like to know if there is a sum-of-products expansion for the following product-of-sums. A special case is given here for the difference of two entries.

$$\prod_{j=1}^{n} \left( \sum_{i= 1}^{m} x_{i, j} \right)$$

I suspect the result will be a sum-of-product-of-products because of having to distribute each term of each factor out to each term of each other factor.

$\endgroup$

3 Answers 3

2
$\begingroup$

Indeed, you can expand this out to get a sum of products $$\sum_{f\in S}\prod_{j=1}^n x_{f(j),j}$$ where $S$ is the set of all functions $\{1,\dots,n\}\to\{1,\dots,m\}$. Intuitively, this is the sum of all products you can form by picking one term from each of the sums in the original expression and multiplying them together. Hopefully it should make some intuitive sense why this is what the distributive law ends up giving you. More formally, you can prove this by induction on $n$: in the induction step, you just have to know how to expand out a product of two big sums (the one you get from the induction hypothesis and the final factor of the product), and you can prove how that works by induction on the number of terms in the sums.

$\endgroup$
2
$\begingroup$

You can write it as $$\sum_{(i_1,\dots,i_n)\in\{1,\dots,m\}^n} \prod_{j=1}^n x_{i_j,j}$$

$\endgroup$
1
$\begingroup$

$$ \large{ \sum_{1\leq\ k_1,\ k_2,\ \ldots,\ k_n\ \leq m} \left(\prod_{i=1}^{n} x_{k_i,i} \right)} $$

$\endgroup$
5
  • $\begingroup$ The original summand is $x_{i,j}$, not $x_{{i_j}}$. $\endgroup$
    – RobPratt
    Commented Mar 27, 2022 at 0:24
  • $\begingroup$ Yes but I thought that’s just a different way of writing the same thing? Hence, “writing with subscripts instead”. $\endgroup$ Commented Mar 27, 2022 at 0:26
  • $\begingroup$ But you have only $m$ variables when the original has $mn$ variables. $\endgroup$
    – RobPratt
    Commented Mar 27, 2022 at 0:28
  • $\begingroup$ Yes you were right. How about now though? $\endgroup$ Commented Mar 27, 2022 at 11:08
  • $\begingroup$ Yes, it is correct now. $\endgroup$
    – RobPratt
    Commented Mar 27, 2022 at 14:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .