a) Let xi be a vector with its origin at the center of mass O and its end at the point with number i. Then ∑i,j(xi−xj)2=∑i,j(xi2+xj2)− 2∑i,j(xi,xj), where the summation is over all possible pairs of point numbers. Clearly, ∑i,j(xi2+xj2)=2n∑i xi2=2nIO and ∑i,j(xi,xj)=∑i(xi,∑jxj)=0. Therefore, 2nIO=∑i,j(xi−xj)2=2∑i<jaij2.
b) Let xi be a vector with its origin at the center of mass O and its end at the point with number i. Then ∑i,jmimj(xi−xj)2=∑i,j mimj(xi2+xj2)−2∑i,jmimj(xi,xj). Clearly, ∑i,jmimj(xi2+xj2)=∑imi∑j(mjxi2+mjxj2)=∑imi(mxi2+IO)=2mIO and ∑i,jmimj(xi,xj)=∑imi(xi,∑jmjxj)=0. Therefore, 2mIO=∑i,jmimj(xi−xj)2=2∑i<jmimjai2.