8 Zooming In
8.1 Single-Variable Calculus
Given this new picture of where the infinitesimals of calculus live, its helpful to briefly turn our gaze backwards and consider the calculus we already know in a new light. Instead of drawing a function
This may be a bit hard to interpret at first, mostly because of all the crossing lines: the squaring operation folds the line in half, sending all the negative numbers to positive numbers, which clutters our view. The same point can be made more clearly with a function that does not do this, such as
It’s quite easy to see from this map that our function
But this is all an analysis of finite points along the line: what we are really interested in of course, is the infinite level of zoom required by calculus. To see this, we need to imagine the infinitesimal tangent spaces at each point. Below, I’ve illustrated this near a point undergoing infinitesimal stretch, as well as a point undergoing infinitesimal compression.
After passing to the tangent space, we expect (via the Fundamental Strategy) that our function becomes a linear function. But the tangent spaces are just lines, and whats a linear map from a line to a line? It’s just multiplication by a constant (a
Here we interpret the derivative not as a slope, but as the infinitesimal stretch factor: the fact that
It would be great to have a good mental picture of this before we go too far into the weeds. And we are incredibly fortunate that 3Blue1Brown has anticipated our needs, and produced a beautiful video on this topic! This is his final installment in the series “Essence of Calculus”, and while it is the one most relevant to our course (the series focuses on the concepts of Calculus 1 and 2) I wholeheartedly recommend taking some time to refresh your knowledge by watching the entire thing!
8.2 Linearizing Curves
Now we know how to linearize space, how do we find the linearizations of functions at the infinite level of zoom we desire? Its perhaps easiest to start with curves. Curves are functions from some interval
Proposition 8.1 (Differentiating Curves) Let
First, we check that this definition makes sense. If
Exercise 8.1 Show that if we write the curve
Geometrically, we should interpret this derivative as being a way of taking an infinitesimal piece of the
Example 8.1 The curve
Exercise 8.2 Differentiate the following curves:
- Tangent vector to
in . - Tangent vector to
when . Which tangent space is it in?
8.3 Linearizing Multivariable Functions
Besides curves, the other main type of function we will be interested in are functions from a 2-dimensional space back to itself. These are things like rotations of the plane, translations of the plane, but also include even weirder things, that move points about the plane in strange ways.
Definition 8.1 (Multivariable Function) A function
We can make this more concrete by writing both the domain and the range in coordinates: since
Definition 8.2 If
What should the linearization of such functions look like upon zooming in? Well, we already know how curves work, so a good place to start is by looking for curves. If we hold
Zooming in, the linearization of these curves are two vectors in
These are each vectors that lie in the tangent space
ANIMATION
This is the behavior of a linear map! And even better, we know exactly how to write down a linear map as a matrix if we are given what it does to the standard basis!
Remark 8.1. Here the symbol
Definition 8.3 Let
Where after taking the derivatives, we plug in the point
To lighten notation, sometimes we will just write
Example 8.2 The derivative of
Plugging in the point,
The usual calculus rules hold: differentiation of a sum of functions is a sum of their derivative matrices, and you can pull scalars out from the derivative
Exercise 8.3 Find the derivatives of the following functions, at the specified points.
- The function
at the point . - The function
at the point .
8.3.1 Compositions
In single variable calculus, we often made use of the chain rule to take derivatives. This let us remember less things, as we were able to construct derivatives of complicated functions from simpler pieces. It’s instructive to take a look back at the formula:
What is this saying in our new language of linearizations? Recall that the number line itself has tangent spaces, just like the plane, and we should interpret something like
The linearization of
at is the result of linearizing at , and multiplying by the linearization of at .
This makes perfect sense geometrically, where we start with an infinitesimal piece of the line based at
This has a direct analog in higher dimensions, if we remember that the way to compose linear transformations is by matrix multiplication.
Proposition 8.2 (Differentiating Compositions) If
Example 8.3 If
Then, since
Finally, we compose these linear maps with matrix multiplication (making sure to be careful about the order!)
Exercise 8.4 If
Differentiate the following compositions:
at at at .
8.3.2 Inverses
Inverse of
The same reasoning applies directly in higher dimensions: if
Note that the matrix we got by differentiating is constant - it has no
But this says that the two matrices,
Theorem 8.1 If
Note that this theorem only tells us how to find the derivative at the point
Example 8.4 Let
Then, we invert this, using the formula for
By Theorem 8.1, this is the derivative of the inverse
As a review of Calculus I, try this out for a function of a single variable yourself:
Exercise 8.5 Consider the function
8.3.3 Differentiating Linear Maps
We won’t actually have that many opportunities during the course where we will need to find the explicit derivatives of an inverse function as we did above. But during the proof of Theorem 8.1, we noticed an interesting fact: the derivative of many maps we have calculated depends on which point
Proposition 8.3 (Derivative of a Linear Map) If
Exercise 8.6 Prove Proposition 8.3.
While the symbolic proof of this is relatively straightforward, its good to pause for a minute and contemplate what it means. The derivative at a point is supposed to be the best linear approximation to the function at that point. But what happens if the function is already linear? Well - then the best linear approximation at that point is itself! And this is true at every point - so the derivative is the same as the map at every point!
In symbols, if
Can we characterize which maps have this property? If
Exercise 8.7 (When the derivative is constant) Prove that a function