Vector functions and curves
Imagine a tiny bug crawling through empty three dimensional space. At any single moment in time, its location can be written as a point with three coordinates, say \((x, y, z)\). If we want to describe where the bug is for every single moment \(t\) in a time interval, we need three separate numbers that change as \(t\) changes. This leads us to tie three ordinary single variable functions together into a single mathematical object.
A vector-valued function of a single real variable is a rule \(\mathbf{r}\) that assigns to each real number \(t\) in a domain a three dimensional vector \[ \mathbf{r}(t) = \langle x(t), y(t), z(t) \rangle \] where \(x(t)\), \(y(t)\), and \(z(t)\) are real-valued functions of the parameter \(t\), called the component functions.
Geometrically, as \(t\) varies, the tip of the position vector \(\mathbf{r}(t)\) sweeps out a path in space. Think of \(t\) as time. The collection of all points \((x(t), y(t), z(t))\) traced out by the function forms a space curve. The function itself gives both the path and the specific way the bug travels along it.
Derivatives and tangent lines
If you have ever watched a car drive along a winding road, you know that at any instant the car is pointing in a very specific direction, which is straight ahead along the tangent of the road. To find this direction mathematically, we need to take the derivative of a vector-valued function. Just like in single variable calculus, we look at what happens when we move a tiny time step \(\Delta t\) into the future and see how much the position vector changes, then divide by \(\Delta t\) and take the limit as \(\Delta t\) approaches zero.
Let \(\mathbf{r}(t) = \langle x(t), y(t), z(t) \rangle\). The derivative \(\mathbf{r}'(t)\) is defined as \[ \mathbf{r}'(t) = \lim_{\Delta t \to 0} \frac{\mathbf{r}(t + \Delta t) - \mathbf{r}(t)}{\Delta t} \] provided that the limits of the individual component functions exist.
If the component functions \(x(t)\), \(y(t)\), and \(z(t)\) are differentiable at \(t\), then \(\mathbf{r}(t)\) is differentiable at \(t\), and its derivative can be computed by differentiating each component separately: \[ \mathbf{r}'(t) = \langle x'(t), y'(t), z'(t) \rangle \]
Geometrically, the vector \(\mathbf{r}'(t)\) points in the direction of motion and is tangent to the space curve at the point corresponding to \(t\). If \(\mathbf{r}'(t)\) is not the zero vector, we can use it as the direction vector to write the parametric equations of the tangent line to the curve at that point.
Velocity and acceleration
Moving backward from velocity to position is a matter of accumulation, which means integration. If we know how a particle's acceleration changes over time, and we know where it started and how fast it was moving at the beginning, we can piece together its entire journey. Integration of a vector-valued function simply means integrating each component function independently.
The definite integral of a continuous vector-valued function \(\mathbf{r}(t) = \langle x(t), y(t), z(t) \rangle\) from \(t = a\) to \(t = b\) is defined by integrating each component: \[ \int_{a}^{b} \mathbf{r}(t) \, dt = \left\langle \int_{a}^{b} x(t) \, dt, \int_{a}^{b} y(t) \, dt, \int_{a}^{b} z(t) \, dt \right\rangle \]
In physics, if \(\mathbf{r}(t)\) represents the position of a particle at time \(t\), then the first derivative \(\mathbf{v}(t) = \mathbf{r}'(t)\) is the velocity vector, and the second derivative \(\mathbf{a}(t) = \mathbf{v}'(t)\) is the acceleration vector.
Example 3.1: Particle motion
A particle has acceleration \(\langle 0, 0, -10 \rangle\), initial velocity \(\langle 3, 0, 20 \rangle\) and starts at the origin. Find its position and the time it returns to height \(0\).
Solution.
Integrate the acceleration vector to find velocity: \(\mathbf{v}(t) = \int \langle 0, 0, -10 \rangle \, dt = \langle 0, 0, -10t \rangle + \mathbf{C}_1\).
Use the initial velocity \(\mathbf{v}(0) = \langle 3, 0, 20 \rangle\) to find \(\mathbf{C}_1 = \langle 3, 0, 20 \rangle\), so \(\mathbf{v}(t) = \langle 3, 0, 20 - 10t \rangle\).
Integrate the velocity vector to find position: \(\mathbf{r}(t) = \int \langle 3, 0, 20 - 10t \rangle \, dt = \langle 3t, 0, 20t - 5t^2 \rangle + \mathbf{C}_2\).
Use the initial position \(\mathbf{r}(0) = \langle 0, 0, 0 \rangle\) to find \(\mathbf{C}_2 = \langle 0, 0, 0 \rangle\), yielding \(\mathbf{r}(t) = \langle 3t, 0, 20t - 5t^2 \rangle\).
To find when it returns to height \(0\), set the \(z\) component to zero: \(20t - 5t^2 = 0\).
Factor the equation: \(5t(4 - t) = 0\), which gives \(t = 0\) (start time) and \(t = 4\).
The particle returns to height \(0\) at \(t = 4\).
Arc length
If you took a piece of string, laid it along a curved path in space from a starting point to an ending point, and then straightened the string out against a ruler, you would measure the exact arc length of the curve. To calculate this mathematically, we chop the curve into tiny straight line segments, use the distance formula for each tiny segment, and take an integral as the number of segments goes to infinity.
If a smooth curve is given by \(\mathbf{r}(t) = \langle x(t), y(t), z(t) \rangle\) for \(a \le t \le b\), and the curve is traversed exactly once as \(t\) increases from \(a\) to \(b\), the arc length \(L\) is given by \[ L = \int_{a}^{b} |\mathbf{r}'(t)| \, dt = \int_{a}^{b} \sqrt{(x'(t))^2 + (y'(t))^2 + (z'(t))^2} \, dt \]
Example 3.2: Curve length
Find the length of \(r(t) = \langle 2t, t^2, \ln t \rangle\) for \(1 \le t \le 2\).
Solution.
Compute the derivative vector: \(\mathbf{r}'(t) = \langle 2, 2t, \frac{1}{t} \rangle\).
Find the magnitude of the derivative: \(|\mathbf{r}'(t)| = \sqrt{2^2 + (2t)^2 + (\frac{1}{t})^2} = \sqrt{4 + 4t^2 + \frac{1}{t^2}}\).
Notice that the expression inside the square root is a square: \(4 + 4t^2 + \frac{1}{t^2} = (2t + \frac{1}{t})^2\).
Simplify the magnitude: \(|\mathbf{r}'(t)| = 2t + \frac{1}{t}\) since \(t \ge 1\).
Set up the arc length integral: \(L = \int_{1}^{2} (2t + \frac{1}{t}) \, dt\).
Evaluate the antiderivative: \(\left[ t^2 + \ln |t| \right]_{1}^{2}\).
Substitute the upper and lower limits: \((2^2 + \ln 2) - (1^2 + \ln 1)\).
Simplify the result: \(4 + \ln 2 - 1 = \log(2) + 3\).
Unit tangent and curvature
When you travel along a curve, not only do you move, but your steering wheel is constantly turning. Curvature measures how sharply a space curve bends at any given point. A straight line has a curvature of zero everywhere because it never bends. A tiny circle has a massive curvature because it bends around very tightly.
To measure this bending, we first look at the unit tangent vector, which tells us the pure direction of motion without regard to speed.
The unit tangent vector \(\mathbf{T}(t)\) of a differentiable curve is the normalized derivative vector: \[ \mathbf{T}(t) = \frac{\mathbf{r}'(t)}{|\mathbf{r}'(t)|} \]
As you move along a curve, the unit tangent vector \(\mathbf{T}(t)\) changes direction. Curvature is the rate at which \(\mathbf{T}\) changes with respect to the arc length \(s\).
The curvature \(\kappa\) of a space curve is defined as \[ \kappa = \left| \frac{d\mathbf{T}}{ds} \right| \] where \(s\) is the arc length parameter.
In practice, differentiating with respect to arc length \(s\) can be tedious because of chain rule conversions. Using the chain rule with respect to the time parameter \(t\), we can derive a powerful computational formula that involves a cross product of velocity and acceleration.
If \(\mathbf{r}(t)\) is a twice-differentiable curve with \(\mathbf{r}'(t) \neq \mathbf{0}\), the curvature can be computed using the velocity \(\mathbf{r}'(t)\) and acceleration \(\mathbf{r}''(t)\) vectors: \[ \kappa = \frac{|\mathbf{r}'(t) \times \mathbf{r}''(t)|}{|\mathbf{r}'(t)|^3} \]
Example 3.3: Circle curvature
Show that a circle of radius \(a\) has curvature \(1/a\).
Solution.
Parameterize a circle of radius \(a\) in the xy-plane: \(\mathbf{r}(t) = \langle a \cos t, a \sin t, 0 \rangle\) for \(0 \le t < 2\pi\).
Compute the first derivative (velocity): \(\mathbf{r}'(t) = \langle -a \sin t, a \cos t, 0 \rangle\).
Find the magnitude of the first derivative: \(|\mathbf{r}'(t)| = \sqrt{(-a \sin t)^2 + (a \cos t)^2 + 0} = \sqrt{a^2(\sin^2 t + \cos^2 t)} = a\).
Compute the second derivative (acceleration): \(\mathbf{r}''(t) = \langle -a \cos t, -a \sin t, 0 \rangle\).
Calculate the cross product \(\mathbf{r}'(t) \times \mathbf{r}''(t)\):
Evaluate the determinant with standard basis vectors \(\mathbf{i}\), \(\mathbf{j}\), \(\mathbf{k}\).
The \(i\) and \(j\) components evaluate to zero because the z-components are zero.
The \(k\) component is \((-a \sin t)(-a \sin t) - (a \cos t)(-a \cos t) = a^2 \sin^2 t + a^2 \cos^2 t = a^2\).
So the cross product vector is \(\mathbf{r}'(t) \times \mathbf{r}''(t) = \langle 0, 0, a^2 \rangle\).
Find the magnitude of the cross product: \(|\mathbf{r}'(t) \times \mathbf{r}''(t)| = a^2\).
Substitute the magnitude and speed into the curvature formula: \(\kappa = \frac{a^2}{a^3}\).
Simplify the fraction to obtain \(\kappa = \frac{1}{a}\).
Practice
Practice 1: try it first
Find \(r'(0)\) for \(r(t) = \langle e^{2t}, \sin 3t, t^2 \rangle\).
Show the answer
\(\langle 2, 3, 0 \rangle\)
Practice 2: try it first
Find the length of \(r(t) = \langle \cos t, \sin t, t \rangle\) for \(0 \le t \le \pi\).
Show the answer
\(\sqrt{2} \pi\)
Practice 3: try it first
Find the curvature of \(y = x^2\) at the origin.
Show the answer
\(2\)
Want a hint instead of an answer? Practise this chapter with the tutor.