AlephZero said:
The analytic solution is just a sequence of "half sine waves", with a different origin for the ones with positive and negative velocities.
Sure you could set up a piece-wise analytic solution that way, but I didn't think that is what the OP had in mind. I may have just fallen victim to assumptions, but I thought he/she was looking for an explicit form of [itex]x=f(t)[/itex].
AlephZero said:
While the velocity is one direction (either positive or negative), this is just a mass-on-a-spring with a constant applied force. Exactly the same as a vertical spring with a mass when you include the weight of the mass in the equation of motion.
Assuming you mean the absolute value is constant, I agree. I don't see how it is the same as a mass on a spring since the force always opposes the motion in this case. For a mass on a spring that is hanging, the added force is always down so it just becomes a non-homogeneous term on the EoM. For a horizontal spring, the only way that weight matters is with friction, which is exactly what is being discussed here. Maybe I made a mistake in my reasoning here, in which case I am certainly open to being corrected.
AlephZero said:
The period of oscillation is not affected by the friction force, so you could write one complicated formula to represent the whole motion if you really wanted to, but in practice there's not much point doing that. But the analytic solution for each part of the motion IS useful if you want to look how the amplitude decays, the rate or energy dissipation, etc.
I agree.
AlephZero said:
Unlike damping proportional to velocity, the motion does not decay exponentially "for ever", it only continues for a finite number of cycles until the static friction is enough to hold the mass stationary.
Indeed. The Runge-Kutta solution I got to this showed this exact thing for all the initial conditions and physical constant values that I tried (needed a 30-min break from work earlier today, haha).
AlephZero said:
FWIW an accurate numerical solution of this is not as simple as it might appear. If you include the friction force in the model in a naive way, you will find the output from the model does not come to a stop, but goes into an apparently "chaotic" oscillation whose properties depend on the size of the time step you use, and not on the stiffness and mass of the structure, With a "clever" adaptive time stepping integration method, the results can look quite pretty - but completely wrong.
I recognize that this is always a possibility in any dynamical system, but I don't see that being a problem with this equation. I haven't done a stability analysis of it or anything, but just in a physical sense, you always have a constant force opposing the motion and no input force, so the amplitude should monotonically decrease regardless of initial conditions or the physical constants. The system seems to be dissipative to me based solely on inspection, so I feel like in this particular case, the system is globally stable.
I know what your saying though. That is, after all, related to how Ed Lorenz discovered strange attractors in the first place.