Quelques notebooks SAGE / Python. Équations différentielles ou calcul multivariable.
Image: ubuntu2004
Differentiability
Two examples
Recall
Write and so on...,
Let be defined on a region of containing the point .
Its linear approximation at is
Upon expanding, one can equivalently (but it is longer to do so) write
Differentiability
The function is differentiable at if the error made by by replacing by is small compared to .
This means that near , and beheave in the same way.
So their contour plots should look pretty similar.
But since is linear, its contour plot is formed by parallel lines (whose common normal vector is precisely provided it is non zero).
Sometimes one refers to differentiability (at a point) as local linearity (near that point)
Example 1
Let us consider the function given by , and study its differentiability at .
Below we have the surface and its tangent plane. A direct calculation shows .
Let us now see the two contour plots, together, with different zoom factors.
One clearly sees that the contour plots tend to be pretty much the same. The function is differentiable at
Warning
This interpretation of differentiability heavily relies on the fact that the linear approximation is nonzero at the approximation point.
To wit, let us consider the same function , but let us now use as approximation point. We have .
Below, the surface and the tangent plane.
A comment on the contour plots
The linear approximation is zero, so its contour plot is something tricky : at level zero, the contour line is the whole plane, whereas all other level curves are empty
Let us now see the contour plots for with different zoom factors. We see that near the origin they do not look like the contour lines of its linear approximation . Instead, they look like ellipses. However, one can compute
Example 2
Let us consider the function given by , and study its differentiability at .
Using the limit definition of the partial derivatives, one can get that, at the origin, .
Below we have the surface and its tangent plane. In particular, note that no matter how close one looks at the surface, it does not fit its tangent plane!
A comment on the contour plots
Same comment as before here!
Let us now see the contour plots for with different zoom factors. We see that near the origin they do not look like the contour lines of its linear approximation .
In order to show the function is not differentiable at , one has to go by the definition: show that