There's 3 different ways of doing the maths that I know of:
1) use the rules of torque, angular momentum, etc
2) simply calculate what happens in a spherical coordinate system (there will be real forces and fictitious forces)
3) use euler-lagrange equations

2 and 3 are effectively the same thing, but 3 is probably easier. 1 comes from 2 and 3.