12 Vector Valued Functions

12.1 Vector-Valued Functions

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.

Definition 12.1.1 Vector-Valued Functions

A vector-valued function is a function of the form

r(t)=f(t),g(t)orr(t)=f(t),g(t),h(t),

where f, g and h are real valued functions.

The domain of r is the set of all values of t for which r(t) is defined. The range of r is the set of all possible output vectors r(t).

Evaluating and Graphing Vector-Valued Functions

margin: 12345-3-2-1123r(-2)xy (a)12345-3-2-1123r(-2)xy (b) Figure 12.1.1: Sketching the graph of a vector-valued function. Λ

Evaluating a vector-valued function at a specific value of t is straightforward; simply evaluate each component function at that value of t. For instance, if r(t)=t2,t2+t-1, then r(-2)=4,1. We can sketch this vector, as is done in Figure 12.1.1(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 r(t), where the initial point of each vector is always the origin. In Figure 12.1.1(b) we sketch the graph of r ; we can indicate individual points on the graph with their respective vector, as shown.

Vector-valued functions are closely related to parametric equations. While in both methods we plot points (x(t),y(t)) or (x(t),y(t),z(t)) 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.

margin: t t3-t 1t2+1 -2 -6 1/5 -1 0 1/2 0 0 1 1 0 1/2 2 6 1/5 (a)-6-4-22460.51r(-1)r(2)xy (b) Figure 12.1.2: Sketching the vector-valued function of Example 12.1.1. Λ
Example 12.1.1 Graphing vector-valued functions

Graph r(t)=t3-t,1t2+1, for -2t2. Sketch r(-1) and r(2).

SolutionWe start by making a table of t, x and y values as shown in Figure 12.1.2(a). Plotting these points gives an indication of what the graph looks like. In Figure 12.1.2(b), we indicate these points and sketch the full graph. We also highlight r(-1) and r(2) on the graph.

Example 12.1.2 Graphing vector-valued functions.

Graph r(t)=cost,sint,t for 0t4π.

SolutionWe can again plot points, but careful consideration of this function is very revealing. Momentarily ignoring the third component, we see the x and y components trace out a circle of radius 1 centered at the origin. Noticing that the z component is t, we see that as the graph winds around the z-axis, it is also increasing at a constant rate in the positive z direction, forming a spiral. This is graphed in Figure 12.1.3. In the graph r(7π/4)=12,-12,7π4 is highlighted to help us understand the graph.

margin:
(fullscreen)
Figure 12.1.3: Viewing a vector-valued function, and its value at one point. Λ
Example 12.1.3 Adding and scaling vector-valued functions.

Let r1(t)= 0.2t,0.3t, r2(t)=cost,sint and r(t)=r1(t)+r2(t). Graph r1(t), r2(t), r(t) and 5r(t) on -10t10.

SolutionWe can graph r1 and r2 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 r1(t)= 0.2t,0.3t as r1(t)=t0.2,0.3. That is, the function r1 scales the vector 0.2,0.3 by t. This scaling of a vector produces a line in the direction of 0.2,0.3.

We are familiar with r2(t)=cost,sint; it traces out a circle, centered at the origin, of radius 1. Figure 12.1.4(a) graphs r1(t) and r2(t).

margin: -4-224-4-224xy (a)-4-224-4-224xy (b)-20-101020-20-101020xy (c) Figure 12.1.4: Graphing the functions in Example 12.1.3. Λ

Adding r1(t) to r2(t) produces r(t)=cost+0.2t,sint+0.3t, graphed in Figure 12.1.4(b). The linear movement of the line combines with the circle to create loops that move in the direction of 0.2,0.3. (We encourage the reader to experiment by changing r1(t) to 2t,3t, etc., and observe the effects on the loops.)

Multiplying r(t) by 5 scales the function by 5, producing

5r(t)=5cost+1,5sint+1.5,

which is graphed in Figure 12.1.4(c) along with r(t). The new function is “5 times bigger” than r(t). Note how the graph of 5r(t) in (c) looks identical to the graph of r(t) in (b). This is due to the fact that the x and y bounds of the plot in (c) are exactly 5 times larger than the bounds in (b).

Example 12.1.4 Adding and scaling vector-valued functions.

A cycloid is a graph traced by a point p on a rolling circle, as shown in Figure 12.1.5. Find an equation describing the cycloid, where the circle has radius 1. p

Figure 12.1.5: Tracing a cycloid.

SolutionThis problem is not very difficult if we approach it in a clever way. We start by letting p(t) describe the position of the point p 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; p(t)=cost,-sint.

We now want the circle to roll. We represent this by letting c(t) represent the location of the center of the circle. It should be clear that the y component of c(t) should be 1; the center of the circle is always going to be 1 if it rolls on a horizontal surface.

The x component of c(t) is a linear function of t: f(t)=mt for some scalar m. When t=0, f(t)=0 (the circle starts centered on the y-axis). When t=2π, the circle has made one complete revolution, traveling a distance equal to its circumference, which is also 2π. This gives us a point on our line f(t)=mt, the point (2π,2π). It should be clear that m=1 and f(t)=t. So c(t)=t,1.

We now combine p and c together to form the equation of the cycloid: r(t)=p(t)+c(t)=cost+t,-sint+1, which matches the graph in Figure 12.1.5.

Displacement

A vector-valued function r(t) is often used to describe the position of a moving object at time t. At t=t0, the object is at r(t0); at t=t1, the object is at r(t1). Knowing the locations r(t0) and r(t1) give no indication of the path taken between them, but often we only care about the difference of the locations, r(t1)-r(t0), the displacement.

Definition 12.1.2 Displacement

Let r(t) be a vector-valued function and let t0<t1 be values in the domain. The displacement d of r, from t=t0 to t=t1, is

d=r(t1)-r(t0).

When the displacement vector is drawn with initial point at r(t0), its terminal point is r(t1). We think of it as the vector which points from a starting position to an ending position.

Example 12.1.5 Finding and graphing displacement vectors

Let r(t)=cos(π2t),sin(π2t). Graph r(t) on -1t1, and find the displacement of r(t) on this interval.

SolutionThe function r(t) traces out the unit circle, though at a different rate than the “usual” cost,sint parameterization. At t0=-1, we have r(t0)=0,-1; at t1=1, we have r(t1)=0,1. The displacement of r(t) on [-1,1] is thus d=0,1-0,-1=0,2.

margin: -11-11dxy Figure 12.1.6: Graphing the displacement of a position function in Example 12.1.5. Λ

A graph of r(t) on [-1,1] is given in Figure 12.1.6, along with the displacement vector d on this interval.

Measuring displacement makes us contemplate related, yet very different, concepts. Considering the semi-circular path the object in Example 12.1.5 took, we can quickly verify that the object ended up a distance of 2 units from its initial location. That is, we can compute d=2. 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.

Definition 12.1.3 Average Rate of Change

Let r(t) be a vector-valued function, where each of its component functions is continuous on its domain, and let t0<t1. The average rate of change of r(t) on [t0,t1] is

average rate of change=r(t1)-r(t0)t1-t0.
Example 12.1.6 Average rate of change

Let r(t)=cos(π2t),sin(π2t) as in Example 12.1.5. Find the average rate of change of r(t) on [-1,1] and on [-1,5].

SolutionWe computed in Example 12.1.5 that the displacement of r(t) on [-1,1] was d=0,2. Thus the average rate of change of r(t) on [-1,1] is:

r(1)-r(-1)1-(-1)=0,22=0,1.

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 0,1 per unit of time.

We can quickly see that the displacement on [-1,5] is the same as on [-1,1], so d=0,2. The average rate of change is different, though:

r(5)-r(-1)5-(-1)=0,26=0,1/3.

As it took “3 times as long” to arrive at the same place, this average rate of change on [-1,5] is 1/3 the average rate of change on [-1,1].

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.

Exercises 12.1

 

Terms and Concepts

  1. 1.

    Vector-valued functions are closely related to                           of graphs.

  2. 2.

    When sketching vector-valued functions, technically one isn’t graphing points, but rather             .

  3. 3.

    It can be useful to think of              as a vector that points from a starting position to an ending position.

  4. 4.

    In the context of vector-valued functions, average rate of change is              divided by time.

Problems

In Exercises 5–12., sketch the vector-valued function on the given interval.

  1. 5.

    r(t)=t2,t2-1, for -2t2.

  2. 6.

    r(t)=t2,t3, for -2t2.

  3. 7.

    r(t)=1/t,1/t2, for -2t2.

  4. 8.

    r(t)=110t2,sint, for -2πt2π.

  5. 9.

    r(t)=110t2,sint, for -2πt2π.

  6. 10.

    r(t)=3sin(πt),2cos(πt), on [0,2].

  7. 11.

    r(t)=3cost,2sin(2t), on [0,2π].

  8. 12.

    r(t)=2sect,tant, on [-π,π].

In Exercises 13–16., sketch the vector-valued function on the given interval in 3. Technology may be useful in creating the sketch.

  1. 13.

    r(t)=2cost,t,2sint, on [0,2π].

  2. 14.

    r(t)=3cost,sint,t/π on [0,2π].

  3. 15.

    r(t)=cost,sint,sint on [0,2π].

  4. 16.

    r(t)=cost,sint,sin(2t) on [0,2π].

In Exercises 17–20., find r(t).

  1. 17.

    r(t)=t,t2.

  2. 18.

    r(t)=5cost,3sint.

  3. 19.

    r(t)=2cost,2sint,t.

  4. 20.

    r(t)=cost,t,t2.

In Exercises 21–30., create a vector-valued function whose graph matches the given description.

  1. 21.

    A circle of radius 2, centered at (1,2), traced counter-clockwise once on [0,2π].

  2. 22.

    A circle of radius 3, centered at (5,5), traced clockwise once on [0,2π].

  3. 23.

    An ellipse, centered at (0,0) with vertical major axis of length 10 and minor axis of length 3, traced once counter-clockwise on [0,2π].

  4. 24.

    An ellipse, centered at (3,-2) with horizontal major axis of length 6 and minor axis of length 4, traced once clockwise on [0,2π].

  5. 25.

    A line through (2,3) with a slope of 5.

  6. 26.

    A line through (1,5) with a slope of -1/2.

  7. 27.

    A vertically oriented helix with radius of 2 that starts at (2,0,0) and ends at (2,0,4π) after 1 revolution on [0,2π].

  8. 28.

    A vertically oriented helix with radius of 3 that starts at (3,0,0) and ends at (3,0,3) after 2 revolutions on [0,1].

  9. 29.

    A vertically oriented helix with radius R which completes N revolutions over a height of h on [0,1].

  10. 30.

    The intersection of the sphere x2+y2+z2=9 and the plane y=2 on [0,1].

In Exercises 31–34., find the average rate of change of r(t) on the given interval.

  1. 31.

    r(t)=t,t2 on [-2,2].

  2. 32.

    r(t)=t,t+sint on [0,2π].

  3. 33.

    r(t)=3cost,2sint,t on [0,2π].

  4. 34.

    r(t)=t,t2,t3 on [-1,3].

Modern Campus CMS