Differentiate vector-valued functions
A vector-valued function assigns a vector to each number \(t\) in its domain. In the plane, a vector has two components, so the function has two component functions:
Bold letters name vectors. Many books also write \(x(t)\,\mathbf i+y(t)\,\mathbf j\), where \(\mathbf i=\langle 1,0\rangle\) and \(\mathbf j=\langle 0,1\rangle\). Drawn from the origin, the arrow \(\mathbf r(t)\) ends at the point \(\big(x(t),y(t)\big)\). As \(t\) increases, that point traces the parametric curve of topic 9.1. When \(t\) is time, \(\mathbf r(t)\) is the position vector of a point that moves along the curve. This topic finds how fast \(\mathbf r(t)\) changes and reads the velocity, acceleration and speed of the motion from that rate.
The derivative, one component at a time
A path that rises to the right and then falls, with an orange point on it at time t and a dashed arrow from the origin to the point. A faint dot marks the point at time t plus h. A faint segment with green or red legs joins the orange point to the faint dot, and an orange arrow from the orange point runs along the line through the faint dot. As h shrinks, the faint dot moves onto the orange point and the orange arrow turns until it is tangent to the path. A button puts a sharp peak in the path, where the arrow points one way for positive h and another way for negative h.
In Figure 1, the dashed arrow from the origin is \(\mathbf r(t)\), and the orange point is its tip. The faint dot is the tip of \(\mathbf r(t+h)\), the position a time \(h\) later. The change in position, \(\Delta\mathbf r=\mathbf r(t+h)-\mathbf r(t)\), is the faint segment from the orange point to the faint dot. The legs of the right triangle between them are the changes \(\Delta x\) and \(\Delta y\) in the two components, green when positive and red when negative.
Vectors are subtracted, and divided by a number, one component at a time, so the orange arrow, the change divided by \(h\), is
This quotient is the average rate of change of the position between the times \(t\) and \(t+h\). If \(h<0\), the faint dot lies behind the point, and dividing by the negative \(h\) turns the change around. The orange arrow therefore points forward for both signs of \(h\).
As for a function of one variable, the derivative of \(\mathbf r\) is the limit of this quotient as \(h\) approaches 0:
By definition, the limit of a vector is taken one component at a time, and the limits of \(\Delta x/h\) and \(\Delta y/h\) are \(x'(t)\) and \(y'(t)\). The derivative \(\mathbf r'(t)\) therefore exists exactly when \(x'(t)\) and \(y'(t)\) both exist, and then \(\mathbf r'(t)=\langle x'(t),\,y'(t)\rangle\). With \(\mathbf i\) and \(\mathbf j\), it is \(x'(t)\,\mathbf i+y'(t)\,\mathbf j\). Differentiate each component by the rules for functions of one variable. Keep the order of the components: the derivative of \(x\) comes first.
Narrow the step \(h\) in Figure 1. The faint dot moves onto the orange point, and the orange arrow turns until it is tangent to the path. Where \(x'(t)\ne 0\), the arrow \(\mathbf r'(t)\) has the slope \(y'(t)/x'(t)\), which is the slope \(dy/dx\) of topic 9.1. Drawn from the point, it therefore lies along the tangent line. Where \(x'(t)=0\) and \(y'(t)\ne 0\), both are vertical. If \(\mathbf r'(t)\) is not the zero vector \(\langle 0,0\rangle\), it points in the direction of motion. For \(h>0\), the orange arrow points toward where the point will be, and \(\mathbf r'(t)\) is its limit.
The argument needs both components to be differentiable at \(t\). Use the button under Figure 1 to put a peak in the path. Then move the point onto the peak with the next button. For \(h>0\), the orange arrow points the way the path falls after the peak. Set \(h<0\) with the slider. The orange arrow then points the way the path rises into the peak. At the peak, \(\Delta y/h\) approaches different numbers from the two sides, so \(y'(t)\) does not exist, and neither does \(\mathbf r'(t)\).
Velocity and acceleration
An ellipse traced counterclockwise, with an orange point that moves on it. An orange arrow from the point, the velocity, is tangent to the ellipse, with a horizontal leg and a vertical leg, each green or red. A chalk arrow with two heads, the acceleration, points from the point toward the center of the ellipse. A button shows a dashed arrow from the origin, which lies outside the ellipse at the lower left, to the point, and splits the velocity into a green or red part along the dashed arrow and a faint part across it.
When \(t\) is time, the derivative of the position is the velocity, \(\cy{\mathbf v(t)}=\mathbf r'(t)\). The derivative of the velocity is the acceleration, \(\mathbf a(t)=\mathbf v'(t)=\mathbf r''(t)\). To find it, differentiate each component twice, which needs \(x\) and \(y\) to have second derivatives.
In Figure 2, the orange arrow is the velocity \(\cy{\mathbf v}\), drawn from the moving point. Its legs show \(x'(t)\) and \(y'(t)\), green when the component increases and red when it decreases. The chalk arrow with two heads is the acceleration \(\mathbf a\). Move the point. The velocity arrow turns and changes length, and the acceleration points the way the velocity changes. Here the point moves on an ellipse, and the acceleration points to its center, not along the path.
To evaluate a derivative at an instant \(t_0\), differentiate first, because it depends on the values near \(t_0\). Then substitute \(t_0\) into every component. The same \(t_0\) in \(\mathbf r\) gives the point \(\mathbf r(t_0)\) from which the arrows are drawn.
Speed and the distance from the origin
A number, such as a speed, is called a scalar, to tell it apart from a vector. Three scalar rates describe the motion at time \(t\), and they are usually different. A component rate, such as \(x'(t)\), is one leg of the velocity arrow, and its sign tells whether \(x\) increases or decreases.
The speed is the length of the velocity arrow, written \(|\mathbf v|\). The legs of the arrow have the lengths \(|x'(t)|\) and \(|y'(t)|\), so by the Pythagorean theorem the speed is \(\sqrt{x'(t)^2+y'(t)^2}\), the speed of topic 9.3. It is never negative.
The distance from the origin is the length of the position vector, \(D(t)=\sqrt{x(t)^2+y(t)^2}\). Where \(D(t)\ne 0\), the chain rule gives its rate of change. With \(x\) written for \(x(t)\), and so on,
which is \((x\,x'+y\,y')/D\). It is positive when the point moves away from the origin and negative when the point moves toward it.
Use the button under Figure 2 to show the position vector as a dashed arrow and to split the velocity. One part of the velocity lies along the dashed arrow, and the other part lies across it. The part across is tangent to the circle centered at the origin through the point. The distance \(D\) is the same at every point of that circle, so at that instant the part across does not change \(D\). Only the part along the dashed arrow changes \(D\). It is green when it points away from the origin and red when it points toward it. Move the point. Where the velocity is at right angles to the dashed arrow, the part along it is zero, so \(D'(t)=0\), but the speed is not.
Example 1
Differentiate each vector component
Let \(\mathbf r(t)=\left\langle t\,e^{-3t},\ \ln\left(1+t^2\right)\right\rangle\). Find \(\mathbf r'(t)\).
Solution
Because \(1+t^2>0\), both components are differentiable for every \(t\). The first component is a product, so it needs the product rule:
The second component needs the chain rule, with the inner function \(1+t^2\):
The derivative lists the two results in the order of the components:
Example 2
Find velocity and acceleration vectors
A particle moves in the \(xy\)-plane so that its position at time \(t\) is \(\mathbf r(t)=\langle 5\cos 2t,\ 5\sin 2t\rangle\). Find the velocity vector \(\mathbf v(t)\) and the acceleration vector \(\mathbf a(t)\).
Solution
Both components have derivatives of every order. Each time a component is differentiated, the chain rule gives a factor of 2, from the inner function \(2t\):
The acceleration is \(-4\,\mathbf r(t)\), which points opposite to \(\mathbf r(t)\). Drawn from the particle, it points to the origin, the center of the circle \(x^2+y^2=25\) on which the particle moves.
Example 3
Evaluate vector derivatives at an instant
A particle moves in the \(xy\)-plane so that its position at time \(t\ge 0\) is \(\mathbf r(t)=\left\langle t^3-7t,\ \sqrt{2t+5}\right\rangle\). Find the position, the velocity vector and the acceleration vector of the particle at time \(t=2\).
Solution
Both components have second derivatives for \(t>-\frac52\), so at every \(t\ge 0\). Find the formulas first, with the chain rule for the second component:
Then substitute \(t=2\) into every component. At \(t=2\), the inner function is \(2t+5=9\), so
The particle is at the point \((-6,3)\), and the arrows \(\mathbf v(2)\) and \(\mathbf a(2)\) are drawn from that point.
Example 4
Distinguish a vector rate from a scalar rate
A particle moves in the \(xy\)-plane so that its position at time \(t>0\) is \(\mathbf r(t)=\left\langle 3t^2,\ \frac{4}{t^2}\right\rangle\). At time \(t=1\), find the rate of change of the \(x\)-coordinate of the particle, the speed of the particle, and the rate of change of the distance between the particle and the origin.
Solution
Both components are differentiable for \(t>0\). The velocity and its value at \(t=1\) are
The rate of change of \(x\) is the first component, 6. The speed is the length of \(\mathbf v(1)\):
At \(t=1\), the particle is at \((3,4)\), so its distance from the origin is \(D=5\). The rate of change of the distance is
The three rates are 6, 10 and \(-\frac{14}{5}\). The \(x\)-coordinate increases, the particle moves at speed 10, and its distance from the origin decreases.
Each example is one of the four skills of topic 9.4 in Which & Why: AP Calculus.