Lesson 6 of 8 · 18 min

Integrating vector functions and straight-line motion

Integrate acceleration and velocity vectors component by component, use initial conditions to find the vector constant, and derive equations of motion for a particle moving in a straight line.

What you will be able to do

  • Integrate a vector function component by component, including a vector constant of integration.
  • Use a known velocity or position at a given time to find the constant.
  • Derive v=u+at\mathbf{v} = \mathbf{u} + \mathbf{a}t and r=r0+ut+12at2\mathbf{r} = \mathbf{r}_0 + \mathbf{u}t + \frac{1}{2}\mathbf{a}t^2, and model straight-line motion with constant or variable acceleration.

Accelerometers in a phone or a drone measure acceleration, not position. To know where the device is, you have to undo the differentiation: integrate acceleration to get velocity, then integrate velocity to get position. As with derivatives, it happens one component at a time.

Key idea

Integrate each component

∫(f(t) i^+g(t) j^) dt=(∫f(t) dt)i^+(∫g(t) dt)j^+C\int \big(f(t)\,\hat{\mathbf{i}} + g(t)\,\hat{\mathbf{j}}\big)\,dt = \left(\int f(t)\,dt\right)\hat{\mathbf{i}} + \left(\int g(t)\,dt\right)\hat{\mathbf{j}} + \mathbf{C}

Each component has its own constant, so the constant is a vector, C=C1i^+C2j^\mathbf{C} = C_1\hat{\mathbf{i}} + C_2\hat{\mathbf{j}}. One known vector, such as the velocity at t=0t = 0, fixes all of it at once.

A particle has acceleration a(t)=6t i^−2 j^\mathbf{a}(t) = 6t\,\hat{\mathbf{i}} - 2\,\hat{\mathbf{j}}, initial velocity 2i^+3j^2\hat{\mathbf{i}} + 3\hat{\mathbf{j}} and starts at i^\hat{\mathbf{i}}.

Integrate: v(t)=3t2 i^−2t j^+C\mathbf{v}(t) = 3t^2\,\hat{\mathbf{i}} - 2t\,\hat{\mathbf{j}} + \mathbf{C}. At t=0t = 0, v(0)=C=2i^+3j^\mathbf{v}(0) = \mathbf{C} = 2\hat{\mathbf{i}} + 3\hat{\mathbf{j}}, so

v(t)=(3t2+2) i^+(3−2t) j^.\mathbf{v}(t) = (3t^2 + 2)\,\hat{\mathbf{i}} + (3 - 2t)\,\hat{\mathbf{j}}.

Integrate again: r(t)=(t3+2t) i^+(3t−t2) j^+D\mathbf{r}(t) = (t^3 + 2t)\,\hat{\mathbf{i}} + (3t - t^2)\,\hat{\mathbf{j}} + \mathbf{D}. At t=0t = 0, r(0)=D=i^\mathbf{r}(0) = \mathbf{D} = \hat{\mathbf{i}}, so

r(t)=(t3+2t+1) i^+(3t−t2) j^.\mathbf{r}(t) = (t^3 + 2t + 1)\,\hat{\mathbf{i}} + (3t - t^2)\,\hat{\mathbf{j}}.

Check by differentiating twice: you get back 6t i^−2 j^6t\,\hat{\mathbf{i}} - 2\,\hat{\mathbf{j}}.

A particle has velocity v(t)=4t i^+3 j^\mathbf{v}(t) = 4t\,\hat{\mathbf{i}} + 3\,\hat{\mathbf{j}} and position r(0)=2i^−j^\mathbf{r}(0) = 2\hat{\mathbf{i}} - \hat{\mathbf{j}}. Find r(t)\mathbf{r}(t). Enter the i^\hat{\mathbf{i}} and j^\hat{\mathbf{j}} components as expressions in tt.

A particle has velocity v(t)=et i^+2t j^\mathbf{v}(t) = e^t\,\hat{\mathbf{i}} + 2t\,\hat{\mathbf{j}}, and at t=1t = 1 it is at e i^+3 j^e\,\hat{\mathbf{i}} + 3\,\hat{\mathbf{j}}. Find r(t)\mathbf{r}(t).

Worked example

From acceleration to position

  • Complex familiar
  • Technology free

A particle has acceleration a(t)=6t i^−4cos⁡(2t) j^\mathbf{a}(t) = 6t\,\hat{\mathbf{i}} - 4\cos(2t)\,\hat{\mathbf{j}}. Initially it is at 3i^+2j^3\hat{\mathbf{i}} + 2\hat{\mathbf{j}} with velocity 2i^−j^2\hat{\mathbf{i}} - \hat{\mathbf{j}}.

Find its velocity v(t)\mathbf{v}(t) and position r(t)\mathbf{r}(t).

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Integrate each component and add a vector constant.

  2. Evaluate at the known time; remember cos⁡(0)=1\cos(0) = 1 and e0=1e^0 = 1.

  3. Repeat for position with a new constant.

  4. Differentiate your answer to check it.

Watch out for

  • Assuming the constant equals the initial position when a component such as cos⁡(2t)\cos(2t) is not zero at t=0t = 0.

  • Using the same constant for velocity and position.

Constant acceleration. If a\mathbf{a} is a constant vector, u\mathbf{u} is the initial velocity and r0\mathbf{r}_0 the initial position, integrating twice gives

v=u+at,r=r0+ut+12at2.\mathbf{v} = \mathbf{u} + \mathbf{a}t, \qquad \mathbf{r} = \mathbf{r}_0 + \mathbf{u}t + \tfrac{1}{2}\mathbf{a}t^2.

These are the constant-acceleration formulas from physics, now in vector form.

When is the motion in a straight line?

If u\mathbf{u} and a\mathbf{a} are parallel, say u=p d\mathbf{u} = p\,\mathbf{d} and a=q d\mathbf{a} = q\,\mathbf{d} for a fixed vector d\mathbf{d}, then

r=r0+(pt+12qt2)d.\mathbf{r} = \mathbf{r}_0 + \left(pt + \tfrac{1}{2}qt^2\right)\mathbf{d}.

Every position is r0\mathbf{r}_0 plus a multiple of d\mathbf{d}, so the particle stays on the line through r0\mathbf{r}_0 with direction d\mathbf{d}. The same holds for variable acceleration: if r(t)=r0+f(t) d\mathbf{r}(t) = \mathbf{r}_0 + f(t)\,\mathbf{d} for some scalar function ff, the motion is along that line, with velocity f′(t) df'(t)\,\mathbf{d} and acceleration f′′(t) df''(t)\,\mathbf{d}.

If u\mathbf{u} and a\mathbf{a} are not parallel, the path curves; projectiles are the classic case.

Key idea

Straight-line motion in vector form

A particle moves along a straight line when its position can be written r(t)=r0+f(t) d\mathbf{r}(t) = \mathbf{r}_0 + f(t)\,\mathbf{d}. The scalar f(t)f(t) behaves exactly like displacement in Mathematical Methods: f′(t)f'(t) and f′′(t)f''(t) tell you when it stops, turns and speeds up. Distances are multiples of ∣d∣|\mathbf{d}|.

Worked example

Constant acceleration along a straight line

  • Complex familiar
  • Technology free

A particle starts at i^+2j^\hat{\mathbf{i}} + 2\hat{\mathbf{j}} with velocity 6i^+8j^ m s−16\hat{\mathbf{i}} + 8\hat{\mathbf{j}}\ \mathrm{m\,s^{-1}} and has constant acceleration −3i^−4j^ m s−2-3\hat{\mathbf{i}} - 4\hat{\mathbf{j}}\ \mathrm{m\,s^{-2}}.

(a) Find v(t)\mathbf{v}(t) and r(t)\mathbf{r}(t).

(b) Show that the particle moves along a straight line.

(c) Find where it is when it stops, and the total distance it travels in the first 4 seconds.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Constant acceleration: v=u+at\mathbf{v} = \mathbf{u} + \mathbf{a}t, r=r0+ut+12at2\mathbf{r} = \mathbf{r}_0 + \mathbf{u}t + \frac{1}{2}\mathbf{a}t^2.

  2. If u\mathbf{u} and a\mathbf{a} are parallel, write r=r0+f(t)d\mathbf{r} = \mathbf{r}_0 + f(t)\mathbf{d}.

  3. Treat f(t)f(t) as straight-line displacement: stops when f′(t)=0f'(t) = 0; distances are multiples of ∣d∣|\mathbf{d}|.

Watch out for

  • Giving the distance in 4 s as 0 m. That is the displacement.

  • Forgetting the factor ∣d∣=5|\mathbf{d}| = 5 when converting f(t)f(t) to metres.

Interactive

Motion along the line

A particle with r(t)=(3i^+j^)+(t3−2t2)(2i^−j^)\mathbf{r}(t) = (3\hat{\mathbf{i}} + \hat{\mathbf{j}}) + (t^3 - 2t^2)(2\hat{\mathbf{i}} - \hat{\mathbf{j}}) moves along a line. The explorer shows the scalar f(t)=t3−2t2f(t) = t^3 - 2t^2, measured in steps of 2i^−j^2\hat{\mathbf{i}} - \hat{\mathbf{j}}. When is the particle at rest? When is it back where it started?

The particle in the explorer has v(t)=(3t2−4t)(2i^−j^)\mathbf{v}(t) = (3t^2 - 4t)(2\hat{\mathbf{i}} - \hat{\mathbf{j}}). For t>0t > 0, at what time is it at rest? Give an exact answer.

Worked example

Variable acceleration along a straight line

  • Complex unfamiliar
  • Technology free

A particle starts from rest at 3i^+j^3\hat{\mathbf{i}} + \hat{\mathbf{j}} and has acceleration a(t)=(6t−4)(2i^−j^) m s−2\mathbf{a}(t) = (6t - 4)(2\hat{\mathbf{i}} - \hat{\mathbf{j}})\ \mathrm{m\,s^{-2}}.

(a) Show that the particle moves along a straight line, and find the line's Cartesian equation.

(b) Find the exact distance the particle travels in the first 2 seconds.

6 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Integrate twice, keeping the constant direction vector outside.

  2. Write r=r0+f(t)d\mathbf{r} = \mathbf{r}_0 + f(t)\mathbf{d} to show straight-line motion.

  3. Find turning points from f′(t)=0f'(t) = 0 and add the distances of each leg.

  4. Multiply by ∣d∣|\mathbf{d}| to convert to metres.

Watch out for

  • Giving 0 m because the particle is back at its start at t=2t = 2.

  • Forgetting to multiply by 5\sqrt{5}.

Common mistake

One constant for every component

Writing v(t)=3t2i^−2tj^+C\mathbf{v}(t) = 3t^2\hat{\mathbf{i}} - 2t\hat{\mathbf{j}} + C with a single number CC hides the fact that each component has its own constant. Write C\mathbf{C} (or C1i^+C2j^C_1\hat{\mathbf{i}} + C_2\hat{\mathbf{j}}), and find both from the initial condition.

Exam tip

Show the constant

Markers give a mark for using the initial condition. Write it as a line of working: "v(0)=2i^+3j^\mathbf{v}(0) = 2\hat{\mathbf{i}} + 3\hat{\mathbf{j}}, so C=2i^+3j^\mathbf{C} = 2\hat{\mathbf{i}} + 3\hat{\mathbf{j}}". Then check your r(t)\mathbf{r}(t) satisfies the given position.

Summary

  • Integrate a vector function component by component and add a vector constant C\mathbf{C}.

  • Find C\mathbf{C} by substituting the time of the known velocity or position; it need not be t=0t = 0.

  • From acceleration: integrate once for velocity, again for position, with a new constant each time.

  • Constant acceleration: v=u+at\mathbf{v} = \mathbf{u} + \mathbf{a}t and r=r0+ut+12at2\mathbf{r} = \mathbf{r}_0 + \mathbf{u}t + \frac{1}{2}\mathbf{a}t^2.

  • If r(t)=r0+f(t)d\mathbf{r}(t) = \mathbf{r}_0 + f(t)\mathbf{d}, the motion is along a straight line; analyse f(t)f(t) as one-dimensional motion and scale distances by ∣d∣|\mathbf{d}|.

Finished the lesson?

Try the 3 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 6 of 80% read

Save your progress with a free account