# 9.7: Derivatives and Integrals of Vector-Valued Functions

- Page ID
- 108003

- What do we mean by the derivative of a vector-valued function and how do we calculate it?
- What does the derivative of a vector-valued function measure?
- What do we mean by the integral of a vector-valued function and how do we compute it?
- How do we describe the motion of a projectile if the only force acting on the object is acceleration due to gravity?

A vector-valued function \(\mathbf{r}\) determines a curve in space as the collection of terminal points of the vectors \(\mathbf{r}(t)\text{.}\) If the curve is smooth, it is natural to ask whether \(\mathbf{r}(t)\) has a derivative. In the same way, our experiences with integrals in single-variable calculus prompt us to wonder what the integral of a vector-valued function might be and what it might tell us. We explore both of these questions in detail in this section.

For now, let's recall some important ideas from calculus I. Given a function \(s\) that measures the position of an object moving along an axis, its derivative, \(s'\text{,}\) is defined by

\[ s'(t) = \lim_{h \to 0} \frac{s(t+h) - s(t)}{h}, \nonumber \]

and measures the instantaneous rate of change of \(s\) with respect to time. In particular, for a fixed value \(t = a\text{,}\) \(s'(a)\) measures the velocity of the moving object, as well as the slope of the tangent line to the curve \(y = s(t)\) at the point \((a,s(a))\text{.}\)

As we work with vector-valued functions, we will strive to update these ideas and perspectives into the context of curves in space and outputs that are vectors.

Let \(\mathbf{r}(t) = \cos(t) \mathbf{i} + \sin(2t) \mathbf{j}\) describe the path traveled by an object at time \(t\text{.}\)

- Use appropriate technology to help you sketch the graph of the vector-valued function \(\mathbf{r}\text{,}\) and then locate and label the point on the graph when \(t=\pi\text{.}\)
- Recall that for functions of a single variable, the derivative of a sum is the sum of the derivatives; that is, \(\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)\text{.}\) With this idea in mind and viewing \(\mathbf{i}\) and \(\mathbf{j}\) as constant vectors, what do you expect the derivative of \(\mathbf{r}\) to be? Write a proposed formula for \(\mathbf{r}'(t)\text{.}\)
- Use your result from part (b) to compute \(\mathbf{r}'(\pi)\text{.}\) Sketch this vector \(\mathbf{r}'(\pi)\) as emanating from the point on the graph of \(\mathbf{r}\) when \(t=\pi\), and explain what you think \(\mathbf{r}'(\pi)\) tells us about the object's motion.

## The Derivative

In single variable calculus, we define the derivative, \(f'\text{,}\) of a given function \(f\) by

\[ f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}, \nonumber \]

provided the limit exists. At a given value of \(a\text{,}\) \(f'(a)\) measures the instantaneous rate of change of \(f\text{,}\) and also tells us the slope of the tangent line to the curve \(y = f(x)\) at the point \((a, f(a))\text{.}\) The definition of the derivative extends naturally to vector-valued functions and curves in space.

The **derivative of a vector-valued function** \(\mathbf{r}\) is defined to be

\[ \mathbf{r}'(t) = \lim_{h \to 0} \frac{\mathbf{r}(t+h)-\mathbf{r}(t)}{h} \nonumber \]

for those values of \(t\) at which the limit exists. We also use the notation \(\frac{d\mathbf{r}}{dt}\) and \(\frac{d}{dt}[\mathbf{r}(t)]\) for \(\mathbf{r}'(t)\text{.}\)

Let's investigate how we can interpret the derivative \(\mathbf{r}'(t)\text{.}\) Let \(\mathbf{r}\) be the vector-valued function whose graph is shown in Figure \(\PageIndex{2}\), and let \(h\) be a scalar that represents a small change in time. The vector \(\mathbf{r}(t)\) is the blue vector in Figure \(\PageIndex{1}\) and \(\mathbf{r}(t+h)\) is the green vector.

- Is the quantity \(\mathbf{r}(t+h)-\mathbf{r}(t)\) a vector or a scalar? Identify this object in Figure \(\PageIndex{1}\).
- Is \(\frac{\mathbf{r}(t+h)-\mathbf{r}(t)}{h}\) a vector or a scalar? Sketch a representative vector \(\frac{\mathbf{r}(t+h)-\mathbf{r}(t)}{h}\) with \(h \lt 1\) in Figure \(\PageIndex{2}\).
- Think of \(\mathbf{r}(t)\) as providing the position of an object moving along the curve these vectors trace out. What do you think that the vector \(\frac{\mathbf{r}(t+h)-\mathbf{r}(t)}{h}\) measures? Why? (Hint: You might think analogously about difference quotients such as \(\frac{f(x+h) - f(x)}{h}\) or \(\frac{s(t+h) - s(t)}{h}\) from calculus I.)
- Figure \(\PageIndex{2}\) presents three snapshots of the vectors \(\frac{\mathbf{r}(t+h)-\mathbf{r}(t)}{h}\) as we let \(h \to 0\text{.}\) Write 2-3 sentences to describe key attributes of the vector
\[ \lim_{h \to 0} \frac{\mathbf{r}(t+h)-\mathbf{r}(t)}{h}. \nonumber \]
(Hint: Compare to limits such as \(\lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\) or \(\lim_{h \to 0} \frac{s(t+h) - s(t)}{h}\) from calculus I, keeping in mind that in three dimensions there is no general concept of slope.)

As Activity \(\PageIndex{2}\) indicates, if \(\mathbf{r}(t)\) determines the position of an object at time \(t\text{,}\) then \(\frac{\mathbf{r}(t+h)-\mathbf{r}(t)}{h}\) represents the average rate of change in the position of the object over the interval \([t,t+h]\text{,}\) which is also the average velocity of the object on this interval. Thus, the derivative

\[ \mathbf{r}'(t) = \lim_{h \to 0} \frac{\mathbf{r}(t+h)-\mathbf{r}(t)}{h} \nonumber \]

is the instantaneous rate of change of \(\mathbf{r}(t)\) at time \(t\) (for those values of \(t\) for which the limit exists), so \(\mathbf{r}'(t) = \mathbf{v}(t)\) is the instantaneous velocity of the object at time \(t\text{.}\) Furthermore, we can interpret the derivative \(\mathbf{r}'(t)\) as the direction vector of the line tangent to the graph of \(\mathbf{r}\) at the value \(t\text{.}\)

Similarly,

\[ \mathbf{v}'(t) = \mathbf{r}''(t) = \lim_{h \to 0} \frac{\mathbf{v}(t+h)-\mathbf{v}(t)}{h} \nonumber \]

is the instantaneous rate of change of the velocity of the object at time \(t\text{,}\) for those values of \(t\) for which the limits exists, and thus \(\mathbf{v}'(t) = \mathbf{a}(t)\) is the acceleration of the moving object.

*Note well:* Both the velocity and acceleration are *vector quantities*: they have magnitude and direction. By contrast, the magnitude of the velocity vector, \(| \mathbf{v}(t) |\text{,}\) which is the *speed* of the object at time \(t\text{,}\) is a scalar quantity.

## Computing Derivatives

As we learned in single variable calculus, computing derivatives from the definition is often difficult. Fortunately, properties of the limit make it straightforward to calculate the derivative of a vector-valued function similar to how we developed shortcut differentiation rules in calculus I. To see why, recall that the limit of a sum is the sum of the limits, and that we can remove constant factors from limits. Thus, as we observed in a particular example in Preview Activity \(\PageIndex{1}\), if \(\mathbf{r}(t) = x(t) \mathbf{i} + y(t) \mathbf{j} + z(t) \mathbf{k}\text{,}\) it follows that

\[\begin{align*} \mathbf{r}'(t) = \mathstrut & \lim_{h \to 0} \frac{\mathbf{r}(t+h)-\mathbf{r}(t)}{h}\\[4pt] = \mathstrut & \lim_{h \to 0} \frac{[x(t+h)-x(t)] \mathbf{i} + [y(t+h)-y(t)] \mathbf{j} + [z(t+h)-z(t)] \mathbf{k}}{h}\\[4pt] = \mathstrut & \left(\lim_{h \to 0} \frac{x(t+h)-x(t)}{h} \right) \mathbf{i} + \left( \lim_{h \to 0} \frac{y(t+h)-y(t)}{h} \right) \mathbf{j}\\[4pt] \mathstrut & + \left( \lim_{h \to 0} \frac{z(t+h)-z(t)}{h} \right)\mathbf{k}\\[4pt] \mathstrut & = x'(t)\mathbf{i} + y'(t) \mathbf{j} + z'(t) \mathbf{k}. \end{align*}\]

Thus, we can calculate the derivative of a vector-valued function by simply differentiating its components.

If \(\mathbf{r}(t) = x(t) \mathbf{i} + y(t) \mathbf{j} + z(t) \mathbf{k}\text{,}\) then

for those values of \(t\) at which \(x\text{,}\) \(y\text{,}\) and \(z\) are differentiable.

For each of the following vector-valued functions, find \(\mathbf{r}'(t)\text{.}\)

- \(\mathbf{r}(t) = \langle \cos(t), t\sin(t), \ln(t) \rangle\text{.}\)
- \(\mathbf{r}(t) = \langle t^2 + 3t, e^{-2t}, \frac{t}{t^2 + 1} \rangle\text{.}\)
- \(\mathbf{r}(t) = \langle \tan(t), \cos(t^2), te^{-t} \rangle\text{.}\)
- \(\mathbf{r}(t) = \langle \sqrt{t^4 + 4}, \sin(3t), \cos(4t) \rangle\text{.}\)

In first-semester calculus, we developed several important differentiation rules, including the constant multiple, product, quotient, and chain rules. For instance, recall that we formally state the product rule as

\[ \frac{d}{dx}[f(x) \cdot g(x)] = f(x)\cdot g'(x) + g(x)\cdot f'(x). \nonumber \]

There are several analogous rules for vector-valued functions, including a product rule for scalar functions and vector-valued functions. These rules, which are easily verified, are summarized as follows.

Let \(f\) be a differentiable real-valued function of a real variable \(t\) and let \(\mathbf{r}\) and \(\mathbf{s}\) be differentiable vector-valued functions of the real variable \(t\text{.}\) Then

- \(\displaystyle \frac{d}{dt} \left[\mathbf{r}(t) + \mathbf{s}(t) \right] = \mathbf{r}'(t) + \mathbf{s}'(t)\)
- \(\displaystyle \frac{d}{dt} [f(t) \mathbf{r}(t)] = f(t) \mathbf{r}'(t) + f'(t) \mathbf{r}(t)\)
- \(\displaystyle \frac{d}{dt} \left[\mathbf{r}(t) \cdot \mathbf{s}(t) \right] = \mathbf{r}'(t) \cdot \mathbf{s}(t) + \mathbf{r}(t) \cdot \mathbf{s}'(t)\)
- \(\displaystyle \frac{d}{dt} \left[\mathbf{r}(t) \times \mathbf{s}(t) \right] = \mathbf{r}'(t) \times \mathbf{s}(t) + \mathbf{r}(t) \times \mathbf{s}'(t)\)
- \(\frac{d}{dt} \left[\mathbf{r}(f(t))\right] = f'(t) \mathbf{r}'(f(t))\text{.}\)

*Note well.* When applying these properties, use care to interpret the quantities involved as either scalars or vectors. For example, \(\mathbf{r}(t) \cdot \mathbf{s}(t)\) defines a scalar function because we have taken the dot product of two vector-valued functions. However, \(\mathbf{r}(t) \times \mathbf{s}(t)\) defines a vector-valued function since we have taken the cross product of two vector-valued functions.

The left side of Figure \(\PageIndex{3}\) shows the curve described by the vector-valued function \(\mathbf{r}\) defined by

\[ \mathbf{r}(t) = \left\langle 2t-\frac12 t^2 + 1, t-1\right\rangle. \nonumber \]

- Find the object's velocity \(\mathbf{v}(t)\text{.}\)
- Find the object's acceleration \(\mathbf{a}(t)\text{.}\)
- Indicate on the left of Figure \(\PageIndex{4}\) the object's position, velocity and acceleration at the times \(t=0, 2, 4\text{.}\) Draw the velocity and acceleration vectors with their tails placed at the object's position.
- Recall that the speed is \(|\mathbf{v}| = \sqrt{\mathbf{v}\cdot\mathbf{v}}\text{.}\) Find the object's speed and graph it as a function of time \(t\) on the right of Figure \(\PageIndex{4}\). When is the object's speed the slowest? When is the speed increasing? When is it decreasing?
- What seems to be true about the angle between \(\mathbf{v}\) and \(\mathbf{a}\) when the speed is at a minimum? What is the angle between \(\mathbf{v}\) and \(\mathbf{a}\) when the speed is increasing? when the speed is decreasing?
- Since the square root is an increasing function, we see that the speed increases precisely when \(\mathbf{v}\cdot\mathbf{v}\) is increasing. Use the product rule for the dot product to express \(\frac{d}{dt}(\mathbf{v}\cdot\mathbf{v})\) in terms of the velocity \(\mathbf{v}\) and acceleration \(\mathbf{a}\text{.}\) Use this to explain why the speed is increasing when \(\mathbf{v}\cdot\mathbf{a} > 0\) and decreasing when \(\mathbf{v}\cdot\mathbf{a} \lt 0\text{.}\) Compare this to part (d).
- Show that the speed's rate of change is
\[ \frac{d}{dt}|\mathbf{v}(t)| = comp_{\mathbf{v}} \mathbf{a}. \nonumber \]

## Tangent Lines

One of the most important ideas in first-semester calculus is that a differentiable function is *locally linear*: that is, when viewed up close, the curve generated by a differentiable function looks very much like a line. Indeed, when we zoom in sufficiently far on a particular point, the curve looks indistinguishable from its tangent line.

In the same way, we expect that a smooth curve in 3-space will be locally linear. In the following activity, we investigate how to find the tangent line to such a curve. Recall from our work in Section 9.5 that the vector equation of a line that passes through the point at the tip of the vector \(\mathbf{L}_0 = \langle x_0, y_0, z_0 \rangle\) in the direction of the vector \(\mathbf{u} = \langle a, b, c \rangle\) can be written as

\[ \mathbf{L}(t) = \mathbf{L}_0 + t \mathbf{u}. \nonumber \]

In parametric form, the line \(\mathbf{L}\) is given by

\[ x(t) = x_0 + at, \ \ y(t) = y_0 + bt, \ \ z(t) = z_0 + ct. \nonumber \]

Let

\[ \mathbf{r}(t) = \cos(t) \mathbf{i} - \sin(t) \mathbf{j} + t \mathbf{k}. \nonumber \]

Sketch the curve using some appropriate tool.

- Determine the coordinates of the point on the curve traced out by \(\mathbf{r}(t)\) when \(t = \pi\text{.}\)
- Find a direction vector for the line tangent to the graph of \(\mathbf{r}\) at the point where \(t=\pi\text{.}\)
- Find the parametric equations of the line tangent to the graph of \(\mathbf{r}\) when \(t=\pi\text{.}\)
- Sketch a plot of the curve \(\mathbf{r}(t)\) and its tangent line near the point where \(t = \pi\text{.}\) In addition, include a sketch of \(\mathbf{r}'(\pi)\text{.}\) What is the important role of \(\mathbf{r}'(\pi)\) in this activity?

We see that our work in Activity \(\PageIndex{5}\) can be generalized. Given a differentiable vector-valued function \(\mathbf{r}\text{,}\) the tangent line to the curve at the input value \(a\) is given by

\[ \mathbf{L}(t) = \mathbf{r}(a) + t \mathbf{r}'(a).\label{E_TanLineVecFxn}\tag{\(\PageIndex{1}\)} \]

Here we see that because the tangent line is determined entirely by a given point and direction, the point is provided by the function \(\mathbf{r}\text{,}\) evaluated at \(t = a\text{,}\) while the direction is provided by the derivative, \(\mathbf{r}'\text{,}\) again evaluated at \(t = a\text{.}\) Note how analogous the formula for \(\mathbf{L}(t)\) is to the tangent line approximation from single-variable calculus: in that context, for a given function \(y = f(x)\) at a value \(x = a\text{,}\) we found that the tangent line can be expressed by the linear function \(y = L(x)\) whose formula is

\[ L(x) = f(a) + f'(a)(x-a). \nonumber \]

Equation (\(\PageIndex{1}\)) for the tangent line \(\mathbf{L}(t)\) to the vector-valued function \(\mathbf{r}(t)\) is nearly identical. Indeed, because there are multiple parameterizations for a single line, it is even possible to write the parameterization as

\[ \mathbf{L}(t) = \mathbf{r}(a) + (t-a) \mathbf{r}'(a).\label{E_TanLineVecFxn2}\tag{\(\PageIndex{2}\)} \]

(For example, in Equation (\(\PageIndex{1}\)), \(\mathbf{L}(0) = \mathbf{r}(a)\text{,}\) so the line's parameterization “starts” at \(t = 0\text{.}\) When we write the parameterization in the form of Equation (\(\PageIndex{2}\)), \(\mathbf{L}(a) = \mathbf{r}(a)\text{,}\) so the line's parameterization “starts” at \(t = a\text{.}\))

As we will learn more in Chapter 10, a smooth surface in 3-space is also locally linear. That means that the surface will look like a plane, which we call its *tangent plane*, as we zoom in on the graph. It is possible to use tangent lines to traces of the surface to generate a formula for the tangent plane; see Exercise \(\PageIndex{7}\).15 at the end of this section for more details.

### Integrating a Vector-Valued Function

Recall from single variable calculus that an antiderivative of a function \(f\) of the independent variable \(x\) is a function \(F\) that satisfies \(F'(x) = f(x)\text{.}\) We then defined the indefinite integral \(\int f(x) \ dx\) to be the general antiderivative of \(f\text{.}\) Recall that the general antiderivative includes an added constant \(C\) in order to indicate that the general antiderivative is in fact an entire family of functions. We can do the similar work with vector-valued functions.

An antiderivative of a vector-valued function \(\mathbf{r}\) is a vector-valued function \(\mathbf{R}\) such that

The indefinite integral \(\int \mathbf{r}(t) \ dt\) of a vector-valued function \(\mathbf{r}\) is the general antiderivative of \(\mathbf{r}\) and represents the collection of all antiderivatives of \(\mathbf{r}\text{.}\)

The same reasoning that allows us to differentiate a vector-valued function componentwise applies to integrating as well. Recall that the integral of a sum is the sum of the integrals and also that we can remove constant factors from integrals. So, given \({\mathbf{r}(t) = x(t) \mathbf{i}+ y(t) \mathbf{j} + z(t) \mathbf{k}}\text{,}\) it follows that we can integrate componentwise. Expressed more formally,

If \(\mathbf{r}(t) = x(t) \mathbf{i} + y(t) \mathbf{j} + z(t) \mathbf{k}\text{,}\) then

\[ \int \mathbf{r}(t) \ dt = \left(\int x(t) \ dt\right) \mathbf{i} + \left( \int y(t) \ dt \right) \mathbf{j} + \left(\int z(t) \ dt\right) \mathbf{k}. \nonumber \]

In light of being able to integrate and differentiate componentwise with vector-valued functions, we can solve many problems that are analogous to those we encountered in single-variable calculus. For instance, recall problems where we were given an object moving along an axis with velocity function \(v\) and an initial position \(s(0)\text{.}\) In that context, we were able to differentiate \(v\) in order to find acceleration, and integrate \(v\) and use the initial condition in order to find the position function \(s\text{.}\) In the following activity, we explore similar ideas with vector-valued functions.

Suppose a moving object in space has its velocity given by

A graph of the position of the object for times \(t\) in \([-0.5,3]\) is shown in Figure \(\PageIndex{6}\). Suppose further that the object is at the point \((1.5,-1,0)\) at time \(t=0\text{.}\)

- Determine \(\mathbf{a}(t)\text{,}\) the acceleration of the object at time \(t\text{.}\)
- Determine \(\mathbf{r}(t)\text{,}\) position of the object at time \(t\text{.}\)
- Compute and sketch the position, velocity, and acceleration vectors of the object at time \(t=1\text{,}\) using Figure \(\PageIndex{4}\).
- Finally, determine the vector equation for the tangent line, \(\mathbf{L}(t)\text{,}\) that is tangent to the position curve at \(t = 1\text{.}\)

## Projectile Motion

Any time that an object is launched into the air with a given velocity and launch angle, the path the object travels is determined almost exclusively by the force of gravity. Whether in sports such as archery or shotput, in military applications with artillery, or in important fields like firefighting, it is important to be able to know when and where a launched projectile will land. We can use our knowledge of vector-valued functions in order to completely determine the path traveled by an object that is launched from a given position at a given angle from the horizontal with a given initial velocity.

Assume we fire a projectile from a launcher and the only force acting on the fired object is the force of gravity pulling down on the object. That is, we assume no effect due to spin, wind, or air resistance. With these assumptions, the motion of the object will be planar, so we can also assume that the motion occurs in two-dimensional space. Suppose we launch the object from an initial position \((x_0, y_0)\) at an angle \(\theta\) with the positive \(x\)-axis as illustrated in Figure \(\PageIndex{5}\), and that we fire the object with an initial speed of \(v_0 = |\mathbf{v}(0)|\text{,}\) where \(\mathbf{v}(t)\) is the velocity vector of the object at time \(t\text{.}\) Assume \(g\) is the positive constant acceleration force due to gravity, which acts to pull the fired object toward the ground (in the negative \(y\) direction). Note particularly that there is no external force acting on the object to move it in the \(x\) direction.

We first observe that since gravity only acts in the downward direction and that the acceleration due to gravity is constant, the acceleration vector is \(\langle 0, -g \rangle\text{.}\) That is, \(\mathbf{a}(t) = \langle 0, -g \rangle\text{.}\) We may use this fact about acceleration, together with the initial position and initial velocity in order to fully determine the position \(\mathbf{r}(t)\) of the object at time \(t\text{.}\) In Exercise \(\PageIndex{5}\), you can work through the details to show that the following general formula holds.

If an object is launched from a point \((x_0,y_0)\) with initial velocity \(v_0\) at an angle \(\theta\) with the horizontal, then the position of the object at time \(t\) is given by

\[ \mathbf{r}(t) = \left\langle v_0 \cos(\theta)t + x_0, -\frac{g}{2}t^2 + v_0 \sin(\theta)t + y_0 \right\rangle. \nonumber \]

This assumes that the only force acting on the object is the acceleration \(g\) due to gravity.

##### Summary

- If \(\mathbf{r}\) is a vector-valued function, then the derivative of \(\mathbf{r}\) is defined by
\[ \mathbf{r}'(t) = \lim_{h \to 0} \frac{\mathbf{r}(t+h)-\mathbf{r}(t)}{h} \nonumber \]
for those values of \(t\) at which the limit exists, and is computed componentwise by the formula

\[ \mathbf{r}'(t) = x'(t) \mathbf{i} + y'(t) \mathbf{j} + z'(t) \mathbf{k} \nonumber \]for those values of \(t\) at which \(x\text{,}\) \(y\text{,}\) and \(z\) are differentiable, where \(\mathbf{r}(t) = x(t) \mathbf{i} + y(t) \mathbf{j} + z(t) \mathbf{k}\text{.}\)

- The derivative \(\mathbf{r}'(t)\) of the vector-valued function \(\mathbf{r}\) tells us the instantaneous rate of change of \(\mathbf{r}\) with respect to time, \(t\text{,}\) which can be interpreted as a direction vector for the line tangent to the graph of \(\mathbf{r}\) at the point \(\mathbf{r}(t)\text{,}\) or also as the instantaneous velocity of an object traveling along the graph defined by \(\mathbf{r}(t)\) at time \(t\text{.}\)
- An antiderivative of \(\mathbf{r}\) is a vector-valued function \(\mathbf{R}\) such that \(\mathbf{R}'(t) = \mathbf{r}(t)\text{.}\) The indefinite integral \(\int \mathbf{r}(t) \ dt\) of a vector-valued function \(\mathbf{r}\) is the general antiderivative of \(\mathbf{r}\) (which is a collection of all of the antiderivatives of \(\mathbf{r}\text{,}\) with any two antiderivatives differing by at most a constant vector). Moreover, if \(\mathbf{r}(t) = x(t) \mathbf{i} + y(t) \mathbf{j}+ z(t) \mathbf{k}\text{,}\) then
\[ \int \mathbf{r}(t) \ dt = \left(\int x(t) \ dt\right) \mathbf{i} + \left( \int y(t) \ dt \right) \mathbf{j} + \left(\int z(t) \ dt\right) \mathbf{k}. \nonumber \]
- If an object is launched from a point \((x_0,y_0)\) with initial velocity \(v_0\) at an angle \(\theta\) with the horizontal, then the position of the object at time \(t\) is given by
\[ \mathbf{r}(t) = \left\langle v_0 \cos(\theta)t + x_0, -\frac{g}{2}t^2 + v_0 \sin(\theta)t + y_0 \right\rangle, \nonumber \]
provided that that the only force acting on the object is the acceleration \(g\) due to gravity.