Achievable logoAchievable logo
AP Calculus AB
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Limits
2. Derivative basics
3. Advanced differentiation
4. Contextual uses
4.1 Derivatives in context
4.2 Straight-line motion
4.2.1 Position, velocity, & acceleration
4.2.2 Graphs & tables
4.3 Related rates
4.4 Linear approximations
4.5 L'Hôpital's rule
5. Analytical uses
6. Integration
7. Differential equations
8. Applications of integrals
Wrapping up
Achievable logoAchievable logo
4.2.1 Position, velocity, & acceleration
Achievable AP Calculus AB
4. Contextual uses
4.2. Straight-line motion
Our AP Calculus AB course is now in "early access" - get 50% off for a limited time.

Position, velocity, & acceleration

7 min read
Font
Discuss
Share
Feedback

What you’ll learn

  • Motion: Use derivatives to relate position, velocity, and acceleration.
  • Average rates: Calculate average velocity and acceleration on an interval.
  • Distance vs. displacement: Distinguish total distance traveled from net change in position.

In motion problems, an object’s position is modeled by a function p(t) or x(t), where t is time. Its derivatives describe how the position changes:

  • 1st derivative: Velocity
  • 2nd derivative: Acceleration

Velocity

v(t)=x′(t)

Velocity is the 1st derivative of position. Its magnitude describes how fast the object moves, and its sign indicates direction:

  • v(t)>0⇒ Moving right/forward/up
  • v(t)<0⇒ Moving left/backward/down
  • v(t)=0⇒ The object is momentarily at rest (not moving). Acceleration determines the direction it will start moving.
Sidenote
Speed vs. velocity

Speed is ∣v(t)∣, the magnitude of velocity. It measures only how fast the object is moving.

Velocity includes both speed and direction (through its sign).

Acceleration

a(t)=v′(t)=p′′(t)

Acceleration is the derivative of velocity (or the second derivative of position). To interpret acceleration, compare the signs of v(t) and a(t):

  • Same sign ⇒ Object is speeding up (its speed is increasing).

  • Opposite signs ⇒ Slowing down (speed is decreasing).

  • a(t)=0⇒ neither speeding up nor slowing down at that instant.

Think of acceleration as pointing in the direction velocity is changing: with the motion when speeding up, against the motion when slowing down.

Example 1: Finding velocity and acceleration

The position of a particle moving along the x-axis is given by

x(t)=−t3+6t2−9t

where x is measured in meters and t is measured in seconds.

Find the particle’s velocity and acceleration at t=2 and interpret the particle’s motion at that instant.

Solution

(spoiler)

1. Differentiate twice:

v(t)a(t)​=x′(t)=−3t2+12t−9=v′(t)=x′′(t)=−6t+12​

2. Evaluate each at t=2:

  • Velocity: v(2)=−3(2)2+12(2)−9=3

  • Acceleration: a(2)=−6(2)+12=0

3. Interpretation:

At t=2, the particle is moving right (positive velocity) at a speed of 3 m/s. Since a(2)=0, it is neither speeding up nor slowing down at that instant.

Example 2: Particle at rest

Using the same position function x(t)=−t3+6t2−9t from example 1, determine at what time(s) t the particle is at rest.

Solution

(spoiler)

Find when the velocity equals 0:

v(t)=x′(t)=−3t2+12t−9

Set v(t)=0 and solve for t:

−3t2+12t−9=0−3(t2−4t+3)=0−3(t−1)(t−3)=0t=1,3

The particle is at rest at t=1 and t=3 seconds.

Example 3: Changes in direction

Using the same position function x(t)=−t3+6t2−9t, determine at what time(s) t the particle changes direction.

Solution

(spoiler)

Since the particle moves right when v(t)>0 and left when v(t)<0, its velocity must equal 0 at some time t to change sign.

From example 2, these times t=1 and t=3. Check the sign of v(t) in the surrounding intervals. Since v(t) is a downward-opening parabola with zeros at t=1 and t=3, it’s negative outside those roots and positive between them.

Interval t Test point v(t) Motion
(0,1) t=0 −9 Left
(1,3) t=2 3 Right
(3,∞) t=4 −9 Left

The particle moves left, stops at t=1 second and changes direction to move right, then stops again at t=3 seconds and changes direction to move left.

Example 4: Speed increasing or decreasing

Using the same position function x(t)=−t3+6t2−9t, determine at what intervals of time the particle’s speed increases or decreases.

Solution

(spoiler)

Speed increases when v(t) and a(t) have the same sign, and decreases when they have opposite signs. Use the functions:

v(t)a(t)​=−3t2+12t−9=−6t+12​

To build intervals, use the times when either function is 0:

  • v(t)=0 at t=1 and t=3
  • a(t)=0 at t=2

Now test signs on each interval.

Interval t v(t) a(t) Motion
(0,1) − + Slowing down
(1,2) + + Speeding up
(2,3) + − Slowing down
(3,∞) − − Speeding up

The particle’s speed increases for t in (1,2) and (3,∞).

Its speed decreases for t in (0,1) and (2,3).

Average velocity and acceleration

A common AP exam task is to find average velocity over a time interval given a position function. Average velocity is the change in position divided by the change in time, or the slope (average rate of change) of the position function over the interval.

vavg​=t2​−t1​x(t2​)−x(t1​)​

Similarly, average acceleration is the change in velocity divided by the change in time.

aavg​=t2​−t1​v(t2​)−v(t1​)​

Example

If a particle’s position in feet is given by x(t)=t3−4t2+2t+5, find the average velocity and average acceleration from t=2 to t=6 seconds.

(spoiler)

The average velocity over [2,6] is

vavg​​=6−2x(6)−x(2)​=488​=22 ft/s​​

To find average acceleration, first write the velocity function by differentiating x(t):

v(t)=3t2−8t+2

Then compute the average acceleration over [2,6]:

aavg​​=6−2v(6)−v(2)​=462−(−2)​=16 ft/s2​​

Distance traveled

A position function can tell you how far an object has traveled, in two ways:

  1. Displacement: The net change in position.

  2. Total distance traveled: How much ground was covered, regardless of direction.

Displacement

If an object moves from point A to point B and then returns to point A, its net change in position is 0. Displacement depends only on the initial and final positions.

Displacement=x(tfinal​)−x(tinitial​)

Total distance

To find the total distance traveled over a time interval when given a position function:

  1. Find where the velocity is 0 (times when the object might change direction).

  2. Find the displacement on each sub-interval and take the absolute values (so each piece is a positive distance).

  3. Add those positive distances.

Example

A particle moves along the x-axis with its position given by x(t)=sin(2t). Find the displacement and the total distance traveled over the interval [2π​,π].

Solution

(spoiler)

The displacement is the difference between the final and initial positions:

x(π)−x(2π​)=sin(2π)−sin(π)=0

So the particle moves but returns to its original position.

For the total distance, find when the particle stops momentarily (when v(t)=0).

First compute velocity:

v(t)=2cos(2t)

Now solve v(t)=0:

2cos(2t)=0

2t=2π​,23π​,...

t=4π​,43π​,...

On the interval [2π​,π], the only solution is t=43π​.

Split the interval into two parts: [2π​,43π​] and [43π​,π].

Next, find the distance traveled over each interval.

On [2π​,43π​]:

​x(43π​)−x(2π​)​=∣−1−0∣=1

On [43π​,π]:

​x(π)−x(43π​)​=∣0−(−1)∣=1

Adding these gives a total distance of 2 units traveled.

  • By convention, positive means to the right and negative means to the left
  • To decide whether an object is speeding up or slowing down, find when a(t) and v(t) equal 0, then use a sign chart (or sign diagram) on the intervals between those times to compare their signs.

Sign up for free to take 10 quiz questions on this topic

All rights reserved ©2016 - 2026 Achievable, Inc.

Position, velocity, & acceleration

What you’ll learn

  • Motion: Use derivatives to relate position, velocity, and acceleration.
  • Average rates: Calculate average velocity and acceleration on an interval.
  • Distance vs. displacement: Distinguish total distance traveled from net change in position.

In motion problems, an object’s position is modeled by a function p(t) or x(t), where t is time. Its derivatives describe how the position changes:

  • 1st derivative: Velocity
  • 2nd derivative: Acceleration

Velocity

v(t)=x′(t)

Velocity is the 1st derivative of position. Its magnitude describes how fast the object moves, and its sign indicates direction:

  • v(t)>0⇒ Moving right/forward/up
  • v(t)<0⇒ Moving left/backward/down
  • v(t)=0⇒ The object is momentarily at rest (not moving). Acceleration determines the direction it will start moving.
Sidenote
Speed vs. velocity

Speed is ∣v(t)∣, the magnitude of velocity. It measures only how fast the object is moving.

Velocity includes both speed and direction (through its sign).

Acceleration

a(t)=v′(t)=p′′(t)

Acceleration is the derivative of velocity (or the second derivative of position). To interpret acceleration, compare the signs of v(t) and a(t):

  • Same sign ⇒ Object is speeding up (its speed is increasing).

  • Opposite signs ⇒ Slowing down (speed is decreasing).

  • a(t)=0⇒ neither speeding up nor slowing down at that instant.

Think of acceleration as pointing in the direction velocity is changing: with the motion when speeding up, against the motion when slowing down.

Example 1: Finding velocity and acceleration

The position of a particle moving along the x-axis is given by

x(t)=−t3+6t2−9t

where x is measured in meters and t is measured in seconds.

Find the particle’s velocity and acceleration at t=2 and interpret the particle’s motion at that instant.

Solution

(spoiler)

1. Differentiate twice:

v(t)a(t)​=x′(t)=−3t2+12t−9=v′(t)=x′′(t)=−6t+12​

2. Evaluate each at t=2:

  • Velocity: v(2)=−3(2)2+12(2)−9=3

  • Acceleration: a(2)=−6(2)+12=0

3. Interpretation:

At t=2, the particle is moving right (positive velocity) at a speed of 3 m/s. Since a(2)=0, it is neither speeding up nor slowing down at that instant.

Example 2: Particle at rest

Using the same position function x(t)=−t3+6t2−9t from example 1, determine at what time(s) t the particle is at rest.

Solution

(spoiler)

Find when the velocity equals 0:

v(t)=x′(t)=−3t2+12t−9

Set v(t)=0 and solve for t:

−3t2+12t−9=0−3(t2−4t+3)=0−3(t−1)(t−3)=0t=1,3

The particle is at rest at t=1 and t=3 seconds.

Example 3: Changes in direction

Using the same position function x(t)=−t3+6t2−9t, determine at what time(s) t the particle changes direction.

Solution

(spoiler)

Since the particle moves right when v(t)>0 and left when v(t)<0, its velocity must equal 0 at some time t to change sign.

From example 2, these times t=1 and t=3. Check the sign of v(t) in the surrounding intervals. Since v(t) is a downward-opening parabola with zeros at t=1 and t=3, it’s negative outside those roots and positive between them.

Interval t Test point v(t) Motion
(0,1) t=0 −9 Left
(1,3) t=2 3 Right
(3,∞) t=4 −9 Left

The particle moves left, stops at t=1 second and changes direction to move right, then stops again at t=3 seconds and changes direction to move left.

Example 4: Speed increasing or decreasing

Using the same position function x(t)=−t3+6t2−9t, determine at what intervals of time the particle’s speed increases or decreases.

Solution

(spoiler)

Speed increases when v(t) and a(t) have the same sign, and decreases when they have opposite signs. Use the functions:

v(t)a(t)​=−3t2+12t−9=−6t+12​

To build intervals, use the times when either function is 0:

  • v(t)=0 at t=1 and t=3
  • a(t)=0 at t=2

Now test signs on each interval.

Interval t v(t) a(t) Motion
(0,1) − + Slowing down
(1,2) + + Speeding up
(2,3) + − Slowing down
(3,∞) − − Speeding up

The particle’s speed increases for t in (1,2) and (3,∞).

Its speed decreases for t in (0,1) and (2,3).

Average velocity and acceleration

A common AP exam task is to find average velocity over a time interval given a position function. Average velocity is the change in position divided by the change in time, or the slope (average rate of change) of the position function over the interval.

vavg​=t2​−t1​x(t2​)−x(t1​)​

Similarly, average acceleration is the change in velocity divided by the change in time.

aavg​=t2​−t1​v(t2​)−v(t1​)​

Example

If a particle’s position in feet is given by x(t)=t3−4t2+2t+5, find the average velocity and average acceleration from t=2 to t=6 seconds.

(spoiler)

The average velocity over [2,6] is

vavg​​=6−2x(6)−x(2)​=488​=22 ft/s​​

To find average acceleration, first write the velocity function by differentiating x(t):

v(t)=3t2−8t+2

Then compute the average acceleration over [2,6]:

aavg​​=6−2v(6)−v(2)​=462−(−2)​=16 ft/s2​​

Distance traveled

A position function can tell you how far an object has traveled, in two ways:

  1. Displacement: The net change in position.

  2. Total distance traveled: How much ground was covered, regardless of direction.

Displacement

If an object moves from point A to point B and then returns to point A, its net change in position is 0. Displacement depends only on the initial and final positions.

Displacement=x(tfinal​)−x(tinitial​)

Total distance

To find the total distance traveled over a time interval when given a position function:

  1. Find where the velocity is 0 (times when the object might change direction).

  2. Find the displacement on each sub-interval and take the absolute values (so each piece is a positive distance).

  3. Add those positive distances.

Example

A particle moves along the x-axis with its position given by x(t)=sin(2t). Find the displacement and the total distance traveled over the interval [2π​,π].

Solution

(spoiler)

The displacement is the difference between the final and initial positions:

x(π)−x(2π​)=sin(2π)−sin(π)=0

So the particle moves but returns to its original position.

For the total distance, find when the particle stops momentarily (when v(t)=0).

First compute velocity:

v(t)=2cos(2t)

Now solve v(t)=0:

2cos(2t)=0

2t=2π​,23π​,...

t=4π​,43π​,...

On the interval [2π​,π], the only solution is t=43π​.

Split the interval into two parts: [2π​,43π​] and [43π​,π].

Next, find the distance traveled over each interval.

On [2π​,43π​]:

​x(43π​)−x(2π​)​=∣−1−0∣=1

On [43π​,π]:

​x(π)−x(43π​)​=∣0−(−1)∣=1

Adding these gives a total distance of 2 units traveled.

Key points
  • By convention, positive means to the right and negative means to the left
  • To decide whether an object is speeding up or slowing down, find when a(t) and v(t) equal 0, then use a sign chart (or sign diagram) on the intervals between those times to compare their signs.

More from Straight-line motion

  • Graphs & tables