hey, i was doing this the other day, but I used a simpler method. I want to show it,but since I am a new user, i am not sure how to use the symbols. I will try anyway.
let's start this way, think of a small point on the contacting surface of the cylinder.
W=Fx, where work done W on the point is the product of F is the friction force and x is the distance travelled.
And we all know F=[tex]\mu[/tex][tex]\Delta[/tex]mg, where [tex]\Delta[/tex]m is the supported mass on the point.
x=r[tex]\theta[/tex], where r the distance from the point to the rotating axis and [tex]\theta[/tex] is the angular displacement.
then, W=[tex]\mu\Delta[/tex]mgr[tex]\theta[/tex]
and, W=[tex]\mu[/tex]A[tex]\rho[/tex]gr[tex]\theta[/tex], where [tex]\rho[/tex] is the area density, and A is area of the point, but now we will change it to the area sum of all the points with the same distance as the original point we were using. (which is a circle).
now, the circle has an area of A= 2[tex]\Pi[/tex]r [tex]\Delta[/tex]r,
[tex]\rho[/tex]= M/([tex]\Pi[/tex][R]^{}[/2]), where M is the total mass of the cylinder and R is the radius of the contact surface.
Putting back into the formula, W=Mrg[tex]\theta[/tex][tex]\mu[/tex](2[tex]\Pi[/tex]r[tex]\Delta[/tex]r)/([tex]\Pi[/tex][R]^{}[/2])
It is simplified to W=Mg[tex]\theta[/tex][tex]\mu[/tex][r]^{}[/2][tex]\Delta[/tex]r/([R]^{}[/2])
Finally, we can use integration to sum it from 0 to R.
W=Mg[tex]\theta[/tex][tex]\mu[/tex]/([R]^{}[/2])[tex]\int[/tex][r]^{}[/2][tex]\Delta[/tex]r
and there's my answer: W= [2]\overline{}[/3][tex]\mu[/tex]MgR[tex]\theta[/tex]