Tutorials › AP Calculus › Linearity of Vector Differentiation

Vector-Valued Function Calculus · Tutorial 784 of 999

Linearity of Vector Differentiation

Learn how vector differentiation preserves sums, differences, and constant multiples, and why each rule follows from the derivative limit.

Advanced 8 min read

What You'll Learn

  • State the derivative definition for a vector-valued function.
  • Use component-by-component limits to justify linearity.
  • Differentiate sums and differences of vector-valued functions.
  • Differentiate constant multiples and linear combinations of vector functions.
  • Identify the domain and differentiability conditions required for these rules.
  • Recognize why a variable multiplier is not covered by the constant-multiple rule.

Why Linearity Matters

Vector-valued functions describe quantities with several components, such as a position with horizontal and vertical coordinates. When two vector functions are added or subtracted, their components combine in the same way. Differentiation respects those combinations: the derivative of a sum is the sum of the derivatives, and a constant multiple can be carried through the derivative.

These facts are useful because a vector function is often easier to differentiate one component at a time. The rules also let us reorganize a complicated vector expression before differentiating. Their justification comes directly from the limit definition of a vector derivative and the corresponding limit laws for real-valued functions.

Definition and Conditions

Let \(\mathbf{r}:I\to\mathbb{R}^n\) be a vector-valued function on an interval \(I\), and let \(t_0\) be an interior point of \(I\). Its derivative at \(t_0\), when the limit exists, is defined by the limit of its difference quotient:

$$ \mathbf{r}'(t_0) = \lim_{h\to 0} \frac{\mathbf{r}(t_0+h)-\mathbf{r}(t_0)}{h}. $$

Division by the scalar \(h\) means multiplying every component of the vector by \(1/h\). If \(\mathbf{r}(t)=\langle r_1(t),r_2(t),\ldots,r_n(t)\rangle\), then the derivative exists precisely when each component difference quotient has a limit, and those limits form the derivative vector.

Definition: The derivative of a vector-valued function is computed component by component. For \(\mathbf{r}(t)=\langle r_1(t),\ldots,r_n(t)\rangle\), $$ \mathbf{r}'(t_0)=\langle r_1'(t_0),\ldots,r_n'(t_0)\rangle, $$ provided every component derivative exists at \(t_0\).

For two vector functions to be added or subtracted, they must take values in the same space, so their corresponding components can be combined. The rules below apply at any point where both functions are differentiable. A constant-multiple rule also requires that the multiplier be a fixed real number, not a function of the parameter.

The Linearity Rules

Suppose \(\mathbf{u}\) and \(\mathbf{v}\) are differentiable vector-valued functions with values in the same \(\mathbb{R}^n\), and \(c\) is a constant real number. Then:

Theorem: At every point where \(\mathbf{u}\) and \(\mathbf{v}\) are differentiable, $$ (\mathbf{u}+\mathbf{v})'=\mathbf{u}'+\mathbf{v}', \qquad (\mathbf{u}-\mathbf{v})'=\mathbf{u}'-\mathbf{v}', \qquad (c\mathbf{u})'=c\mathbf{u}'. $$

The first two rules are the sum and difference rules for vector differentiation. The third is the constant-multiple rule. Together they imply that any fixed linear combination of differentiable vector functions can be differentiated by applying the same coefficients to their derivatives.

Why the Rules Work

We prove all three rules from the derivative definition. The key fact is that a vector limit exists exactly when the limits of all its components exist, and in that case the vector limit is the vector of those component limits.

For the sum rule, use the definition at a point \(t_0\). For nonzero \(h\) sufficiently close to zero, the difference quotient for the sum can be rearranged as follows:

$$ \begin{aligned} \frac{(\mathbf{u}+\mathbf{v})(t_0+h)-(\mathbf{u}+\mathbf{v})(t_0)}{h} &= \frac{\mathbf{u}(t_0+h)-\mathbf{u}(t_0)}{h} + \frac{\mathbf{v}(t_0+h)-\mathbf{v}(t_0)}{h}. \end{aligned} $$

Because both functions are differentiable at \(t_0\), the two vector difference quotients have limits. Taking the limit and using the sum law for limits in each component gives:

$$ \begin{aligned} (\mathbf{u}+\mathbf{v})'(t_0) &= \lim_{h\to 0} \frac{\mathbf{u}(t_0+h)-\mathbf{u}(t_0)}{h} + \lim_{h\to 0} \frac{\mathbf{v}(t_0+h)-\mathbf{v}(t_0)}{h}\\ &=\mathbf{u}'(t_0)+\mathbf{v}'(t_0). \end{aligned} $$

For the difference rule, subtraction is also performed component by component. The difference quotient separates into the first function's quotient minus the second function's quotient, and the difference law for limits applies to every component:

$$ \begin{aligned} (\mathbf{u}-\mathbf{v})'(t_0) &= \lim_{h\to 0} \left( \frac{\mathbf{u}(t_0+h)-\mathbf{u}(t_0)}{h} - \frac{\mathbf{v}(t_0+h)-\mathbf{v}(t_0)}{h} \right)\\ &=\mathbf{u}'(t_0)-\mathbf{v}'(t_0). \end{aligned} $$

Finally, a constant \(c\) can be factored out of each component limit. Indeed, the difference quotient for \(c\mathbf{u}\) is \(c\) times the difference quotient for \(\mathbf{u}\). Since \(c\) does not depend on \(h\), the constant-multiple limit law gives:

$$ \begin{aligned} (c\mathbf{u})'(t_0) &= \lim_{h\to 0} c\frac{\mathbf{u}(t_0+h)-\mathbf{u}(t_0)}{h}\\ &=c\lim_{h\to 0} \frac{\mathbf{u}(t_0+h)-\mathbf{u}(t_0)}{h}\\ &=c\mathbf{u}'(t_0). \end{aligned} $$

Each step is valid because the relevant component limits exist by differentiability, and the real-number limit laws apply to those components. This proves the three rules at \(t_0\); since the argument applies at every point where both functions are differentiable, it establishes the result throughout their common differentiability domain.

Worked Examples

Worked Example: Differentiate a Sum from Its Difference Quotient

Let \(\mathbf{r}(t)=\langle t^2,3t-1\rangle\) and \(\mathbf{s}(t)=\langle 2t+1,t^2\rangle\). Find \((\mathbf{r}+\mathbf{s})'(t)\) by forming the difference quotient and taking its limit component by component.

First add corresponding components:

$$ (\mathbf{r}+\mathbf{s})(t) = \langle t^2+2t+1,\;t^2+3t-1\rangle. $$

For an increment \(h\), subtract the value at \(t\) from the value at \(t+h\), then divide each component by \(h\):

$$ \begin{aligned} \frac{(\mathbf{r}+\mathbf{s})(t+h)-(\mathbf{r}+\mathbf{s})(t)}{h} &= \left\langle \frac{(t+h)^2+2(t+h)+1-(t^2+2t+1)}{h},\right.\\ &\qquad\left. \frac{(t+h)^2+3(t+h)-1-(t^2+3t-1)}{h} \right\rangle\\ &= \left\langle \frac{2th+h^2+2h}{h}, \frac{2th+h^2+3h}{h} \right\rangle\\ &=\langle 2t+h+2,\;2t+h+3\rangle. \end{aligned} $$

Taking \(h\to 0\) component by component gives:

$$ (\mathbf{r}+\mathbf{s})'(t) = \langle 2t+2,\;2t+3\rangle. $$

Check: Differentiating the two components of the sum gives \(\frac{d}{dt}(t^2+2t+1)=2t+2\) and \(\frac{d}{dt}(t^2+3t-1)=2t+3\), matching the limit result.

Worked Example: Apply the Difference Rule

Let \(\mathbf{u}(t)=\langle t^2,\sin t\rangle\) and \(\mathbf{v}(t)=\langle 3t,\cos t\rangle\). Find \((\mathbf{u}-\mathbf{v})'(t)\), and then evaluate it at \(t=0\).

Both functions are differentiable for all real \(t\), and their components can be subtracted:

$$ (\mathbf{u}-\mathbf{v})(t) = \langle t^2-3t,\;\sin t-\cos t\rangle. $$

Using the difference rule and differentiating each component, we obtain:

$$ \begin{aligned} (\mathbf{u}-\mathbf{v})'(t) &=\mathbf{u}'(t)-\mathbf{v}'(t)\\ &=\langle 2t,\cos t\rangle-\langle 3,-\sin t\rangle\\ &=\langle 2t-3,\;\cos t+\sin t\rangle. \end{aligned} $$

At \(t=0\), use \(2(0)-3=-3\), \(\cos 0=1\), and \(\sin 0=0\):

$$ (\mathbf{u}-\mathbf{v})'(0) = \langle -3,\;1+0\rangle = \langle -3,1\rangle. $$

Check: The subtracted function is \(\langle t^2-3t,\sin t-\cos t\rangle\). Its component derivatives are \(2t-3\) and \(\cos t+\sin t\), so its derivative agrees with the result; at zero, those components are \(-3\) and \(1\).

Worked Example: Differentiate a Constant Linear Combination

Let \(\mathbf{f}(t)=\langle t,t^2\rangle\), \(\mathbf{g}(t)=\langle 1-t,2t+3\rangle\), and define \(\mathbf{w}(t)=3\mathbf{f}(t)-2\mathbf{g}(t)\). Find \(\mathbf{w}'(t)\) and evaluate it at \(t=2\).

The coefficients \(3\) and \(-2\) are constants, so the constant-multiple and difference rules apply:

$$ \begin{aligned} \mathbf{w}'(t) &=3\mathbf{f}'(t)-2\mathbf{g}'(t)\\ &=3\langle 1,2t\rangle-2\langle -1,2\rangle\\ &=\langle 3,6t\rangle-\langle -2,4\rangle\\ &=\langle 5,6t-4\rangle. \end{aligned} $$

At \(t=2\), the first component is \(5\), and the second is \(6(2)-4=12-4=8\). Therefore \(\mathbf{w}'(2)=\langle 5,8\rangle\).

Check: First combine the original components: \(\mathbf{w}(t)=\langle 3t-2(1-t),3t^2-2(2t+3)\rangle=\langle 5t-2,3t^2-4t-6\rangle\). Their derivatives are \(5\) and \(6t-4\), giving \(\langle 5,8\rangle\) at \(t=2\), as found above.

Common Pitfall: Treating a Variable Multiplier as a Constant

The constant-multiple rule applies only when the multiplier does not change with \(t\). For example, the following calculation is not valid if \(a(t)\) is a nonconstant scalar function:

$$ \text{Incorrect:}\qquad \bigl(a(t)\mathbf{r}(t)\bigr)'=a(t)\mathbf{r}'(t). $$

This incorrectly treats \(a(t)\) like a fixed number. A simple counterexample shows the problem. Let \(a(t)=t\) and \(\mathbf{r}(t)=\langle 1,0\rangle\). Then \(a(t)\mathbf{r}(t)=\langle t,0\rangle\), whose derivative is \(\langle 1,0\rangle\). But the incorrect calculation gives \(t\mathbf{r}'(t)=t\langle 0,0\rangle=\langle 0,0\rangle\), which is different. The constant-multiple rule cannot be used here. Differentiating a product of a scalar function and a vector function requires a separate rule.

Another error is to combine components in the wrong order. Vector addition and subtraction require matching components: first component with first component, second with second, and so on. The operations are not performed by mixing coordinates.

Using Linearity Efficiently

When differentiating a vector expression, first check its structure. If it consists of sums, differences, and constant multiples of differentiable vector functions, apply the linearity rules to simplify the task. Then differentiate the component functions. The reasoning depends on two conditions: the vector functions must have the same number of components for sums and differences, and each function being differentiated must be differentiable at the point in question.

Linearity does not say that every operation on vector functions can be passed through a derivative. It covers the three stated operations only. In particular, a multiplier that varies with the parameter is not a constant, and it cannot be pulled outside the derivative using this result.

Key takeaway: Vector differentiation is linear because the derivative limit is evaluated component by component, and each real-valued component limit obeys the sum, difference, and constant-multiple laws.

Check Your Understanding

Use the derivative definition, the linearity rules, and component differentiation to answer these questions.

  1. State the condition on the ranges of \(\mathbf{u}\) and \(\mathbf{v}\) that allows \(\mathbf{u}+\mathbf{v}\) to be defined.
  2. For differentiable \(\mathbf{p}\) and \(\mathbf{q}\), write the difference rule and briefly identify the limit law used to justify it.
  3. If \(\mathbf{r}'(t)=\langle 2t,3\rangle\), find the derivative of \(-4\mathbf{r}(t)\).
  4. Explain why the constant-multiple proof cannot simply factor \(a(t)\) out of the limit when \(a\) depends on \(t\).
  5. For \(\mathbf{a}(t)=\langle t^2,1-t\rangle\) and \(\mathbf{b}(t)=\langle 2t,t^2\rangle\), find \((\mathbf{a}+\mathbf{b})'(t)\).

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon