Tutorials › AP Calculus › Product Rule for Scalar-Vector Products

Vector-Valued Function Calculus · Tutorial 785 of 999

Product Rule for Scalar-Vector Products

Derive the scalar-vector product rule and use it to differentiate vector functions reliably in both component form and at specified input values.

Advanced 10 min read

What You'll Learn

  • State the conditions for the scalar-vector product rule
  • Derive the rule from the vector derivative definition
  • Apply the rule to two- and three-component functions
  • Verify results by differentiating expanded components
  • Identify and correct the error of omitting a product-rule term

Why a Scalar-Vector Product Needs a Rule

A scalar function can change as its input changes, and a vector-valued function can change as well. When both change, their product reflects both changes. Differentiating only one factor misses part of the variation.

For example, let \(g(t)\) be a real-valued function and let \(\mathbf{r}(t)\) be a vector-valued function. Their scalar-vector product \(g(t)\mathbf{r}(t)\) is formed by multiplying every component of \(\mathbf{r}(t)\) by the same scalar \(g(t)\). The product rule accounts for the change in the scalar and the change in the vector.

Definition: If \(g(t)\) is scalar-valued and \(\mathbf{r}(t)\) is vector-valued, then \(g(t)\mathbf{r}(t)\) is the vector obtained by multiplying each component of \(\mathbf{r}(t)\) by \(g(t)\). If both functions are differentiable at \(t\), then $$ \frac{d}{dt}\bigl(g(t)\mathbf{r}(t)\bigr) = g'(t)\mathbf{r}(t)+g(t)\mathbf{r}'(t). $$

The two terms on the right have different roles. The term \(g'(t)\mathbf{r}(t)\) accounts for the scalar changing while the vector is held at its current value. The term \(g(t)\mathbf{r}'(t)\) accounts for the vector changing while the scalar is held at its current value. Both terms are vectors of the same dimension, so they can be added.

Component Form

Suppose \(\mathbf{r}(t)=\langle x(t),y(t)\rangle\). Since scalar multiplication acts on each component,

$$ g(t)\mathbf{r}(t) = \langle g(t)x(t),g(t)y(t)\rangle. $$

Applying the ordinary scalar product rule to each component gives

$$ \frac{d}{dt}\bigl(g(t)\mathbf{r}(t)\bigr) = \langle g'(t)x(t)+g(t)x'(t),\; g'(t)y(t)+g(t)y'(t)\rangle. $$

This is precisely the component form of \(g'\mathbf{r}+g\mathbf{r}'\). In three dimensions, if \(\mathbf{r}(t)=\langle x(t),y(t),z(t)\rangle\), the same rule applies to all three components:

$$ \frac{d}{dt}\bigl(g(t)\mathbf{r}(t)\bigr) = \langle g'x+gx',\; g'y+gy',\; g'z+gz' \rangle. $$

All functions and derivatives in these component expressions are evaluated at \(t\). The rule is valid wherever \(g\) and every component of \(\mathbf{r}\) are differentiable.

Why the Product Rule Works

The vector derivative is defined by a limit of difference quotients, computed component by component. The derivation below uses that definition and the ordinary limit laws for scalar and vector functions.

1
Start with the difference quotient.
Write the change in the product between \(t\) and \(t+h\), divided by \(h\), for nonzero \(h\).
2
Add and subtract a useful term.
Insert \(g(t)\mathbf{r}(t+h)\) so the change separates into a scalar change and a vector change.
3
Take the limit.
Use differentiability and continuity to evaluate the two resulting terms.

In equations, the difference quotient is

$$ \frac{g(t+h)\mathbf{r}(t+h)-g(t)\mathbf{r}(t)}{h}. $$

Add and subtract \(g(t)\mathbf{r}(t+h)\) in the numerator, then factor each difference:

$$ \begin{aligned} &\frac{g(t+h)\mathbf{r}(t+h)-g(t)\mathbf{r}(t)}{h}\\ &= \frac{[g(t+h)-g(t)]\mathbf{r}(t+h)}{h} + g(t)\frac{\mathbf{r}(t+h)-\mathbf{r}(t)}{h}\\ &= \frac{g(t+h)-g(t)}{h}\mathbf{r}(t+h) + g(t)\frac{\mathbf{r}(t+h)-\mathbf{r}(t)}{h}. \end{aligned} $$

Because \(g\) is differentiable at \(t\), the first scalar difference quotient tends to \(g'(t)\). Because \(\mathbf{r}\) is differentiable at \(t\), its difference quotient tends to \(\mathbf{r}'(t)\). Differentiability of \(\mathbf{r}\) also implies continuity there, so \(\mathbf{r}(t+h)\) tends to \(\mathbf{r}(t)\). Therefore the limit of the first term is \(g'(t)\mathbf{r}(t)\), and the limit of the second is \(g(t)\mathbf{r}'(t)\). Adding these limits proves

$$ \frac{d}{dt}\bigl(g(t)\mathbf{r}(t)\bigr) = g'(t)\mathbf{r}(t)+g(t)\mathbf{r}'(t). $$

The continuity used here follows directly from differentiability: each component’s difference quotient has a finite limit, so the component change is \(h\) times a quantity that stays bounded near \(t\), and therefore tends to zero as \(h\) tends to zero. Thus the vector itself tends to its value at \(t\).

Worked Examples

Worked Example: A Polynomial Scalar Times a Two-Component Vector

Let \(g(t)=t^2+1\) and \(\mathbf{r}(t)=\langle 2t-1,\;t^2-3\rangle\). Find the derivative of \(g(t)\mathbf{r}(t)\), and verify it by expanding the components.

First, differentiate each factor:

$$ g'(t)=2t, \qquad \mathbf{r}'(t)=\langle 2,\;2t\rangle. $$

Apply the product rule. The first term is

$$ g'(t)\mathbf{r}(t) = 2t\langle 2t-1,\;t^2-3\rangle = \langle 4t^2-2t,\;2t^3-6t\rangle. $$

The second term is

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

Add corresponding components:

$$ \frac{d}{dt}\bigl(g(t)\mathbf{r}(t)\bigr) = \langle 6t^2-2t+2,\;4t^3-4t\rangle. $$

To check, expand the original product first:

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

Differentiate the first component to get \(6t^2-2t+2\), and differentiate the second to get \(4t^3-4t\). These match the product-rule result.

Worked Example: A Trigonometric Scalar and Vector

Let \(g(t)=\sin t\) and \(\mathbf{r}(t)=\langle t,\cos t\rangle\). Find the derivative of their product and evaluate it at \(t=\frac{\pi}{3}\).

The derivatives of the factors are

$$ g'(t)=\cos t, \qquad \mathbf{r}'(t)=\langle 1,-\sin t\rangle. $$

Use both terms of the product rule:

$$ \begin{aligned} \frac{d}{dt}\bigl(\sin t\langle t,\cos t\rangle\bigr) &= \cos t\langle t,\cos t\rangle + \sin t\langle 1,-\sin t\rangle\\ &= \langle t\cos t,\cos^2t\rangle + \langle \sin t,-\sin^2t\rangle\\ &= \langle t\cos t+\sin t,\;\cos^2t-\sin^2t\rangle. \end{aligned} $$

At \(t=\frac{\pi}{3}\), use \(\cos(\frac{\pi}{3})=\frac12\) and \(\sin(\frac{\pi}{3})=\frac{\sqrt3}{2}\). The first component is

$$ \frac{\pi}{3}\cdot\frac12+\frac{\sqrt3}{2} = \frac{\pi}{6}+\frac{\sqrt3}{2}. $$

The second component is

$$ \left(\frac12\right)^2-\left(\frac{\sqrt3}{2}\right)^2 = \frac14-\frac34 = -\frac12. $$

Thus the derivative at the specified input is \(\langle\frac{\pi}{6}+\frac{\sqrt3}{2},-\frac12\rangle\). As a check, the original product is \(\langle t\sin t,\sin t\cos t\rangle\). Differentiating these components gives \(\sin t+t\cos t\) and \(\cos^2t-\sin^2t\), respectively, agreeing with the rule and its evaluated value.

Worked Example: A Reciprocal Scalar Evaluated at a Number

For \(t\ne 0\), let \(g(t)=\frac1t\) and \(\mathbf{r}(t)=\langle t^2+1,\;2t-1\rangle\). Find the derivative of their product at \(t=2\).

Differentiate the factors:

$$ g'(t)=-\frac{1}{t^2}, \qquad \mathbf{r}'(t)=\langle 2t,\;2\rangle. $$

The two product-rule terms are

$$ g'(t)\mathbf{r}(t) = \left\langle-\frac{t^2+1}{t^2},-\frac{2t-1}{t^2}\right\rangle $$

and

$$ g(t)\mathbf{r}'(t) = \left\langle 2,\frac{2}{t}\right\rangle. $$

Adding and simplifying component by component gives

$$ \begin{aligned} \frac{d}{dt}\bigl(g(t)\mathbf{r}(t)\bigr) &= \left\langle -\frac{t^2+1}{t^2}+2,\; -\frac{2t-1}{t^2}+\frac2t \right\rangle\\ &= \left\langle 1-\frac1{t^2},\frac1{t^2}\right\rangle. \end{aligned} $$

At \(t=2\), this is \(\langle 1-\frac14,\frac14\rangle=\langle\frac34,\frac14\rangle\). To check, simplify the product first: \(\frac1t\langle t^2+1,2t-1\rangle=\langle t+\frac1t,2-\frac1t\rangle\). Its component derivatives are \(1-\frac1{t^2}\) and \(\frac1{t^2}\), which at \(t=2\) give \(\frac34\) and \(\frac14\), as required.

A Common Mistake: Differentiating Only the Vector

A frequent error is to differentiate \(\mathbf{r}(t)\) but leave out the term involving \(g'(t)\). For a concrete example, take \(g(t)=t^2\) and \(\mathbf{r}(t)=\langle t,1\rangle\). Omitting the scalar’s derivative would give

$$ g(t)\mathbf{r}'(t) = t^2\langle 1,0\rangle = \langle t^2,0\rangle, $$

which at \(t=1\) is \(\langle1,0\rangle\). But the product is actually \(\langle t^3,t^2\rangle\), whose derivative at \(1\) is \(\langle3,2\rangle\). The missing contribution is \(g'(t)\mathbf{r}(t)\): at \(t=1\), it equals \(2\langle1,1\rangle=\langle2,2\rangle\). Adding the other term gives \(\langle2,2\rangle+\langle1,0\rangle=\langle3,2\rangle\), confirming the correct answer.

Takeaway: When both factors depend on the input, write both contributions before simplifying: \(g'\mathbf{r}+g\mathbf{r}'\). Then check that every component includes the scalar product rule’s two terms.

Using the Rule Reliably

A consistent process reduces sign and component errors. First identify the scalar factor and the vector factor. Then differentiate each separately, keeping the vector’s components in their original order. Form \(g'\mathbf{r}\) and \(g\mathbf{r}'\), and add corresponding components. If the result is complicated, expand the original product component by component and differentiate those scalar expressions as an independent check.

The rule applies to any finite-dimensional vector-valued function as long as the scalar function and vector function are differentiable at the input. It does not require the components to be polynomials; the examples include trigonometric and reciprocal functions. The key is that the product means scalar multiplication of a vector, not multiplication of two scalar quantities.

Check Your Understanding

For each question, keep the scalar and vector factors distinct until you have written both terms of the product rule.

  1. State the differentiability conditions and formula for differentiating \(g(t)\mathbf{r}(t)\).
  2. If \(g(t)=t\) and \(\mathbf{r}(t)=\langle t^2,3t\rangle\), find the derivative of their product.
  3. Explain why differentiability of \(\mathbf{r}\) at \(t\) allows \(\mathbf{r}(t+h)\) to tend to \(\mathbf{r}(t)\) in the derivation.
  4. For \(g(t)=\cos t\) and \(\mathbf{r}(t)=\langle 1,\sin t\rangle\), write the product-rule derivative in component form.
  5. What term is omitted in the incorrect calculation that differentiates only the vector factor?

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