## From Acceleration to Displacement

Recently I was trying to double integrate a sinusoidal acceleration (ex: a frog leaping forward) and was a bit puzzled at first why double integrating the wave resulted in no displacement after an integral number of cycles:

(1)

Everybody knows that integrating once gives you velocity, and integrating twice gives you displacement (or position). But if that’s the case, why is the displacement () above sinusoidal? Shouldn’t the frog be moving forward instead of back and forth?

It turns out my calculus was rusty enough to where I missed one very obvious fact. In the process I learned the distinction between a *multiple (or double) integral*, which is an integral taken over different variables (ex: ) and a *repeated integral* which is taken multiple times over the *same* variable. What I missed was the difference between an *indefinite* integral (shown above) and a *definite* integral (shown below).

So let’s make the problem a little more generic and add amplitude and frequency component to our acceleration signal, and then see what happens to it as we integrate it twice. We’ll start with an acceleration signal defined as:

and we’ll integrate it twice over the interval start..end () to see what we get.

For the first integration we have:

(2)

So that allows us to calculate the velocity at any point after the starting time . Now we want to integrate a second time to get the displacement. To avoid confusion with the interval used for the first integration, we’ll use as the integration interval this time around. To simplify things, let’s also rename the integration constant (time independent) term .

(3)

Since both integrations are over the same intervals, we know that and . Now substitute everything back in and simplify:

(4)

If we want to take into account the phase of the signal, we start with:

and end with:

So there you have it. The result of integrating a sinusoidal acceleration twice on the interval in order to arrive at the displacement.