Calculus and vectors #rvc
Time-dependent vectors can be differentiated in exactly the same way that we differentiate scalar functions. For a time-dependent vector →a(t), the derivative ˙→a(t) is:
Vector derivative definition.#rvc‑ed
˙→a(t)=ddt→a(t)=lim
Note that vector derivatives are a purely geometric concept. They don't rely on any basis or coordinates, but are just defined in terms of the physical actions of adding and scaling vectors.
Show: | |
Increment: | \Delta t = 2 s |
Time: | t = 0 s |
Vector derivatives shown as functions of t and \Delta t. We can hold t fixed and vary \Delta t to see how the approximate derivative \Delta\vec{a}/\Delta t approaches \dot{\vec{a}}. Alternatively, we can hold \Delta t fixed and vary t to see how the approximation changes depending on how \vec{a} is changing. #rvc‑fd
We will use either the dot notation \dot{\vec{a}}(t) or the full derivative notation \frac{d\vec{a}(t)}{dt}, depending on which is clearer and more convenient. We will often not write the time dependency explicitly, so we might write just \dot{\vec{a}} or \frac{d\vec{a}}{dt}.
Derivatives and vector “positions” #rvc‑sp
When thinking about vector derivatives, it is important to remember that vectors don't have positions. Even if a vector is drawn moving about, this is irrelevant for the derivative. Only changes to length and direction are important.
Show:
Movement: bounce stretch circle twist slider rotate vertical fly
Vector derivatives for moving vectors. Vector movement is irrelevant when computing vector derivatives. #rvc‑fp
Derivatives in components #rvc‑sc
In a fixed basis we differentiate a vector by differentiating each component:
Vector derivative in components#rvc‑ec
\dot{\vec{a}}(t) = \dot{a}_1(t) \,\hat{\imath} + \dot{a}_2(t) \,\hat{\jmath} + \dot{a}_3(t) \,\hat{k}
Derivation
Warning: Differentiating each component is only valid if the basis is fixed. #rvc‑wc
Time: | t = 0 s |
Show: | |
Basis: | \hat\imath,\hat\jmath \hat{u},\hat{v} |
The vector derivative decomposed into components. This demonstrates graphically that each component of a vector in a particular basis is simply a scalar function, and the corresponding derivative component is the regular scalar derivative. #rvc‑fc
Differentiating vector expressions #rvc‑se
We can also differentiate complex vector expressions, using the sum and product rules. For vectors, the product rule applies to both the dot and cross products:
Product rule for dot-product derivatives.#rvc‑ep
\frac{d}{dt}(\vec{a} \cdot \vec{b}) = \dot{\vec{a}} \cdot \vec{b} + \vec{a} \cdot \dot{\vec{b}}
Product rule for cross-product derivatives.#rvc‑ex
\frac{d}{dt}(\vec{a} \times \vec{b}) = \dot{\vec{a}} \times \vec{b} + \vec{a} \times \dot{\vec{b}}
Example Problem: Differentiating vector product expressions. #rvc‑xe
The chain rule also applies to vector functions. This is helpful for parameterizing vectors in terms of arc-length s or other quantities different than time t.
Chain rule for vectors.#rvc‑er
\frac{d}{dt} \vec{a} (s(t)) = \frac{d\vec{a}}{ds} (s(t)) \frac{ds}{dt}(t) = \frac{d\vec{a}}{ds} \dot{s}
Example Problem: Chain rule. #rvc‑er
Did you know?#rvc‑il
Gottfried Leibniz, one of the inventors of calculus, got the product rule wrong [Child, 1920, page 100; Cirillo, 2007]. In modern notation he computed the example \frac{d}{dx}(x^2 + bx)(cx + d) = (2x + b)c and he stated that in general it was obvious that \frac{d}{dx} (f g) = \frac{df}{dx} \frac{dg}{dx}. He later realized his error and corrected it [Cupillari, 2004], but at least we know that product rules are tricky and not obvious, even for someone smart enough to invent calculus.
References
- J. M. Child. The Early Mathematical Manuscripts of Leibniz. Open Court Publishing, 1920. (Google ebook, local copy).
- M. Cirillo. Humanizing Calculus. The Mathematics Teacher, 101(1):23–27, 2007. (NCTM version, local copy)
- A. Cupillari. Another look at the rules of differentiation. Primus: Problems, Resources, and Issues in Mathematics Undergraduate Studies, 14(3):193–200, 2004. DOI: 10.1080/10511970408984087.
Changing lengths and directions #rvc‑sd
Two useful derivatives are the rates of change of a vector's length and direction:
Derivative of vector length.#rvc‑el
\dot{a} = \dot{\vec{a}} \cdot \hat{a}
Derivation
Derivative of vector direction.#rvc‑eu
\dot{\hat{a}} = \frac{1}{a} \operatorname{Comp}(\dot{\vec{a}}, \vec{a})
Derivation
An immediate consequence of the derivative of direction formula is that the derivative of a unit vector is always orthogonal to the unit vector:
Derivative of unit vector is orthogonal.#rvc‑eu
\dot{\hat{a}} \cdot \hat{a} = 0
Derivation
Recall that we can always write a vector as the product of its length and direction, so \vec{a} = a \hat{a}. This gives the following decomposition of the derivative of \vec{a}.
Vector derivative decomposition.#rvc‑em
\begin{aligned} \dot{\vec{a}} &= \underbrace{\dot{a} \hat{a}}_{\operatorname{Proj}(\dot{\vec{a}}, \vec{a})} + \underbrace{a \dot{\hat{a}}}_{\operatorname{Comp}(\dot{\vec{a}}, \vec{a})}\end{aligned}
Derivation
Integrating vector functions #rvc‑si
The Riemann-sum definition of the vector integral is:
Vector integral.#rvc‑ei
\int_0^t \vec{a}(\tau) \, d\tau = \lim_{N \to \infty} \underbrace{\sum_{i=1}^N \vec{a}(\tau_i) \Delta\tau}_{\vec{S}_N} \qquad \tau_i = \frac{i - 1}{N} \qquad \Delta \tau = \frac{1}{N}
In the above definition \vec{S}_N is the sum with N intervals, written here using the left-hand edge \tau_i in each interval.
Time: | t = 0 s |
Show: | |
Segments: | N = 1 |
Integral of a vector function \vec{a}(t), together with the approximation using a Riemann sum. #rvc‑fi
Just like vector derivatives, vector integrals only use the geometric concepts of scaling and addition, and do not rely on using a basis. If we do write a vector function in terms of a fixed basis, then we can integrate each component:
Vector integral in components.#rvc‑et
\int_0^t \vec{a}(\tau) \, d\tau = \left( \int_0^t a_1(\tau) \, d\tau \right) \,\hat\imath + \left( \int_0^t a_2(\tau) \, d\tau \right) \,\hat\jmath + \left( \int_0^t a_3(\tau) \, d\tau \right) \,\hat{k}
Derivation
Warning: Integrating each component is only valid if the basis is fixed. #rvc‑wi
Example Problem: Integrating a vector function. #rvc‑xi
Warning: The dummy variable of integration must be different to the limit variable. #rvc‑wd