How is the work done by the internal forces acting in a rigid body zero?
Actually I read in a book an example for the same.
Let me present that example here.
Consider a rigid body having two particles $A$ and $B$. Suppose, the particles move in such a way that the line $AB$ translates parallel to itself. The displacement $d\textbf{r}_A$ of the particle $A$ is equal to the displacement $d\textbf{r}_B$ of the particle $B$ in any short interval of time. The net work done by the internal forces ,i.e, the force that $A$ exerts on $B$ and the force that $B$ exerts on $A$, is zero.
How can it be analysed mathematically that the work done is zero?
This example is very unclear to me.