« first day (1 day earlier)  last day (14 days later) » 

7:25 AM
Well, the derivation of the virial theorem is perfectly right if you ask me. $r$ in this context is the distance from the origin and $\vec{r}$ the displacement vector. Since the particles can change their distance towards the origin, there is no problem in differentiating them in time and thus also the moment of inertia. (Rememeber, this is not a rigid body, but an ensemble of particles with a possible but not necessary set of constraints.)
It is quite customary not to talk in length about the convention in physics, and sometimes mathematical presuppositions are not stated or even properly explored, but I would not call this cheating really.
 
 
2 hours later…
9:09 AM
The sum of particles movement must be constant or else the body would either collapse or explode. Still this change of distance of a given particle from the centre is not the movement the virial is about - again we are talking about the moment of inertia here. The sum change in r is null. Also, some other variables that appear in this derivation are also ... a mistake. Like p and v instead of L and w.
The sum of movement refers to the linear movement along the radius, not the rotation about the centre.
 
9:50 AM
... and it is not constant, as I first said. It is zero, as I corrected later.
 

« first day (1 day earlier)  last day (14 days later) »