directional derivatives. examplewhat s the slope of at (0,1/2)? whats wrong with the way the...

27
Directional Derivatives

Upload: georgiana-bryan

Post on 18-Jan-2018

217 views

Category:

Documents


0 download

DESCRIPTION

Recall that, if z = f(x, y), then the partial derivatives f x and f y are defined as: They represent the rates of change of z in the x- and y-directions—that is, in the directions of the unit vectors i and j.

TRANSCRIPT

Page 1: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

Directional Derivatives

Page 2: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

2

2 2

10( , )1

xe yf x yx 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 3: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

• Recall that, if z = f(x, y), then the partial derivatives fx and fy are defined as:

They represent the rates of change of z in the x- and y-directions—that is, in the directions of the unit vectors i and j.

Page 4: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

• Suppose that we now wish to find the rate of change of z at (x0, y0) in the direction of an arbitrary unit vector u = <a, b>.

Page 5: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction
Page 6: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

• Theorem:If f is a differentiable function of x and y, then f has a directional derivative in the direction of any unit vector u = <a, b> and

Page 7: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

Proof:

Page 8: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

• Special Cases:

Where, u = <a, b>

* If u = i = <1, 0>, then Di f = fx.

** If u = j = <0, 1>, then Dj f = fy.

In other words, the partial derivatives of f with respect to x and y are just special cases of the directional derivative.

Page 9: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

• Suppose the unit vector u makes an angle θ with the positive x-axis, as shown.

Page 10: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

• Then, we can write u = <cos θ, sin θ>

and the formula becomes:

Page 11: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

Example-1

Page 12: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

Find the directional derivative Duf(x, y)

if:–f(x, y) = x3 – 3xy + 4y2

– u is the unit vector given by angle θ = π/6

What is Duf (1, 2)?

Example-2:

Page 13: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

How about the the directional derivative for a function of 3 variables?

Page 14: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

Example-3:

Page 15: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

Class work

Page 16: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction
Page 17: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

proof

Page 18: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

• If we define a function g of the single variable h by

then, by the definition of a derivative, we have the following equation.

Page 19: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

Page 20: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

• On the other hand, we can write:

g(h) = f(x, y)

• where: – x = x0 + ha

– y = y0 + hb

Page 21: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

• Hence, the Chain Rule gives:

Page 22: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

• If we now put h = 0, then x = x0

y = y0 and

Page 23: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

• Comparing Equations 4 and 5, we see that:

Page 24: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction
Page 25: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

Example-1

Page 26: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction
Page 27: Directional Derivatives. ExampleWhat  s the slope of at (0,1/2)? Whats wrong with the way the question is posed? What  s the slope along the direction

Find the directional derivative Duf(x, y)

if:– f(x, y) = x3 – 3xy + 4y2

– u is the unit vector given by angle θ = π/6

What is Duf(1, 2)?

Example-?: