In this explainer, we will learn how to apply derivatives to problems of motion in a straight line.

The position of a particle in rectilinear motion can be described as a coordinate on the motion axis, . It can also be expressed with respect to the particleโs position at a given time; this is called the displacement of the particle. If the reference position is the particleโs position at , then the displacement of the particle at any is given by . The displacement is a vector. Here, it is a one-dimensional vector and, for this reason, it can be described by a single function, which is its component along the motion axis (the -axis). The sign of indicates the direction of the vector, while the absolute value of gives its magnitude.

### How To: Finding the Velocity from the Displacement

The instantaneous velocity of the particle, , is the derivative of with respect to time, . We write

### How To: Finding the Acceleration from the Velocity

The instantaneous acceleration of the particle, , is the derivative of with respect to time, . We write

Recall that the derivative of a polynomial function with respect to is given by

Let us consider an example of describing the motion of a particle using derivatives.

### Example 1: Using Derivatives to Solve Problems Involving Displacement and Velocity

A particle is moving in a straight line such that its displacement metres after seconds is given by .

- Find the velocity of the particle at .
- Find the time interval during which the velocity of the particle is decreasing.

### Answer

**Part 1**

The displacement of the particle can be expressed as a function of time, . This is given as

The derivative of with respect to is , which is given by

At the instant , the value of is given by

**Part 2**

To find the time interval for which is decreasing, we need to study the sign of the derivative of ; that is, of the acceleration function .

The acceleration is the derivative of the velocity with respect to time:

We see that the acceleration function is a linear function that is equal to zero at such that

For , ; this can be seen from the fact that the acceleration is a linear function with a positive slope (and is therefore increasing), or simply by looking at the sign of at a time less than , for instance at : .

The acceleration is therefore negative for , which means that the velocity of the particle is decreasing for values of in this interval.

In the previous example, it is worth noting that in the time interval found, the velocity goes from positive to negative; it is consistent with an acceleration being negative. When the acceleration and velocity are of opposite signs, the body is actually decelerating, which means that its speed decreases until it reaches zero, at which point the body changes direction (the velocity changes sign). The body is then accelerated (here in the negative direction) and the speed increases. In our case, the velocity is negative and thus decreases further.

Our findings can be easily checked by graphing , which is a parabola, as seen in the following diagram.

Let us now look at an example in which the maximum value of a derivative is determined.

### Example 2: Using Derivatives to Find the Maximum Velocity of a Particle given Its Displacement Function

A particle is moving in a straight line along the -axis such that its displacement metres after seconds is given by . Find the maximum velocity of the particle in the positive -direction.

### Answer

The displacement of the particle can be expressed as a function of time, . This is given as

The derivative of with respect to is , which is given by

The velocity function is a quadratic function with a negative leading coefficient . Its graph is therefore a parabola opening downward. The vertex of the parabola corresponds to a maximum value of the velocity.

There are two methods to find the coordinates of a parabolaโs vertex. The first one consists in rewriting its equation in the so-called vertex form , where are the coordinates of the parabolaโs vertex. We have here

The coordinates of the parabolaโs vertex are ; this means that the velocity is at its maximum at with a value of 14 m/s.

The second method is more general as it works with any type of functions, not only with quadratics. It consists in calculating the derivative of the velocity (i.e., the acceleration) and finding at what time it is zero, which corresponds to an extremum of the velocity.

The acceleration is the derivative of the velocity with respect to time:

The acceleration is at such that

At , the velocity is

We need to check now that is a maximum by either checking values of the velocity before and after , for instance, or by checking that the sign of the acceleration (the first derivative of the velocity) is positive before (that the velocity is increasing) and negative after (that the velocity is decreasing), which corresponds to the velocity being maximum at :

The maximum velocity in the positive -direction is 14 m/s.

The link between the graph of the velocity in the previous example and the sign of its first derivative, its acceleration, is shown in the following diagram.

We see that when both the velocity and acceleration are positive, the velocity increases. If both are negative, the velocity
decreases. In both cases, however, the *speed* (the magnitude of the velocity) increases and the body is accelerating. When the
velocity and acceleration have opposite signs, it means that a net force is opposing the movement: the speed is decreasing.

Let us now look at an example in which the derivative of a quantity that is equal to zero is determined.

### Example 3: Finding the Instantaneous Acceleration of a Particle at a Given Velocity

A particle is moving in a straight line such that its displacement in metres is given as a function of time in seconds by , . Find the magnitude of the acceleration of the particle when the velocity is zero.

### Answer

The displacement of the particle can be expressed as a function of time, . This is given as

The derivative of with respect to is , which is given by

We are required to determine the acceleration when the velocity is zero; that is, when

The solutions to this equation is given by the quadratic formula where , , and .

We have then that

Hence, the two solutions are

This means that at and the velocity of the particle is zero.

We want to find the magnitude of the acceleration at and . The acceleration is the derivative of the velocity. Therefore, we have

Substituting , we obtain

Substituting , we obtain

The magnitude of the acceleration is given by . We see that it is 162 m/s^{2}.

We can look at the graph of that we saw in the previous example.

It is a parabola opening up. A parabola has a vertical line of symmetry that goes through its vertex. The two points where the parabola intersects the -axis are therefore each the reflection of the other in this symmetry line, and such are also the tangents to the graph of at these points. Knowing that the first derivative of a function at a given point is the slope of the tangent to the graph of the function at this point, we understand why we found the same magnitude but opposite directions for the accelerations in the previous example.

Let us look at an example in which the direction of the acceleration of a particle relative to its instantaneous velocity is determined.

### Example 4: Determining Whether a Particle Is Accelerating or Decelerating given Its Displacement Function

A particle moves in a straight line such that at time seconds its displacement from a fixed point on the line is given by , . Determine whether the particle is accelerating or decelerating in the direction of motion when .

### Answer

The displacement of the particle can be expressed as a function of time, . This is given as

The velocity of the particle is given by the first derivative of :

At , we have

The acceleration of the particle is the derivative of the velocity of the particle with respect to time:

At , we have

The acceleration is positive at , which means that the particleโs velocity is increasing. As the velocity is positive, it means that the speed increases as well. Therefore, the particle is accelerating in the direction of motion.

So far, we have dealt with questions in which the displacement was given as a function of time so that we could find the velocity and acceleration functions by differentiating with respect to time. It can, however, happen that we have the velocity of a particle as a function of its displacement. Since displacement is a function of time, we have in this case a composite function:

The derivative of with respect to time is then given by the chain rule:

We notice here that as , we have

Let us look at an example in which the velocity of a particle is expressed as a function of its displacement.

### Example 5: Finding the Acceleration of a Particle given Velocity as a Function of Position

A particle moves along the -axis. When its displacement from the origin is m, its velocity is given by

Find the particleโs acceleration when .

### Answer

The acceleration of the particle is the derivative with respect to time of . The velocity of the particle is however expressed as a function of the displacement, and so its derivative with respect to time cannot be obtained directly.

The derivative of the velocity of the particle with respect to time can be determined by applying the chain rule:

The derivative of the displacement with respect to time is the velocity, so we have that

The derivative of the velocity with respect to displacement is given by

We have, therefore, that

Substituting 3 as the value of , we obtain

We have dealt so far with *instantaneous* velocity.

### Definition: Average Velocity

When a particle moves from an initial position at to an end position at , its average velocity is the average rate of change of position with respect to time: where is the position of the particle at time and is its displacement at time with respect to .

In vector form, with a unit vector along the axis of motion, we have

The average velocity is the velocity that the particle would have if the velocity were constant.

Average speed, which is the rate of change of distance with respect of time, is not necessarily the magnitude of average velocity for rectilinear motion. This will be the case only if the particle has always moved in the same direction over the time period of interest. In this case, the magnitude of displacement is the distance covered. If the particle changes direction of motion, however, the magnitude of displacement is shorter than the distance covered. In the latter case, we need to split the motion into sections of unidirectional motion. In each section, we can then work out the distance covered as the magnitude of displacement.

Let us see with our final example how to work out the average velocity and the average speed over a given time period.

### Example 6: Finding the Average Velocity Speed over a Time Interval Where the Velocity Changes Sign

A particle moves in a straight line, with respect to a stationary point, with position vector , where and is measured in seconds, is a unit vector parallel to the straight line, and is measured in metres.

- Find the magnitude of the displacement vector after 2 s.
- Find the total distance covered by the particle after 2 s.
- Determine the magnitude of the average velocity vector of the particle between and .
- Determine the average speed of the particle between and .

### Answer

**Part 1**

The particle displacement, , after 2 seconds is the vector whose initial point is the particleโs position at and whose endpoint is the particleโs position at . Hence, we have

The magnitude of the displacement after 2 seconds is

**Part 2**

The position vector is always collinear to , which means that the particle has a rectilinear motion. In the case of rectilinear motion, the distance traveled between two points is given by the magnitude of the displacement vector if there is no change in direction. As the direction of motion is given by the velocity (the first derivative of the position), we need to find the velocity function and then study its sign between and to know if there has been a change of direction between these two times.

The velocity vector of the particle is given by the first derivative of :

The component of the velocity vector along the motion axis is given by the linear equation . It is equal to zero and changes sign at . The line has a negative slope (i.e., a negative acceleration), which means that the velocity is positive before and negative after.

The particle, therefore, moves first in the positive direction (the same direction as ), changes direction at , and then moves in the negative direction. To find its average speed, we need to determine the distance covered in both directions, add them up, and finally divide by the total time (2 seconds).

The distance covered between and is given by the magnitude of the displacement vector between the position at and that at :

Similarly, the distance covered between and is given by

The total distance is

**Part 3**

The average velocity is the average rate of change of position with respect to time:

Hence, between and , we have

The magnitude of the average velocity vector is

**Part 4**

The average speed is the average rate of change of *distance* with respect to time:

Therefore, between and , we have

Let us now summarize what has been learned in this explainer.

### Key Points

- The derivative of the displacement of a particle with respect to time is the instantaneous velocity of the particle. This can be expressed as
- A maximum or a minimum displacement of a particle corresponds to a point or instant at which the velocity of the particle is zero and changes sign.
- The derivative of the velocity of a particle with respect to time is the instantaneous acceleration of the particle. This can be expressed as
- A maximum or a minimum velocity of a particle corresponds to a point or instant at which the acceleration of the particle is zero and changes sign.
- By applying the chain rule, we have