AP Calculus AB · Topic 8.2 · Reading guide, about 4 min

Integrating velocity for displacement and distance

Use integrals of velocity to find displacement, position and total distance, splitting where velocity changes sign.

In one minute

If you know how fast and in which direction something moves, integrating that velocity tells you where it ends up and how far it traveled along the way. These are two different questions with two different integrals, and the difference is the heart of this topic.

The key idea is sign. A positive velocity moves the object in the positive direction and a negative velocity moves it back. Displacement lets those cancel. Total distance does not.

Key terms

Velocity
The signed rate of change of position, v(t)=x′(t)v(t)=x'(t); its sign gives the direction of motion on a line.
Speed
The absolute value ∣v(t)∣|v(t)| of velocity: how fast, with direction ignored.
Displacement
The net change in position from t=at=a to t=bt=b, equal to ∫abv(t) dt\int_a^b v(t)\,dt.
Total distance
The full length of path traveled, equal to ∫ab∣v(t)∣ dt\int_a^b |v(t)|\,dt.
Position function
x(t)x(t), the location at time tt; it satisfies x(b)=x(a)+∫abv(t) dtx(b)=x(a)+\int_a^b v(t)\,dt.
Acceleration
The rate of change of velocity, a(t)=v′(t)a(t)=v'(t); integrating it gives change in velocity.
Initial condition
A known starting value, such as the position or velocity at time zero, needed to pin down a position or velocity.
Sign change
A time when v(t)v(t) switches between positive and negative, where the object turns around.

Displacement and position

Since v=x′v=x', the Fundamental Theorem says ∫abv(t) dt=x(b)−x(a)\int_a^b v(t)\,dt=x(b)-x(a). That quantity is the displacement. Rearranged, it gives the position formula x(b)=x(a)+∫abv(t) dtx(b)=x(a)+\int_a^b v(t)\,dt: where you end up is where you started plus the net change. Dividing the displacement by b−ab-a gives the average velocity, which is the average value of vv from 8.1.

The same reasoning applies one level down. Velocity at time bb equals velocity at time aa plus ∫aba(t) dt\int_a^b a(t)\,dt. If acceleration is given with a starting velocity, integrate to find velocity, and integrate again with a starting position to find position. Each integration uses its own initial condition.

Total distance and the sign of velocity

Distance cannot be negative and cannot cancel, so it uses speed. The integral ∫ab∣v(t)∣ dt\int_a^b |v(t)|\,dt is the total length of path. To compute it by hand, find every time in (a,b)(a, b) where v(t)=0v(t)=0 and the sign flips, then integrate vv on each piece, taking the absolute value of each piece before adding.

A velocity graph makes this visual. Area above the t-axis is motion forward and area below is motion backward. Displacement is the signed sum of those areas. Distance is the sum of their sizes.

Displacement compared with distance
QuestionIntegralSign changes matter?
Net change in position∫abv(t) dt\int_a^b v(t)\,dtNo, areas below the axis subtract
Total path length∫ab∣v(t)∣ dt\int_a^b |v(t)|\,dtYes, split at each zero and add sizes
Final positionx(a)+∫abv(t) dtx(a)+\int_a^b v(t)\,dtNo, it is displacement plus a start
Change in velocity∫aba(t) dt\int_a^b a(t)\,dtNo, it uses signed acceleration

A fully worked example

A particle moves on a line with acceleration a(t)=2t−4a(t)=2t-4 and starting velocity v(0)=3v(0)=3. Its starting position is x(0)=2x(0)=2. Study 0≤t≤40\le t\le 4.

Step 1, velocity. Integrate: v(t)=t2−4t+Cv(t)=t^2-4t+C. The condition v(0)=3v(0)=3 gives C=3C=3, so v(t)=t2−4t+3=(t−1)(t−3)v(t)=t^2-4t+3=(t-1)(t-3).

Step 2, signs. The zeros are t=1t=1 and t=3t=3. Test values: v(0)=3v(0)=3 is positive, v(2)=4−8+3=−1v(2)=4-8+3=-1 is negative, v(4)=16−16+3=3v(4)=16-16+3=3 is positive. So the particle moves forward, then backward, then forward.

Step 3, an antiderivative of vv is V(t)=t33−2t2+3tV(t)=\frac{t^3}{3}-2t^2+3t. Then V(0)=0V(0)=0, V(1)=13−2+3=43V(1)=\frac13-2+3=\frac43, V(3)=9−18+9=0V(3)=9-18+9=0 and V(4)=643−32+12=43V(4)=\frac{64}{3}-32+12=\frac43.

Step 4, displacement on [0,4][0, 4] is V(4)−V(0)=43V(4)-V(0)=\frac43. The position at t=4t=4 is x(4)=2+43=103x(4)=2+\frac43=\frac{10}{3}.

Step 5, distance. On [0,1][0, 1] the change is 43−0=43\frac43-0=\frac43. On [1,3][1, 3] the change is 0−43=−430-\frac43=-\frac43, so its size is 43\frac43. On [3,4][3, 4] the change is 43−0=43\frac43-0=\frac43. Total distance is 43+43+43=4\frac43+\frac43+\frac43=4. Displacement is 43\frac43 but distance is 4, since the backward stretch counted against displacement but added to distance.

Reading tables and graphs

When velocity comes from a table, use a trapezoid or rectangle sum to estimate displacement. For total distance, you need to know where velocity changes sign, so use the signs of the entries and be honest that the turning time is only known to lie between two table times. A graph helps: sketch areas above and below the axis and add them with the correct sign.

Units matter. If tt is in seconds and vv is in meters per second, both displacement and distance are in meters. State them in the answer.

How it connects

  • Back to 6.1: area under a rate graph as total change is the general idea; velocity is the most familiar rate.
  • Back to 6.7: each displacement here is evaluated with an antiderivative and the Fundamental Theorem.
  • Forward to 8.3: net change for any rate, such as water flowing in and out, follows the same pattern.

Common mistakes

  • **Using ∫v dt\int v\,dt for distance.** That is displacement. Total distance needs ∣v∣|v|, so find zeros and split first.
  • Forgetting the starting position. The integral gives change in position. Add x(a)x(a) to get the final position.
  • Dropping the constant when integrating acceleration. Use the initial velocity to find CC before doing anything else.
  • Expecting a turnaround at every zero. If vv touches zero but stays on one side, the object does not turn around. Splitting there is harmless but unnecessary.

How it shows up on the exam

  • A velocity formula on a time interval, asking for displacement, total distance and final position, usually with a graphing calculator for non-elementary velocity.
  • A table or graph of velocity where you estimate displacement with a sum and explain the meaning of the result in context with units.
  • A justification asking when the object changes direction or is speeding up, using the signs of velocity and acceleration.

Check yourself

  1. Can displacement be zero while total distance is positive? Describe such a motion.
  2. What do you have to do before computing total distance if velocity changes sign?
  3. How do you get position from acceleration, and how many initial conditions do you need?
  4. What are the units of displacement if velocity is in feet per second and time is in seconds?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.