Directional Derivatives and Gradients

Slides:



Advertisements
Similar presentations
Vector Functions and Space Curves
Advertisements

Chapter 11-Functions of Several Variables
Copyright © Cengage Learning. All rights reserved.
Tangent Lines ( Sections 1.4 and 2.1 ) Alex Karassev.
Copyright © Cengage Learning. All rights reserved. 14 Partial Derivatives.
Chapter 9: Vector Differential Calculus Vector Functions of One Variable -- a vector, each component of which is a function of the same variable.
ESSENTIAL CALCULUS CH11 Partial derivatives
VECTOR CALCULUS Stokes’ Theorem In this section, we will learn about: The Stokes’ Theorem and using it to evaluate integrals. VECTOR CALCULUS.
Copyright © Cengage Learning. All rights reserved.
Chapter 12 – Vectors and the Geometry of Space
PARTIAL DERIVATIVES 14. PARTIAL DERIVATIVES 14.6 Directional Derivatives and the Gradient Vector In this section, we will learn how to find: The rate.
15 PARTIAL DERIVATIVES.
Chapter 14 – Partial Derivatives
9.2 The Directional Derivative 1)gradients 2)Gradient at a point 3)Vector differential operator.
DERIVATIVES Linear Approximations and Differentials In this section, we will learn about: Linear approximations and differentials and their applications.
17 VECTOR CALCULUS.
17 VECTOR CALCULUS.
Multiple Integrals 12. Surface Area Surface Area In this section we apply double integrals to the problem of computing the area of a surface.
PARTIAL DERIVATIVES PARTIAL DERIVATIVES One of the most important ideas in single-variable calculus is:  As we zoom in toward a point on the graph.
VECTORS AND THE GEOMETRY OF SPACE 12. VECTORS AND THE GEOMETRY OF SPACE A line in the xy-plane is determined when a point on the line and the direction.
VECTOR FUNCTIONS 13. VECTOR FUNCTIONS Later in this chapter, we are going to use vector functions to describe the motion of planets and other objects.
Linear Functions.
Copyright © Cengage Learning. All rights reserved. 10 Analytic Geometry in Three Dimensions.
DERIVATIVES 3. We have seen that a curve lies very close to its tangent line near the point of tangency. DERIVATIVES.
Copyright © Cengage Learning. All rights reserved. 2 Derivatives.
DERIVATIVES 3. Summary f(x) ≈ f(a) + f’(a)(x – a) L(x) = f(a) + f’(a)(x – a) ∆y = f(x + ∆x) – f(x) dx = ∆x dy = f’(x)dx ∆ y≈ dy.
ME 2304: 3D Geometry & Vector Calculus Dr. Faraz Junejo Double Integrals.
Vector Analysis Copyright © Cengage Learning. All rights reserved.
Vector Analysis 15 Copyright © Cengage Learning. All rights reserved.
SECTION 12.6 TRIPLE INTEGRALS IN CYLINDRICAL COORDINATES.
Vector Calculus CHAPTER 9.5 ~ 9.9. Ch9.5~9.9_2 Contents  9.5 Directional Derivatives 9.5 Directional Derivatives  9.6 Tangent Planes and Normal Lines.
Vector Functions 10. Parametric Surfaces Parametric Surfaces We have looked at surfaces that are graphs of functions of two variables. Here we.
Functions of Several Variables 13 Copyright © Cengage Learning. All rights reserved.
Teorema Stokes. STOKES’ VS. GREEN’S THEOREM Stokes’ Theorem can be regarded as a higher-dimensional version of Green’s Theorem. – Green’s Theorem relates.
MA Day 25- February 11, 2013 Review of last week’s material Section 11.5: The Chain Rule Section 11.6: The Directional Derivative.
6 Differential Equations
SECTION 13.8 STOKES ’ THEOREM. P2P213.8 STOKES ’ VS. GREEN ’ S THEOREM  Stokes ’ Theorem can be regarded as a higher- dimensional version of Green ’
Vector Calculus CHAPTER 9.10~9.17. Ch9.10~9.17_2 Contents  9.10 Double Integrals 9.10 Double Integrals  9.11 Double Integrals in Polar Coordinates 9.11.
Functions of Several Variables Copyright © Cengage Learning. All rights reserved.
Sec 15.6 Directional Derivatives and the Gradient Vector
SECTION 12.8 CHANGE OF VARIABLES IN MULTIPLE INTEGRALS.
Copyright © Cengage Learning. All rights reserved. 16 Vector Calculus.
Section 15.6 Directional Derivatives and the Gradient Vector.
Tangent Planes and Normal Lines
Copyright © Cengage Learning. All rights reserved. 14 Partial Derivatives.
Section 17.7 Surface Integrals. Suppose f is a function of three variables whose domain includes the surface S. We divide S into patches S ij with area.
MA Day 34- February 22, 2013 Review for test #2 Chapter 11: Differential Multivariable Calculus.
Copyright © Cengage Learning. All rights reserved. 16 Vector Calculus.
Vectors and the Geometry of Space Section 10.4 Lines and Planes in Space 2015.
Section 17.8 Stokes’ Theorem. DEFINITION The orientation of a surface S induces the positive orientation of the boundary curve C as shown in the diagram.
Copyright © Cengage Learning. All rights reserved. 15 Multiple Integrals.
15 Copyright © Cengage Learning. All rights reserved. Vector Analysis.
Chapter 15: Functions of Several Variables
Copyright © Cengage Learning. All rights reserved.
Introduction to Functions of Several Variables
Copyright © Cengage Learning. All rights reserved.
Chapter 12 Math 181.
(MTH 250) Calculus Lecture 22.
13 Functions of Several Variables
Copyright © Cengage Learning. All rights reserved.
Directional derivative
Copyright © Cengage Learning. All rights reserved.
Vector Functions and Space Curves
Math 200 Week 6 - Monday Tangent Planes.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Find the directional derivative of the function at the given point in the direction of the vector v. {image}
Directional Derivatives and the Gradient Vector
Directional Derivatives
Presentation transcript:

Directional Derivatives and Gradients 13.6 Directional Derivatives and Gradients

Directional Derivative

Directional Derivative You are standing on the hillside pictured and want to determine the hill’s incline toward the z-axis.

Directional Derivative If the hill were represented by z = f (x, y), you would already know how to determine the slopes in two different directions—the slope in the y-direction would be given by the partial derivative fy(x, y), and the slope in the x-direction would be given by the partial derivative fx(x, y). In this section, you will see that these two partial derivatives can be used to find the slope in any direction.

Directional Derivative To determine the slope at a point on a surface, you will define a new type of derivative called a directional derivative. Begin by letting z = f (x, y) be a surface and P(x0, y0) be a point in the domain of f, as shown. The “direction” of the directional derivative is given by a unit vector u = cos  i + sin  j where  is the angle the vector makes with the positive x-axis.

Directional Derivative To find the desired slope, reduce the problem to two dimensions by intersecting the surface with a vertical plane passing through the point P and parallel to u, as shown. This vertical plane intersects the surface to form a curve C. The slope of the surface at (x0, y0, f (x0, y0)) in the direction of u is defined as the slope of the curve C at that point.

Directional Derivative You can write the slope of the curve C as a limit that looks much like those used in single-variable calculus. The vertical plane used to form C intersects the xy-plane in a line L, represented by the parametric equations x = x0 + t cos  and y = y0 + t sin  so that for any value of t, the point Q(x, y) lies on the line L. For each of the points P and Q, there is a corresponding point on the surface. (x0, y0, f (x0, y0)) (x, y, f (x, y)) Point above P Point above Q

Directional Derivative Moreover, because the distance between P and Q is you can write the slope of the secant line through (x0, y0, f (x0, y0)) and (x, y, f (x, y)) as Finally, by letting t approach 0, you arrive at the following definition.

Directional Derivative

Directional Derivative There are infinitely many directional derivatives of a surface at a given point—one for each direction specified by u, as shown.

Directional Derivative Two of these are the partial derivatives fx and fy.

Example 1 Find the directional derivative Duf(x, y) of f(x, y) = x2y + y2 in the direction of Since the partial derivatives of f, namely fx(x, y) = 2xy and fy(x, y) = x2 + 2y are continuous, the function f is differentiable. fx(x, y) = 2xy fy(x, y) = x2 + 2y; θ = π/4 Note:

What is Duf(1, 2)? When we are at the point (1, 2) and moving in the direction of u, the function is changing at a rate of approximately 6.364 units per length.

Example 2 Consider the paraboloid z = f(x, y) = ¼(x2 + 2y2) + 2. Let P0 be the point (3, 2) and consider the unit vectors u = <1/√2, 1/√2> and v = <1/2, -√3/2>. a. Find the directional derivative of f at P0 in the direction of u and v. We see that fx = x/2 and fy = y; evaluated at (3, 2), we have fx(3, 2) = 3/2 and fy(3, 2) = 2. The directional derivatives in the directions u and v are

b. Graph the surface and interpret the directional derivatives.

The Gradient of a Function of Two Variables

The directional derivative of a differentiable function z = f(x, y) at a point (x0, y0) in the direction of the unit vector u = cos θi + sin θj is given by…… We can express Duf(x0, y0) as the dot product of two vectors as follows…..

The vector fx(x0, y0)i + fy(x0, y0)j is called the gradient o f f at (x0, y0).

The Gradient of a Function of Two Variables The gradient of f is a vector in the xy-plane.

Example 3 Find and for f(x, y) = x2 + 2xy – y3. Computing fx = 2x + 2y and fy = 2x – 3y2, we have…… Substituting x = 3 and y = 2 gives…….

Example 4 Let a. Compute Note that fx = -x/5 + y2/10 and fy = (xy)/5. Therefore……

b. Compute Duf(3, -1), where Before computing the directional derivative, it is important to verify that u is a unit vector (in this case, it is). The required directional derivative is…… The figure on the next slide shows the tangent to the intersection curve in the plane corresponding to u whose slope is Duf(3, -1).

c. Compute the directional derivative of f at (3, -1) in the direction of the vector <3, 4>. In this case, the direction is given in terms of a nonunit vector. The vector <3, 4> has length 5, so the unit vector in the direction of <3, 4> is u = <3/5, 4/5>. The directional derivative at (3, -1) in the direction of u is……

which gives the slope of the surface in the direction of u at (3, -1).

Example 5 Find the gradient of f(x, y) = x3y at the point (2, 1). The gradient of f at (x, y) is…… The gradient of f at (2, 1) is……

Use the gradient to find the directional derivative of f at (2, 1) in the direction from (2, 1) to (3, 5). The unit vector u from (2, 1) to (3, 5) is……

Applications of the Gradient

Applications of the Gradient

Example 6 Consider the bowl-shaped paraboloid z = f(x, y) = 4 + x2 + 3y2. If you are located on the paraboloid at the point (2, -1/2, 35/4), in which direction should you move in order to ascend on the surface at the maximum rate? What is the rate of change? At the point (2, -1/2), the value of the gradient is…… Therefore, the direction of steepest ascent in the xy-plane is in the direction of the gradient vector <4, -3> (or u = 1/5<4, -3>, as a unit vector). The rate of change is……

If you are located at the point (2, -1/2, 35/4), in which direction should you walk in order to descend on the surface at the maximum rate? What is the rate of change? The direction of steepest descent is the direction of….. (or u = 1/5<4, -3>, as a unit vector). The rate of change is……

At the point (3, 1, 16), in what direction(s) is there no change in the function values? At the point (3, 1), the value of the gradient is…… The function has zero change if we move in either of the two directions orthogonal to <6, 6>; these two directions are parallel to <6, -6>. In terms of unit vectors, the directions of no change are……

Example 7 A metal plate is placed on the xy-plane in such a way that the temperature T in degrees Celsius at any point P = (x, y) is inversely proportional to the distance of P from (0, 0). Suppose the temperature of the plate at the point (-3, 4) equals 50o C. Find T = T(x, y). where k is the constant of proportionality. Since T = 50o C when (x, y) = (-3, 4), then……

Find the gradient of T at the point (-3, 4).

The temperature increases most rapidly in the direction The temperature decreases most rapidly in the direction In what directions is the rate of change of T at (-3, 4) equal to zero?

The rate of change in T at (-3, 4) equals zero for directions orthogonal to That is, the rate of change in T is zero in either of the two directions orthogonal to 6i – 8j, namely ±(8i + 6j).

Applications of the Gradient

Example 8 For the function graph the level curve containing the point (3, 4) and graph the gradient at this point. The graph of z = f(x, y) is the upper half of a circular cone whose traces are circles.

So, the level curves are concentric circles centered at (0, 0) So, the level curves are concentric circles centered at (0, 0). Since f(3, 4) = √(9 + 16) = 5, the level curve through (3, 4) is the circle x2 + y2 = 25. Since…… the gradient at (3, 4) is…… This vector is orthogonal to the level curve x2 + y2 = 25.

Functions of Three Variables

Functions of Three Variables

Example 9 – Finding the Gradient for a Function of Three Variables Consider the function f(x, y, z) = x2 + 2y2 + 4z2 – 1 and its level surface f(x, y, z) = 3. a. Find and interpret the gradient at the points P(2, 0, 0), Q(0, √2, 0), R(0, 0, 1), and S(1, 1, ½) on the level surface. The gradient is…… Evaluating the gradient at the four points we find that…..

The level surface f(x, y, z) = 3 is an ellipsoid. In each case, the gradient points in the direction that f has its maximum rate of increase. Of particular importance is the fact – the gradient is orthogonal to the level surface.

b. What are the actual rates of change of f in the directions of the gradients in part (a)? The actual rate of increase of f at (a, b, c) in the direction of the gradient is…..