Skip to content
Family Table Math
Auto

Vector-Valued Functions

A vector-valued function packs a pair of parametric equations into one object: a vector whose tip traces the curve as tt changes. The good news is that the calculus is no harder than what you already know. You differentiate and integrate one component at a time. This notation is the language of motion in the plane, which comes next in motion with vectors.

A vector in the plane has two components, written with angle brackets: ⟨3,−2⟩\langle 3, -2 \rangle means “3 right, 2 down”. A vector-valued function assigns a vector to each tt:

r⃗(t)=⟨x(t), y(t)⟩\vec{r}(t) = \langle x(t),\ y(t) \rangle

You’ll also see it written r⃗(t)=x(t) i+y(t) j\vec{r}(t) = x(t)\,\mathbf{i} + y(t)\,\mathbf{j}, or with a bold r(t)\mathbf{r}(t). They all mean the same thing. AP questions usually use the angle-bracket form, so we’ll use ⟨ , ⟩\langle\ ,\ \rangle for components and r⃗(t)\vec{r}(t) for the function’s name.

Think of r⃗(t)\vec{r}(t) as an arrow from the origin to the point (x(t),y(t))(x(t), y(t)). As tt changes, the arrow’s tip traces the same curve as the parametric equations x=x(t)x = x(t), y=y(t)y = y(t).

r⃗ ′(t)=⟨x′(t), y′(t)⟩,r⃗ ′′(t)=⟨x′′(t), y′′(t)⟩\vec{r}\,'(t) = \langle x'(t),\ y'(t) \rangle, \qquad \vec{r}\,''(t) = \langle x''(t),\ y''(t) \rangle

All the usual rules (power, product, chain, and so on) apply to each component separately.

What r⃗ ′(t)\vec{r}\,'(t) means. Drawn starting at the point (x(t),y(t))(x(t), y(t)), the vector r⃗ ′(t)\vec{r}\,'(t) is tangent to the curve and points in the direction of increasing tt. Its slope is y′(t)x′(t)\dfrac{y'(t)}{x'(t)}, which is the same dydx\dfrac{dy}{dx} you found for parametric curves.

The ellipse traced by r(t) = <3 cos t, 2 sin t>, counterclockwise. The position vector r(pi/3) points from the origin to (3/2, root 3), and the derivative r'(pi/3) = <-3 root 3 / 2, 1> starts there, tangent to the ellipse. −3 −2 −1 1 2 3 −2 −1 1 2 3 r(π/3) r′(π/3) (3/2, √3) x y
For r⃗(t)=⟨3cos⁡t,2sin⁡t⟩\vec{r}(t) = \langle 3\cos t, 2\sin t \rangle (Example 2): the position vector r⃗(π3)\vec{r}\left( \frac{\pi}{3} \right) and the tangent vector r⃗ ′(π3)\vec{r}\,'\left( \frac{\pi}{3} \right).
∫r⃗(t) dt=⟨∫x(t) dt, ∫y(t) dt⟩\int \vec{r}(t)\, dt = \left\langle \int x(t)\, dt,\ \int y(t)\, dt \right\rangle

An indefinite integral gets a constant in each component. You can write them as a constant vector: + C⃗+\ \vec{C}, where C⃗=⟨C1,C2⟩\vec{C} = \langle C_1, C_2 \rangle.

A definite integral gives a vector of numbers:

∫abr⃗ ′(t) dt=r⃗(b)−r⃗(a)\int_a^b \vec{r}\,'(t)\, dt = \vec{r}(b) - \vec{r}(a)

This is the Fundamental Theorem of Calculus, applied to each component. It’s the net change in r⃗\vec{r}.

If you know r⃗ ′(t)\vec{r}\,'(t) and one value such as r⃗(0)\vec{r}(0), you can find r⃗(t)\vec{r}(t): integrate each component, then use the initial condition to find each constant. Equivalently,

r⃗(t)=r⃗(0)+∫0tr⃗ ′(u) du\vec{r}(t) = \vec{r}(0) + \int_0^t \vec{r}\,'(u)\, du

Trig functions on this page use radians, as all AP calculus does.

Let r⃗(t)=⟨t3−2t, e2t⟩\vec{r}(t) = \langle t^3 - 2t,\ e^{2t} \rangle. Find r⃗ ′(t)\vec{r}\,'(t), r⃗ ′′(t)\vec{r}\,''(t) and r⃗ ′(0)\vec{r}\,'(0).

Solution. Differentiate each component:

r⃗ ′(t)=⟨3t2−2, 2e2t⟩,r⃗ ′′(t)=⟨6t, 4e2t⟩\vec{r}\,'(t) = \langle 3t^2 - 2,\ 2e^{2t} \rangle, \qquad \vec{r}\,''(t) = \langle 6t,\ 4e^{2t} \rangle r⃗ ′(0)=⟨0−2, 2e0⟩=⟨−2,2⟩\vec{r}\,'(0) = \langle 0 - 2,\ 2e^0 \rangle = \langle -2, 2 \rangle

Example 2: The tangent vector on an ellipse

Section titled “Example 2: The tangent vector on an ellipse”

Let r⃗(t)=⟨3cos⁡t, 2sin⁡t⟩\vec{r}(t) = \langle 3\cos t,\ 2\sin t \rangle. Find r⃗(π3)\vec{r}\left( \dfrac{\pi}{3} \right), r⃗ ′(π3)\vec{r}\,'\left( \dfrac{\pi}{3} \right), and the slope of the tangent line at t=π3t = \dfrac{\pi}{3}.

Solution. Using cos⁡π3=12\cos\dfrac{\pi}{3} = \dfrac{1}{2} and sin⁡π3=32\sin\dfrac{\pi}{3} = \dfrac{\sqrt{3}}{2}:

r⃗(π3)=⟨32, 3⟩\vec{r}\left( \frac{\pi}{3} \right) = \left\langle \frac{3}{2},\ \sqrt{3} \right\rangle r⃗ ′(t)=⟨−3sin⁡t, 2cos⁡t⟩,r⃗ ′(π3)=⟨−332, 1⟩\vec{r}\,'(t) = \langle -3\sin t,\ 2\cos t \rangle, \qquad \vec{r}\,'\left( \frac{\pi}{3} \right) = \left\langle -\frac{3\sqrt{3}}{2},\ 1 \right\rangle

The slope of the tangent line is

y′x′=1−33/2=−233=−239\frac{y'}{x'} = \frac{1}{-3\sqrt{3}/2} = -\frac{2}{3\sqrt{3}} = -\frac{2\sqrt{3}}{9}

The figure above shows this: at (32,3)\left( \tfrac{3}{2}, \sqrt{3} \right) the tangent vector points up and to the left, because the ellipse is traced counterclockwise.

Given r⃗ ′(t)=⟨6t2, 1t+1⟩\vec{r}\,'(t) = \left\langle 6t^2,\ \dfrac{1}{t + 1} \right\rangle for t>−1t \gt -1 and r⃗(0)=⟨1,−3⟩\vec{r}(0) = \langle 1, -3 \rangle, find r⃗(t)\vec{r}(t).

Solution. Integrate each component:

r⃗(t)=⟨2t3+C1, ln⁡(t+1)+C2⟩\vec{r}(t) = \big\langle 2t^3 + C_1,\ \ln(t + 1) + C_2 \big\rangle

(No absolute value is needed, since t+1>0t + 1 \gt 0.) Use r⃗(0)=⟨1,−3⟩\vec{r}(0) = \langle 1, -3 \rangle:

0+C1=1 ⇒ C1=1,ln⁡1+C2=−3 ⇒ C2=−30 + C_1 = 1 \ \Rightarrow\ C_1 = 1, \qquad \ln 1 + C_2 = -3 \ \Rightarrow\ C_2 = -3 r⃗(t)=⟨2t3+1, ln⁡(t+1)−3⟩\vec{r}(t) = \big\langle 2t^3 + 1,\ \ln(t + 1) - 3 \big\rangle

Check: r⃗(0)=⟨1,0−3⟩=⟨1,−3⟩\vec{r}(0) = \langle 1, 0 - 3 \rangle = \langle 1, -3 \rangle.

Example 4: A definite integral and net change

Section titled “Example 4: A definite integral and net change”

Evaluate ∫0π⟨sin⁡t, 2t⟩ dt\displaystyle\int_0^{\pi} \langle \sin t,\ 2t \rangle\, dt. If r⃗ ′(t)=⟨sin⁡t, 2t⟩\vec{r}\,'(t) = \langle \sin t,\ 2t \rangle and r⃗(0)=⟨1,0⟩\vec{r}(0) = \langle 1, 0 \rangle, find r⃗(π)\vec{r}(\pi).

Solution.

∫0π⟨sin⁡t, 2t⟩ dt=⟨[−cos⁡t]0π, [t2]0π⟩=⟨1+1, π2⟩=⟨2, π2⟩\int_0^{\pi} \langle \sin t,\ 2t \rangle\, dt = \left\langle \Big[ -\cos t \Big]_0^{\pi},\ \Big[ t^2 \Big]_0^{\pi} \right\rangle = \langle 1 + 1,\ \pi^2 \rangle = \langle 2,\ \pi^2 \rangle

This is the net change r⃗(π)−r⃗(0)\vec{r}(\pi) - \vec{r}(0), so

r⃗(π)=⟨1,0⟩+⟨2,π2⟩=⟨3, π2⟩\vec{r}(\pi) = \langle 1, 0 \rangle + \langle 2, \pi^2 \rangle = \langle 3,\ \pi^2 \rangle

Only one constant of integration. Each component gets its own constant. Writing ⟨2t3,ln⁡(t+1)⟩+C\langle 2t^3, \ln(t + 1) \rangle + C with a single number CC added to both is wrong unless CC is a vector ⟨C1,C2⟩\langle C_1, C_2 \rangle.

Treating the vector as a single number. You can’t “multiply out” or divide the components by each other. r⃗ ′(t)\vec{r}\,'(t) is a vector; the slope y′x′\dfrac{y'}{x'} is a number. Make sure your answer has the form the question asks for.

Forgetting the initial position. ∫0tr⃗ ′(u) du\int_0^t \vec{r}\,'(u)\, du is the change in r⃗\vec{r}, not r⃗(t)\vec{r}(t) itself. Add r⃗(0)\vec{r}(0).

Mixing up the components. Keep xx first and yy second all the way through. A swapped answer like ⟨π2,2⟩\langle \pi^2, 2 \rangle in Example 4 is a different vector.

Drawing the tangent vector from the origin. The position vector starts at the origin. The derivative r⃗ ′(t)\vec{r}\,'(t) is drawn starting at the point on the curve, where it shows the direction of motion.

1. (Warm-up) Let r⃗(t)=⟨t2, 5t−1⟩\vec{r}(t) = \langle t^2,\ 5t - 1 \rangle. Find r⃗ ′(t)\vec{r}\,'(t) and r⃗ ′(2)\vec{r}\,'(2).

Solutionr⃗ ′(t)=⟨2t, 5⟩,r⃗ ′(2)=⟨4, 5⟩\vec{r}\,'(t) = \langle 2t,\ 5 \rangle, \qquad \vec{r}\,'(2) = \langle 4,\ 5 \rangle

2. (Warm-up) Find ∫⟨2t, 3⟩ dt\displaystyle\int \langle 2t,\ 3 \rangle\, dt.

Solution∫⟨2t, 3⟩ dt=⟨t2+C1, 3t+C2⟩\int \langle 2t,\ 3 \rangle\, dt = \langle t^2 + C_1,\ 3t + C_2 \rangle

3. (Warm-up) Let r⃗(t)=⟨et, ln⁡t⟩\vec{r}(t) = \langle e^t,\ \ln t \rangle for t>0t \gt 0. Find r⃗ ′′(t)\vec{r}\,''(t).

Solutionr⃗ ′(t)=⟨et, 1t⟩,r⃗ ′′(t)=⟨et, −1t2⟩\vec{r}\,'(t) = \left\langle e^t,\ \frac{1}{t} \right\rangle, \qquad \vec{r}\,''(t) = \left\langle e^t,\ -\frac{1}{t^2} \right\rangle

4. (Core) Let r⃗(t)=⟨t2−1, t3−t⟩\vec{r}(t) = \langle t^2 - 1,\ t^3 - t \rangle. Find r⃗ ′(t)\vec{r}\,'(t), and the equation of the tangent line to the curve at t=2t = 2.

Solution

r⃗ ′(t)=⟨2t, 3t2−1⟩\vec{r}\,'(t) = \langle 2t,\ 3t^2 - 1 \rangle, so r⃗ ′(2)=⟨4,11⟩\vec{r}\,'(2) = \langle 4, 11 \rangle and the slope is 114\dfrac{11}{4}.

The point is r⃗(2)=⟨3,6⟩\vec{r}(2) = \langle 3, 6 \rangle. Tangent line:

y−6=114(x−3)y - 6 = \frac{11}{4}(x - 3)

5. (Core) Given r⃗ ′(t)=⟨cos⁡t, −2sin⁡(2t)⟩\vec{r}\,'(t) = \langle \cos t,\ -2\sin(2t) \rangle and r⃗(0)=⟨3,1⟩\vec{r}(0) = \langle 3, 1 \rangle, find r⃗(t)\vec{r}(t) and r⃗(π2)\vec{r}\left( \dfrac{\pi}{2} \right).

Solutionr⃗(t)=⟨sin⁡t+C1, cos⁡(2t)+C2⟩\vec{r}(t) = \langle \sin t + C_1,\ \cos(2t) + C_2 \rangle

At t=0t = 0: 0+C1=30 + C_1 = 3 and 1+C2=11 + C_2 = 1, so C1=3C_1 = 3 and C2=0C_2 = 0.

r⃗(t)=⟨3+sin⁡t, cos⁡(2t)⟩,r⃗(π2)=⟨3+1, cos⁡π⟩=⟨4, −1⟩\vec{r}(t) = \langle 3 + \sin t,\ \cos(2t) \rangle, \qquad \vec{r}\left( \frac{\pi}{2} \right) = \langle 3 + 1,\ \cos\pi \rangle = \langle 4,\ -1 \rangle

6. (Core) Evaluate ∫14⟨t, 1t⟩dt\displaystyle\int_1^4 \left\langle \sqrt{t},\ \frac{1}{t} \right\rangle dt.

Solution⟨[23t3/2]14, [ln⁡t]14⟩=⟨23(8−1), ln⁡4⟩=⟨143, ln⁡4⟩\left\langle \left[ \frac{2}{3}t^{3/2} \right]_1^4,\ \Big[ \ln t \Big]_1^4 \right\rangle = \left\langle \frac{2}{3}(8 - 1),\ \ln 4 \right\rangle = \left\langle \frac{14}{3},\ \ln 4 \right\rangle

7. (Core) A ball is thrown from a point 22 m above the ground. Its acceleration is r⃗ ′′(t)=⟨0,−9.8⟩\vec{r}\,''(t) = \langle 0, -9.8 \rangle m/s², its initial velocity is r⃗ ′(0)=⟨20,15⟩\vec{r}\,'(0) = \langle 20, 15 \rangle m/s, and r⃗(0)=⟨0,2⟩\vec{r}(0) = \langle 0, 2 \rangle (in metres, with xx horizontal and yy the height). Find r⃗(t)\vec{r}(t), and the height of the ball when it is 3030 m away horizontally.

Solution

Integrate once and use r⃗ ′(0)\vec{r}\,'(0):

r⃗ ′(t)=⟨0+C1, −9.8t+C2⟩=⟨20, 15−9.8t⟩\vec{r}\,'(t) = \langle 0 + C_1,\ -9.8t + C_2 \rangle = \langle 20,\ 15 - 9.8t \rangle

Integrate again and use r⃗(0)\vec{r}(0):

r⃗(t)=⟨20t, 2+15t−4.9t2⟩\vec{r}(t) = \langle 20t,\ 2 + 15t - 4.9t^2 \rangle

x=30x = 30 when 20t=3020t = 30, so t=1.5t = 1.5 s. The height is

y(1.5)=2+22.5−11.025=13.475 my(1.5) = 2 + 22.5 - 11.025 = 13.475 \text{ m}

8. (Challenge) Given r⃗ ′(t)=⟨2tet2, 11+t2⟩\vec{r}\,'(t) = \left\langle 2te^{t^2},\ \dfrac{1}{1 + t^2} \right\rangle and r⃗(0)=⟨−1,2⟩\vec{r}(0) = \langle -1, 2 \rangle, find r⃗(1)\vec{r}(1) exactly.

Solution

Use r⃗(1)=r⃗(0)+∫01r⃗ ′(t) dt\vec{r}(1) = \vec{r}(0) + \displaystyle\int_0^1 \vec{r}\,'(t)\, dt.

First component (substitute u=t2u = t^2, du=2t dtdu = 2t\, dt):

∫012tet2 dt=[et2]01=e−1\int_0^1 2te^{t^2}\, dt = \Big[ e^{t^2} \Big]_0^1 = e - 1

Second component:

∫0111+t2 dt=[arctan⁡t]01=π4\int_0^1 \frac{1}{1 + t^2}\, dt = \Big[ \arctan t \Big]_0^1 = \frac{\pi}{4}r⃗(1)=⟨−1+e−1, 2+π4⟩=⟨e−2, 2+π4⟩\vec{r}(1) = \left\langle -1 + e - 1,\ 2 + \frac{\pi}{4} \right\rangle = \left\langle e - 2,\ 2 + \frac{\pi}{4} \right\rangle

9. (Challenge) (Calculator active.) Given r⃗ ′(t)=⟨1+t3, cos⁡(t2)⟩\vec{r}\,'(t) = \left\langle \sqrt{1 + t^3},\ \cos(t^2) \right\rangle and r⃗(0)=⟨2,−1⟩\vec{r}(0) = \langle 2, -1 \rangle, find r⃗(2)\vec{r}(2). Explain why a calculator is needed.

Solution

Neither 1+t3\sqrt{1 + t^3} nor cos⁡(t2)\cos(t^2) has an antiderivative you can write with ordinary functions, so evaluate the definite integrals numerically (radian mode):

r⃗(2)=⟨2+∫021+t3 dt, −1+∫02cos⁡(t2) dt⟩≈⟨2+3.241, −1+0.461⟩=⟨5.241, −0.539⟩\vec{r}(2) = \left\langle 2 + \int_0^2 \sqrt{1 + t^3}\, dt,\ -1 + \int_0^2 \cos(t^2)\, dt \right\rangle \approx \langle 2 + 3.241,\ -1 + 0.461 \rangle = \langle 5.241,\ -0.539 \rangle