A table spins around it's axis with the angular velocity of $\omega$, on the table there is an object with the mass of M connected to a weight with the mass of m through the center of the table (without friction between the string and the pulley)
It's given that the static friction coefficient is $\mu$.
The question is what is the maximum value of R (radius) for the object to remain still during the circular motion.
My attempt: I said that the centripetal force is equal to the tension minus the static friction . Because there is no movement in the y axis, the normal force equals Mg. From that we can say: $$R_{max} = \frac{m}{M-μ} \frac{g}{w²}$$
But the problem is that the book says the answer is: $$R_{max} = \frac{m}{M+μ} \frac{g}{w²}$$
I don't get it. It means that the direction of the friction force is in the center of the table. But how can that be? I thought that the acceleration is towards the center and because of that the direction of the friction force has to be in the opposite direction.