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)=r⃗0+td⃗\vec{r}(t) = \vec{r}_0 + t\vec{d}.
  • Circular helix: r⃗(t)=(cos⁡t,sin⁡t,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

lim⁡t→t0r⃗(t)=⟨lim⁡f(t),lim⁡g(t),lim⁡h(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⁡Δt→0r⃗(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))′=u⃗′⋅v⃗+u⃗⋅v⃗′(\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⃗:R→Rn\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,sin⁡t,et)\vec{r}(t) = (t^2, \sin t, e^t). r⃗′(t)=(2t,cos⁡t,et)\vec{r}'(t) = (2t, \cos t, e^t).

Q3. Differentiate u⃗(t)⋅v⃗(t)\vec{u}(t) \cdot \vec{v}(t). (u⃗⋅v⃗)′=u⃗′⋅v⃗+u⃗⋅v⃗′(\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)=(cos⁡t, sin⁡t, 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⃗:I→R3\vec{r} : I \to \mathbb{R}^3 assigns each scalar t∈It \in I a position vector r⃗(t)\vec{r}(t). Its derivative is r⃗′(t)=lim⁡Δt→0r⃗(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}'
  • (u⃗⋅v⃗)′=u⃗′⋅v⃗+u⃗⋅v⃗′(\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)=(cos⁡t,sin⁡t,t)\vec{r}(t) = (\cos t, \sin t, t).

Velocity: v⃗(t)=r⃗′(t)=(−sin⁡t,cos⁡t,1)\vec{v}(t) = \vec{r}'(t) = (-\sin t, \cos t, 1).

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

Acceleration: a⃗(t)=v⃗′(t)=(−cos⁡t,−sin⁡t,0)\vec{a}(t) = \vec{v}'(t) = (-\cos t, -\sin t, 0).

Unit tangent: T⃗(t)=v⃗(t)∥v⃗(t)∥=12(−sin⁡t,cos⁡t,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 v⃗⋅a⃗=0\vec{v} \cdot \vec{a} = 0 — velocity and acceleration are perpendicular (characteristic of helical motion at constant speed).