Gradients and Directional Derivatives Chp 15.6. Putting it all together… Over the past several...

7
Gradients and Directional Derivatives Chp 15.6

Transcript of Gradients and Directional Derivatives Chp 15.6. Putting it all together… Over the past several...

Page 1: Gradients and Directional Derivatives Chp 15.6. Putting it all together… Over the past several classes you have learned how to use and take partial derivatives.

Gradients and Directional Derivatives

Chp 15.6

Page 2: Gradients and Directional Derivatives Chp 15.6. Putting it all together… Over the past several classes you have learned how to use and take partial derivatives.

Putting it all together…

• Over the past several classes you have learned how to use and take partial derivatives

• Today we look at the essential difference between defining slope along a 2D curve and what it means on a 3D surface or curve

Page 3: Gradients and Directional Derivatives Chp 15.6. Putting it all together… Over the past several classes you have learned how to use and take partial derivatives.

2

2 2

10( , )

1

xe yf x y

x y

Example…What’s the slope of at (0,1/2)?

What’s wrong with the way the question is posed?

What’s the slope along the direction of the x-axis?

What’s the slope along the direction of the y-axis?

Page 4: Gradients and Directional Derivatives Chp 15.6. Putting it all together… Over the past several classes you have learned how to use and take partial derivatives.

Quick estimate from the contour plot:

(0 4) 4

(0.5 0) 0.5

8

z

y

m

z

Look at this in Excel:

Page 5: Gradients and Directional Derivatives Chp 15.6. Putting it all together… Over the past several classes you have learned how to use and take partial derivatives.

The Directional Derivative

• We need to specify the direction in which the change occurs…

• Define, via a slightly modified Newton quotient:

• This specifies the change in the direction of the vector u = <a,b>

( , ) ( , ) ( , )u x yD f x y f x y a f x y b

Page 6: Gradients and Directional Derivatives Chp 15.6. Putting it all together… Over the past several classes you have learned how to use and take partial derivatives.

The Gradient

• We can write the Directional derivative as:

1 2 3( , , ) , , , ,u x y zD f x y z f f f u u u

Gradient of f(x,y,z)

( , , )f x y z

Page 7: Gradients and Directional Derivatives Chp 15.6. Putting it all together… Over the past several classes you have learned how to use and take partial derivatives.

A Key Theorem

• Pg 982 – the Directional derivative is maximum when it is in the same direction as the gradient vector!

• Example: If your ski begins to slide down a ski slope, it will trace out the gradient for that surface!