Write a different equation for each direction of motion
A mass m slides horizontally against a linear spring k. During motion take friction magnitude \(F_k>0\), with force opposing velocity. At rest allow any friction up to the static limit \(F_s\ge F_k\). The moving equation is
Release the mass at \(x=A>0\) with zero speed. If \(kA\le F_s\) static friction can hold it there. If \(kA>F_s\) it starts moving left. While it moves left, friction points right. Shift the coordinate by \(a=F_k/k\) to obtain a homogeneous oscillator:
At \(t=\pi/\omega_n\) the next turning point is \(x_1=2a-A\). Test static force balance there before starting another sliding segment. If the mass continues, the sign of friction changes and the next cosine is centred on \(-a\). The time for each complete sliding half-cycle is constant despite the decreasing amplitudes. An integration routine that uses only \({\rm sgn}(0)=0\) can generate spurious chatter near the final state.
Recover the amplitude drop from work done by friction
For a full crossing from a positive peak A to a negative peak \(-B\), with \(A,B>0\), friction dissipates \(F_k(A+B)\). The change in spring energy is \(\tfrac12 k(A^2-B^2)\). Cancel the travelled distance to obtain
for successive magnitudes on opposite sides and successive positive peaks, respectively, while sliding continues. An ordinary viscous oscillator instead has an approximately fixed ratio between successive positive peaks. A mixed friction-damping experiment can exhibit both effects. An ideal Coulomb model also permits a final equilibrium anywhere in the static-friction band \([-F_s/k,F_s/k]\).
Predict a finite stopping time and reconstruct a friction force
Take \(m=1.0\) kg, \(k=100\) N/m, \(F_k=0.50\) N, \(F_s=0.65\) N and \(A=40\) mm. The shift is 5.0 mm and each sliding half-period is 0.314 s. Starting at +40 mm the successive turns are −30, +20, −10 and 0 mm. The mass sticks at the fourth turn after 1.257 s. A release from +43 mm instead reaches −33, +23, −13 and +3 mm. Since \(100(0.003)=0.30\) N lies below 0.65 N, the residual displacement persists under the assumptions.
Suppose a different test with \(k=200\) N/m shows successive positive peaks of 35, 27 and 19 mm. The 8 mm decrement gives
A viscous fit would infer logarithmic decrements 0.260 and 0.351 from adjacent pairs. Applying a small constant external force after the final stop can help identify static breakaway independently of the moving-friction estimate.
Compare releases at 40 and 43 mm. Predict the final resting position from the sequence of turning points. Then reduce the release below the static threshold; explain why an initial energy above zero need not imply any motion.
Tutorial · predict the last turning point even without crossing zero
Use the original mass, stiffness and friction values but release at +8 mm. Does it start, cross zero, and then reverse velocity? Give the final displacement and dissipated energy.
Follow the event conditions
The initial spring force 0.80 N exceeds 0.65 N so it moves left. The next turn is
It has not crossed zero. At that turn spring force is 0.20 N so it sticks. Friction work is \(0.50(0.008-0.002)=0.0030\) J, equal to \(\tfrac12(100)(0.008^2-0.002^2)\). Blindly subtracting a positive amplitude decrement would have assigned an impossible negative magnitude.
Further reading · University of Alberta, Vibrations and Sound · viscous and Coulomb damping