13.2: Calculus of VectorValued Functions
 Page ID
 2595
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
To study the calculus of vectorvalued functions, we follow a similar path to the one we took in studying realvalued functions. First, we define the derivative, then we examine applications of the derivative, then we move on to defining integrals. However, we will find some interesting new ideas along the way as a result of the vector nature of these functions and the properties of space curves.
Derivatives of VectorValued Functions
Now that we have seen what a vectorvalued function is and how to take its limit, the next step is to learn how to differentiate a vectorvalued function. The definition of the derivative of a vectorvalued function is nearly identical to the definition of a realvalued function of one variable. However, because the range of a vectorvalued function consists of vectors, the same is true for the range of the derivative of a vectorvalued function.
Definition: Derivative of VectorValued Functions
The derivative of a vectorvalued function \(\vecs{r}(t)\) is
\[\vecs{r}′(t) = \lim \limits_{\Delta t \to 0} \dfrac{\vecs{r}(t+\Delta t)−\vecs{r}(t)}{ \Delta t} \label{eq1} \]
provided the limit exists. If \(\vecs{r}'(t)\) exists, then \(\vecs{r}(t)\) is differentiable at \(t\). If \(\vecs{r}′(t)\) exists for all \(t\) in an open interval \(\mathrm{(a,b)}\) then \(\vecs{r}(t)\) is differentiable over the interval \(\mathrm{(a,b)}\). For the function to be differentiable over the closed interval \(\mathrm{[a,b]}\), the following two limits must exist as well:
\[\vecs{r}′(a) = \lim \limits_{\Delta t \to 0^+} \dfrac{\vecs{r}(a+\Delta t)−\vecs{r}(a)}{ \Delta t} \]
and
\[\vecs{r}′(b) = \lim \limits_{\Delta t \to 0^} \dfrac{\vecs{r}(b+\Delta t)−\vecs{r}(b)}{ \Delta t}\]
Many of the rules for calculating derivatives of realvalued functions can be applied to calculating the derivatives of vectorvalued functions as well. Recall that the derivative of a realvalued function can be interpreted as the slope of a tangent line or the instantaneous rate of change of the function. The derivative of a vectorvalued function can be understood to be an instantaneous rate of change as well; for example, when the function represents the position of an object at a given point in time, the derivative represents its velocity at that same point in time.
We now demonstrate taking the derivative of a vectorvalued function.
Example \(\PageIndex{1}\): Finding the Derivative of a VectorValued Function
Use the definition to calculate the derivative of the function
\[\vecs{r}(t)=(3t+4) \hat{i}+(t^2−4t+3) \hat{j} .\nonumber\]
Solution
Let’s use Equation \ref{eq1}:
\[\begin{align*} \vecs{r}′(t) & \mathrm{= \lim \limits_{\Delta t \to 0} \dfrac{\vecs{r}(t+Δt)− \vecs{r} (t)}{Δt}} \\[4pt] & \mathrm{= \lim \limits_{\Delta t \to 0} \dfrac{[(3(t+Δt)+4)\hat{i}+((t+Δt)^2−4(t+Δt)+3)\hat{j}]−[(3t+4) \hat{i}+(t^2−4t+3) \hat{j}]}{Δt}} \\[4pt] & \mathrm{= \lim \limits_{\Delta t \to 0} \dfrac{(3t+3Δt+4) 3Δt+4)\hat{i}−(3t+4) \hat{i}+(t^2+2tΔt+(Δt)^2−4t−4Δt+3) \hat{j}−(t^2−4t+3)\hat{j}}{Δt}} \\[4pt] & \mathrm{= \lim \limits_{\Delta t \to 0} \dfrac{(3Δt)3Δt)\hat{i}+(2tΔt+(Δt)^2−4Δt)\hat{j}}{Δt}} \\[4pt] & \mathrm{= \lim \limits_{\Delta t \to 0} (3 \hat{i}+(2t+Δt−4)\hat{j})} \\[4pt] & \mathrm{ =3 \hat{i}+(2t−4) \hat{j} } \end{align*} \]
Exercise \(\PageIndex{1}\)
Use the definition to calculate the derivative of the function \(\vecs{r}(t)=(2t^2+3) \hat{i}+(5t−6) \hat{j}\).
 Hint

Use Equation \ref{eq1}.
 Answer

\[\vecs{r}′(t)=4t \hat{i}+5 \hat{j} \nonumber\]
Notice that in the calculations in Example \(\PageIndex{1}\), we could also obtain the answer by first calculating the derivative of each component function, then putting these derivatives back into the vectorvalued function. This is always true for calculating the derivative of a vectorvalued function, whether it is in two or three dimensions. We state this in the following theorem. The proof of this theorem follows directly from the definitions of the limit of a vectorvalued function and the derivative of a vectorvalued function.
Theorem \(\PageIndex{1}\): Differentiation of VectorValued Functions
Let \(f\), \(g\), and \(h\) be differentiable functions of \(t\).
 If \(\vecs{r}(t)=f(t) \hat{i}+g(t) \hat{j}\) then \[\vecs{r}′(t)=f′(t) \hat{i}+g′(t) \hat{j}.\]
 If \(\vecs{r}(t)=f(t) \hat{i}+g(t) \hat{j} + h(t) \hat{k}\) then \[\vecs{r}′(t)=f′(t) \hat{i}+g′(t) \hat{j} + h′(t) \hat{k}.\]
Example \(\PageIndex{2}\): Calculating the Derivative of VectorValued Functions
Use Theorem \(\PageIndex{1}\) to calculate the derivative of each of the following functions.
 \(\vecs{r}(t)=(6t+8) \hat{i}+(4t^2+2t−3) \hat{j}\)
 \(\vecs{r}(t)=3 \cos t \hat{i}+4 \sin t \hat{j}\)
 \(\vecs{r}(t)=e^t \sin t \hat{i}+e^t \cos t \hat{j}−e^{2t} \hat{k}\)
Solution
We use Theorem \(\PageIndex{1}\) and what we know about differentiating functions of one variable.
 The first component of \[\vecs r(t)=(6t+8) \hat{i}+(4t^2+2t−3) \hat{j} \nonumber\] is \(f(t)=6t+8\). The second component is \(g(t)=4t^2+2t−3\). We have \(f′(t)=6\) and \(g′(t)=8t+2\), so the Theorem \(\PageIndex{1}\) gives \(\vecs r′(t)=6 \hat{i}+(8t+2)\hat{j}\).
 The first component is \(f(t)=3 \cos t\) and the second component is \(g(t)=4 \sin t\). We have \(f′(t)=−3 \sin t\) and \(g′(t)=4 \cos t\), so we obtain \(\vecs r′(t)=−3 \sin t \hat{i}+4 \cos t \hat{j}\).
 The first component of \(\vecs r(t)=e^t \sin t \hat{i}+e^t \cos t \hat{j}−e^{2t} \hat{k}\) is \(f(t)=e^t \sin t\), the second component is \(g(t)=e^t \cos t\), and the third component is \(h(t)=−e^{2t}\). We have \(f′(t)=e^t(\sin t+\cos t)\), \(g′(t)=e^t (\cos t−\sin t)\), and \(h′(t)=−2e^{2t}\), so the theorem gives \(\vecs r′(t)=e^t(\sin t+\cos t)\hat{i}+e^t(\cos t−\sin t)\hat{j}−2e^{2t} \hat{k}\).
Exercise \(\PageIndex{2}\)
Calculate the derivative of the function
\[\vecs{r}(t)=(t \ln t)\hat{i}+(5e^t) \hat{j}+(\cos t−\sin t) \hat{k}. \nonumber\]
 Hint

Identify the component functions and use Theorem \(\PageIndex{1}\).
 Answer

\[\vecs{r}′(t)=(1+ \ln t) \hat{i}+5e^t \hat{j}−(\sin t+\cos t)\hat{k} \nonumber\]
We can extend to vectorvalued functions the properties of the derivative that we presented previously. In particular, the constant multiple rule, the sum and difference rules, the product rule, and the chain rule all extend to vectorvalued functions. However, in the case of the product rule, there are actually three extensions:
 for a realvalued function multiplied by a vectorvalued function,
 for the dot product of two vectorvalued functions, and
 for the cross product of two vectorvalued functions.
Theorem: Properties of the Derivative of VectorValued Functions
Let \(\vecs{r}\) and \(\vecs{u}\) be differentiable vectorvalued functions of \(t\), let \(f\) be a differentiable realvalued function of \(t\), and let \(c\) be a scalar.
\[\begin{array}{lrcll} \mathrm{i.} & \dfrac{d}{dt}[c\vecs r(t)] & = & c\vecs r′(t) & \text{Scalar multiple} \nonumber\\ \mathrm{ii.} & \dfrac{d}{dt}[\vecs r(t)±\vecs u(t)] & = & \vecs r′(t)±\vecs u′(t) & \text{Sum and difference} \nonumber\\ \mathrm{iii.} & \dfrac{d}{dt}[f(t)\vecs u(t)] & = & f′(t)\vecs u(t)+f(t)\vecs u′(t) & \text{Scalar product} \nonumber\\ \mathrm{iv.} & \dfrac{d}{dt}[\vecs r(t)⋅\vecs u(t)] & = & \vecs r′(t)⋅\vecs u(t)+\vecs r(t)⋅\vecs u′(t) & \text{Dot product} \nonumber\\ \mathrm{v.} & \dfrac{d}{dt}[\vecs r(t)×\vecs u(t)] & = & \vecs r′(t)×\vecs u(t)+\vecs r(t)×\vecs u′(t) & \text{Cross product} \nonumber\\ \mathrm{vi.} & \dfrac{d}{dt}[\vecs r(f(t))] & = & \vecs r′(f(t))⋅f′(t) & \text{Chain rule} \nonumber\\ \mathrm{vii.} & \text{If} \; \vecs r(t)·\vecs r(t) & = & c, \text{then} \; \vecs r(t)⋅\vecs r′(t) \; =0 \; . & \mathrm{} \nonumber \end{array} \nonumber \]
Proof
The proofs of the first two properties follow directly from the definition of the derivative of a vectorvalued function. The third property can be derived from the first two properties, along with the product rule. Let \(\vecs u(t)=g(t)\hat{i}+h(t)\hat{j}\). Then
\[\begin{align*} \dfrac{d}{dt}[f(t)\vecs u(t)] \; & =\dfrac{d}{dt}[f(t)(g(t) \hat{i}+h(t) \hat{j})] \\[4pt] & =\dfrac{d}{dt}[f(t)g(t) \hat{i}+f(t)h(t) \hat{j}] \\[4pt] & =\dfrac{d}{dt}[f(t)g(t)] \hat{i}+\dfrac{d}{dt}[f(t)h(t)] \hat{j} \\[4pt] & =(f′(t)g(t)+f(t)g′(t)) \hat{i}+(f′(t)h(t)+f(t)h′(t)) \hat{j} \\[4pt] & =f′(t)\vecs u(t)+f(t)\vecs u′(t). \end{align*} \]
To prove property iv. let \(\vecs r(t)=f_1(t) \hat{i}+g_1(t) \hat{j}\) and \(\vecs u(t)=f_2(t) \hat{i}+g_2(t) \hat{j}\). Then
\[\begin{align*} \dfrac{d}{dt}[\vecs r(t)⋅\vecs u(t)] & =\dfrac{d}{dt}[f_1(t)f_2(t)+g_1(t)g_2(t)] \\[4pt] & =f_1′(t)f_2(t)+f_1(t)f_2′(t)+g_1′(t)g_2(t)+g_1(t)g_2′(t)=f_1′(t)f_2(t)+g_1′(t)g_2(t)+f_1(t)f_2′(t)+g_1(t)g_2′(t) \\[4pt] & =(f_1′ \hat{i}+g_1′ \hat{j})⋅(f_2 \hat{i}+g_2 \hat{j})+(f_1 \hat{i}+g_1 \hat{j})⋅(f_2′ \hat{i}+g_2′ \hat{j}) \\[4pt] & =\vecs r′(t)⋅\vecs u(t)+\vecs r(t)⋅\vecs u′(t). \end{align*} \]
The proof of property v. is similar to that of property iv. Property vi. can be proved using the chain rule. Last, property vii. follows from property iv:
\[\begin{align*} \dfrac{d}{dt}[\vecs r(t)·\vecs r(t)] \; & =\dfrac{d}{dt}[c] \\ \vecs r′(t)·\vecs r(t)+\vecs r(t)·\vecs r′(t) \; & = 0 \\ 2\vecs r(t)·\vecs r′(t) \; & = 0 \\ \vecs r(t)·\vecs r′(t) \; & = 0 \end{align*} \]
Now for some examples using these properties.
Example \(\PageIndex{3}\): Using the Properties of Derivatives of VectorValued Functions
Given the vectorvalued functions
\[\vecs{r}(t)=(6t+8)\hat{i}+(4t^2+2t−3)\hat{j}+5t \hat{k} \nonumber\]
and
\[\vecs{u}(t)=(t^2−3)\hat{i}+(2t+4)\hat{j}+(t^3−3t)\hat{k}, \nonumber\]
calculate each of the following derivatives using the properties of the derivative of vectorvalued functions.
 \(\dfrac{d}{dt}[\vecs{r}(t)⋅ \vecs{u}(t)]\)
 \(\dfrac{d}{dt}[ \vecs{u} (t) \times \vecs{u}′(t)]\)
Solution
We have \(\vecs{r}′(t)=6 \hat{i}+(8t+2) \hat{j}+5 \hat{k}\) and \(\vecs{u}′(t)=2t \hat{i}+2 \hat{j}+(3t^2−3) \hat{k}\). Therefore, according to property iv:

\[\begin{align*} \dfrac{d}{dt}[\vecs r(t)⋅\vecs u(t)] \; = & \vecs r′(t)⋅\vecs u(t)+\vecs r(t)⋅\vecs u′(t) \\ = & (6 \hat{i}+(8t+2) \hat{j}+5 \hat{k})⋅((t^2−3) \hat{i}+(2t+4) \hat{j}+(t^3−3t) \hat{k}) \\[4pt] & +((6t+8) \hat{i}+(4t^2+2t−3) \hat{j}+5t \hat{k})⋅(2t \hat{i}+2 \hat{j}+(3t^2−3)\hat{k}) \\ = & 6(t^2−3)+(8t+2)(2t+4)+5(t^3−3t) \\[4pt] & +2t(6t+8)+2(4t^2+2t−3)+5t(3t^2−3) \\ = & 20t^3+42t^2+26t−16. \end{align*}\]
 First, we need to adapt property v for this problem:
\[\dfrac{d}{dt}[ \vecs{u}(t) \times \vecs{u}′(t)]=\vecs{u}′(t)\times \vecs{u}′(t)+ \vecs{u}(t) \times \vecs{u}′′(t). \nonumber\]
Recall that the cross product of any vector with itself is zero. Furthermore,\(\vecs u′′(t)\) represents the second derivative of \(\vecs u(t):\)
\[\vecs u′′(t)=\dfrac{d}{dt}[\vecs u′(t)]=\dfrac{d}{dt}[2t \hat{i}+2 \hat{j}+(3t^2−3) \hat{k}]=2 \hat{i}+6t \hat{k}. \nonumber\]
Therefore,
\[\begin{align*} \dfrac{d}{dt}[\vecs u(t) \times \vecs u′(t)] \; & =0+((t^2−3)\hat{i}+(2t+4)\hat{j}+(t^3−3t)\hat{k})\times (2 \hat{i}+6t \hat{k}) \\[4pt] & = \begin{array}{ccc} \hat{i} & \hat{j} & \hat{k} \\ t^23 & 2t+4 & t^3 3t \\ 2 & 0 & 6t \end{array} \\[4pt] & =6t(2t+4) \hat{i}−(6t(t^2−3)−2(t^3−3t)) \hat{j}−2(2t+4) \hat{k} \\[4pt] & =(12t^2+24t) \hat{i}+(12t−4t^3) \hat{j}−(4t+8)\hat{k}. \end{align*}\]
Exercise \(\PageIndex{3}\)
Calculate \(\dfrac{d}{dt}[\vecs{r}(t)⋅ \vecs{r}′(t)]\) and \( \dfrac{d}{dt}[\vecs{u}(t) \times \vecs{r}(t)]\) for the vectorvalued functions:
 \(\vecs{r}(t)=\cos t \hat{i}+ \sin t \hat{j}−e^{2t} \hat{k}\)
 \(\vecs{u}(t)=t \hat{i}+ \sin t \hat{j}+ \cos t \hat{k}\),
 Hint

Follow the same steps as in Example \(\PageIndex{3}\).
 Answer

\(\dfrac{d}{dt}[\vecs{r}(t)⋅ \vecs{r}′(t)]=8e^{4t}\)
\( \dfrac{d}{dt}[ \vecs{u}(t) \times \vecs{r}(t)] =−(e^{2t}(\cos t+2 \sin t)+ \cos 2t) \hat{i}+(e^{2t}(2t+1)− \sin 2t) \hat{j}+(t \cos t+ \sin t− \cos 2t) \hat{k}\)
Tangent Vectors and Unit Tangent Vectors
Recall that the derivative at a point can be interpreted as the slope of the tangent line to the graph at that point. In the case of a vectorvalued function, the derivative provides a tangent vector to the curve represented by the function. Consider the vectorvalued function
\[\vecs{r}(t)=\cos t \hat{i} + \sin t \hat{j} \label{eq10}\]
The derivative of this function is
\[\vecs{r}′(t)=−\sin t \hat{i} + \cos t \hat{j} \nonumber \]
If we substitute the value \(t=π/6\) into both functions we get
\[\vecs{r} \left(\dfrac{π}{6}\right)=\dfrac{\sqrt{3}}{2} \hat{i}+\dfrac{1}{2}\hat{j} \nonumber\]
and
\[ \vecs{r}′ \left(\dfrac{π}{6} \right)=−\dfrac{1}{2}\hat{i}+\dfrac{\sqrt{3}}{2}\hat{j}. \nonumber\]
The graph of this function appears in Figure \(\PageIndex{1}\), along with the vectors \(\vecs{r}\left(\dfrac{π}{6}\right)\) and \(\vecs{r}' \left(\dfrac{π}{6}\right)\).
Figure \(\PageIndex{1}\): The tangent line at a point is calculated from the derivative of the vectorvalued function \(\vecs{r}(t)\).
Notice that the vector \(\vecs{r}′\left(\dfrac{π}{6}\right)\) is tangent to the circle at the point corresponding to \(t=\dfrac{π}{6}\). This is an example of a tangent vector to the plane curve defined by Equation \ref{eq10}.
Definition: principal unit tangent vector
Let \(C\) be a curve defined by a vectorvalued function \(\vecs{r}\), and assume that \(\vecs{r}′(t)\) exists when \(\mathrm{t=t_0}\) A tangent vector \(\vecs{r}\) at \(t=t_0\) is any vector such that, when the tail of the vector is placed at point \(\vecs r(t_0)\) on the graph, vector \(\vecs{r}\) is tangent to curve \(C\). Vector \(\vecs{r}′(t_0)\) is an example of a tangent vector at point \(t=t_0\). Furthermore, assume that \(\vecs{r}′(t)≠0\). The principal unit tangent vector at \(t\) is defined to be
\[\vecs{T}(t)=\dfrac{ \vecs{r}′(t)}{‖\vecs{r}′(t)‖},\]
provided \(‖\vecs{r}′(t)‖≠0\).
The unit tangent vector is exactly what it sounds like: a unit vector that is tangent to the curve. To calculate a unit tangent vector, first find the derivative \(\vecs{r}′(t)\). Second, calculate the magnitude of the derivative. The third step is to divide the derivative by its magnitude.
Example \(\PageIndex{4}\): Finding a Unit Tangent Vector
Find the unit tangent vector for each of the following vectorvalued functions:
 \(\vecs{r}(t)=\cos t \hat{i}+\sin t \hat{j}\)
 \(\vecs{u}(t)=(3t^2+2t) \hat{i}+(2−4t^3)\hat{j}+(6t+5)\hat{k}\)
Solution

\(\begin{array}{lrcl} \text{First step:} & \vecs r′(t) & = & − \sin t \hat{i}+ \cos t \hat{j} \\ \text{Second step:} & ‖\vecs r′(t)‖ & = & \sqrt{(− \sin t)^2+( \cos t)^2} = 1 \\ \text{Third step:} & \vecs T(t) & = & \dfrac{\vecs r′(t)}{‖\vecs r′(t)‖}=\dfrac{− \sin t \hat{i}+ \cos t \hat{j}}{1}=− \sin t \hat{i}+ \cos t \hat{j} \end{array}\)  \(\begin{array}{lrcl} \text{First step:} & \vecs r′(t) & = & (6t+2) \hat{i}−12t^2 \hat{j}+6 \hat{k} \\ \text{Second step:} & ‖\vecs r′(t)‖ & = & \sqrt{(6t+2)^2+(−12t^2)^2+6^2} \\ \text{} & \text{} & = & \sqrt{144t^4+36t^2+24t+40} \\ \text{} & \text{} & = & 2 \sqrt{36t^4+9t^2+6t+10} \\ \text{Third step:} & \vecs T(t) & = & \dfrac{\vecs r′(t)}{‖\vecs r′(t)‖}=\dfrac{(6t+2) \hat{i}−12t^2 \hat{j}+6 \hat{k}}{2 \sqrt{36t^4+9t^2+6t+10}} \\ \text{} & \text{} & = & \dfrac{3t+1}{\sqrt{36t^4+9t^2+6t+10}} \hat{i}  \dfrac{6t^2}{\sqrt{36t^4+9t^2+6t+10}} \hat{j} + \dfrac{3}{\sqrt{36t^4+9t^2+6t+10}} \hat{k} \end{array}\)
Exercise \(\PageIndex{4}\)
Find the unit tangent vector for the vectorvalued function
\[\vecs r(t)=(t^2−3)\hat{i}+(2t+1) \hat{j}+(t−2) \hat{k}. \nonumber\]
 Hint

Follow the same steps as in Example \(\PageIndex{4}\).
 Answer

\[\vecs T(t)=\dfrac{2t}{\sqrt{4t^2+5}}\hat{i}+\dfrac{2}{\sqrt{4t^2+5}}\hat{j}+\dfrac{1}{\sqrt{4t^2+5}}\hat{k} \nonumber\]
Integrals of VectorValued Functions
We introduced antiderivatives of realvalued functions in Antiderivatives and definite integrals of realvalued functions in The Definite Integral. Each of these concepts can be extended to vectorvalued functions. Also, just as we can calculate the derivative of a vectorvalued function by differentiating the component functions separately, we can calculate the antiderivative in the same manner. Furthermore, the Fundamental Theorem of Calculus applies to vectorvalued functions as well.
The antiderivative of a vectorvalued function appears in applications. For example, if a vectorvalued function represents the velocity of an object at time t, then its antiderivative represents position. Or, if the function represents the acceleration of the object at a given time, then the antiderivative represents its velocity.
Definition: Definite and indefinite integrals of vectorvalued functions
Let f, g, and h be integrable realvalued functions over the closed interval \(\mathrm{[a,b].}\)
 The indefinite integral of a vectorvalued function \(\vecs{r}(t)=f(t) \hat{i}+g(t) \hat{j}\) is
\[\mathrm{\int [f(t) \hat{i}+g(t) \hat{j}]dt= \left[ \int f(t)dt \right] \hat{i}+ \left[ \int g(t)dt \right] \hat{j}.}\]
The definite integral of a vectorvalued function is\[\mathrm{\int_a^b [f(t) \hat{i}+g(t) \hat{j}]dt = \left[ \int_a^b f(t)dt \right] \hat{i}+ \left[ \int_a^b g(t)dt \right] \hat{j}.}\]
 The indefinite integral of a vectorvalued function \(\mathrm{r(t)=f(t) \hat{i}+g(t) \hat{j}+h(t) \hat{k}}\) is
\[\mathrm{\int [f(t) \hat{i}+g(t)\hat{j} + h(t) \hat{k}]dt= \left[ \int f(t)dt \right] \hat{i}+ \left[ \int g(t)dt \right] \hat{j} + \left[ \int h(t)dt \right] \hat{k}.}\]
The definite integral of the vectorvalued function is\[\mathrm{\int_a^b [f(t) \hat{i}+g(t) \hat{j} + h(t) \hat{k}]dt= \left[ \int_a^b f(t)dt \right] \hat{i}+ \left[ \int_a^b g(t)dt \right] \hat{j} + \left[ \int_a^b h(t)dt \right] \hat{k}.}\]
Since the indefinite integral of a vectorvalued function involves indefinite integrals of the component functions, each of these component integrals contains an integration constant. They can all be different. For example, in the twodimensional case, we can have
\[\mathrm{\int f(t)dt=F(t)+C_1 \; and \; \int g(t)dt=G(t)+C_2,} \nonumber\]
where F and G are antiderivatives of f and g, respectively. Then
\[\begin{align*} \mathrm{\int [f(t) \hat{i}+g(t) \hat{j}]dt \;} & \mathrm{ = \left[ \int f(t)dt \right] \hat{i}+ \left[ \int g(t)dt \right] \hat{j}} \\[4pt] & \mathrm{= (F(t)+C_1) \hat{i}+(G(t)+C_2) \hat{j}} \\[4pt] & \mathrm{=F(t) \hat{i}+G(t) \hat{j}+C_1 \hat{i}+C_2 \hat{j}} \\[4pt] & \mathrm{= F(t) \hat{i}+G(t) \hat{j}+\vecs{C}} \end{align*}\]
where \(\vecs{C}=C_1 \hat{i}+C_2 \hat{j}\). Therefore, the integration constants becomes a constant vector.
Example \(\PageIndex{5}\): Integrating VectorValued Functions
Calculate each of the following integrals:
 \( \displaystyle \int [(3t^2+2t) \hat{i}+(3t−6) \hat{j}+(6t^3+5t^2−4) \hat{k}]dt\)
 \( \displaystyle \int [⟨t,t^2,t^3⟩ \times ⟨t^3,t^2,t⟩] dt\)
 \( \displaystyle \int_{0}^{\frac{\pi}{3}} [\sin 2t \hat{i}+ \tan t \hat{j}+e^{−2t} \hat{k}]dt\)
Solution
 We use the first part of the definition of the integral of a space curve:
\[\begin{align*} \mathrm{\int[(3t^2+2t)\hat{i}+(3t−6) \hat{j}+(6t^3+5t^2−4)\hat{k}]dt} & \mathrm{=\left[\int 3t^2+2tdt \right]\hat{i}+ \left[\int 3t−6dt \right] \hat{j}+ \left[\int 6t^3+5t^2−4dt \right] \hat{k}} \\[4pt] & \mathrm{=(t^3+t^2) \hat{i}+(\dfrac{3}{2}t^2−6t) \hat{j}+(\dfrac{3}{2}t^4+\dfrac{5}{3}t^3−4t)\hat{k}+\vecs C.} \end{align*}\]
 First calculate \(\mathrm{⟨t,t^2,t^3⟩ \times ⟨t^3,t^2,t⟩:}\)
\[\begin{align*} \mathrm{⟨t,t^2,t^3⟩ \times ⟨t^3,t^2,t⟩} & = \begin{array}{ccc} \hat{i} & \hat{j} & \hat{k} \\ \mathrm{t} & \mathrm{t^2} & \mathrm{t^3} \\ \mathrm{t^3} & \mathrm{t^2} & \mathrm{t} \end{array} \\[4pt] & \mathrm{=(t^2(t)−t^3(t^2)) \hat{i}−(t^2−t^3(t^3))\hat{j}+(t(t^2)−t^2(t^3))\hat{k}} \\[4pt] & \mathrm{=(t^3−t^5)\hat{i}+(t^6−t^2)\hat{j}+(t^3−t^5)\hat{k}.} \end{align*} \]
Next, substitute this back into the integral and integrate:\[\begin{align*} \mathrm{\int [⟨t,t^2,t^3⟩ \times ⟨t^3,t^2,t⟩]dt \;} & \mathrm{ = \int (t^3−t^5) \hat{i}+(t^6−t^2) \hat{j}+(t^3−t^5)\hat{k}dt} \\[4pt] & \mathrm{=(\dfrac{t^4}{4}−\dfrac{t^6}{6})\hat{i}+(\dfrac{t^7}{7}−\dfrac{t^3}{3})\hat{j}+(\dfrac{t^4}{4}−\dfrac{t^6}{6})\hat{k}+\vecs C.} \end{align*}\]
 Use the second part of the definition of the integral of a space curve:
\[\begin{align*} \mathrm{\int_0^{\dfrac{\pi}{3}} [\sin 2t \hat{i}+ \tan t \hat{j}+e^{−2t} \hat{k}]dt} & \mathrm{=\left[\int_0^{\dfrac{π}{3}} \sin 2t dt \right] \hat{i}+ \left[ \int_0^{\dfrac{π}{3}} \tan t dt \right] \hat{j}+\left[\int_0^{\dfrac{π}{3}}e^{−2t}dt \right] \hat{k}} \\[4pt] & \mathrm{= (−12 \cos 2t) \vert_{0}^{π/3} \hat{i}−( \ln (\cos t))\vert_{0}^{π/3} \hat{j}−(\dfrac{1}{2}e^{−2t})\vert_{0}^{π/3} \hat{k}} \\[4pt] & \mathrm{=(−\dfrac{1}{2} \cos \dfrac{2π}{3}+\dfrac{1}{2} \cos 0) \hat{i}−( \ln ( \cos \dfrac{π}{3})− \ln( \cos 0)) \hat{j}−( \dfrac{1}{2}e^{−2π/3}−\dfrac{1}{2}e^{−2(0)}) \hat{k}} \\[4pt] & \mathrm{=(\dfrac{1}{4}+\dfrac{1}{2}) \hat{i}−(−\ln 2) \hat{j}−(\dfrac{1}{2}e^{−2π/3}−\dfrac{1}{2}) \hat{k}} \\[4pt] & \mathrm{=\dfrac{3}{4}\hat{i}+(\ln 2) \hat{j}+(\dfrac{1}{2}−\dfrac{1}{2}e^{−2π/3})\hat{k}.} \end{align*}\]
Exercise \(\PageIndex{5}\)
Calculate the following integral:
\[\int_1^3 [(2t+4) \hat{i}+(3t^2−4t) \hat{j}]dt \nonumber\]
 Hint

Use the definition of the definite integral of a plane curve.
 Answer

\[\int_1^3 [(2t+4) \hat{i}+(3t^2−4t) \hat{j}]dt = 16 \hat{i}+10 \hat{j} \nonumber\]
Summary
 To calculate the derivative of a vectorvalued function, calculate the derivatives of the component functions, then put them back into a new vectorvalued function.
 Many of the properties of differentiation of scalar fundtions also apply to vectorvalued functions.
 The derivative of a vectorvalued function \(r(t)\) is also a tangent vector to the curve. The unit tangent vector \(T(t)\) is calculated by dividing the derivative of a vectorvalued function by its magnitude.
 The antiderivative of a vectorvalued function is found by finding the antiderivatives of the component functions, then putting them back together in a vectorvalued function.
 The definite integral of a vectorvalued function is found by finding the definite integrals of the component functions, then putting them back together in a vectorvalued function.
Key Equations
 Derivative of a vectorvalued function\[\vecs r′(t) = \lim \limits_{\Delta t \to 0} \dfrac{\vecs r(t+\Delta t)−\vecs r(t)}{ \Delta t} \nonumber\]
 Principal unit tangent vector \[\vecs T(t)=\frac{\vecs r′(t)}{‖\vecs r′(t)‖} \nonumber\]
 Indefinite integral of a vectorvalued function \[\int [f(t) \hat{i}+g(t)\hat{j} + h(t) \hat{k}]dt= \left[ \int f(t)dt \right] \hat{i}+ \left[ \int g(t)dt \right] \hat{j} + \left[ \int h(t)dt \right] \hat{k}\nonumber\]
 Definite integral of a vectorvalued function \[\int_a^b [f(t) \hat{i}+g(t) \hat{j} + h(t) \hat{k}]dt= \left[\int_a^b f(t)dt \right] \hat{i}+ \left[ \int _a^b g(t)dt \right] \hat{j} + \left[ \int _a^b h(t)dt \right] \hat{k}\nonumber\]
Glossary
 definite integral of a vectorvalued function
 the vector obtained by calculating the definite integral of each of the component functions of a given vectorvalued function, then using the results as the components of the resulting function
 derivative of a vectorvalued function
 the derivative of a vectorvalued function \(\vecs{r}(t)\) is \(\vecs{r}′(t) = \lim \limits_{\Delta t \to 0} \frac{\vecs r(t+\Delta t)−\vecs r(t)}{ \Delta t}\), provided the limit exists
 indefinite integral of a vectorvalued function
 a vectorvalued function with a derivative that is equal to a given vectorvalued function
 principal unit tangent vector
 a unit vector tangent to a curve C
 tangent vector
 to \(\vecs{r}(t)\) at \(t=t_0\) any vector \(\vecs v\) such that, when the tail of the vector is placed at point \(\vecs r(t_0)\) on the graph, vector \(\vecs{v}\) is tangent to curve C
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is licensed with a CCBYSANC 4.0 license. Download for free at http://cnx.org.