Processing math: 100%

Square of a generic sum of elements


The formula for computing the square of a generic sum of terms is as follows:

(Kk=1ak)2=Kk=1a2k+2Kj=1i<jaiaj

We can prove this property by induction, considering that it holds for K=2, since

(a+b)2=a2+b2+2ab

and that if the property holds for a generic K, then it holds also for K+1, as is proven in the following passages:

{aligned}(K+1k=1ak)2&=(Kk=1ak+aK+1)2=(K+1k=1ak)2+a2K+1+2Kk=1akaK+1&=Kk=1a2k+2Kj=1i<jaiaj+a2K+1+2Kk=1akaK+1=&=K+1k=1a2k+2K+1j=1i<jaiaj (1)
Title Square of a generic sum of elements
Canonical name SquareOfAGenericSumOfElements
Date of creation 2013-03-22 19:34:48
Last modified on 2013-03-22 19:34:48
Owner mat (27197)
Last modified by mat (27197)
Numerical id 8
Author mat (27197)
Entry type Definition
Classification msc 15-01