5
$\begingroup$

In statistical mechanics, I used to use the procedure that if $a_{ij}=a_i a_j$ $$\prod_i\; \prod_j a_{i}a_{j} = \biggl(\prod_i a_i\biggr)\vphantom{\Bigr)}^2$$

However, today I noticed, $$\prod_i\; \prod_j 2^{i+j} = 2^{\sum_i\sum_j(i+j)}=2^{n^2(n+1)}$$

$$\prod_i\; \prod_j 2^{i+j} =\prod_i 2^i \; \prod_j 2^j = \biggl(\prod_i2^i\biggr)\vphantom{\Bigr)}^2 = 2^{n(n+1)} $$

Why does the second method fail. When is it applicable?

$\endgroup$
6
  • 4
    $\begingroup$ It feels that there was some confusion about sum and product. $$\sum_{i=1}^n \sum_{j=1}^n a_ia_j= (\sum_{i=1}^n a_i)^2.$$ $\endgroup$ Commented Jun 25, 2011 at 19:30
  • 2
    $\begingroup$ That identity is just wrong. Replace the products by summations, or raise the right hand side to the nth power, and you're good. $\endgroup$ Commented Jun 25, 2011 at 19:32
  • $\begingroup$ @George so $\prod \prod a_i a_j =\left(\prod_ia_i\right)^{2n}$? $\endgroup$
    – kuch nahi
    Commented Jun 25, 2011 at 19:35
  • $\begingroup$ @Jiangwei true, thanks. I realize my confusion now $\endgroup$
    – kuch nahi
    Commented Jun 25, 2011 at 19:37
  • $\begingroup$ @George I edited it, thanks. Could you post it as an answer. $\endgroup$
    – kuch nahi
    Commented Jun 25, 2011 at 19:39

1 Answer 1

12
$\begingroup$

The identity in the question is wrong. The correct one is $$ \prod_{i=1}^n\prod_{j=1}^na_ia_j=\left(\prod_{i=1}^na_i\right)^{2n}. $$ As a quick `sanity check' you can try counting the number of a's in the product on each side. The expression in the question had $2n^2$ on the left but only $2n$ on the right, so couldn't possibly be correct. One possible source of confusion is that the original expression would be correct if you had summation signs rather than products, $$ \sum_{i=1}^n\sum_{j=1}^na_ia_j=\left(\sum_{i=1}^na_i\right)^2. $$

$\endgroup$

You must log in to answer this question.

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