A torque T acts on the shaft. A shear stress tau acts on a small surface d A. C is the radius of the shaft.

To find the resultant moment for the shaft, we've got to add up all of the elemental moments that exist on the entire cross section.