PGD01C01
Module 4 · Vectors and Geometry of Space

Vector-Valued Functions: Differentiation and Integration

Core Titles
Key headlines and terms for quick recall
  • Vector-valued function r(t)=f(t),g(t),h(t)\vec{r}(t) = \langle f(t), g(t), h(t) \rangle
  • Domain, Range — set of parameter values, image curve
  • Limit, Continuity — componentwise
  • Derivative r(t)=f(t),g(t),h(t)\vec{r}'(t) = \langle f'(t), g'(t), h'(t) \rangle — tangent vector
  • Velocity, Speed, Acceleration in motion
  • Integration — componentwise
  • Product rules (dot, cross, scalar)
Basic Idea
What it is, why it matters, how it works

What is a vector-valued function?

A function that maps a scalar parameter tt to a vector: r(t)=f(t)i^+g(t)j^+h(t)k^.\vec{r}(t) = f(t)\hat{i} + g(t)\hat{j} + h(t)\hat{k}. As tt varies, the tip of r(t)\vec{r}(t) traces a curve in space.

Examples.

  • Straight line: r(t)=r0+td\vec{r}(t) = \vec{r}_0 + t\vec{d}.
  • Circular helix: r(t)=(cost,sint,t)\vec{r}(t) = (\cos t, \sin t, t).
  • Parabola in plane: r(t)=(t,t2,0)\vec{r}(t) = (t, t^2, 0).

Limits and continuity

limtt0r(t)=limf(t),limg(t),limh(t).\lim_{t \to t_0} \vec{r}(t) = \left\langle \lim f(t), \lim g(t), \lim h(t) \right\rangle. r\vec{r} is continuous at t0t_0 iff all components are continuous.

Derivative (tangent vector)

r(t)=f(t),g(t),h(t)=limΔt0r(t+Δt)r(t)Δt.\vec{r}'(t) = \langle f'(t), g'(t), h'(t) \rangle = \lim_{\Delta t \to 0} \frac{\vec{r}(t + \Delta t) - \vec{r}(t)}{\Delta t}. Geometrically, r(t)\vec{r}'(t) is tangent to the curve at r(t)\vec{r}(t) (when non-zero).

Unit tangent T(t)=r(t)r(t)\vec{T}(t) = \dfrac{\vec{r}'(t)}{\|\vec{r}'(t)\|}.

Motion

If r(t)\vec{r}(t) is position:

  • Velocity v(t)=r(t)\vec{v}(t) = \vec{r}'(t)
  • Speed =v(t)= \|\vec{v}(t)\|
  • Acceleration a(t)=v(t)=r(t)\vec{a}(t) = \vec{v}'(t) = \vec{r}''(t)

Product rules

  • (u(t)+v(t))=u(t)+v(t)(\vec{u}(t) + \vec{v}(t))' = \vec{u}'(t) + \vec{v}'(t)
  • (cu)=cu(c\vec{u})' = c\vec{u}'
  • (u(t)v(t))=uv+uv(\vec{u}(t) \cdot \vec{v}(t))' = \vec{u}' \cdot \vec{v} + \vec{u} \cdot \vec{v}'
  • (u(t)×v(t))=u×v+u×v(\vec{u}(t) \times \vec{v}(t))' = \vec{u}' \times \vec{v} + \vec{u} \times \vec{v}' — order matters!

Integration

r(t)dt=f,g,h+C.\int \vec{r}(t)\, dt = \langle \textstyle\int f, \int g, \int h \rangle + \vec{C}.

Why this matters in Data Science

Continuous trajectories in motion-tracking, robotics, time-series of vector embeddings, paths through optimisation landscapes.

Mind Map
Visual structure of the concept
VECTOR-VALUED FUNCTIONS
├── r(t) = ⟨f(t), g(t), h(t)⟩
├── Curve in space
├── Limits / continuity: componentwise
├── Derivative r'(t)
│   ├── Tangent vector
│   ├── Unit tangent T(t) = r'/‖r'‖
│   └── Velocity, speed, acceleration
├── Product rules
│   ├── (u·v)' = u'·v + u·v'
│   └── (u×v)' = u'×v + u×v' (order!)
└── Integration: componentwise
Exam Q&A
Part A (2 marks) and Part B (20 marks) style questions

Part A (2 marks each)

Q1. Define a vector-valued function. A function r:RRn\vec{r} : \mathbb{R} \to \mathbb{R}^n whose value at each tt is a vector — e.g., r(t)=f(t),g(t),h(t)\vec{r}(t) = \langle f(t), g(t), h(t) \rangle.

Q2. State the derivative of r(t)=(t2,sint,et)\vec{r}(t) = (t^2, \sin t, e^t). r(t)=(2t,cost,et)\vec{r}'(t) = (2t, \cos t, e^t).

Q3. Differentiate u(t)v(t)\vec{u}(t) \cdot \vec{v}(t). (uv)=uv+uv(\vec{u} \cdot \vec{v})' = \vec{u}' \cdot \vec{v} + \vec{u} \cdot \vec{v}'.

Q4. What is the unit tangent vector? T(t)=r(t)r(t)\vec{T}(t) = \dfrac{\vec{r}'(t)}{\|\vec{r}'(t)\|}.


Part B (20 marks)

Q. Define vector-valued functions and their derivatives. State product rules for vector derivatives. For the curve r(t)=(cost,sint,t)\vec{r}(t) = (\cos t,\, \sin t,\, t), find the velocity, speed, acceleration, and unit tangent at t=π/2t = \pi/2.

Definitions. A vector-valued function r:IR3\vec{r} : I \to \mathbb{R}^3 assigns each scalar tIt \in I a position vector r(t)\vec{r}(t). Its derivative is r(t)=limΔt0r(t+Δt)r(t)Δt=f,g,h.\vec{r}'(t) = \lim_{\Delta t \to 0} \frac{\vec{r}(t + \Delta t) - \vec{r}(t)}{\Delta t} = \langle f', g', h' \rangle. It is tangent to the curve at r(t)\vec{r}(t).

Product rules. For differentiable u,v\vec{u}, \vec{v} and scalar ϕ\phi:

  • (ϕu)=ϕu+ϕu(\phi \vec{u})' = \phi' \vec{u} + \phi \vec{u}'
  • (uv)=uv+uv(\vec{u} \cdot \vec{v})' = \vec{u}' \cdot \vec{v} + \vec{u} \cdot \vec{v}'
  • (u×v)=u×v+u×v(\vec{u} \times \vec{v})' = \vec{u}' \times \vec{v} + \vec{u} \times \vec{v}' (preserve order — cross product is non-commutative).

Helix r(t)=(cost,sint,t)\vec{r}(t) = (\cos t, \sin t, t).

Velocity: v(t)=r(t)=(sint,cost,1)\vec{v}(t) = \vec{r}'(t) = (-\sin t, \cos t, 1).

Speed: v(t)=sin2t+cos2t+1=2\|\vec{v}(t)\| = \sqrt{\sin^2 t + \cos^2 t + 1} = \sqrt{2} — constant.

Acceleration: a(t)=v(t)=(cost,sint,0)\vec{a}(t) = \vec{v}'(t) = (-\cos t, -\sin t, 0).

Unit tangent: T(t)=v(t)v(t)=12(sint,cost,1)\vec{T}(t) = \dfrac{\vec{v}(t)}{\|\vec{v}(t)\|} = \dfrac{1}{\sqrt{2}}(-\sin t, \cos t, 1).

At t=π/2t = \pi/2. v(π/2)=(1,0,1)\vec{v}(\pi/2) = (-1, 0, 1), speed =2= \sqrt{2}. a(π/2)=(0,1,0)\vec{a}(\pi/2) = (0, -1, 0). T(π/2)=12(1,0,1)\vec{T}(\pi/2) = \dfrac{1}{\sqrt{2}}(-1, 0, 1).

Note that va=0\vec{v} \cdot \vec{a} = 0 — velocity and acceleration are perpendicular (characteristic of helical motion at constant speed).