Square of a generic sum of elements
The formula for computing the square of a generic sum of terms is as follows:
(K∑k=1ak)2=K∑k=1a2k+2K∑j=1∑i<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+1∑k=1ak)2&=(K∑k=1ak+aK+1)2=(K+1∑k=1ak)2+a2K+1+2K∑k=1akaK+1&=K∑k=1a2k+2K∑j=1∑i<jaiaj+a2K+1+2K∑k=1akaK+1=&=K+1∑k=1a2k+2K+1∑j=1∑i<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 |