MAT291: Lecture 7 (Redone) - Tangent Plane & Differentiability
Overview
The lecture develops the tangent-plane approximation for a surface z = f(x,y), deriving it from the x- and y-direction partial derivatives and the plane's normal vector. It then defines differentiability through a normalized error limit that must equal zero in every direction, and tests the criterion on the piecewise function f(x,y) = x²y²/(x²+y²), which is differentiable at the origin despite requiring a limit-based partial-derivative calculation.
Key takeaways
- For z = f(x,y), the candidate tangent plane at (a,b) is z = f(a,b) + f_x(a,b)(x-a) + f_y(a,b)(y-b).
- The vectors (1,0,f_x(a,b)) and (0,1,f_y(a,b)) span the candidate plane, whose normal vector is (-f_x(a,b),-f_y(a,b),1).
- A function is differentiable at (a,b) when the plane-approximation error divided by √((x-a)²+(y-b)²) tends to zero from every direction.
- Existing partial derivatives and a defined gradient do not guarantee differentiability; they provide only an initial check.
- For f(x,y) = x²y²/(x²+y²), patched to zero on the axes, both partials at the origin are zero, and the polar-coordinate error r cos²θ sin²θ proves differentiability there.
Chapters
- For a one-variable function, f'(a) gives the slope of the tangent line at x = a.
- The line f(a) + f'(a)(x - a) provides a first-order approximation near a.
- The lecture extends this idea to a plane that can approximate a surface z = f(x,y).
- The x-direction tangent vector at (a,b) is (1, 0, f_x(a,b)), since one unit of x movement changes z by f_x.
- The y-direction tangent vector is (0, 1, f_y(a,b)), since one unit of y movement changes z by f_y.
- These vectors lie in a plane through the surface point (a,b,f(a,b)); their cross product gives a normal vector.
- Crossing (1, 0, f_x) with (0, 1, f_y) gives the normal vector (-f_x, -f_y, 1).
- Using the surface point (a,b,f(a,b)), the plane equation becomes z = f(a,b) + f_x(a,b)(x-a) + f_y(a,b)(y-b).
- Partial derivatives can define this candidate plane, but the plane earns the name tangent plane only when the function is differentiable.
- For f(x,y) = x³ - 2xy² at (1,-1), the partial derivatives are f_x = 3x² - 2y² and f_y = -4xy.
- At (1,-1), f_x = 1, f_y = 4, and the surface point is (1,-1,-1).
- The resulting plane is z = -1 + (x-1) + 4(y+1), or z = x + 4y + 2.
- The gradient at (a,b) is ∇f(a,b) = (f_x(a,b), f_y(a,b)).
- Having both partial derivatives, and therefore a gradient, does not by itself prove continuity or differentiability.
- Differentiability requires the candidate plane to approximate the function as the input approaches from every direction, not only along the coordinate axes.
- The test compares f(x,y) with the plane value f(a,b) + f_x(a,b)(x-a) + f_y(a,b)(y-b).
- The difference is divided by the input distance √((x-a)²+(y-b)²), and the limit must equal zero.
- A zero limit means the approximation error becomes negligible relative to the step size for every approach path.
- The example defines f(x,y) = x²y²/(x²+y²) when xy is nonzero and f(x,y) = 0 when xy = 0.
- Because the function is patched at the origin, the x- and y-partials there are calculated from their difference-quotient definitions.
- Both partial derivatives at (0,0) equal zero, so the gradient is the zero vector, but this alone does not establish differentiability.
- Since f(0,0) and both origin partials are zero, the candidate plane is z = 0.
- The normalized error for nonzero (x,y) is x²y²/(x²+y²)^(3/2).
- Substituting x = r cos θ and y = r sin θ reduces the expression to r cos²θ sin²θ, which tends to zero as r approaches zero for every θ.
- The function is therefore differentiable at the origin, and the plane z = 0 is its tangent-plane approximation there.
- At a piecewise definition such as the origin example, use the partial-derivative limit definitions at the patched point.
- For ordinary smooth formulas, direct partial differentiation can be used where the formula is defined.
- After finding the partials, verify differentiability separately with the normalized error limit; partial derivatives alone are insufficient.
Transcript excerpt
0:02 Good morning everyone. So we finished last week with partial derivatives and directional derivatives. Okay. So today we are going to expand on that concept and build a more general case. Okay. That brings us to the topic of the tangent plane and differentiability in all directions. So these are the two main topics that we will cover. How do we get the tangent plane? Why does it matter? Why is it important? And then how we can use it to differentiability to define differentiability and also what does it
0:50 mean to be differentiable. Okay. So remember from single variable when you took the derivative of a function at a point like this one as y being a function of X. If the derivative of X existed, which mean meant that the derivative, however you define it, the limit, the
1:38 continuity, right? Like you use the limit most probably. Then where we when need to find it if they agreed from both directions again from the positive and negative value of a. If that derivative agreed you would say the function is differentiable at that point and that derivative helped you define a point like this one. And the slope of this point was defined by the derivative of f at point a. Do you remember this? Right. So derivative on its own yes it mattered
2:29 because it's one definition. It helps you define like if the function is differentiable at a point. But the second use it had was to help you define a line. That line was tangent to the function at that point. Then what did you do with this line? You used it as a first order approximation for the function. Right? You would say f(x) is equal to f a plus f prime a x - a.
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Parinaz Naseri.