Question: what is the square of a summation?
Answer: The square of a sum is equal to the sum of the squares of all the summands plus the sum of all the double products of the summands in twos: (∑iai)2=∑ia2i+2∑i<jaiaj.