MAT291: Lecture 9 - Gradient Interpretation and Application
Overview
Parinaz Naseri explains how the gradient determines directional change: for a differentiable function, the directional derivative is the gradient dotted with a unit direction, reaching its maximum along the gradient and zero along directions tangent to a level curve. She applies these ideas to a quadratic function and to a hiker following a path on the surface z = 4 - x² - 2y², then reviews quiz logistics.
Key takeaways
- For a differentiable function and a unit direction u, the directional derivative is ∇f · u = ||∇f|| cos θ, so its possible values range from -||∇f|| to ||∇f||.
- The gradient points toward steepest ascent, its negative points toward steepest descent, and any direction perpendicular to it has zero instantaneous change.
- A level curve has constant function value, so its tangent is perpendicular to the gradient; this makes the gradient useful for interpreting contour maps.
- For f(x,y) = x² + 2y² at (1,1), ∇f = (2,4), the steepest ascent rate is √20, and the direction (3/5,4/5) produces rate 22/5.
- For z = 4 - x² - 2y² along y = 2x, the unit path direction is (1,2)/√5 and the elevation rate is -18x/√5, changing sign at x = 0.
Chapters
- For a differentiable function f at (a,b), the directional derivative in unit direction u is ∇f(a,b) · u.
- A direction supplied as a non-unit vector must be normalized before using the gradient shortcut.
- The dot product expresses the rate as ||∇f|| cos θ, where θ is the angle between the gradient and u.
- The maximum directional derivative occurs when θ = 0, so u points along ∇f and the rate is ||∇f||.
- The steepest descent direction is opposite the gradient, with rate -||∇f||.
- A direction perpendicular to the gradient has cos θ = 0 and therefore zero directional derivative.
- Along a level curve, f stays constant, so a particle moving along it has df/dt = 0.
- Using the chain rule, df/dt = ∇f · r'(t); a zero result means the gradient is perpendicular to the curve's tangent.
- Conversely, motion perpendicular to the gradient has zero instantaneous change and follows a level curve locally.
- On a hill's contour map, each contour represents a constant height and the gradient points across the contours.
- A hiker seeking the fastest increase in elevation should travel in the gradient direction, perpendicular to the level curves.
- For fastest descent, the hiker follows the opposite direction.
- For f(x,y) = x² + 2y² at (1,1), the partial derivatives are fₓ = 2x and fᵧ = 4y.
- The gradient at (1,1) is (2,4), and the given unit direction is (3/5,4/5).
- Their dot product gives the directional derivative 22/5.
- Normalizing ∇f(1,1) = (2,4) gives the steepest ascent direction (1/√5, 2/√5).
- The maximum rate of increase is ||(2,4)|| = √20.
- The steepest descent direction is (-1/√5, -2/√5), with minimum rate -√20.
- At (1,1), a perpendicular direction such as (-2/√5, 1/√5) has zero directional derivative.
- Because f(1,1) = 3, this direction is tangent to the level curve f(x,y) = 3 through (1,1).
- Naseri connects the same perpendicular relationship to electric fields and equipotential surfaces, noting that the electric field is the negative gradient of electric potential.
- When a hiker's trail is described by y = g(x) in the xy-plane, a tangent direction is (1, g'(x)).
- Normalize that tangent vector to obtain the unit direction u for the directional derivative.
- Dotting ∇f with the normalized trail direction gives the rate of change in elevation along the path.
- For z = 4 - x² - 2y² along y = 2x, the unit path direction is (1,2)/√5 and the directional derivative is -18x/√5.
- The condition z > 0 gives -2/3 < x < 2/3; the derivative is positive for x < 0, negative for x > 0, and zero at x = 0.
- Naseri says the quiz has 3 questions and 50 minutes, with no graphing or sketching; the review focuses on limits, continuity, partial derivatives, and directional derivatives.
Transcript excerpt
0:02 Good morning everyone. >> I don't have my microphone so you have to be quieter so you can hear me. Okay. [clears throat] Happy quiz day. Okay. So let's just start with today's lecture and then I'll explain some you know points about the format of the quiz. So you have to stay with me. Okay. So today we'll look at the interpretation of the gradient and its application. Okay. in order to do that. >> Oops.
1:00 In order to do that, let's remember the foundation of this class, which is going to be directional derivatives. Okay, we said directional derivatives are defined in a general direction. Okay, >> you have a [clears throat] question. >> Yes. >> Yes. >> Does u have to be a unit vector? >> Yes. >> Some questions give you like a non vector. >> Make it unit vector and then solve it. Okay. >> And then in this case we have u as u1 and u2. Okay. So then we say then we say that actually the change we
1:50 have in x direction and the change we have in y direction are going to be proportional to u1 and u2. Okay then we take this limit eyes on me. Okay. So but we said if in order to understand if directional derivative exists so you can calculate it you would have to go through this limit right but if differential if the function was differentiable then by co with confidence you could say thank you so much with confidence you could say that definitely this directional derivative exist and its value is equal equal to to the gradient of [clears throat] the
2:38 function at that point dot u. So only if the function was differentiable you could with confidence say the directional derivative exist and I
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.