We are very familiar with real valued functions, that is, functions whose output is a real number. This section introduces vector-valued functions — functions whose output is a vector.
Subsection12.1.1Evaluating and Graphing Vector-Valued Functions
Evaluating a vector-valued function at a specific value of is straightforward; simply evaluate each component function at that value of . For instance, if , then . We can sketch this vector, as is done in Figure 12.1.3.(a). Plotting lots of vectors is cumbersome, though, so generally we do not sketch the whole vector but just the terminal point. The graph of a vector-valued function is the set of all terminal points of , where the initial point of each vector is always the origin. In Figure 12.1.3.(b) we sketch the graph of ; we can indicate individual points on the graph with their respective vector, as shown.
Graph of the vector . This vector starts at the origin and ends at the point .
(a)
The image contains the plot of the vector valued function . The image also contains the graph of the vector , which ends at a point on the function . The function resembles a parabola which has been rotated about degrees clockwise. The function is plotted for approximately between and . The function begins near the point and then slopes down crossing the -axis at approximately . The slanted parabola then curves upwards around the point , from which point it begins increasing in both and as increases.
(b)
Figure12.1.3.Sketching the graph of a vector-valued function
Vector-valued functions are closely related to parametric equations of graphs. While in both methods we plot points or to produce a graph, in the context of vector-valued functions each such point represents a vector. The implications of this will be more fully realized in the next section as we apply calculus ideas to these functions.
We start by making a table of , and values as shown in Figure 12.1.5.(a). Plotting these points gives an indication of what the graph looks like. In Figure 12.1.5.(b), we indicate these points and sketch the full graph. We also highlight and on the graph.
1/5
1/2
1/2
1/5
(a)
The image contains the plot of the vector valued function for . The image also contains the vectors and , which both end at a point on the function . The function begins at the point corresponding to the lower bound of , from which it slowly slopes upwards until crossing the -axis at . From here, the function slopes upwards and slightly outwards away from the -axis until curving back and crossing the -axis once again at . The function then slopes downwards and slightly away from the -axis until curving back and crossing the -axis again at , completing a loop. After crossing the -axis, the function continues slowly sloping downwards until reaching the point which corresponds to the upper bound of . The function is also symmetric about the -axis.
(b)
Figure12.1.5.Sketching the vector-valued function of Example 12.1.4
We can again plot points, but careful consideration of this function is very revealing. Momentarily ignoring the third component, we see the and components trace out a circle of radius 1 centered at the origin. Noticing that the component is , we see that as the graph winds around the -axis, it is also increasing at a constant rate in the positive direction, forming a spiral. This is graphed in Figure 12.1.7. In the graph is highlighted to help us understand the graph.
This definition states that we add, subtract and scale vector-valued functions component-wise. Combining vector-valued functions in this way can be very useful (as well as create interesting graphs).
We can graph and easily by plotting points (or just using technology). Let’s think about each for a moment to better understand how vector-valued functions work.
We can rewrite as . That is, the function scales the vector by . This scaling of a vector produces a line in the direction of .
We are familiar with ; it traces out a circle, centered at the origin, of radius 1. Figure 12.1.11.(a) graphs and .
Adding to produces , graphed in Figure 12.1.11.(b). The linear movement of the line combines with the circle to create loops that move in the direction of . (We encourage the reader to experiment by changing to , etc., and observe the effects on the loops.)
The image contains the plot of the vector valued functions , on . The function is a line which begins at the point corresponding to and ends when at the point . The second function looks like a circle of radius , but as the function completes full circular rotations, which cannot be seen in the graph.
(a)
The image contains the plot of the vector valued function . The function is given by on . The function begins in the third quadrant, near the point . Near this point, the function is concave up, starting with a downward slope and later beginning to slope upwards. The function then changes to concave down, until it circles back on itself and continues in the same concave-up trajectory as when it started but in a slightly increased and coordinate. The function creates a total of two of these loops, with the first loop being in the third quadrant, while the second is in the first quadrant. The function nearly completes a third loop, before ending near the point .
(b)
The image contains the plot of the vector valued function . The function is now given by on . Compared to the unscaled function , the function is exactly 5 times larger than the original function. The function begins in the third quadrant, near the point . Like the unscaled function, near this point is concave up, starting with a downwards slope and later beginning to slope upwards. The function then changes to concave down, until it circles back on itself and continues in the same concave-up trajectory as when it started but in a slightly increased and coordinate. The function creates a total of two of these loops, with the first loop being in the third quadrant, while the second is in the first quadrant. The function nearly completes a third loop, before ending near the point . The entirety of the original function can be seen to fit between the two loops of the scaled function .
Multiplying by 5 scales the function by 5, producing , which is graphed in Figure 12.1.11.(c) along with . The new function is “5 times bigger” than . Note how the graph of in Figure 12.1.11.(c) looks identical to the graph of in Figure 12.1.11.(b). This is due to the fact that the and bounds of the plot in Figure 12.1.11.(c) are exactly 5 times larger than the bounds in Figure 12.1.11.(b).
Example12.1.12.Adding and scaling vector-valued functions.
A cycloid is a graph traced by a point on a rolling circle, as shown in Figure 12.1.13. Find an equation describing the cycloid, where the circle has radius 1.
The image shows the cycloid which comes from tracking a point on a rolling circle of radius on a flat surface. The point is initially at the top of the circle of radius . Once the circle rolls, the point is tracked to create a graph of a cycloid. The graph coming from tracking the point first begins to decrease, until the point is at the bottom of the circle, at which point the point touches the surface the ball is rolling on. After this point, the graph begins to increase. The circle continues to roll, with the point once again becoming the top of the circle, after which the graph begins to decrease. The circle continues rolling, with the point becoming the lowest point on the circle two more times, after which the graph stops. Between the starting point and the point at which is at the bottom of the circle, the graph resembles a slightly stretched quarter of a circle. The part of the graph that comes from the remaining two full revolutions of the circle resembles two horizontally stretched semi-circles.
Figure12.1.13.Tracing a cycloid
Solution1.
This problem is not very difficult if we approach it in a clever way. We start by letting describe the position of the point on the circle, where the circle is centered at the origin and only rotates clockwise (i.e., it does not roll). This is relatively simple given our previous experiences with parametric equations; .
We now want the circle to roll. We represent this by letting represent the location of the center of the circle. It should be clear that the component of should be 1; the center of the circle is always going to be 1 if it rolls on a horizontal surface.
The component of is a linear function of : for some scalar . When , (the circle starts centered on the -axis). When , the circle has made one complete revolution, traveling a distance equal to its circumference, which is also . This gives us a point on our line , the point . It should be clear that and . So .
We now combine and together to form the equation of the cycloid: , which is graphed in Figure 12.1.14.
The graph shows the function , which is the graph of a cycloid which comes from tracking a point on a rolling a circle of radius on a flat surface. The curve begins near the point , after which it begins to decrease until it reaches its lowest point near the point . After this point, the curve begins increasing, until it reaches its highest point when is at the top of the circle, after which it decreases until reaching another minimum near the point . The curve continues in the same fashion, reaching another minimum near the point , after which it continues for a slight duration in the same fashion as before.
A vector-valued function is often used to describe the position of a moving object at time . At , the object is at ; at , the object is at . Knowing the locations and give no indication of the path taken between them, but often we only care about the difference of the locations, , the displacement.
When the displacement vector is drawn with initial point at , its terminal point is . We think of it as the vector which points from a starting position to an ending position.
The function traces out the unit circle, though at a different rate than the “usual” parametrization. At , we have ; at , we have . The displacement of on is thus .
Graph of the function on . The function is the right half of the unit circle, beginning at the point , crossing the -axis at the point , and ending at the point . The graph also contains the displacement vector, which begins at the start of the curve at the point and heads directly upwards until reaching the endpoint of the curve at the point .
Figure12.1.18.Graphing the displacement of a position function in Example 12.1.17
A graph of on is given in Figure 12.1.18, along with the displacement vector on this interval.
Measuring displacement makes us contemplate related, yet very different, concepts. Considering the semi-circular path the object in Example 12.1.17 took, we can quickly verify that the object ended up a distance of 2 units from its initial location. That is, we can compute . However, measuring distance from the starting point is different from measuring distance traveled. Being a semi-circle, we can measure the distance traveled by this object as units. Knowing distance from the starting point allows us to compute average rate of change.
We computed in Example 12.1.17 that the displacement of on was . Thus the average rate of change of on is:
.
We interpret this as follows: the object followed a semi-circular path, meaning it moved towards the right then moved back to the left, while climbing slowly, then quickly, then slowly again. On average, however, it progressed straight up at a constant rate of per unit of time.
We can quickly see that the displacement on is the same as on , so . The average rate of change is different, though:
.
As it took “3 times as long” to arrive at the same place, this average rate of change on is the average rate of change on .
We considered average rates of change in Sections 1.1 and 2.1 as we studied limits and derivatives. The same is true here; in the following section we apply calculus concepts to vector-valued functions as we find limits, derivatives, and integrals. Understanding the average rate of change will give us an understanding of the derivative; displacement gives us one application of integration.