I asked the following question yesterday How to figure the size of the following vector set?. So, now I want to compute the following $$\frac {1}{2^n} \sum_{\vec v \in V} |\vec a^{\mathbf T} \vec v| ^2 $$ for some $\vec a \in \mathbb R^n$. I know that the answer is $\vec a^{\mathbf T}\vec a$ since I was given the solution by my instructor. However, I cannot get the result. Analyzing the $i^{th}$ term of the summation I get: $$(\vec a ^{\mathbf T} \vec v_i)^2 = (\pm a_1 \pm a_2 \ ... \pm a_i \ ... \pm a_n)^2$$
I see that somehow that terms of the summation should cancel out like a telescoping series but I do not know how to show this.
Your large sum is a certain quadratic form in the variables $a_i$. Due to symmetry one can write $$\sum_{v\in V}\bigl|a\cdot v\bigr|^2=\lambda\sum_i a_i^2+\mu\sum_{i<k} a_i a_k$$ with universal constants depending only on $n$. Testing with $$a:=(a_1,a_2,0,\ldots,0)$$ we obtain the condition $$2^{n-2}\bigl((a_1+a_2)^2+(a_1-a_2)^2+(-a_1+a_2)^2+(-a_1-a_2)^2\bigr)=\lambda(a_1^2+a_2^2)+\mu\>a_1a_2\ , $$ which should be fulfilled identically in $a_1$, $a_2$. It immediately follows that $\lambda=2^n$ and $\mu=0$. Therefore one obtains $${1\over 2^n}\sum_{v\in V}\bigl|a\cdot v\bigr|^2=\bigl|a\bigr|^2\ .$$