Suppose the distance of masses m1 and m2 from centre of mass are r1 and r2. Therefore from the definition of centre of mass,


Substituting this value of x1 in equation (1)
\(r_2 = r_1 -\frac{m_2r}{(m_1 + m_2)} = \frac{m_1r + m_2r}{m_1 + m_2} - m_2r\)
or \(r_2 = \frac{m_1r}{m_1 + m_2}\)
∴ Moment of inertia about axis passing through CM. at right angles to the length of the rod
