Lesson 5 · 40 min

Acceleration as a Function of Time, Velocity or Position

The forces on a body usually change as it moves: a rocket's thrust changes as its fuel burns, air drag grows with speed, and a spring pushes harder the farther it is stretched. The acceleration then depends on time, on velocity or on position, and the constant-acceleration equations no longer apply. This lesson shows how to handle each case by choosing the right kinematic relation, separating the variables and integrating with limits.

Learning objectives

One question decides the method

Ask what the acceleration depends on. Then pick the kinematic relation that pairs \(a\) with that variable, so that each side of the equation holds only one variable and can be integrated:

Choosing the relation to integrate
GivenFor the velocity, integrateThen
\(a = f(t)\)\(\displaystyle\int_{v_0}^{v} dv = \int_0^t f(t)\,dt\)\(\displaystyle s = s_0 + \int_0^t v\,dt\)
\(a = f(v)\)\(\displaystyle\int_{v_0}^{v} \frac{dv}{f(v)} = t\) for \(v(t)\), or \(\displaystyle\int_{v_0}^{v} \frac{v\,dv}{f(v)} = s - s_0\) for \(v(s)\)the other one, as needed
\(a = f(s)\)\(\displaystyle\int_{v_0}^{v} v\,dv = \int_{s_0}^{s} f(s)\,ds\)\(\displaystyle t = \int_{s_0}^{s} \frac{ds}{v(s)}\) if the time is needed

In every case the lower limits are the known starting state and the upper limits are the general state, so the constants of integration are handled automatically.

Figure 5.1 Four motions whose acceleration varies, integrated step by step. Choose \(a(t)\), the particle of Example 5.1; drag that grows with \(v^2\), the boat of Example 5.2; a fall with drag that reaches a terminal velocity; or a spring force that grows with \(s\), Example 5.4. Compare the shapes of the acceleration graphs: a straight line in time, a curve that fades as the body slows, and a wave.

Acceleration as a function of time

This is the most direct case: integrate the acceleration to get the velocity, then the velocity to get the position.

Example 5.1 — Integrating twice

A particle starts at \(s = 0\) with \(v = 9\ \text{m/s}\), and its acceleration is \(a = 6t - 12\ \text{m/s}^2\). Find \(v(t)\) and \(s(t)\).

Show solution
\[ \int_{9}^{v} dv = \int_0^t (6t - 12)\,dt \quad\Rightarrow\quad v = 9 - 12t + 3t^2\ \text{m/s} \] \[ \int_{0}^{s} ds = \int_0^t (9 - 12t + 3t^2)\,dt \quad\Rightarrow\quad s = 9t - 6t^2 + t^3\ \text{m} \]

This is the particle of Lesson 3, reached from the other end: there you differentiated \(s\) twice to get \(a\); here you integrated \(a\) twice to get \(s\). The two starting values \(s_0\) and \(v_0\) are exactly what the two integrations need.

Acceleration as a function of velocity

Drag forces depend on speed. A boat coasting with its engine off, a car with no power, and a falling object all have an acceleration that depends on \(v\). Separate the variables in \(a = dv/dt\) for the time, or in \(a\,ds = v\,dv\) for the distance.

Example 5.2 — A boat coasting against drag

A boat shuts off its engine at \(20\ \text{m/s}\). The water drag gives it an acceleration \(a = -0.01v^2\), with \(a\) in \(\text{m/s}^2\) and \(v\) in m/s. How long does it take to slow to \(5\ \text{m/s}\), and how far does it travel meanwhile?

Show solution

Time: separate \(dv/dt = -0.01v^2\):

\[ \int_{20}^{v} \frac{dv}{v^2} = -0.01\int_0^t dt \quad\Rightarrow\quad \frac{1}{v} - \frac{1}{20} = 0.01t \quad\Rightarrow\quad v = \frac{20}{1 + 0.2t} \]

For \(v = 5\): \(1 + 0.2t = 4\), so \(t = 15.0\ \text{s}\).

Distance: separate \(v\,dv = -0.01v^2\,ds\), which simplifies to \(dv/v = -0.01\,ds\):

\[ \int_{20}^{5} \frac{dv}{v} = -0.01\int_0^s ds \quad\Rightarrow\quad s = 100\ln\frac{20}{5} = 139\ \text{m} \]

In this model the boat never quite stops: \(v\) approaches zero as \(t\) grows without bound, while \(s = 100\ln(1 + 0.2t)\) keeps growing slowly.

When an object falls through air or a liquid, gravity pulls it down and the drag pushes back, harder and harder as it speeds up. The acceleration fades toward zero, and the velocity levels off at the terminal velocity, where the drag balances the weight and \(a = 0\).

Example 5.3 — Terminal velocity

A small steel ball is released from rest in a tank of oil. With down positive, its acceleration is \(a = 9.81 - 3v\), with \(a\) in \(\text{m/s}^2\) and \(v\) in m/s. Find its terminal velocity, \(v(t)\), and the time to reach \(99\%\) of the terminal velocity.

Show solution

Terminal velocity: \(a = 0\), so \(v_t = 9.81/3 = 3.27\ \text{m/s}\). For \(v(t)\), separate the variables and use the table of Lesson 2, \(\int dv/(a + bv) = (1/b)\ln(a + bv)\):

\[ \int_0^v \frac{dv}{9.81 - 3v} = \int_0^t dt \quad\Rightarrow\quad -\frac13\ln\frac{9.81 - 3v}{9.81} = t \]\[ v = 3.27\left(1 - e^{-3t}\right)\ \text{m/s} \]

For \(v = 0.99v_t\): \(e^{-3t} = 0.01\), so \(t = \ln(100)/3 = 1.54\ \text{s}\).

Acceleration as a function of position

Springs and gravity give accelerations that depend on where the body is. Use \(a\,ds = v\,dv\): it pairs \(a(s)\) with \(ds\) and leaves \(v\) on the other side.

Example 5.4 — A spring

A block attached to a spring slides on a smooth surface with \(a = -4s\), where \(s\) is in meters from the unstretched position and \(a\) in \(\text{m/s}^2\). It passes \(s = 0\) at \(6\ \text{m/s}\). Find its speed at \(s = 2\ \text{m}\), and how far it goes before it stops.

Show solution
\[ \int_6^v v\,dv = \int_0^s -4s\,ds \quad\Rightarrow\quad \tfrac12 v^2 - 18 = -2s^2 \quad\Rightarrow\quad v^2 = 36 - 4s^2 \]

At \(s = 2\ \text{m}\): \(v = \sqrt{36 - 16} = 4.47\ \text{m/s}\). The block stops where \(v = 0\): \(s_{\max} = 3.00\ \text{m}\). The spring then pulls it back, and the block vibrates between \(-3\) and \(3\ \text{m}\): its position is \(s = 3\sin 2t\), the vibration of Example 1.4 of Lesson 1.

Gravity also depends on position: it weakens with the square of the distance from the Earth's center. A rocket that coasts upward after its engine stops has \(a = -g R^2/(R + y)^2\), where \(R\) is the Earth's radius and \(y\) the height above the surface.

Example 5.5 — Escape velocity

With what speed must a projectile leave the Earth's surface so that it never falls back? Neglect air resistance, and take \(R = 6371\ \text{km}\) [3] and \(g = 9.81\ \text{m/s}^2\).

Show solution
\[ \int_{v_0}^{v} v\,dv = -gR^2\int_0^y \frac{dy}{(R + y)^2} \quad\Rightarrow\quad v^2 = v_0^2 - 2gR^2\left(\frac{1}{R} - \frac{1}{R + y}\right) \]

The projectile escapes if \(v^2\) stays positive as \(y \to \infty\), where the bracket tends to \(1/R\). The smallest such launch speed makes \(v \to 0\) there:

\[ v_{\text{esc}} = \sqrt{2gR} = \sqrt{2(9.81)(6.371\times 10^6)} = 11.2\times 10^3\ \text{m/s} = 11.2\ \text{km/s} \]

Check your understanding

Key takeaways