When the pulley has mass, tensions on opposite sides of the string are NOT equal. The net torque ( - )R = Ialpha drives the pulley's rotation.
For an Atwood machine with masses , and a disc pulley of mass M:
- a = ( - )*g / ( + + M/2)
- = (g - a), = (g + a)
For a single mass hanging from a string around a pulley:
- a = m*g / (m + I/)
Key insight: the pulley's rotational inertia contributes I/ as "equivalent mass" to the translational dynamics. This is why a heavier pulley reduces the system's acceleration.