Double summation squared

296 Views Asked by At

I need to calculate $(\sum_i \sum_tx_{i,t}-1)^2$. I know that $$ \sum_i \left(\sum_t x_{i,t}-1 \right)^2 = \sum_i\left(2\sum_t\sum_{u>t}x_{it}x_{iu} - \sum_tx_{it} +1\right) $$ from the common square of a sum, and normal binomial formula, but I'm not sure on how to approach adding the second sum into the square. I appreciate any help!

1

There are 1 best solutions below

1
On BEST ANSWER

One way is to use the shorthand $u_i = \sum_t x_{i,t}$ to get $$ \left(\sum_i \sum_t x_{i,t} - 1\right)^2 = \left(\sum_i u_i - 1\right)^2 $$ and apply the Binomial theorem to $u_i$ and then back-substitute.