Lesson 6 · 40 min

Erratic Motion: The Graphical Method

A car in city traffic speeds up, cruises, brakes and stops again. No single formula describes its whole trip, but a graph does: data from a GPS, a speed sensor or an accelerometer usually comes as a graph, made of pieces. When the motion changes from one stage to the next it is called erratic, and the graphical method handles it with two ideas from calculus: the slope of a graph is a derivative, and the area under it is an integral.

Learning objectives

Slopes and areas

The kinematic relations of Lesson 3 read directly as statements about graphs. Going down the chain from position to acceleration, take slopes. Going up the chain, add areas.

Reading the graphs

\[ \begin{aligned} v &= \frac{ds}{dt} && \text{slope of the \(s\)–\(t\) graph} \\[10pt] a &= \frac{dv}{dt} && \text{slope of the \(v\)–\(t\) graph} \\[8pt] \Delta s &= \int_{t_1}^{t_2} v\,dt && \text{area under the \(v\)–\(t\) graph} \\[6pt] \Delta v &= \int_{t_1}^{t_2} a\,dt && \text{area under the \(a\)–\(t\) graph} \end{aligned} \]

Areas below the axis are negative, as in Lesson 2.

The graphs are linked by shape, too. Where the \(a\)–\(t\) graph is a constant, the \(v\)–\(t\) graph is a straight line and the \(s\)–\(t\) graph a parabola. Where \(a = 0\), \(v\) is constant and \(s\) a straight line. Where \(v = 0\), the \(s\)–\(t\) graph has a level tangent: a peak, a valley or a pause. And because the position changes smoothly, the \(s\)–\(t\) graph never jumps, even where the acceleration does.

Figure 6.1 Design your own erratic motion. Drag the green points of the velocity graph up or down (or tab to one and use the arrow keys); the graph between them is straight. The acceleration graph shows each slope as a flat step, and the position graph adds up the area under the velocity graph. Make the velocity negative for a while and watch the particle back up, and the amber lines mark where it turns.

Example 6.1 — From the s–t graph down

A cyclist starts from rest. For the first \(10\ \text{s}\) the \(s\)–\(t\) graph is the parabola \(s = 0.3t^2\); from \(t = 10\) to \(30\ \text{s}\) it is the straight line \(s = 6t - 30\) (\(s\) in meters, \(t\) in seconds). Draw the \(v\)–\(t\) and \(a\)–\(t\) graphs.

Show solution

Take the slope of each piece.

\[ 0 \le t \le 10\ \text{s}:\quad v = \frac{ds}{dt} = 0.6t,\quad a = \frac{dv}{dt} = 0.6\ \text{m/s}^2 \] \[ 10 \le t \le 30\ \text{s}:\quad v = 6\ \text{m/s},\quad a = 0 \]

The \(v\)–\(t\) graph rises in a straight line from 0 to \(6\ \text{m/s}\) and then stays level; the \(a\)–\(t\) graph is a step from \(0.6\ \text{m/s}^2\) down to zero at \(t = 10\ \text{s}\). The two pieces of \(s\) join smoothly: both give \(s = 30\ \text{m}\) and \(v = 6\ \text{m/s}\) at \(t = 10\ \text{s}\). At \(t = 30\ \text{s}\) the cyclist is at \(s = 150\ \text{m}\).

Example 6.2 — From the v–t graph

A car starts from rest, accelerates uniformly to \(20\ \text{m/s}\) in \(10\ \text{s}\), cruises for \(20\ \text{s}\), then brakes uniformly to a stop in another \(10\ \text{s}\). Find its acceleration in each stage and the total distance. This is the starting motion of Figure 6.1.

Show solution

Slopes of the \(v\)–\(t\) graph:

\[ a_1 = \frac{20 - 0}{10} = 2\ \text{m/s}^2 \qquad a_2 = 0 \qquad a_3 = \frac{0 - 20}{10} = -2\ \text{m/s}^2 \]

The area under the \(v\)–\(t\) graph is a trapezoid made of two triangles and a rectangle:

\[ \Delta s = \tfrac12(10)(20) + (20)(20) + \tfrac12(10)(20) = 100 + 400 + 100 = 600\ \text{m} \]

The car is at \(100\ \text{m}\) after \(10\ \text{s}\), at \(500\ \text{m}\) after \(30\ \text{s}\), and stops at \(600\ \text{m}\).

Example 6.3 — From the a–t graph up

A rocket sled starts from rest with \(a = 4\ \text{m/s}^2\) for \(5\ \text{s}\), then brakes with \(a = -2\ \text{m/s}^2\) until it stops. When does it stop, and how far has it gone?

Show solution

Area under the \(a\)–\(t\) graph for the first stage: \(\Delta v = 4(5) = 20\ \text{m/s}\), so \(v = 20\ \text{m/s}\) at \(t = 5\ \text{s}\). Braking removes \(2\ \text{m/s}\) each second, so it takes \(10\ \text{s}\) more: the sled stops at \(t = 15\ \text{s}\).

The \(v\)–\(t\) graph is a triangle with base \(15\ \text{s}\) and height \(20\ \text{m/s}\); its area is the distance:

\[ \Delta s = \tfrac12(15)(20) = 150\ \text{m} \]

The triangle splits at \(t = 5\ \text{s}\): \(\tfrac12(5)(20) = 50\ \text{m}\) while speeding up and \(\tfrac12(10)(20) = 100\ \text{m}\) while braking. The \(s\)–\(t\) graph is two parabolas that join smoothly at \(s = 50\ \text{m}\): one curving up, one curving down and leveling off at \(150\ \text{m}\).

The a–s graph

When the acceleration is known as a function of position, for example from markers along a test track, integrate \(a\,ds = v\,dv\) between two positions:

Velocity from the a–s graph

\[ \tfrac12\left(v_2^2 - v_1^2\right) = \int_{s_1}^{s_2} a\,ds = \text{area under the } a\text{–}s \text{ graph} \]

The area gives the change in \(\tfrac12 v^2\), not in \(v\). Find \(v_2 = \sqrt{v_1^2 + 2(\text{area})}\).

The reverse also works: on a \(v\)–\(s\) graph, the acceleration at a point is \(a = v\,dv/ds\), the velocity there times the slope of the graph.

Figure 6.2 The \(a\)–\(s\) graph of a car on a test track (upper) and the \(v\)–\(s\) graph it produces (lower). The shaded area up to position \(s\) equals \(\tfrac12 v^2 - \tfrac12 v_0^2\). Drag the red points to change the acceleration. If the area becomes negative enough, \(v^2\) reaches zero and the car stops: the amber line marks where.

Example 6.4 — A test track

A car starts from rest. Its acceleration is \(2\ \text{m/s}^2\) for the first \(50\ \text{m}\), then decreases linearly to zero at \(s = 100\ \text{m}\). Find its speed at \(s = 100\ \text{m}\).

Show solution

The area under the \(a\)–\(s\) graph from 0 to \(100\ \text{m}\) is a rectangle plus a triangle:

\[ \int_0^{100} a\,ds = 2(50) + \tfrac12(50)(2) = 150\ \text{m}^2/\text{s}^2 \] \[ \tfrac12 v^2 - 0 = 150 \quad\Rightarrow\quad v = \sqrt{300} = 17.3\ \text{m/s} \]

This is the starting graph of Figure 6.2: move the position slider to \(100\ \text{m}\) to read it.

Check your understanding

Key takeaways