# Why does the oscillation frequency of a body attached to a spring depend on its mass, while the oscillation frequency

**Why does the oscillation frequency of a body attached to a spring depend on its mass, while the oscillation frequency of a mathematical pendulum does not depend on mass?**

Acceleration is directly proportional to the resulting force acting on the oscillating body, and inversely proportional to its mass, according to Newton’s second law. When deriving the expression for the oscillation frequency of the spring pendulum, it turned out that the resulting force acting on the body is determined only by the elastic force, therefore, the factor at displacement is equal to the ratio of stiffness to body mass:

w = R / m

When determining the frequency of oscillations of a mathematical pendulum, we made sure that the oscillations are performed under the action of the gravity component, therefore, during division, the mass is reduced.