So I started using SleepBot Tracker to track my sleep. This is what it's looking like so far
Now, being a physics student, the graph reminded me of that for damped simple harmonic motion (starting from 20/01, ignoring the first 3 points). And being a crazy person, I decided to try and model my sleep as such.
So what's simple harmonic motion?
Simple harmonic motion is a type of periodic motion with a restoring force directly proportional to the the system's displacement from equilibrium.
For example, a pendulum is a simple harmonic oscillator - it has periodic motion, its equilibrium is the lowest point of the swing, and the restoring force is gravity.
Now, one could argue that sleep is SHM-like - we have some typical sleep length (equilibrium), and if we get too little sleep, then we'll tend to sleep more in response, and vice versa (restoring force). But it's a dubious analogy at best.
A damped harmonic oscillator is one with damping, which tends to reduce the amplitude of oscillations. So, like air resistance in the case of the pendulum, which eventually causes it to stop swinging.
I'm not sure what the sleep-based analogy for damping would be.
There's a standard equation for defining a (weakly) damped harmonic oscillator. It looks like this:
So working out the variables from the data, the model equation for my sleep looks something like this
In fact, you might notice the real data is still oscillating a little. But the equation outlined above tends to a constant amplitude of 8.3 (no more oscillations).
To account for this, we could add a baseline oscillation term
So yeah. Basically, I'm procrastinating..
[Just gotta be careful not to hit resonant sleepquency]