Skip to main content

Code Scholars Tutoring · AP Calculus BC

Integrating vector functions and recovering position

Unit 9 · Topics 9.5 · Detailed notes, a worked example, and a self-check with reasoning.

Understand the idea

Integrate a vector-valued function one component at a time. Integrating velocity gives a family of position functions, and an initial position determines the separate constants. A definite integral of velocity gives displacement, which is a vector from the initial point to the final point.

Use the same input interval for every component. Each component can require a different integration technique and a different constant. When an initial time is not zero, a position formula using a definite integral from that time often makes the condition easiest to track.

The magnitude of a displacement vector is the direct endpoint distance. It usually differs from total distance traveled, because a curved or reversing path can be longer than the straight connection between its endpoints.

r(t)=r(t0)+∫t0tv(s) ds,∫abv(t) dt=r(b)−r(a)\mathbf r(t)=\mathbf r(t_0)+\int_{t_0}^{t}\mathbf v(s)\,ds,\qquad \int_a^b\mathbf v(t)\,dt=\mathbf r(b)-\mathbf r(a)

A method you can apply

  1. Integrate each component of velocity and keep its constant.
  2. Apply every component of the initial position at the stated initial time.
  3. Differentiate the resulting position to check the velocity and verify the initial point.

Worked example

Given v(t)=⟨2t,3t2⟩\displaystyle \mathbf v(t)=\langle2t,3t^2\rangle and r(0)=⟨1,−2⟩\displaystyle \mathbf r(0)=\langle1,-2\rangle, find position and displacement from 0\displaystyle 0 to 2\displaystyle 2.

  1. Integrating gives r(t)=⟨t2+C1,t3+C2⟩\displaystyle \mathbf r(t)=\langle t^2+C_1,t^3+C_2\rangle.
  2. The initial position gives C1=1\displaystyle C_1=1 and C2=−2\displaystyle C_2=-2.
  3. Thus r(2)=⟨5,6⟩\displaystyle \mathbf r(2)=\langle5,6\rangle and subtracting r(0)\displaystyle \mathbf r(0) gives displacement ⟨4,8⟩\displaystyle \langle4,8\rangle.
Position is r(t)=⟨t2+1,t3−2⟩\displaystyle \mathbf r(t)=\langle t^2+1,t^3-2\rangle and the displacement is ⟨4,8⟩\displaystyle \langle4,8\rangle.

Try it yourself

Recover position from v(t)=⟨cos⁡t,2⟩\displaystyle \mathbf v(t)=\langle\cos t,2\rangle and r(0)=⟨0,1⟩\displaystyle \mathbf r(0)=\langle0,1\rangle. Find position at π/2\displaystyle \pi/2.

Show solution and reasoning

Integrating and applying the condition gives r(t)=⟨sin⁡t,2t+1⟩\displaystyle \mathbf r(t)=\langle\sin t,2t+1\rangle. Consequently r(π/2)=⟨1,π+1⟩\displaystyle \mathbf r(\pi/2)=\langle1,\pi+1\rangle.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse, this material.