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
5. Analytical uses
6. Integration
7. Differential equations
8. Applications of integrals
8.1 Average value of a function
8.2 Motion with integrals
8.3 Area between curves
8.4 Volume
9. Testing details tag
10. test
Wrapping up
Achievable logoAchievable logo
8.2 Motion with integrals
Achievable AP Calculus AB
8. Applications of integrals
Our AP Calculus AB course is currently in development and is a work-in-progress.

Motion with integrals

7 min read
Font
Discuss
Share
Feedback

What you’ll learn:

  • How to recover velocity and position from acceleration
  • Compute displacement and total distance using integration

Motion along a line is one of the most common applications of differential and integral calculus. Recall from section 4.2 that derivatives were used to relate position, velocity, and acceleration. Now we explore the reverse - given an acceleration function and an initial condition, we can find the velocity of an object, and integrating again gives the position.

Displacement

Integrating the velocity function of an object over a time interval gives its displacement (net change in position).

Displacement=∫ab​v(t)dt

For example, let the velocity of an object in meters per second be

v(t)=3t−6

and suppose we want to find its change in position from t=0 to t=4 seconds. Integrating,

∫04​v(t)dt

=∫04​(3t−6)dt

=23​t2−6t​04​

=0

This means that the object returned to its starting position after the 1st four seconds.

Total distance

On the other hand, finding the total distance traveled requires taking the absolute value of the velocity function to account for changes in direction.

Total distance=∫ab​∣v(t)∣dt

To evaluate:

  1. Find when the velocity changes sign (first find where it equals 0).
  2. Write the absolute value as a piecewise function.
  3. Split the integral at those points.

Let’s use the same velocity function from before and find the total distance traveled from 0≤t≤4. The function

v(t)=3t−6

changes sign when it crosses the t-axis at t=2, which is the breakpoint for the absolute value in piecewise form.

∣3t−6∣=⎩⎨⎧​3t−6−(3t−6)​if t≥2if t<2​

Then the total distance is

∫02​−(3t−6)dt+∫24​(3t−6)dt

=∫24​(3t−6)dt−∫02​(3t−6)dt

=12

Because integrals give signed area, we essentially have to subtract the area of any regions below the x-axis to add it to the total distance.

For problems that allow a calculator/Desmos, you can simply enter the integral of the absolute value function directly, like

∫04​∣3t−6∣dt

Accumulating position from velocity

Given the velocity function and the position at one time, we can find the position at another using the Fundamental theorem of calculus.

The velocity, in units per second, of an object moving along a number line is v(t)=t2−6t+5. Its position at time t=0 is s(0)=10.

a) Find the particle’s position at t=6 seconds.
b) Find the total distance the particle traveled on 0≤t≤6.

Solutions

a) s(6)

(spoiler)

By the FTC,

∫06​v(t)dt=s(6)−s(0)

s(6)=s(0)+∫06​(t2−6t+5)dt

=10−6

=4​

The particle starts at 10 units and ends up at 4 units when t=6 seconds.

b) Total distance over [0,6]

(spoiler)

The total distance traveled is

∫06​∣v(t)∣dt

=∫06​∣t2−6t+5∣dt

On [0,6], the velocity function is positive for 0≤t<1 and 5<t≤6 and negative for 1<t<5, so the absolute value in piecewise form is

∣t2−6t+5∣=⎩⎨⎧​t2−6t+5−(t2−6t+5)t2−6t+5​if 0≤t<1if 1≤t≤5if 5<t≤6​

So the integral set-up for the total distance is

∫01​(t2−6t+5)dt−∫15​(t2−6t+5)dt+∫56​(t2−6t+5)dt

=15.333 units​

From acceleration to position

In some cases, you’re given acceleration and initial conditions for both velocity and position. These require integrating twice and solving for the constant of integration +C each time.

Given:

a(t)=2t+1

v(1)=3

s(0)=5

Find s(t).

Solution

(spoiler)

v(t)=∫a(t)dt

=∫(2t+1)dt

=t2+t+C

Use the given v(1)=3 to find C:

3=12+1+C

C=1

So v(t)=t2+t+1. Then

s(t)=∫v(t)dt

=∫(t2+t+1)dt

=3t3​+2t2​+t+C

Use the given s(0)=5 to solve for C:

5=303​+202​+0+C

C=5

Therefore

s(t)=3t3​+2t2​+t+5​

Velocity graphs

Sometimes the velocity of an object is given graphically rather than as a function. Since integrating the velocity gives position, displacement and total distance can be found by computing the net signed area and total area, respectively.

The velocity of a particle moving along a line is shown in the graph below for 0≤t≤6.

Graph of v(t)
Graph of v(t)

a) Find the displacement of the particle from t=0 to t=6.
b) Find the total distance traveled over this time.
c) If the particle’s position at t=2 is s(2)=1, find its position at t=6.

Solutions

a) Displacement

(spoiler)

To find the displacement, calculate the net signed area.

  • On 0<t<1.5:

The triangle above the x-axis has a base of length 1.5 and a height of 1, so the signed area is

A1​=21​(1.5)(1)

=0.75

  • On 1.5<t<5:

The trapezoid below the x-axis has a height of 1 and two bases of length 3.5 and 2, so the signed area is

A2​=21​(−1)(3.5+2)

=−2.75

  • On 5<t<6:

The triangle above the x-axis has a base of length 1 and a height of 1, so the area is

A3​=21​(1)(1)

=0.5

Adding these values gives a displacement of

0.75−2.75+0.5=−1.5​

b) Total distance

(spoiler)

The total distance traveled can be found by adding up the absolute values of the areas found in the previous part:

∣0.75∣+∣−2.75∣+∣0.5∣=4​

c) s(6) given s(2)=1

(spoiler)

The displacement from t=2 to t=6 is

∫26​v(t)dt=s(6)−s(2)

So

s(6)=s(2)+∫26​v(t)dt

We calculate the net signed area from t=2 to t=6:

  • On 2<t<4:

The rectangle below the x-axis has a width of 1 and a length of 2, so the signed area is

A=−2

  • On 4<t<6:

The triangle from t=4 to t=5 is the same as the one from t=5 to t=6, so the signed areas cancel out.

Then the net signed area is −2, as is ∫26​v(t)dt. Substituting this and s(2)=1,

s(6)=s(2)+∫26​v(t)dt

=1−2

=−1​

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

All rights reserved ©2016 - 2026 Achievable, Inc.