Resources For Teachers For Tutors For Students & Parents Pricing
Year 12 Specialist (Unit 3 & 4) Vector calculus

Differentiating and integrating vector functions

20 practice questions 0 video lessons Theory + worked examples

Bring calculus to moving objects with differentiating and integrating vector functions for Year 12 Specialist Mathematics in Queensland (QCAA). A moving particle’s position vector is worked one component at a time to find its velocity and acceleration, and integrated to reverse the process.

You will learn to differentiate a position vector into velocity and acceleration, integrate acceleration back to velocity and position using a constant vector of integration fixed by initial conditions, and read off speed and path gradient — the foundation for motion in a plane later in Unit 3.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Differentiating and integrating vector functions is the vector calculus of motion in Year 12 Specialist Mathematics (QCAA, Queensland). A position vector \(\mathbf{r}(t)\) is differentiated component by component to give the velocity \(\mathbf{v}=\dot{\mathbf{r}}\) and acceleration \(\mathbf{a}=\ddot{\mathbf{r}}\), and integrated component by component (adding a constant vector fixed by an initial condition) to recover velocity and position.

A vector function of time gives a moving particle’s position at each instant, \(\mathbf{r}(t)=x(t)\mathbf{i}+y(t)\mathbf{j}\). Differentiating and integrating it works exactly like ordinary calculus, done one component at a time.

The velocity is the derivative of position, \(\mathbf{v}(t)=\dot{\mathbf{r}}=\dfrac{d\mathbf{r}}{dt}\); differentiate each component separately. Its magnitude \(|\mathbf{v}|\) is the speed, and the velocity always points along the tangent to the path in the direction of motion.

The acceleration is the derivative of velocity, \(\mathbf{a}(t)=\dot{\mathbf{v}}=\ddot{\mathbf{r}}=\dfrac{d^2\mathbf{r}}{dt^2}\) — differentiate again, once more component by component.

Reversing the process, integration takes \(\mathbf{a}\) back to \(\mathbf{v}\) and \(\mathbf{v}\) back to \(\mathbf{r}\). Each integration introduces a constant vector of integration \(\mathbf{c}\); use a given initial condition such as \(\mathbf{v}(0)\) or \(\mathbf{r}(0)\) to find it. The path gradient follows from the chain rule, \(\dfrac{dy}{dx}=\dfrac{dy/dt}{dx/dt}\).

Velocity and acceleration on a motion path The path r(t)=t i + t squared j is the parabola y=x squared. At the point where t=1, the velocity i+2j is drawn as the forward tangent arrow and the acceleration 2j is drawn as a shorter arrow pointing straight up. x y t=1 v a
Velocity \(\mathbf{v}=\dot{\mathbf{r}}\) is the tangent to the path; acceleration \(\mathbf{a}=\ddot{\mathbf{r}}\) is its rate of change.
Differentiating and integrating a vector function Three boxes stacked vertically: position r(t) at the top, velocity v(t) in the middle, acceleration a(t) at the bottom. Down arrows on the left are labelled differentiate d by dt; up arrows on the right are labelled integrate with a constant vector c. r(t) position v(t) velocity a(t) acceleration differentiate d/dt integrate + c
Differentiate downward (\(\mathbf{r}\to\mathbf{v}\to\mathbf{a}\)); integrate upward, adding a constant vector \(\mathbf{c}\) each time.

For \(\mathbf{r}(t)=x(t)\mathbf{i}+y(t)\mathbf{j}\), differentiate each component to get velocity and acceleration:

\[ \mathbf{v}=\dot{\mathbf{r}}=\dfrac{dx}{dt}\mathbf{i}+\dfrac{dy}{dt}\mathbf{j},\qquad \mathbf{a}=\ddot{\mathbf{r}}=\dfrac{d^2x}{dt^2}\mathbf{i}+\dfrac{d^2y}{dt^2}\mathbf{j} \]
v=drdt

Integrate component by component to reverse the process, adding a constant vector \(\mathbf{c}\):

\[ \mathbf{v}=\int \mathbf{a}\,dt+\mathbf{c},\qquad \mathbf{r}=\int \mathbf{v}\,dt+\mathbf{c} \]
r=vdt+c

The speed, the displacement over an interval, and the path gradient are:

\[ \text{speed}=|\mathbf{v}|=\sqrt{\dot{x}^{2}+\dot{y}^{2}},\qquad \Delta\mathbf{r}=\int_{a}^{b}\mathbf{v}\,dt,\qquad \dfrac{dy}{dx}=\dfrac{dy/dt}{dx/dt} \]
dy/dx=dy/dtdx/dt
Fix the constant vector. Every integration adds a vector \(\mathbf{c}\), not just a number. Substitute the initial condition (for example set \(t=0\) in \(\mathbf{v}=\int\mathbf{a}\,dt+\mathbf{c}\)) to solve for \(\mathbf{c}\) before moving on.

Recovering velocity and position from acceleration

  1. Integrate the acceleration component by component to get \(\mathbf{v}=\int\mathbf{a}\,dt+\mathbf{c}\), keeping the constant vector \(\mathbf{c}\).
  2. Apply the velocity initial condition: substitute the given time into \(\mathbf{v}\) and solve for \(\mathbf{c}\).
  3. Integrate the now-known velocity to get \(\mathbf{r}=\int\mathbf{v}\,dt+\mathbf{c}\), with a new constant vector.
  4. Apply the position initial condition (usually \(\mathbf{r}(0)\)) to find this constant, then answer the question — a value at a time, a speed, or a coordinate.
Example 1 — Differentiate twice
A particle has position vector \(\mathbf{r}(t)=(2t^2+t)\mathbf{i}+t^3\mathbf{j}\) (metres, \(t\) in seconds). Find its velocity and acceleration.
Solution

Differentiate each component once for the velocity \(\mathbf{v}=\dot{\mathbf{r}}\):

\(\mathbf{v}\)\(=\)\(\dfrac{d}{dt}(2t^2+t)\mathbf{i}+\dfrac{d}{dt}(t^3)\mathbf{j}\)
\(=\)\((4t+1)\mathbf{i}+3t^2\mathbf{j}\)

Differentiate again for the acceleration \(\mathbf{a}=\dot{\mathbf{v}}\):

\(\mathbf{a}\)\(=\)\(\dfrac{d}{dt}(4t+1)\mathbf{i}+\dfrac{d}{dt}(3t^2)\mathbf{j}\)
\(=\)\(4\mathbf{i}+6t\mathbf{j}\)

\(\mathbf{v}=(4t+1)\mathbf{i}+3t^2\mathbf{j}\) and \(\mathbf{a}=4\mathbf{i}+6t\mathbf{j}\).

Example 2 — Velocity and speed at a time
A particle moves with \(\mathbf{r}(t)=t^2\mathbf{i}+8t\mathbf{j}\). Find its velocity when \(t=3\) and its speed at that instant.
Solution

Differentiate each component for the velocity, then substitute \(t=3\):

\(\mathbf{v}(t)\)\(=\)\(2t\mathbf{i}+8\mathbf{j}\)
\(\mathbf{v}(3)\)\(=\)\(2\times3\,\mathbf{i}+8\mathbf{j}\)
\(=\)\(6\mathbf{i}+8\mathbf{j}\)

The speed is the magnitude \(|\mathbf{v}(3)|\):

\(|\mathbf{v}(3)|\)\(=\)\(\sqrt{6^2+8^2}\)
\(=\)\(\sqrt{100}\)
\(=\)\(10\)

\(\mathbf{v}(3)=6\mathbf{i}+8\mathbf{j}\), and the speed is \(10\) m/s.

Velocity and acceleration on a motion path The path r(t)=t i + t squared j is the parabola y=x squared. At the point where t=1, the velocity i+2j is drawn as the forward tangent arrow and the acceleration 2j is drawn as a shorter arrow pointing straight up. x y t=1 v a
Example 3 — Integrate acceleration for velocity
A particle has acceleration \(\mathbf{a}(t)=4\mathbf{i}+6t\mathbf{j}\) and initial velocity \(\mathbf{v}(0)=\mathbf{i}-2\mathbf{j}\). Find \(\mathbf{v}(t)\).
Solution

Integrate \(\mathbf{a}\) component by component, keeping the constant vector \(\mathbf{c}\):

\(\mathbf{v}\)\(=\)\(\int\mathbf{a}\,dt\)
\(=\)\(4t\mathbf{i}+3t^2\mathbf{j}+\mathbf{c}\)

Substitute \(t=0\); since the variable terms vanish, \(\mathbf{v}(0)=\mathbf{c}\):

\(\mathbf{v}(0)\)\(=\)\(\mathbf{c}\)
\(\mathbf{c}\)\(=\)\(\mathbf{i}-2\mathbf{j}\)

Put \(\mathbf{c}\) back to complete \(\mathbf{v}(t)\):

\(\mathbf{v}(t)\)\(=\)\((4t+1)\mathbf{i}+(3t^2-2)\mathbf{j}\)

\(\mathbf{v}(t)=(4t+1)\mathbf{i}+(3t^2-2)\mathbf{j}\).

Example 4 — Acceleration to position
A particle has \(\mathbf{a}(t)=6t\mathbf{i}+2\mathbf{j}\), with \(\mathbf{v}(0)=\mathbf{i}+3\mathbf{j}\) and \(\mathbf{r}(0)=2\mathbf{i}-\mathbf{j}\). Find its position \(\mathbf{r}(t)\).
Solution

Integrate \(\mathbf{a}\) for the velocity, then fix \(\mathbf{c}\) from \(\mathbf{v}(0)\):

\(\mathbf{v}\)\(=\)\(3t^2\mathbf{i}+2t\mathbf{j}+\mathbf{c}\)
\(\mathbf{v}(0)\)\(=\)\(\mathbf{c}=\mathbf{i}+3\mathbf{j}\)
\(\mathbf{v}\)\(=\)\((3t^2+1)\mathbf{i}+(2t+3)\mathbf{j}\)

Integrate \(\mathbf{v}\) for the position, then fix the new \(\mathbf{c}\) from \(\mathbf{r}(0)\):

\(\mathbf{r}\)\(=\)\((t^3+t)\mathbf{i}+(t^2+3t)\mathbf{j}+\mathbf{c}\)
\(\mathbf{r}(0)\)\(=\)\(\mathbf{c}=2\mathbf{i}-\mathbf{j}\)
\(\mathbf{r}\)\(=\)\((t^3+t+2)\mathbf{i}+(t^2+3t-1)\mathbf{j}\)

\(\mathbf{r}(t)=(t^3+t+2)\mathbf{i}+(t^2+3t-1)\mathbf{j}\).

Common pitfalls

Forgetting the constant is a vector. Each integration adds a constant vector \(\mathbf{c}\) (one constant per component), not a single scalar. Always write \(+\mathbf{c}\) and find it from an initial condition.
Using the wrong initial condition. Fix the constant from \(\mathbf{v}\) using a velocity condition, and the constant from \(\mathbf{r}\) using a position condition. Do not carry the velocity constant into the position step.
Confusing speed with velocity. Velocity is a vector; speed is its magnitude \(|\mathbf{v}|=\sqrt{\dot{x}^2+\dot{y}^2}\). Take the magnitude only after substituting the time.
Inverting the gradient. The path gradient is \(\dfrac{dy}{dx}=\dfrac{dy/dt}{dx/dt}\) — the \(t\)-derivative of \(y\) over the \(t\)-derivative of \(x\), not the other way round.

Frequently asked questions

How do you differentiate a vector function?

Differentiate each component separately with respect to \(t\). For \(\mathbf{r}=x(t)\mathbf{i}+y(t)\mathbf{j}\), the velocity is \(\mathbf{v}=\dot{x}\mathbf{i}+\dot{y}\mathbf{j}\).

How do you find velocity and acceleration from a position vector?

Velocity is the first derivative \(\mathbf{v}=\dot{\mathbf{r}}\) and acceleration is the second derivative \(\mathbf{a}=\ddot{\mathbf{r}}\); differentiate the position componentwise once, then again.

Why do you add a constant vector when integrating?

Integration reverses differentiation, and differentiation loses any constant. In vectors that constant is a whole vector \(\mathbf{c}\), which you recover from a known velocity or position (an initial condition).

How do you find the constant of integration for a vector function?

Substitute the given time into your integrated expression. For example, setting \(t=0\) in \(\mathbf{v}=\int\mathbf{a}\,dt+\mathbf{c}\) makes the variable terms vanish, so \(\mathbf{c}=\mathbf{v}(0)\).

What is the speed of a particle in terms of its velocity?

Speed is the magnitude of the velocity vector, \(|\mathbf{v}|=\sqrt{\dot{x}^2+\dot{y}^2}\). Substitute the time into \(\mathbf{v}\) first, then take the magnitude.

How do you find the gradient of the path from a vector function?

Use the chain rule \(\dfrac{dy}{dx}=\dfrac{dy/dt}{dx/dt}\): differentiate \(y\) and \(x\) with respect to \(t\) and divide, then substitute the required value of \(t\).