Suppose I have a mass $m$ kept on a horizontal table with coefficients of friction $\mu_{s}$ (static) and $\mu_{k}$ (dynamic/kinetic). And suppose I have a spring with spring constant $k$ which is attached to a wall perpendicular to the table . Now, if I press a mass against the spring and let it go, will the mass move in the direction in which the spring moves after being released (i.e. towards its mean position)? I think it does, but I'm not able to explain this.
Now, for each displacement $x$ (after releasing the spring), the force exerted by the spring on the mass is $kx$. To get the block moving in the first place, does the force exerted on it by the spring, $kx$, need not to be greater than the max static friction $\mu_{s}mg$? But if $x$ isn't able to become sufficiently large (which because of static friction it won't), this can't happen.
And, if this is possible (which I know it is, I just can't explain it), then isn't Newton's second law violated for a little while? For very little time (till $kx > \mu_{k}mg$), my spring is accelerating the mass in the direction OPPOSITE to the kinetic friction, but $\mu_{k}mg > kx$, which means that this acceleration is in a direction opposite to the direction of net force.
I know there's a mistake in this logic, but I can't spot it.