AP Calculus BC

Vector-Valued Functions: Velocity, Speed and Distance

Differentiate and integrate a vector-valued function one component at a time. If position is r(t) = <x(t), y(t)>, velocity is <x'(t), y'(t)>, acceleration is <x''(t), y''(t)>, speed is the square root of x'(t)^2 + y'(t)^2, and total distance traveled is the integral of speed over the time interval.

Work one component at a time

A vector-valued function packages two ordinary functions into one object: r(t)=⟨x(t),y(t)⟩\mathbf{r}(t) = \langle x(t), y(t) \rangle. Every calculus operation on it is done separately on each component. CED Topic 9.4, Defining and Differentiating Vector-Valued Functions, covers the derivative.

r′(t)=⟨x′(t), y′(t)⟩\mathbf{r}'(t) = \langle x'(t),\ y'(t) \rangle

Each component uses whatever single-variable rule fits it. One component might need the chain rule while the other needs the product rule. The answer is still a vector, so keep the angle brackets.

The derivative vector points along the tangent to the path. When x′(t)≠0x'(t) \neq 0, the slope of the path at time tt is y′(t)x′(t)\frac{y'(t)}{x'(t)}, the same ratio used for any parametric curve.

Integrating and using an initial condition

Integration is also done by component, which is CED Topic 9.5, Integrating Vector-Valued Functions. A definite integral of a rate vector gives the net change in each coordinate.

∫abr′(t) dt=⟨∫abx′(t) dt, ∫aby′(t) dt⟩\int_a^b \mathbf{r}'(t)\,dt = \left\langle \int_a^b x'(t)\,dt,\ \int_a^b y'(t)\,dt \right\rangle

To find a position from a velocity, start from the known position and add the net change. This is the Fundamental Theorem applied to each coordinate.

x(b)=x(a)+∫abx′(t) dt,y(b)=y(a)+∫aby′(t) dtx(b) = x(a) + \int_a^b x'(t)\,dt, \qquad y(b) = y(a) + \int_a^b y'(t)\,dt

Writing the starting value explicitly is the safest habit. A common error is computing the integral correctly and reporting it as the position, with the initial position left out.

Velocity, acceleration and speed

For a particle moving in the plane with position r(t)=⟨x(t),y(t)⟩\mathbf{r}(t) = \langle x(t), y(t) \rangle, CED Topic 9.6, Solving Motion Problems Using Parametric and Vector-Valued Functions, uses these four quantities.

QuantityFormulaType
Velocityv(t)=⟨x′(t), y′(t)⟩\mathbf{v}(t) = \langle x'(t),\ y'(t) \rangleVector
Accelerationa(t)=⟨x′′(t), y′′(t)⟩\mathbf{a}(t) = \langle x''(t),\ y''(t) \rangleVector
Speed(x′(t))2+(y′(t))2\sqrt{(x'(t))^2 + (y'(t))^2}Number, never negative
Total distance on [a,b][a, b]∫ab(x′(t))2+(y′(t))2 dt\int_a^b \sqrt{(x'(t))^2 + (y'(t))^2}\,dtNumber, never negative

Speed is the magnitude of the velocity vector, found with the Pythagorean theorem on its components. The components also carry direction: x′(t)>0x'(t) > 0 means the particle is moving right, x′(t)<0x'(t) < 0 means left, y′(t)>0y'(t) > 0 means up, and y′(t)<0y'(t) < 0 means down. The particle is at rest only when both components of velocity are zero at the same time.

Distance traveled versus displacement

Displacement is the net change in position, a vector found by integrating velocity. Total distance traveled is the length of the path, a number found by integrating speed. They answer different questions and usually have different sizes.

displacement=∫abv(t) dt,distance=∫ab∣v(t)∣ dt\text{displacement} = \int_a^b \mathbf{v}(t)\,dt, \qquad \text{distance} = \int_a^b \left|\mathbf{v}(t)\right|\,dt

The distance integral is the same integral as the arc length of the parametric curve traced by the particle (CED Topic 9.3, Finding Arc Lengths of Curves Given by Parametric Equations). The magnitude of the displacement can never exceed the distance traveled, because a straight line is the shortest route between the start and end points.

Square first, then add, then root

Speed is (x′)2+(y′)2\sqrt{(x')^2 + (y')^2}. It is not x′+y′x' + y', and it is not x′+y′\sqrt{x'} + \sqrt{y'}. When the expression under the root is a perfect square, the integral can be done by hand; otherwise it is set up and evaluated numerically.

Common mistakes

  • Reporting a vector when the question asks for speed, or a number when it asks for velocity. Speed and distance are numbers; velocity, acceleration and displacement are vectors.
  • Leaving out the initial position when integrating velocity to find position.
  • Integrating velocity when the question asks for total distance. Distance needs the integral of speed.
  • Differentiating position once and calling it acceleration. Acceleration is the derivative of velocity, the second derivative of position.
  • Saying the particle is at rest because one component of velocity is zero. Both must be zero.

Worked examples

Worked example

Velocity, acceleration and speed at an instant

A particle has position r(t)=⟨t2−3t, e2t⟩\mathbf{r}(t) = \langle t^2 - 3t,\ e^{2t} \rangle. Find its velocity vector, acceleration vector and speed at t=0t = 0.

  1. Differentiate each component: v(t)=⟨2t−3, 2e2t⟩\mathbf{v}(t) = \langle 2t - 3,\ 2e^{2t} \rangle.
  2. Differentiate again: a(t)=⟨2, 4e2t⟩\mathbf{a}(t) = \langle 2,\ 4e^{2t} \rangle.
  3. Evaluate at t=0t = 0: v(0)=⟨−3, 2⟩\mathbf{v}(0) = \langle -3,\ 2 \rangle and a(0)=⟨2, 4⟩\mathbf{a}(0) = \langle 2,\ 4 \rangle.
  4. Speed is the magnitude of velocity: (−3)2+22=13\sqrt{(-3)^2 + 2^2} = \sqrt{13}.
  5. Read the direction from the signs: x′(0)=−3<0x'(0) = -3 < 0 and y′(0)=2>0y'(0) = 2 > 0, so at t=0t = 0 the particle is moving left and up.

v(0)=⟨−3,2⟩\mathbf{v}(0) = \langle -3, 2 \rangle, a(0)=⟨2,4⟩\mathbf{a}(0) = \langle 2, 4 \rangle, and the speed is 13≈3.606\sqrt{13} \approx 3.606.

Worked example

Position from velocity and an initial condition

A particle moves with velocity v(t)=⟨3t2, 2t−4⟩\mathbf{v}(t) = \langle 3t^2,\ 2t - 4 \rangle and is at the point (1,5)(1, 5) when t=0t = 0. Find its position at t=2t = 2.

  1. Set up each coordinate as starting value plus net change: x(2)=x(0)+∫023t2 dtx(2) = x(0) + \int_0^2 3t^2\,dt and y(2)=y(0)+∫02(2t−4) dty(2) = y(0) + \int_0^2 (2t - 4)\,dt.
  2. Evaluate the first integral: ∫023t2 dt=t3∣02=8\int_0^2 3t^2\,dt = t^3 \Big|_0^2 = 8, so x(2)=1+8=9x(2) = 1 + 8 = 9.
  3. Evaluate the second integral: ∫02(2t−4) dt=(t2−4t)∣02=4−8=−4\int_0^2 (2t - 4)\,dt = \left(t^2 - 4t\right)\Big|_0^2 = 4 - 8 = -4, so y(2)=5−4=1y(2) = 5 - 4 = 1.
  4. Combine the coordinates.

At t=2t = 2 the particle is at (9,1)(9, 1).

Worked example

Total distance compared with displacement

A particle has velocity v(t)=⟨t2−1, 2t⟩\mathbf{v}(t) = \langle t^2 - 1,\ 2t \rangle for 0≤t≤30 \le t \le 3. Find the total distance it travels and the magnitude of its displacement.

  1. Find the speed. (t2−1)2+(2t)2=t4−2t2+1+4t2=t4+2t2+1=(t2+1)2(t^2 - 1)^2 + (2t)^2 = t^4 - 2t^2 + 1 + 4t^2 = t^4 + 2t^2 + 1 = (t^2 + 1)^2, so the speed is (t2+1)2=t2+1\sqrt{(t^2 + 1)^2} = t^2 + 1.
  2. Integrate speed for distance: ∫03(t2+1) dt=(t33+t)∣03=9+3=12\int_0^3 (t^2 + 1)\,dt = \left(\frac{t^3}{3} + t\right)\Big|_0^3 = 9 + 3 = 12.
  3. Integrate velocity by component for displacement: ∫03(t2−1) dt=9−3=6\int_0^3 (t^2 - 1)\,dt = 9 - 3 = 6 and ∫032t dt=9\int_0^3 2t\,dt = 9, so the displacement is ⟨6, 9⟩\langle 6,\ 9 \rangle.
  4. Find its magnitude: 62+92=117=313≈10.817\sqrt{6^2 + 9^2} = \sqrt{117} = 3\sqrt{13} \approx 10.817.
  5. Compare: the path is curved, so the distance 1212 is larger than the straight-line displacement of about 10.81710.817.

Total distance is 1212. The displacement is ⟨6,9⟩\langle 6, 9 \rangle with magnitude 313≈10.8173\sqrt{13} \approx 10.817.

Frequently asked questions

What is the difference between speed and velocity for motion in the plane?

Velocity is a vector, ⟨x′(t),y′(t)⟩\langle x'(t), y'(t) \rangle, that records how fast each coordinate is changing and in which direction. Speed is the length of that vector, (x′(t))2+(y′(t))2\sqrt{(x'(t))^2 + (y'(t))^2}, a single number that is never negative. Two particles can have the same speed and different velocities if they are heading in different directions.

How do I find the total distance traveled by a particle moving in the plane?

Integrate the speed over the time interval: ∫ab(x′(t))2+(y′(t))2 dt\int_a^b \sqrt{(x'(t))^2 + (y'(t))^2}\,dt. Integrating the velocity components instead gives displacement, the net change in position, which is smaller whenever the path bends or doubles back.

Is a vector-valued function the same as a pair of parametric equations?

For AP Calculus BC purposes they carry the same information. The parametric equations x=x(t)x = x(t), y=y(t)y = y(t) and the vector-valued function r(t)=⟨x(t),y(t)⟩\mathbf{r}(t) = \langle x(t), y(t) \rangle describe the same path, and the derivatives are computed the same way. The vector form makes velocity and acceleration easier to write as single objects.

Where this shows up outside calculus class