Vector-Valued Functions in AP Calculus BC: From Curves to Motion
Defining and Differentiating Vector-Valued Functions
What a vector-valued function is (and why you use it)
A vector-valued function is a function whose output is a vector rather than a single number. In AP Calculus BC, you typically use vector-valued functions to describe the position of a moving particle in 2D or 3D space.
A good mental picture is this: a regular function y=f(x) assigns one output number to each input. A vector-valued function assigns a whole “location arrow” (a vector) to each input value, usually time. That makes it perfect for describing motion.
In 2D, you’ll most often see
\mathbf{r}(t)=\langle x(t),y(t)\rangle
and in 3D,
\mathbf{r}(t)=\langle x(t),y(t),z(t)\rangle
Here, t is a **parameter** (often time), and x(t),y(t),z(t) are called the **component functions**. The vector \mathbf{r}(t) is usually interpreted as a **position vector** from the origin to the point \big(x(t),y(t)\big) or \big(x(t),y(t),z(t)\big).
Why this matters: many real-world paths are not functions of x (they can fail the vertical line test), but they can still be described perfectly by parameterizing them. For example, a circle is not y=f(x) globally, but it is easy to parameterize.
Connecting vector-valued functions to parametric equations
Vector-valued functions and parametric equations are two ways of saying the same geometric idea.
- Parametric form (2D): x=x(t) and y=y(t)
- Vector form (2D): \mathbf{r}(t)=\langle x(t),y(t)\rangle
So when you differentiate a vector-valued function, you are differentiating the parametric description of a curve.
Notation you must be comfortable with
Vector notation varies by textbook and question, but the meaning is the same.
| Idea | Common notations | Meaning |
|---|---|---|
| Position vector | \mathbf{r}(t), \vec{r}(t) | Location in space at parameter t |
| Component form (2D) | \langle x(t),y(t)\rangle | Ordered pair packed into a vector |
| Component form (3D) | \langle x(t),y(t),z(t)\rangle | Ordered triple packed into a vector |
| Derivative | \mathbf{r}'(t), \dfrac{d\mathbf{r}}{dt} | Rate of change of the vector |
A common misconception is thinking \langle x(t),y(t)\rangle is “two separate functions.” It is, but you should treat it as one object that traces a curve.
Limits and continuity (conceptual, but important)
A vector-valued function approaches a limit by having each component approach its limit. That is,
\lim_{t\to a}\mathbf{r}(t)=\langle \lim_{t\to a}x(t),\lim_{t\to a}y(t)\rangle
(And similarly in 3D.)
This matters because differentiability implies continuity, and many motion questions assume smoothness of the path (no teleporting). If a component has a discontinuity, the position vector has a discontinuity.
Differentiating vector-valued functions: the big idea
The key rule in AP Calculus BC is wonderfully simple:
Differentiate component-by-component.
If
\mathbf{r}(t)=\langle x(t),y(t),z(t)\rangle
then
\mathbf{r}'(t)=\langle x'(t),y'(t),z'(t)\rangle
Why this works: differentiation is built from limits, and limits of vectors work componentwise.
What the derivative means geometrically
For a position function, \mathbf{r}'(t) points in the direction the curve is moving at time t and its magnitude relates to how fast you move along the curve. In other words, it acts like a tangent vector to the path.
You can connect this to the parametric derivative you may already know:
\frac{dy}{dx}=\frac{dy/dt}{dx/dt}
This formula is used when you want the slope of the tangent line in the xy-plane (assuming dx/dt\neq 0).
Basic derivative rules still apply
Because you differentiate componentwise, all the usual rules (power rule, product rule, chain rule, etc.) apply inside each component.
Also, if c is a constant, then
\frac{d}{dt}\big(c\mathbf{r}(t)\big)=c\mathbf{r}'(t)
and if \mathbf{r}(t) and \mathbf{s}(t) are vector-valued functions,
\frac{d}{dt}\big(\mathbf{r}(t)+\mathbf{s}(t)\big)=\mathbf{r}'(t)+\mathbf{s}'(t)
A common error is trying to “distribute” derivatives across something that is not componentwise (like a magnitude). For example, in general,
\frac{d}{dt}\big(|\mathbf{r}(t)|\big)\neq |\mathbf{r}'(t)|
The left side is a derivative of a scalar function (magnitude), while the right side is the magnitude of a derivative vector. They are related, but not equal in general.
Worked example 1: differentiating a vector-valued function
Let
\mathbf{r}(t)=\langle t^2,\sin(t),e^t\rangle
Step 1: Differentiate each component.
- \dfrac{d}{dt}(t^2)=2t
- \dfrac{d}{dt}(\sin(t))=\cos(t)
- \dfrac{d}{dt}(e^t)=e^t
So
\mathbf{r}'(t)=\langle 2t,\cos(t),e^t\rangle
Interpretation: At each time t, the vector \mathbf{r}'(t) gives the instantaneous direction and rate of change of the position.
Worked example 2: tangent line to a parametric curve in the plane
Suppose
\mathbf{r}(t)=\langle t^2-1,\,t^3+2\rangle
Find the equation of the tangent line at t=1.
Step 1: Find the point on the curve.
x(1)=1^2-1=0
y(1)=1^3+2=3
So the point is \big(0,3\big).
Step 2: Compute dy/dx using parametric derivatives.
\frac{dx}{dt}=2t
\frac{dy}{dt}=3t^2
So
\frac{dy}{dx}=\frac{3t^2}{2t}=\frac{3t}{2}
At t=1, slope is
m=\frac{3}{2}
Step 3: Write the tangent line in point-slope form.
y-3=\frac{3}{2}(x-0)
A common mistake here is plugging t=1 into dy/dt and dx/dt but forgetting to divide to get dy/dx.
Exam Focus
- Typical question patterns:
- Given \mathbf{r}(t)=\langle x(t),y(t)\rangle or \langle x(t),y(t),z(t)\rangle, find \mathbf{r}'(t) (and sometimes evaluate at a specific t).
- Find dy/dx or the equation of a tangent line to a parametric curve at a given t.
- Interpret \mathbf{r}'(t) as a tangent/velocity vector.
- Common mistakes:
- Forgetting to differentiate componentwise (for example, differentiating only one component).
- Computing dy/dx as \dfrac{dx/dt}{dy/dt} instead of \dfrac{dy/dt}{dx/dt}.
- Assuming \dfrac{d}{dt}(|\mathbf{r}(t)|)=|\mathbf{r}'(t)|.
Solving Motion Problems Using Parametric and Vector-Valued Functions
Modeling motion: position, velocity, and acceleration
When a vector-valued function represents motion, the parameter t is time (in seconds, for example). The position of a particle at time t is
\mathbf{r}(t)=\langle x(t),y(t)\rangle
or
\mathbf{r}(t)=\langle x(t),y(t),z(t)\rangle
From this single function, calculus produces the key motion quantities:
- Velocity is the derivative of position:
\mathbf{v}(t)=\mathbf{r}'(t)
- Acceleration is the derivative of velocity (or second derivative of position):
\mathbf{a}(t)=\mathbf{v}'(t)=\mathbf{r}''(t)
Why this matters: vector form keeps the geometry intact. Velocity is not just “how fast,” it is “how fast and in what direction.” Acceleration describes how velocity changes, which captures speeding up, slowing down, and turning.
Speed vs. velocity (a difference AP expects you to know)
Velocity is a vector. Speed is a scalar: the magnitude of velocity.
For 2D motion, if
\mathbf{v}(t)=\langle x'(t),y'(t)\rangle
then
|\mathbf{v}(t)|=\sqrt{(x'(t))^2+(y'(t))^2}
For 3D motion,
|\mathbf{v}(t)|=\sqrt{(x'(t))^2+(y'(t))^2+(z'(t))^2}
A very common mistake is to confuse |\mathbf{r}(t)| with speed. |\mathbf{r}(t)| is the distance from the origin, not the speed.
Displacement vs. distance traveled
These two quantities sound similar but behave very differently.
- Displacement from time t=a to t=b is the change in position vector:
\mathbf{r}(b)-\mathbf{r}(a)
- Distance traveled (total path length) from t=a to t=b is the integral of speed:
\int_a^b |\mathbf{v}(t)|\,dt
Why calculus shows up: speed is instantaneous, and integration accumulates that instantaneous “rate of traveling” over time.
A misconception that AP questions often target: if the particle reverses direction, displacement can be small (even zero) while distance traveled is large.
How to solve a typical motion problem (process)
When you are given \mathbf{r}(t) and asked motion questions, a consistent workflow keeps you from getting lost.
- Differentiate to get velocity: \mathbf{v}(t)=\mathbf{r}'(t)
- Differentiate again to get acceleration: \mathbf{a}(t)=\mathbf{r}''(t)
- If asked for speed, compute |\mathbf{v}(t)|.
- If asked for distance traveled, integrate speed: \int |\mathbf{v}(t)|\,dt.
- If asked for position at a time, plug into \mathbf{r}(t).
Units help you self-check:
- \mathbf{r}(t) in meters
- \mathbf{v}(t) in meters per second
- \mathbf{a}(t) in meters per second squared
Worked example 1: velocity, acceleration, and speed
A particle moves in the plane with position
\mathbf{r}(t)=\langle t^2-4t,\,3t+1\rangle
Find \mathbf{v}(t), \mathbf{a}(t), and the speed at t=2.
Step 1: Differentiate to find velocity.
\mathbf{v}(t)=\mathbf{r}'(t)=\langle 2t-4,\,3\rangle
Step 2: Differentiate again to find acceleration.
\mathbf{a}(t)=\mathbf{v}'(t)=\langle 2,\,0\rangle
Interpretation: there is constant acceleration of magnitude 2 in the positive x direction, and none in the y direction.
Step 3: Evaluate velocity at t=2 and take magnitude to get speed.
\mathbf{v}(2)=\langle 2(2)-4,\,3\rangle=\langle 0,\,3\rangle
Speed is
|\mathbf{v}(2)|=\sqrt{0^2+3^2}=3
A common error here is to report \langle 0,3\rangle as the speed. That’s the velocity vector; speed is the magnitude (a single number).
Worked example 2: distance traveled vs. displacement
Let
\mathbf{r}(t)=\langle \cos(t),\sin(t)\rangle
for 0\le t\le 2\pi.
This traces a circle of radius 1, once around.
Step 1: Compute displacement.
\mathbf{r}(0)=\langle 1,0\rangle
\mathbf{r}(2\pi)=\langle 1,0\rangle
So displacement is
\mathbf{r}(2\pi)-\mathbf{r}(0)=\langle 0,0\rangle
Step 2: Compute distance traveled.
Velocity:
\mathbf{v}(t)=\mathbf{r}'(t)=\langle -\sin(t),\cos(t)\rangle
Speed:
|\mathbf{v}(t)|=\sqrt{\sin^2(t)+\cos^2(t)}=1
Distance traveled:
\int_0^{2\pi} 1\,dt=2\pi
So the particle traveled a total distance of 2\pi but ended where it started, giving zero displacement. This exact contrast is a favorite conceptual test.
Finding position from velocity (and using initial conditions)
Sometimes AP problems give you velocity and an initial position. Then you reconstruct position by integration.
If
\mathbf{v}(t)=\mathbf{r}'(t)
then
\mathbf{r}(t)=\int \mathbf{v}(t)\,dt
In practice, that means integrate each component and use the given initial condition to solve for constants.
Worked example 3: recover position from velocity
Suppose
\mathbf{v}(t)=\langle 2t,\,\cos(t)\rangle
and \mathbf{r}(0)=\langle 3,\,-1\rangle. Find \mathbf{r}(t).
Step 1: Integrate componentwise.
\mathbf{r}(t)=\langle \int 2t\,dt,\,\int \cos(t)\,dt\rangle=\langle t^2+C_1,\,\sin(t)+C_2\rangle
Step 2: Use the initial condition.
At t=0:
\mathbf{r}(0)=\langle 0^2+C_1,\,\sin(0)+C_2\rangle=\langle C_1,\,C_2\rangle
Set equal to \langle 3,-1\rangle, so C_1=3 and C_2=-1.
Therefore,
\mathbf{r}(t)=\langle t^2+3,\,\sin(t)-1\rangle
A common mistake is to use one constant C for the entire vector. Each component can require its own constant because each is an independent antiderivative.
Interpreting acceleration and direction changes
Acceleration is not just “speeding up.” In two dimensions, you can speed up, slow down, and turn.
- If velocity changes in magnitude, speed changes.
- If velocity changes in direction, the particle turns.
Even if speed is constant, acceleration might not be zero (circular motion is the classic example). In the unit circle example above, speed was 1 constantly, but the velocity vector kept rotating, so acceleration is nonzero.
You can see this quickly:
\mathbf{a}(t)=\mathbf{v}'(t)=\langle -\cos(t),-\sin(t)\rangle
This points inward toward the origin, causing the direction of motion to change.
A practical memory aid
When motion is described by \mathbf{r}(t), remember the chain
- “Position primes to velocity”
- “Velocity primes to acceleration”
In symbols:
\mathbf{v}(t)=\mathbf{r}'(t)
\mathbf{a}(t)=\mathbf{v}'(t)
This helps you avoid the common error of calling \mathbf{r}'(t) acceleration.
Exam Focus
- Typical question patterns:
- Given \mathbf{r}(t), find \mathbf{v}(t) and \mathbf{a}(t) and evaluate them at a specific time.
- Compute speed |\mathbf{v}(t)|, then use it to find total distance traveled \int_a^b |\mathbf{v}(t)|\,dt.
- Given \mathbf{v}(t) and an initial position \mathbf{r}(t_0), find \mathbf{r}(t) by integration.
- Common mistakes:
- Mixing up displacement \mathbf{r}(b)-\mathbf{r}(a) with distance traveled \int_a^b |\mathbf{v}(t)|\,dt.
- Treating speed as a vector (reporting \mathbf{v}(t) instead of |\mathbf{v}(t)|).
- Forgetting to use separate constants of integration for each component when reconstructing \mathbf{r}(t) from \mathbf{v}(t).