• No results found

01 Directional Derivatives and Gradient.pdf

N/A
N/A
Protected

Academic year: 2020

Share "01 Directional Derivatives and Gradient.pdf"

Copied!
114
0
0

Loading.... (view fulltext now)

Full text

(1)

Directional Derivatives and the Gradient Vector

Lucky Galvez

Institute of Mathematics University of the Philippines

Diliman

(2)

Recall: Partial Derivatives

Letz=f(x, y).

∂z

∂x = fx(x, y) = limh→0

f(x+h, y)−f(x, y)

h ∂z

∂y = fy(x, y) = limh→0

f(x, y+h)−f(x, y)

h

R fx represents the rate of change of f with respect tox when y is fixed

R fy represents the rate of change of f with respect toy when x is fixed

(3)

Recall: Partial Derivatives

Letz=f(x, y).

∂z

∂x = fx(x, y) = limh→0

f(x+h, y)−f(x, y)

h ∂z

∂y = fy(x, y) = limh→0

f(x, y+h)−f(x, y)

h

R fx represents the rate of change of f with respect tox when y is fixed

R fy represents the rate of change of f with respect toy when x is fixed

(4)

Directional Derivative

Suppose we want to find the rate of change off at (x0, y0) in

the direction of a unit vectoru=ha, bi.

That is, the slope of the tangent line toC atP.

If Q(x, y, z) is another point on C and P0, Q0

are the projections of P

and Q on the xy-plane, resp., then the vector

~

P0Q0 is parallel to u so for some scalarh,

~

P0Q0=hu=hha, hbi.

(5)

Directional Derivative

Suppose we want to find the rate of change off at (x0, y0) in

the direction of a unit vectoru=ha, bi. That is, the slope of the tangent line toC atP.

If Q(x, y, z) is another point on C and P0, Q0

are the projections of P

and Q on the xy-plane, resp., then the vector

~

P0Q0 is parallel to u so for some scalarh,

~

P0Q0=hu=hha, hbi.

(6)

Directional Derivative

Suppose we want to find the rate of change off at (x0, y0) in

the direction of a unit vectoru=ha, bi. That is, the slope of the tangent line toC atP.

If Q(x, y, z) is another point on C and P0, Q0

are the projections of P

and Q on the xy-plane, resp., then the vector

~

P0Q0 is parallel to u

so for some scalarh,

~

P0Q0=hu=hha, hbi.

(7)

Directional Derivative

Suppose we want to find the rate of change off at (x0, y0) in

the direction of a unit vectoru=ha, bi. That is, the slope of the tangent line toC atP.

If Q(x, y, z) is another point on C and P0, Q0

are the projections of P

and Q on the xy-plane, resp., then the vector

~

P0Q0 is parallel to u so for some scalarh,

~

P0Q0 =hu=hha, hbi.

(8)

Directional Derivative

Therefore,

x−x0 =ha ⇒ x=x0+ha

y−y0=hb ⇒ y=y0+hb

The rate of change off (with respect to distance) in the direction ofu is

lim h→0

∆f

h = hlim→0

f(x, y)−f(x0, y0)

h

= lim h→0

f(x0+ha, y0+hb)−f(x0, y0)

h

(9)

Directional Derivative

Therefore,

x−x0 =ha ⇒ x=x0+ha

y−y0=hb ⇒ y=y0+hb

The rate of change off (with respect to distance) in the direction ofu is

lim h→0

∆f h

= lim h→0

f(x, y)−f(x0, y0)

h

= lim h→0

f(x0+ha, y0+hb)−f(x0, y0)

h

(10)

Directional Derivative

Therefore,

x−x0 =ha ⇒ x=x0+ha

y−y0=hb ⇒ y=y0+hb

The rate of change off (with respect to distance) in the direction ofu is

lim h→0

∆f

h = hlim→0

f(x, y)−f(x0, y0)

h

= lim h→0

f(x0+ha, y0+hb)−f(x0, y0)

h

(11)

Directional Derivative

Therefore,

x−x0 =ha ⇒ x=x0+ha

y−y0=hb ⇒ y=y0+hb

The rate of change off (with respect to distance) in the direction ofu is

lim h→0

∆f

h = hlim→0

f(x, y)−f(x0, y0)

h

= lim h→0

f(x0+ha, y0+hb)−f(x0, y0)

h

(12)

Directional Derivative

Definition

Thedirectional derivative off(x, y) at (x0, y0) in the

direction of a unit vectoru=ha, bi is

Duf(x0, y0) = lim h→0

f(x0+ha, y0+hb)−f(x0, y0)

h

provided this limit exists.

Remarks:

1 If u= ˆı=h1,0i, then

Dˆıf = lim h→0

f(x0+h, y0)−f(x0, y0)

h =fx(x0, y0).

2 If u= ˆ=h0,1i, then

Dˆf = lim h→0

f(x0, y0+h)−f(x0, y0)

h =fy(x0, y0).

(13)

Directional Derivative

Definition

Thedirectional derivative off(x, y) at (x0, y0) in the

direction of a unit vectoru=ha, bi is

Duf(x0, y0) = lim h→0

f(x0+ha, y0+hb)−f(x0, y0)

h

provided this limit exists.

Remarks:

1 If u= ˆı=h1,0i, then

Dˆıf = lim h→0

f(x0+h, y0)−f(x0, y0)

h

=fx(x0, y0).

2 If u= ˆ=h0,1i, then

Dˆf = lim h→0

f(x0, y0+h)−f(x0, y0)

h =fy(x0, y0).

(14)

Directional Derivative

Definition

Thedirectional derivative off(x, y) at (x0, y0) in the

direction of a unit vectoru=ha, bi is

Duf(x0, y0) = lim h→0

f(x0+ha, y0+hb)−f(x0, y0)

h

provided this limit exists.

Remarks:

1 If u= ˆı=h1,0i, then

Dˆıf = lim h→0

f(x0+h, y0)−f(x0, y0)

h =fx(x0, y0).

2 If u= ˆ=h0,1i, then

Dˆf = lim h→0

f(x0, y0+h)−f(x0, y0)

h =fy(x0, y0).

(15)

Directional Derivative

Definition

Thedirectional derivative off(x, y) at (x0, y0) in the

direction of a unit vectoru=ha, bi is

Duf(x0, y0) = lim h→0

f(x0+ha, y0+hb)−f(x0, y0)

h

provided this limit exists.

Remarks:

1 If u= ˆı=h1,0i, then

Dˆıf = lim h→0

f(x0+h, y0)−f(x0, y0)

h =fx(x0, y0).

2 If u= ˆ=h0,1i, then

Dˆf = lim h→0

f(x0, y0+h)−f(x0, y0)

h

=fy(x0, y0).

(16)

Directional Derivative

Definition

Thedirectional derivative off(x, y) at (x0, y0) in the

direction of a unit vectoru=ha, bi is

Duf(x0, y0) = lim h→0

f(x0+ha, y0+hb)−f(x0, y0)

h

provided this limit exists.

Remarks:

1 If u= ˆı=h1,0i, then

Dˆıf = lim h→0

f(x0+h, y0)−f(x0, y0)

h =fx(x0, y0).

2 If u= ˆ=h0,1i, then

Dˆf = lim h→0

f(x0, y0+h)−f(x0, y0)

h =fy(x0, y0).

(17)

Directional Derivative

Theorem

If f is a differentiable function of x andy, then f has a directional derivative at any point(x0, y0) in the domain of f,

in the direction of any unit vectoru=ha, bi and

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

Proof. Defineg(h) =f(x0+ha, y0+hb). Then

g0(0) = lim h→0

g(h)−g(0)

h = limh→0

f(x0+ha, y0+hb)−f(x0, y0)

h

= Duf(x0, y0).

Letg(h) =f(x, y) wherex=x0+ha,y=y0+hb. By Chain Rule,

g0(h) =∂f

∂x dx dh+

∂f ∂y

dy

dh =fx(x, y)a+fy(x, y)b

Note thath= 0⇒x=x0, y=y0 sog0(0) =fx(x0, y0)a+fy(x0, y0)b. Hence,

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

(18)

Directional Derivative

Theorem

If f is a differentiable function of x andy, then f has a directional derivative at any point(x0, y0) in the domain of f,

in the direction of any unit vectoru=ha, bi and

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

Proof. Defineg(h) =f(x0+ha, y0+hb).

Then

g0(0) = lim h→0

g(h)−g(0)

h = limh→0

f(x0+ha, y0+hb)−f(x0, y0)

h

= Duf(x0, y0).

Letg(h) =f(x, y) wherex=x0+ha,y=y0+hb. By Chain Rule,

g0(h) =∂f

∂x dx dh+

∂f ∂y

dy

dh =fx(x, y)a+fy(x, y)b

Note thath= 0⇒x=x0, y=y0 sog0(0) =fx(x0, y0)a+fy(x0, y0)b. Hence,

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

(19)

Directional Derivative

Theorem

If f is a differentiable function of x andy, then f has a directional derivative at any point(x0, y0) in the domain of f,

in the direction of any unit vectoru=ha, bi and

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

Proof. Defineg(h) =f(x0+ha, y0+hb). Then

g0(0) = lim h→0

g(h)−g(0)

h

= lim h→0

f(x0+ha, y0+hb)−f(x0, y0)

h

= Duf(x0, y0).

Letg(h) =f(x, y) wherex=x0+ha,y=y0+hb. By Chain Rule,

g0(h) =∂f

∂x dx dh+

∂f ∂y

dy

dh =fx(x, y)a+fy(x, y)b

Note thath= 0⇒x=x0, y=y0 sog0(0) =fx(x0, y0)a+fy(x0, y0)b. Hence,

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

(20)

Directional Derivative

Theorem

If f is a differentiable function of x andy, then f has a directional derivative at any point(x0, y0) in the domain of f,

in the direction of any unit vectoru=ha, bi and

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

Proof. Defineg(h) =f(x0+ha, y0+hb). Then

g0(0) = lim h→0

g(h)−g(0)

h = limh→0

f(x0+ha, y0+hb)−f(x0, y0)

h

= Duf(x0, y0).

Letg(h) =f(x, y) wherex=x0+ha,y=y0+hb. By Chain Rule,

g0(h) =∂f

∂x dx dh+

∂f ∂y

dy

dh =fx(x, y)a+fy(x, y)b

Note thath= 0⇒x=x0, y=y0 sog0(0) =fx(x0, y0)a+fy(x0, y0)b. Hence,

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

(21)

Directional Derivative

Theorem

If f is a differentiable function of x andy, then f has a directional derivative at any point(x0, y0) in the domain of f,

in the direction of any unit vectoru=ha, bi and

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

Proof. Defineg(h) =f(x0+ha, y0+hb). Then

g0(0) = lim h→0

g(h)−g(0)

h = limh→0

f(x0+ha, y0+hb)−f(x0, y0)

h

= Duf(x0, y0).

Letg(h) =f(x, y) wherex=x0+ha,y=y0+hb. By Chain Rule,

g0(h) =∂f

∂x dx dh+

∂f ∂y

dy

dh =fx(x, y)a+fy(x, y)b

Note thath= 0⇒x=x0, y=y0 sog0(0) =fx(x0, y0)a+fy(x0, y0)b. Hence,

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

(22)

Directional Derivative

Theorem

If f is a differentiable function of x andy, then f has a directional derivative at any point(x0, y0) in the domain of f,

in the direction of any unit vectoru=ha, bi and

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

Proof. Defineg(h) =f(x0+ha, y0+hb). Then

g0(0) = lim h→0

g(h)−g(0)

h = limh→0

f(x0+ha, y0+hb)−f(x0, y0)

h

= Duf(x0, y0).

Letg(h) =f(x, y) wherex=x0+ha,y=y0+hb. By Chain Rule,

g0(h) =∂f

∂x dx dh+

∂f ∂y

dy dh

=fx(x, y)a+fy(x, y)b

Note thath= 0⇒x=x0, y=y0 sog0(0) =fx(x0, y0)a+fy(x0, y0)b. Hence,

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

(23)

Directional Derivative

Theorem

If f is a differentiable function of x andy, then f has a directional derivative at any point(x0, y0) in the domain of f,

in the direction of any unit vectoru=ha, bi and

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

Proof. Defineg(h) =f(x0+ha, y0+hb). Then

g0(0) = lim h→0

g(h)−g(0)

h = limh→0

f(x0+ha, y0+hb)−f(x0, y0)

h

= Duf(x0, y0).

Letg(h) =f(x, y) wherex=x0+ha,y=y0+hb. By Chain Rule,

g0(h) =∂f

∂x dx dh+

∂f ∂y

dy

dh =fx(x, y)a+fy(x, y)b

Note thath= 0⇒x=x0, y=y0 sog0(0) =fx(x0, y0)a+fy(x0, y0)b. Hence,

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

(24)

Directional Derivative

Theorem

If f is a differentiable function of x andy, then f has a directional derivative at any point(x0, y0) in the domain of f,

in the direction of any unit vectoru=ha, bi and

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

Proof. Defineg(h) =f(x0+ha, y0+hb). Then

g0(0) = lim h→0

g(h)−g(0)

h = limh→0

f(x0+ha, y0+hb)−f(x0, y0)

h

= Duf(x0, y0).

Letg(h) =f(x, y) wherex=x0+ha,y=y0+hb. By Chain Rule,

g0(h) =∂f

∂x dx dh+

∂f ∂y

dy

dh =fx(x, y)a+fy(x, y)b

Note thath= 0⇒x=x0, y=y0

sog0(0) =fx(x0, y0)a+fy(x0, y0)b. Hence,

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

(25)

Directional Derivative

Theorem

If f is a differentiable function of x andy, then f has a directional derivative at any point(x0, y0) in the domain of f,

in the direction of any unit vectoru=ha, bi and

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

Proof. Defineg(h) =f(x0+ha, y0+hb). Then

g0(0) = lim h→0

g(h)−g(0)

h = limh→0

f(x0+ha, y0+hb)−f(x0, y0)

h

= Duf(x0, y0).

Letg(h) =f(x, y) wherex=x0+ha,y=y0+hb. By Chain Rule,

g0(h) =∂f

∂x dx dh+

∂f ∂y

dy

dh =fx(x, y)a+fy(x, y)b

Note thath= 0⇒x=x0, y=y0 sog0(0) =fx(x0, y0)a+fy(x0, y0)b.

Hence,

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

(26)

Directional Derivative

Theorem

If f is a differentiable function of x andy, then f has a directional derivative at any point(x0, y0) in the domain of f,

in the direction of any unit vectoru=ha, bi and

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

Proof. Defineg(h) =f(x0+ha, y0+hb). Then

g0(0) = lim h→0

g(h)−g(0)

h = limh→0

f(x0+ha, y0+hb)−f(x0, y0)

h

= Duf(x0, y0).

Letg(h) =f(x, y) wherex=x0+ha,y=y0+hb. By Chain Rule,

g0(h) =∂f

∂x dx dh+

∂f ∂y

dy

dh =fx(x, y)a+fy(x, y)b

Note thath= 0⇒x=x0, y=y0 sog0(0) =fx(x0, y0)a+fy(x0, y0)b. Hence,

Duf(x0, y0) =fx(x0, y0)a+fy(x0, y0)b.

(27)

Directional Derivative

Example

EvaluateDuf(1,2) if f(x, y) =x2−2xy−y2 ifu=

D√

2 2 ,−

2 2

E .

Solution. First, we compute the partial derivatives

fx(x, y) = 2x−2y ⇒ fx(1,2) =−2

fy(x, y) =−2x−2y ⇒ fy(1,2) =−6

Hence,

Duf(1,2) = fx(1,2)

√ 2 2

!

+fy(1,2) −

√ 2 2

!

= −2 √

2 2

!

−6 −

√ 2 2 ! = 2 √ 2

(28)

Directional Derivative

Example

EvaluateDuf(1,2) if f(x, y) =x2−2xy−y2 ifu=

D√

2 2 ,−

2 2

E .

Solution. First, we compute the partial derivatives

fx(x, y)

= 2x−2y ⇒ fx(1,2) =−2

fy(x, y) =−2x−2y ⇒ fy(1,2) =−6

Hence,

Duf(1,2) = fx(1,2)

√ 2 2

!

+fy(1,2) −

√ 2 2

!

= −2 √

2 2

!

−6 −

√ 2 2 ! = 2 √ 2

(29)

Directional Derivative

Example

EvaluateDuf(1,2) if f(x, y) =x2−2xy−y2 ifu=

D√

2 2 ,−

2 2

E .

Solution. First, we compute the partial derivatives

fx(x, y) = 2x−2y

⇒ fx(1,2) =−2

fy(x, y) =−2x−2y ⇒ fy(1,2) =−6

Hence,

Duf(1,2) = fx(1,2)

√ 2 2

!

+fy(1,2) −

√ 2 2

!

= −2 √

2 2

!

−6 −

√ 2 2 ! = 2 √ 2

(30)

Directional Derivative

Example

EvaluateDuf(1,2) if f(x, y) =x2−2xy−y2 ifu=

D√

2 2 ,−

2 2

E .

Solution. First, we compute the partial derivatives

fx(x, y) = 2x−2y ⇒ fx(1,2)

=−2

fy(x, y) =−2x−2y ⇒ fy(1,2) =−6

Hence,

Duf(1,2) = fx(1,2)

√ 2 2

!

+fy(1,2) −

√ 2 2

!

= −2 √

2 2

!

−6 −

√ 2 2 ! = 2 √ 2

(31)

Directional Derivative

Example

EvaluateDuf(1,2) if f(x, y) =x2−2xy−y2 ifu=

D√

2 2 ,−

2 2

E .

Solution. First, we compute the partial derivatives

fx(x, y) = 2x−2y ⇒ fx(1,2) =−2

fy(x, y) =−2x−2y ⇒ fy(1,2) =−6

Hence,

Duf(1,2) = fx(1,2)

√ 2 2

!

+fy(1,2) −

√ 2 2

!

= −2 √

2 2

!

−6 −

√ 2 2 ! = 2 √ 2

(32)

Directional Derivative

Example

EvaluateDuf(1,2) if f(x, y) =x2−2xy−y2 ifu=

D√

2 2 ,−

2 2

E .

Solution. First, we compute the partial derivatives

fx(x, y) = 2x−2y ⇒ fx(1,2) =−2

fy(x, y)

=−2x−2y ⇒ fy(1,2) =−6

Hence,

Duf(1,2) = fx(1,2)

√ 2 2

!

+fy(1,2) −

√ 2 2

!

= −2 √

2 2

!

−6 −

√ 2 2 ! = 2 √ 2

(33)

Directional Derivative

Example

EvaluateDuf(1,2) if f(x, y) =x2−2xy−y2 ifu=

D√

2 2 ,−

2 2

E .

Solution. First, we compute the partial derivatives

fx(x, y) = 2x−2y ⇒ fx(1,2) =−2

fy(x, y) =−2x−2y

⇒ fy(1,2) =−6

Hence,

Duf(1,2) = fx(1,2)

√ 2 2

!

+fy(1,2) −

√ 2 2

!

= −2 √

2 2

!

−6 −

√ 2 2 ! = 2 √ 2

(34)

Directional Derivative

Example

EvaluateDuf(1,2) if f(x, y) =x2−2xy−y2 ifu=

D√

2 2 ,−

2 2

E .

Solution. First, we compute the partial derivatives

fx(x, y) = 2x−2y ⇒ fx(1,2) =−2

fy(x, y) =−2x−2y ⇒ fy(1,2)

=−6

Hence,

Duf(1,2) = fx(1,2)

√ 2 2

!

+fy(1,2) −

√ 2 2

!

= −2 √

2 2

!

−6 −

√ 2 2 ! = 2 √ 2

(35)

Directional Derivative

Example

EvaluateDuf(1,2) if f(x, y) =x2−2xy−y2 ifu=

D√

2 2 ,−

2 2

E .

Solution. First, we compute the partial derivatives

fx(x, y) = 2x−2y ⇒ fx(1,2) =−2

fy(x, y) =−2x−2y ⇒ fy(1,2) =−6

Hence,

Duf(1,2) = fx(1,2)

√ 2 2

!

+fy(1,2) −

√ 2 2

!

= −2 √

2 2

!

−6 −

√ 2 2 ! = 2 √ 2

(36)

Directional Derivative

Example

EvaluateDuf(1,2) if f(x, y) =x2−2xy−y2 ifu=

D√

2 2 ,−

2 2

E .

Solution. First, we compute the partial derivatives

fx(x, y) = 2x−2y ⇒ fx(1,2) =−2

fy(x, y) =−2x−2y ⇒ fy(1,2) =−6

Hence,

Duf(1,2) = fx(1,2)

√ 2 2

!

+fy(1,2) −

√ 2 2

!

= −2 √

2 2

!

−6 −

√ 2 2 ! = 2 √ 2

(37)

Directional Derivative

Example

EvaluateDuf(1,2) if f(x, y) =x2−2xy−y2 ifu=

D√

2 2 ,−

2 2

E .

Solution. First, we compute the partial derivatives

fx(x, y) = 2x−2y ⇒ fx(1,2) =−2

fy(x, y) =−2x−2y ⇒ fy(1,2) =−6

Hence,

Duf(1,2) = fx(1,2)

√ 2 2

!

+fy(1,2) −

√ 2 2

!

= −2 √

2 2

!

−6 −

√ 2 2 ! = 2 √ 2

(38)

Directional Derivative

Example

EvaluateDuf(1,2) if f(x, y) =x2−2xy−y2 ifu=

D√

2 2 ,−

2 2

E .

Solution. First, we compute the partial derivatives

fx(x, y) = 2x−2y ⇒ fx(1,2) =−2

fy(x, y) =−2x−2y ⇒ fy(1,2) =−6

Hence,

Duf(1,2) = fx(1,2)

√ 2 2

!

+fy(1,2) −

√ 2 2

!

= −2 √

2 2

!

−6 −

√ 2 2

!

= 2√2

(39)

Directional Derivative

Example

Determine the directional derivative off(x, y) =xy2−cos(xy) at any point, in the direction of the vector 3ˆı−4ˆ.

Solution. The unit vector in the same direction as the given

vector is

u= h3,−4i k h3,−4i k =

h3,−4i

p

32+ (4)2 =

3 5,−

4 5

Hence,

Duf(x, y) = fx(x, y)

3 5

+fy(x, y)

−4 5

= y2+ysin(xy)

3 5

+ (2xy+xsin(xy))

−4 5

(40)

Directional Derivative

Example

Determine the directional derivative off(x, y) =xy2−cos(xy) at any point, in the direction of the vector 3ˆı−4ˆ.

Solution. The unit vector in the same direction as the given

vector is

u= h3,−4i k h3,−4i k

= p h3,−4i 32+ (4)2 =

3 5,−

4 5

Hence,

Duf(x, y) = fx(x, y)

3 5

+fy(x, y)

−4 5

= y2+ysin(xy)

3 5

+ (2xy+xsin(xy))

−4 5

(41)

Directional Derivative

Example

Determine the directional derivative off(x, y) =xy2−cos(xy) at any point, in the direction of the vector 3ˆı−4ˆ.

Solution. The unit vector in the same direction as the given

vector is

u= h3,−4i k h3,−4i k =

h3,−4i

p

32+ (4)2

=

3 5,−

4 5

Hence,

Duf(x, y) = fx(x, y)

3 5

+fy(x, y)

−4 5

= y2+ysin(xy)

3 5

+ (2xy+xsin(xy))

−4 5

(42)

Directional Derivative

Example

Determine the directional derivative off(x, y) =xy2−cos(xy) at any point, in the direction of the vector 3ˆı−4ˆ.

Solution. The unit vector in the same direction as the given

vector is

u= h3,−4i k h3,−4i k =

h3,−4i

p

32+ (4)2 =

3 5,−

4 5

Hence,

Duf(x, y) = fx(x, y)

3 5

+fy(x, y)

−4 5

= y2+ysin(xy)

3 5

+ (2xy+xsin(xy))

−4 5

(43)

Directional Derivative

Example

Determine the directional derivative off(x, y) =xy2−cos(xy) at any point, in the direction of the vector 3ˆı−4ˆ.

Solution. The unit vector in the same direction as the given

vector is

u= h3,−4i k h3,−4i k =

h3,−4i

p

32+ (4)2 =

3 5,−

4 5

Hence,

Duf(x, y) = fx(x, y)

3 5

+fy(x, y)

−4 5

= y2+ysin(xy)

3 5

+ (2xy+xsin(xy))

−4 5

(44)

Directional Derivative

Example

Determine the directional derivative off(x, y) =xy2−cos(xy) at any point, in the direction of the vector 3ˆı−4ˆ.

Solution. The unit vector in the same direction as the given

vector is

u= h3,−4i k h3,−4i k =

h3,−4i

p

32+ (4)2 =

3 5,−

4 5

Hence,

Duf(x, y) = fx(x, y)

3 5

+fy(x, y)

−4 5

= y2+ysin(xy)

3 5

+ (2xy+xsin(xy))

−4 5

(45)

Directional Derivative

Example

Determine the directional derivative off(x, y) =xy2−cos(xy) at any point, in the direction of the vector 3ˆı−4ˆ.

Solution. The unit vector in the same direction as the given

vector is

u= h3,−4i k h3,−4i k =

h3,−4i

p

32+ (4)2 =

3 5,−

4 5

Hence,

Duf(x, y) = fx(x, y)

3 5

+fy(x, y)

−4 5

= y2+ysin(xy)

3 5

+ (2xy+xsin(xy))

−4 5

(46)

Directional Derivative

Example

Determine the directional derivative off(x, y) =xy2−cos(xy) at any point, in the direction of the vector 3ˆı−4ˆ.

Solution. The unit vector in the same direction as the given

vector is

u= h3,−4i k h3,−4i k =

h3,−4i

p

32+ (4)2 =

3 5,−

4 5

Hence,

Duf(x, y) = fx(x, y)

3 5

+fy(x, y)

−4 5

= y2+ysin(xy)

3 5

+ (2xy+xsin(xy))

−4 5

(47)

Directional Derivative

Example

Determine the directional derivative off(x, y) =xy2−cos(xy) at any point, in the direction of the vector 3ˆı−4ˆ.

Solution. The unit vector in the same direction as the given

vector is

u= h3,−4i k h3,−4i k =

h3,−4i

p

32+ (4)2 =

3 5,−

4 5

Hence,

Duf(x, y) = fx(x, y)

3 5

+fy(x, y)

−4 5

= y2+ysin(xy)

3 5

+ (2xy+xsin(xy))

−4 5

(48)

Directional Derivative

(x0, y0)

u

a b

θ

If the unit vectoru=ha, bi, makes an angleθ with thex-axis, then

cosθ= a

kuk =a and sinθ=

b

kuk =b and the formula in the previous theorem becomes

Duf(x, y) =fx(x, y) cosθ+fy(x, y) sinθ.

(49)

Directional Derivative

(x0, y0)

u

a b

θ

If the unit vectoru=ha, bi, makes an angleθ with thex-axis, then

cosθ

= a

kuk =a and sinθ=

b

kuk =b and the formula in the previous theorem becomes

Duf(x, y) =fx(x, y) cosθ+fy(x, y) sinθ.

(50)

Directional Derivative

(x0, y0)

u

a b

θ

If the unit vectoru=ha, bi, makes an angleθ with thex-axis, then

cosθ= a kuk

=a and sinθ= b kuk =b and the formula in the previous theorem becomes

Duf(x, y) =fx(x, y) cosθ+fy(x, y) sinθ.

(51)

Directional Derivative

(x0, y0)

u

a b

θ

If the unit vectoru=ha, bi, makes an angleθ with thex-axis, then

cosθ= a kuk =a

and sinθ= b kuk =b and the formula in the previous theorem becomes

Duf(x, y) =fx(x, y) cosθ+fy(x, y) sinθ.

(52)

Directional Derivative

(x0, y0)

u

a b

θ

If the unit vectoru=ha, bi, makes an angleθ with thex-axis, then

cosθ= a

kuk =a and sinθ

= b

kuk =b and the formula in the previous theorem becomes

Duf(x, y) =fx(x, y) cosθ+fy(x, y) sinθ.

(53)

Directional Derivative

(x0, y0)

u

a b

θ

If the unit vectoru=ha, bi, makes an angleθ with thex-axis, then

cosθ= a

kuk =a and sinθ=

b

kuk

=b

and the formula in the previous theorem becomes

Duf(x, y) =fx(x, y) cosθ+fy(x, y) sinθ.

(54)

Directional Derivative

(x0, y0)

u

a b

θ

If the unit vectoru=ha, bi, makes an angleθ with thex-axis, then

cosθ= a

kuk =a and sinθ=

b

kuk =b

and the formula in the previous theorem becomes

Duf(x, y) =fx(x, y) cosθ+fy(x, y) sinθ.

(55)

Directional Derivative

(x0, y0)

u

a b

θ

If the unit vectoru=ha, bi, makes an angleθ with thex-axis, then

cosθ= a

kuk =a and sinθ=

b

kuk =b and the formula in the previous theorem becomes

Duf(x, y) =fx(x, y) cosθ+fy(x, y) sinθ.

(56)

Directional Derivative

Example

Find the directional derivative off(x, y) =ex2y−2x+y at the point (−1,0) in the direction of the unit vector given byθ= π3.

Solution: From the previous formula,

Duf(x, y) = fx(x, y) cosθ+fy(x, y) sinθ

=

2xyex2y−2

cosπ 3 +

x2ex2y+ 1

sinπ 3

Hence,

Duf(−1,0) = −2

1 2

+ 2

√ 3 2

!

= −1 + √

3

(57)

Directional Derivative

Example

Find the directional derivative off(x, y) =ex2y−2x+y at the point (−1,0) in the direction of the unit vector given byθ= π3.

Solution: From the previous formula,

Duf(x, y) = fx(x, y) cosθ+fy(x, y) sinθ

=

2xyex2y−2

cosπ 3 +

x2ex2y+ 1

sinπ 3

Hence,

Duf(−1,0) = −2

1 2

+ 2

√ 3 2

!

= −1 + √

3

(58)

Directional Derivative

Example

Find the directional derivative off(x, y) =ex2y−2x+y at the point (−1,0) in the direction of the unit vector given byθ= π3.

Solution: From the previous formula,

Duf(x, y) = fx(x, y) cosθ+fy(x, y) sinθ

=

2xyex2y−2

cosπ 3 +

x2ex2y+ 1

sinπ 3

Hence,

Duf(−1,0) = −2

1 2

+ 2

√ 3 2

!

= −1 + √

3

(59)

Directional Derivative

Example

Find the directional derivative off(x, y) =ex2y−2x+y at the point (−1,0) in the direction of the unit vector given byθ= π3.

Solution: From the previous formula,

Duf(x, y) = fx(x, y) cosθ+fy(x, y) sinθ

=

2xyex2y−2

cosπ 3

+

x2ex2y+ 1

sinπ 3

Hence,

Duf(−1,0) = −2

1 2

+ 2

√ 3 2

!

= −1 + √

3

(60)

Directional Derivative

Example

Find the directional derivative off(x, y) =ex2y−2x+y at the point (−1,0) in the direction of the unit vector given byθ= π3.

Solution: From the previous formula,

Duf(x, y) = fx(x, y) cosθ+fy(x, y) sinθ

=

2xyex2y−2

cosπ 3 +

x2ex2y + 1

sinπ 3

Hence,

Duf(−1,0) = −2

1 2

+ 2

√ 3 2

!

= −1 + √

3

(61)

Directional Derivative

Example

Find the directional derivative off(x, y) =ex2y−2x+y at the point (−1,0) in the direction of the unit vector given byθ= π3.

Solution: From the previous formula,

Duf(x, y) = fx(x, y) cosθ+fy(x, y) sinθ

=

2xyex2y−2

cosπ 3 +

x2ex2y + 1

sinπ 3

Hence,

Duf(−1,0) = −2

1 2

+ 2

√ 3 2

!

= −1 + √

3

(62)

Directional Derivative

Example

Find the directional derivative off(x, y) =ex2y−2x+y at the point (−1,0) in the direction of the unit vector given byθ= π3.

Solution: From the previous formula,

Duf(x, y) = fx(x, y) cosθ+fy(x, y) sinθ

=

2xyex2y−2

cosπ 3 +

x2ex2y + 1

sinπ 3

Hence,

Duf(−1,0)

= −2

1 2

+ 2

√ 3 2

!

= −1 + √

3

(63)

Directional Derivative

Example

Find the directional derivative off(x, y) =ex2y−2x+y at the point (−1,0) in the direction of the unit vector given byθ= π3.

Solution: From the previous formula,

Duf(x, y) = fx(x, y) cosθ+fy(x, y) sinθ

=

2xyex2y−2

cosπ 3 +

x2ex2y + 1

sinπ 3

Hence,

Duf(−1,0) = −2

1 2

+ 2

√ 3 2

!

= −1 + √

3

(64)

Directional Derivative

Example

Find the directional derivative off(x, y) =ex2y−2x+y at the point (−1,0) in the direction of the unit vector given byθ= π3.

Solution: From the previous formula,

Duf(x, y) = fx(x, y) cosθ+fy(x, y) sinθ

=

2xyex2y−2

cosπ 3 +

x2ex2y + 1

sinπ 3

Hence,

Duf(−1,0) = −2

1 2

+ 2 √

3 2

!

= −1 + √

3

(65)

Directional Derivative

Example

Find the directional derivative off(x, y) =ex2y−2x+y at the point (−1,0) in the direction of the unit vector given byθ= π3.

Solution: From the previous formula,

Duf(x, y) = fx(x, y) cosθ+fy(x, y) sinθ

=

2xyex2y−2

cosπ 3 +

x2ex2y + 1

sinπ 3

Hence,

Duf(−1,0) = −2

1 2

+ 2

√ 3 2

!

= −1 + √

3

(66)

Directional Derivative

Example

Find the directional derivative off(x, y) =ex2y−2x+y at the point (−1,0) in the direction of the unit vector given byθ= π3.

Solution: From the previous formula,

Duf(x, y) = fx(x, y) cosθ+fy(x, y) sinθ

=

2xyex2y−2

cosπ 3 +

x2ex2y + 1

sinπ 3

Hence,

Duf(−1,0) = −2

1 2

+ 2

√ 3 2

!

= −1 + √

3

(67)

Directional Derivative

Example

Find the directional derivative off(x, y) =ex2y−2x+y at the point (−1,0) in the direction of the unit vector given byθ= π3.

Solution: From the previous formula,

Duf(x, y) = fx(x, y) cosθ+fy(x, y) sinθ

=

2xyex2y−2

cosπ 3 +

x2ex2y + 1

sinπ 3

Hence,

Duf(−1,0) = −2

1 2

+ 2

√ 3 2

!

= −1 + √

3

(68)

The Gradient Vector

From the previous theorem,

Duf(x, y) = fx(x, y)a+fy(x, y)b

= hfx(x, y), fy(x, y)i · ha, bi = hfx(x, y), fy(x, y)i ·u

The vectorhfx(x, y), fy(x, y)i appears not only in the formula for directional derivative but in many applications as well.

This vector is called thegradientof f, denoted grad f or∇f.

(69)

The Gradient Vector

From the previous theorem,

Duf(x, y) = fx(x, y)a+fy(x, y)b = hfx(x, y), fy(x, y)i · ha, bi

= hfx(x, y), fy(x, y)i ·u

The vectorhfx(x, y), fy(x, y)i appears not only in the formula for directional derivative but in many applications as well.

This vector is called thegradientof f, denoted grad f or∇f.

(70)

The Gradient Vector

From the previous theorem,

Duf(x, y) = fx(x, y)a+fy(x, y)b = hfx(x, y), fy(x, y)i · ha, bi = hfx(x, y), fy(x, y)i ·u

The vectorhfx(x, y), fy(x, y)i appears not only in the formula for directional derivative but in many applications as well.

This vector is called thegradientof f, denoted grad f or∇f.

(71)

The Gradient Vector

From the previous theorem,

Duf(x, y) = fx(x, y)a+fy(x, y)b = hfx(x, y), fy(x, y)i · ha, bi = hfx(x, y), fy(x, y)i·u

The vectorhfx(x, y), fy(x, y)i appears not only in the formula for directional derivative but in many applications as well.

This vector is called thegradientof f, denoted grad f or∇f.

(72)

The Gradient Vector

From the previous theorem,

Duf(x, y) = fx(x, y)a+fy(x, y)b = hfx(x, y), fy(x, y)i · ha, bi = hfx(x, y), fy(x, y)i·u

The vectorhfx(x, y), fy(x, y)i appears not only in the formula for directional derivative but in many applications as well.

This vector is called thegradientof f, denoted grad f or∇f.

(73)

The Gradient Vector

From the previous theorem,

Duf(x, y) = fx(x, y)a+fy(x, y)b = hfx(x, y), fy(x, y)i · ha, bi = hfx(x, y), fy(x, y)i·u

The vectorhfx(x, y), fy(x, y)i appears not only in the formula for directional derivative but in many applications as well.

This vector is called thegradientof f, denoted grad f or∇f.

(74)

The Gradient Vector

Definition

Iff is a function ofx andy, then the gradient of f is the vector function∇f defined as

∇f(x, y) =hfx(x, y), fy(x, y)i

Thus, the directional derivetive off in the direction of a unit vectoru=ha, bi can be written as

Duf(x, y) =∇f(x, y)·u

(75)

The Gradient Vector

Definition

Iff is a function ofx andy, then the gradient of f is the vector function∇f defined as

∇f(x, y) =hfx(x, y), fy(x, y)i

Thus, the directional derivetive off in the direction of a unit vectoru=ha, bi can be written as

Duf(x, y) =∇f(x, y)·u

(76)

Example

Example

Find the directional derivative off(x, y) =x2lny at the point (2,1) in the direction of 2ˆı+ ˆ.

Solution: We normalize the given vector

u=√h2,1i

22+ 12 =

2

5, 1

5

Next, compute the gradient

∇f(x, y) = hfx(x, y), fy(x, y)i =

2xlny,x

2

y

⇒ ∇f(2,1) = h0,4i

Hence,

Duf(2,1) =∇f(2,1)·u=h0,4i · 2

5, 1

5

=√4

5

(77)

Example

Example

Find the directional derivative off(x, y) =x2lny at the point (2,1) in the direction of 2ˆı+ ˆ.

Solution: We normalize the given vector

u=√h2,1i

22+ 12 =

2

5, 1

5

Next, compute the gradient

∇f(x, y) = hfx(x, y), fy(x, y)i =

2xlny,x

2

y

⇒ ∇f(2,1) = h0,4i

Hence,

Duf(2,1) =∇f(2,1)·u=h0,4i · 2

5, 1

5

=√4

5

(78)

Example

Example

Find the directional derivative off(x, y) =x2lny at the point (2,1) in the direction of 2ˆı+ ˆ.

Solution: We normalize the given vector

u=√h2,1i

22+ 12 =

2

5, 1

5

Next, compute the gradient

∇f(x, y)

= hfx(x, y), fy(x, y)i =

2xlny,x

2

y

⇒ ∇f(2,1) = h0,4i

Hence,

Duf(2,1) =∇f(2,1)·u=h0,4i · 2

5, 1

5

=√4

5

(79)

Example

Example

Find the directional derivative off(x, y) =x2lny at the point (2,1) in the direction of 2ˆı+ ˆ.

Solution: We normalize the given vector

u=√h2,1i

22+ 12 =

2

5, 1

5

Next, compute the gradient

∇f(x, y) = hfx(x, y), fy(x, y)i

=

2xlny,x

2

y

⇒ ∇f(2,1) = h0,4i

Hence,

Duf(2,1) =∇f(2,1)·u=h0,4i · 2

5, 1

5

=√4

5

(80)

Example

Example

Find the directional derivative off(x, y) =x2lny at the point (2,1) in the direction of 2ˆı+ ˆ.

Solution: We normalize the given vector

u=√h2,1i

22+ 12 =

2

5, 1

5

Next, compute the gradient

∇f(x, y) = hfx(x, y), fy(x, y)i =

2xlny,

x2

y

⇒ ∇f(2,1) = h0,4i

Hence,

Duf(2,1) =∇f(2,1)·u=h0,4i · 2

5, 1

5

=√4

5

(81)

Example

Example

Find the directional derivative off(x, y) =x2lny at the point (2,1) in the direction of 2ˆı+ ˆ.

Solution: We normalize the given vector

u=√h2,1i

22+ 12 =

2

5, 1

5

Next, compute the gradient

∇f(x, y) = hfx(x, y), fy(x, y)i =

2xlny,x

2

y

⇒ ∇f(2,1) = h0,4i

Hence,

Duf(2,1) =∇f(2,1)·u=h0,4i · 2

5, 1

5

=√4

5

(82)

Example

Example

Find the directional derivative off(x, y) =x2lny at the point (2,1) in the direction of 2ˆı+ ˆ.

Solution: We normalize the given vector

u=√h2,1i

22+ 12 =

2

5, 1

5

Next, compute the gradient

∇f(x, y) = hfx(x, y), fy(x, y)i =

2xlny,x

2

y

⇒ ∇f(2,1) = h0,

4i

Hence,

Duf(2,1) =∇f(2,1)·u=h0,4i · 2

5, 1

5

=√4

5

(83)

Example

Example

Find the directional derivative off(x, y) =x2lny at the point (2,1) in the direction of 2ˆı+ ˆ.

Solution: We normalize the given vector

u=√h2,1i

22+ 12 =

2

5, 1

5

Next, compute the gradient

∇f(x, y) = hfx(x, y), fy(x, y)i =

2xlny,x

2

y

⇒ ∇f(2,1) = h0,4i

Hence,

Duf(2,1) =∇f(2,1)·u=h0,4i · 2

5, 1

5

=√4

5

(84)

Example

Example

Find the directional derivative off(x, y) =x2lny at the point (2,1) in the direction of 2ˆı+ ˆ.

Solution: We normalize the given vector

u=√h2,1i

22+ 12 =

2

5, 1

5

Next, compute the gradient

∇f(x, y) = hfx(x, y), fy(x, y)i =

2xlny,x

2

y

⇒ ∇f(2,1) = h0,4i

Hence,

Duf(2,1) =∇f(2,1)·u

=h0,4i · 2

5, 1

5

=√4

5

(85)

Example

Example

Find the directional derivative off(x, y) =x2lny at the point (2,1) in the direction of 2ˆı+ ˆ.

Solution: We normalize the given vector

u=√h2,1i

22+ 12 =

2

5, 1

5

Next, compute the gradient

∇f(x, y) = hfx(x, y), fy(x, y)i =

2xlny,x

2

y

⇒ ∇f(2,1) = h0,4i

Hence,

Duf(2,1) =∇f(2,1)·u=h0,4i · 2

5, 1

5

=√4

5

(86)

Example

Example

Find the directional derivative off(x, y) =x2lny at the point (2,1) in the direction of 2ˆı+ ˆ.

Solution: We normalize the given vector

u=√h2,1i

22+ 12 =

2

5, 1

5

Next, compute the gradient

∇f(x, y) = hfx(x, y), fy(x, y)i =

2xlny,x

2

y

⇒ ∇f(2,1) = h0,4i

Hence,

Duf(2,1) =∇f(2,1)·u=h0,4i · 2

5, 1

5

=√4

5

(87)

Functions of Three Variables

Definition

Thedirectional derivative off(x, y, z) at (x0, y0, z0) in the

direction of the unit vectoru=ha, b, ci is

lim h→0

f(x0+ha, y0+hb, z0+hc)−f(x0, y0, z0)

h

provided this limit exists.

Definition

The gradient vector off(x, y, z) is

∇f(x, y, z) =hfx(x, y, z), fy(x, y, z), fz(x, y, z)i

Duf(x, y, z) = fx(x, y, z)a+fy(x, y, z)b+fz(x, y, z)c = ∇f(x, y, z)·u

(88)

Functions of Three Variables

Definition

Thedirectional derivative off(x, y, z) at (x0, y0, z0) in the

direction of the unit vectoru=ha, b, ci is

lim h→0

f(x0+ha, y0+hb, z0+hc)−f(x0, y0, z0)

h

provided this limit exists.

Definition

The gradient vector off(x, y, z) is

∇f(x, y, z) =hfx(x, y, z), fy(x, y, z), fz(x, y, z)i

Duf(x, y, z) = fx(x, y, z)a+fy(x, y, z)b+fz(x, y, z)c = ∇f(x, y, z)·u

(89)

Functions of Three Variables

Definition

Thedirectional derivative off(x, y, z) at (x0, y0, z0) in the

direction of the unit vectoru=ha, b, ci is

lim h→0

f(x0+ha, y0+hb, z0+hc)−f(x0, y0, z0)

h

provided this limit exists.

Definition

The gradient vector off(x, y, z) is

∇f(x, y, z) =hfx(x, y, z), fy(x, y, z), fz(x, y, z)i

Duf(x, y, z) = fx(x, y, z)a+fy(x, y, z)b+fz(x, y, z)c

= ∇f(x, y, z)·u

(90)

Functions of Three Variables

Definition

Thedirectional derivative off(x, y, z) at (x0, y0, z0) in the

direction of the unit vectoru=ha, b, ci is

lim h→0

f(x0+ha, y0+hb, z0+hc)−f(x0, y0, z0)

h

provided this limit exists.

Definition

The gradient vector off(x, y, z) is

∇f(x, y, z) =hfx(x, y, z), fy(x, y, z), fz(x, y, z)i

Duf(x, y, z) = fx(x, y, z)a+fy(x, y, z)b+fz(x, y, z)c = ∇f(x, y, z)·u

(91)

The Gradient Vector

Theorem

Suppose f is a differentiable function of x and y. The

maximum value of Duf isk∇fk and it occurs when u is in the

same direction as ∇f.

Proof. Let θbe the angle between ∇f and u.

Duf(x, y) = ∇f ·u

= k∇fkkukcosθ

= k∇fkcosθ

and the result follows since the maximum value of cosθis 1 and is attained whenθ= 0, i.e.,∇f andu are in the same direction.

(92)

The Gradient Vector

Theorem

Suppose f is a differentiable function of x and y. The

maximum value of Duf isk∇fk and it occurs when u is in the

same direction as ∇f.

Proof. Let θbe the angle between∇f and u.

Duf(x, y) = ∇f ·u

= k∇fkkukcosθ

= k∇fkcosθ

and the result follows since the maximum value of cosθis 1 and is attained whenθ= 0, i.e.,∇f andu are in the same direction.

(93)

The Gradient Vector

Theorem

Suppose f is a differentiable function of x and y. The

maximum value of Duf isk∇fk and it occurs when u is in the

same direction as ∇f.

Proof. Let θbe the angle between∇f and u.

Duf(x, y) = ∇f ·u

= k∇fkkukcosθ

= k∇fkcosθ

and the result follows since the maximum value of cosθis 1 and is attained whenθ= 0, i.e.,∇f andu are in the same direction.

(94)

The Gradient Vector

Theorem

Suppose f is a differentiable function of x and y. The

maximum value of Duf isk∇fk and it occurs when u is in the

same direction as ∇f.

Proof. Let θbe the angle between∇f and u.

Duf(x, y) = ∇f ·u

= k∇fkkukcosθ

= k∇fkcosθ

and the result follows since the maximum value of cosθis 1 and is attained whenθ= 0, i.e.,∇f andu are in the same direction.

(95)

The Gradient Vector

Theorem

Suppose f is a differentiable function of x and y. The

maximum value of Duf isk∇fk and it occurs when u is in the

same direction as ∇f.

Proof. Let θbe the angle between∇f and u.

Duf(x, y) = ∇f ·u

= k∇fkkukcosθ

= k∇fkcosθ

and the result follows since the maximum value of cosθis 1 and is attained whenθ= 0, i.e.,∇f andu are in the same direction.

(96)

The Gradient Vector

Theorem

Suppose f is a differentiable function of x and y. The

maximum value of Duf isk∇fk and it occurs when u is in the

same direction as ∇f.

Proof. Let θbe the angle between∇f and u.

Duf(x, y) = ∇f ·u

= k∇fkkukcosθ

= k∇fkcosθ

and the result follows since the maximum value of cosθis 1 and is attained whenθ= 0, i.e.,∇f andu are in the same direction.

(97)

Example

Example

Suppose that the height of a hill above sea level is modelled by

h(x, y) = 1000−0.02x2−0.01y2. Standing at the point (50,80), in which direction is the elevation changing fastest? What is the maximum rate of change of the elevation?

Solution: The maximum rate of change occurs in the

direction of∇h(50,80).

∇h(x, y) = h−0.04x, −0.02yi

⇒ ∇h(50,80) = h−0.04(50),−0.02(80)i =h−2,−1.6i

and the maximum rate of change ofh (Duh) is

k∇h(50,80)k=p(−2)2+ (1.6)2 = 2.5612.

(98)

Example

Example

Suppose that the height of a hill above sea level is modelled by

h(x, y) = 1000−0.02x2−0.01y2. Standing at the point (50,80), in which direction is the elevation changing fastest? What is the maximum rate of change of the elevation?

Solution: The maximum rate of change occurs in the

direction of∇h(50,80).

∇h(x, y) = h−0.04x, −0.02yi

⇒ ∇h(50,80) = h−0.04(50),−0.02(80)i =h−2,−1.6i

and the maximum rate of change ofh (Duh) is

k∇h(50,80)k=p(−2)2+ (1.6)2 = 2.5612.

(99)

Example

Example

Suppose that the height of a hill above sea level is modelled by

h(x, y) = 1000−0.02x2−0.01y2. Standing at the point (50,80), in which direction is the elevation changing fastest? What is the maximum rate of change of the elevation?

Solution: The maximum rate of change occurs in the

direction of∇h(50,80).

∇h(x, y)

= h−0.04x, −0.02yi

⇒ ∇h(50,80) = h−0.04(50),−0.02(80)i =h−2,−1.6i

and the maximum rate of change ofh (Duh) is

k∇h(50,80)k=p(−2)2+ (1.6)2 = 2.5612.

(100)

Example

Example

Suppose that the height of a hill above sea level is modelled by

h(x, y) = 1000−0.02x2−0.01y2. Standing at the point (50,80), in which direction is the elevation changing fastest? What is the maximum rate of change of the elevation?

Solution: The maximum rate of change occurs in the

direction of∇h(50,80).

∇h(x, y) = h−0.04x,

−0.02yi

⇒ ∇h(50,80) = h−0.04(50),−0.02(80)i =h−2,−1.6i

and the maximum rate of change ofh (Duh) is

k∇h(50,80)k=p(−2)2+ (1.6)2 = 2.5612.

(101)

Example

Example

Suppose that the height of a hill above sea level is modelled by

h(x, y) = 1000−0.02x2−0.01y2. Standing at the point (50,80), in which direction is the elevation changing fastest? What is the maximum rate of change of the elevation?

Solution: The maximum rate of change occurs in the

direction of∇h(50,80).

∇h(x, y) = h−0.04x, −0.02yi

⇒ ∇h(50,80) = h−0.04(50),−0.02(80)i =h−2,−1.6i

and the maximum rate of change ofh (Duh) is

k∇h(50,80)k=p(−2)2+ (1.6)2 = 2.5612.

(102)

Example

Example

Suppose that the height of a hill above sea level is modelled by

h(x, y) = 1000−0.02x2−0.01y2. Standing at the point (50,80), in which direction is the elevation changing fastest? What is the maximum rate of change of the elevation?

Solution: The maximum rate of change occurs in the

direction of∇h(50,80).

∇h(x, y) = h−0.04x, −0.02yi ⇒ ∇h(50,80) = h−0.04(50),−0.02(80)i

=h−2,−1.6i

and the maximum rate of change ofh (Duh) is

k∇h(50,80)k=p(−2)2+ (1.6)2 = 2.5612.

(103)

Example

Example

Suppose that the height of a hill above sea level is modelled by

h(x, y) = 1000−0.02x2−0.01y2. Standing at the point (50,80), in which direction is the elevation changing fastest? What is the maximum rate of change of the elevation?

Solution: The maximum rate of change occurs in the

direction of∇h(50,80).

∇h(x, y) = h−0.04x, −0.02yi

⇒ ∇h(50,80) = h−0.04(50),−0.02(80)i =h−2,−1.6i

and the maximum rate of change ofh (Duh) is

k∇h(50,80)k=p(−2)2+ (1.6)2 = 2.5612.

(104)

Example

Example

Suppose that the height of a hill above sea level is modelled by

h(x, y) = 1000−0.02x2−0.01y2. Standing at the point (50,80), in which direction is the elevation changing fastest? What is the maximum rate of change of the elevation?

Solution: The maximum rate of change occurs in the

direction of∇h(50,80).

∇h(x, y) = h−0.04x, −0.02yi

⇒ ∇h(50,80) = h−0.04(50),−0.02(80)i =h−2,−1.6i

and the maximum rate of change ofh (Duh) is

k∇h(50,80)k

=p(−2)2+ (1.6)2 = 2.5612.

(105)

Example

Example

Suppose that the height of a hill above sea level is modelled by

h(x, y) = 1000−0.02x2−0.01y2. Standing at the point (50,80), in which direction is the elevation changing fastest? What is the maximum rate of change of the elevation?

Solution: The maximum rate of change occurs in the

direction of∇h(50,80).

∇h(x, y) = h−0.04x, −0.02yi

⇒ ∇h(50,80) = h−0.04(50),−0.02(80)i =h−2,−1.6i

and the maximum rate of change ofh (Duh) is

k∇h(50,80)k=p(−2)2+ (1.6)2

= 2.5612.

(106)

Example

Example

Suppose that the height of a hill above sea level is modelled by

h(x, y) = 1000−0.02x2−0.01y2. Standing at the point (50,80), in which direction is the elevation changing fastest? What is the maximum rate of change of the elevation?

Solution: The maximum rate of change occurs in the

direction of∇h(50,80).

∇h(x, y) = h−0.04x, −0.02yi

⇒ ∇h(50,80) = h−0.04(50),−0.02(80)i =h−2,−1.6i

and the maximum rate of change ofh (Duh) is

k∇h(50,80)k=p(−2)2+ (1.6)2 = 2.5612.

(107)

The Gradient Vector

(108)

Exercises

1 Find the directional derivative of the given function at the given

point in the direction of the vectorv.

a. f(r, θ) =e−rsinθ, 0,π

3

, v= 3ˆı−2ˆ

b. g(x, y, z) =y+xz, (4,1,1),v=h1,2,3i

2 Iff(x, y) =xey, find the rate of change off at P(2,0) in the

direction fromP toQ 12,2. In what direction is f changing fastest? What is the maximum rate of change of f?

3 Find all points for which the direction of fastest change of f(x, y) =x2+y22x4y is ˆı+ ˆ.

4 Iff andg are diffentiable functions ofxandy, show that ∇(f g) =f∇g+g∇f and∇

f g

=g∇f−f∇g

g2 .

5 Letf be a function ofxandy and consider the pointsA(1,3), B(3,3), C(1,7) and D(6,15). Given that DAB~ f(1,3) = 3 and DAC~ f(1,3) = 6, find the directional derivative off at Ain the

direction of the vectorAD~ .

(109)

Exercises

1 Find the directional derivative of the given function at the given

point in the direction of the vectorv.

a. f(r, θ) =e−rsinθ, 0,π

3

, v= 3ˆı−2ˆ b. g(x, y, z) =y+xz, (4,1,1),v=h1,2,3i

2 Iff(x, y) =xey, find the rate of change off at P(2,0) in the

direction fromP toQ 12,2. In what direction is f changing fastest? What is the maximum rate of change of f?

3 Find all points for which the direction of fastest change of f(x, y) =x2+y22x4y is ˆı+ ˆ.

4 Iff andg are diffentiable functions ofxandy, show that ∇(f g) =f∇g+g∇f and∇

f g

=g∇f−f∇g

g2 .

5 Letf be a function ofxandy and consider the pointsA(1,3), B(3,3), C(1,7) and D(6,15). Given that DAB~ f(1,3) = 3 and DAC~ f(1,3) = 6, find the directional derivative off at Ain the

direction of the vectorAD~ .

(110)

Exercises

1 Find the directional derivative of the given function at the given

point in the direction of the vectorv.

a. f(r, θ) =e−rsinθ, 0,π

3

, v= 3ˆı−2ˆ b. g(x, y, z) =y+xz, (4,1,1),v=h1,2,3i

2 Iff(x, y) =xey, find the rate of change off at P(2,0) in the

direction fromP toQ 12,2. In what direction is f changing fastest? What is the maximum rate of change of f?

3 Find all points for which the direction of fastest change of f(x, y) =x2+y22x4y is ˆı+ ˆ.

4 Iff andg are diffentiable functions ofxandy, show that ∇(f g) =f∇g+g∇f and∇

f g

=g∇f−f∇g

g2 .

5 Letf be a function ofxandy and consider the pointsA(1,3), B(3,3), C(1,7) and D(6,15). Given that DAB~ f(1,3) = 3 and DAC~ f(1,3) = 6, find the directional derivative off at Ain the

direction of the vectorAD~ .

(111)

Exercises

1 Find the directional derivative of the given function at the given

point in the direction of the vectorv.

a. f(r, θ) =e−rsinθ, 0,π

3

, v= 3ˆı−2ˆ b. g(x, y, z) =y+xz, (4,1,1),v=h1,2,3i

2 Iff(x, y) =xey, find the rate of change off at P(2,0) in the

direction fromP toQ 12,2. In what direction is f changing fastest? What is the maximum rate of change of f?

3 Find all points for which the direction of fastest change of f(x, y) =x2+y22x4y is ˆı+ ˆ.

4 Iff andg are diffentiable functions ofxandy, show that ∇(f g) =f∇g+g∇f and∇

f g

=g∇f−f∇g

g2 .

5 Letf be a function ofxandy and consider the pointsA(1,3), B(3,3), C(1,7) and D(6,15). Given that DAB~ f(1,3) = 3 and DAC~ f(1,3) = 6, find the directional derivative off at Ain the

direction of the vectorAD~ .

(112)

Exercises

1 Find the directional derivative of the given function at the given

point in the direction of the vectorv.

a. f(r, θ) =e−rsinθ, 0,π

3

, v= 3ˆı−2ˆ b. g(x, y, z) =y+xz, (4,1,1),v=h1,2,3i

2 Iff(x, y) =xey, find the rate of change off at P(2,0) in the

direction fromP toQ 12,2. In what direction is f changing fastest? What is the maximum rate of change of f?

3 Find all points for which the direction of fastest change of f(x, y) =x2+y22x4y is ˆı+ ˆ.

4 Iff andg are diffentiable functions ofxandy, show that ∇(f g) =f∇g+g∇f and∇

f

g

=g∇f−f∇g

g2 .

5 Letf be a function ofxandy and consider the pointsA(1,3), B(3,3), C(1,7) and D(6,15). Given that DAB~ f(1,3) = 3 and DAC~ f(1,3) = 6, find the directional derivative off at Ain the

direction of the vectorAD~ .

(113)

Exercises

1 Find the directional derivative of the given function at the given

point in the direction of the vectorv.

a. f(r, θ) =e−rsinθ, 0,π

3

, v= 3ˆı−2ˆ b. g(x, y, z) =y+xz, (4,1,1),v=h1,2,3i

2 Iff(x, y) =xey, find the rate of change off at P(2,0) in the

direction fromP toQ 12,2. In what direction is f changing fastest? What is the maximum rate of change of f?

3 Find all points for which the direction of fastest change of f(x, y) =x2+y22x4y is ˆı+ ˆ.

4 Iff andg are diffentiable functions ofxandy, show that ∇(f g) =f∇g+g∇f and∇

f

g

=g∇f−f∇g

g2 .

5 Letf be a function ofxandy and consider the pointsA(1,3), B(3,3), C(1,7) and D(6,15). Given that DAB~ f(1,3) = 3 and DAC~ f(1,3) = 6, find the directional derivative off at Ain the

direction of the vectorAD~ .

(114)

References

1 Stewart, J., Calculus, Early Transcendentals, 6 ed., Thomson

Brooks/Cole, 2008

2 Dawkins, P.,Calculus 3, online notes available at

http://tutorial.math.lamar.edu/

References

Related documents

• Leaders assist employees in defining SMART objectives, goals and goal weights and ensures the individual is able to see the connection between their goals and Airport-wide goals.

social services. Linguistic isolation is dependent up the English speaking ability of all adults in a

CyPT expert and CiAM work with the city to determine appropriate infrastructure tech. for

Procurement Process tidak hanya berfokus pada pembelian barang namun Procurement Proces s juga meliputi permintaan (requisition), meminta penawaran barang atau jasa

The purpose of this quantitative correlational study was to examine if the leaders of the food and beverage manufactory had the proper emotional intelligence traits to

[r]

In the chart below, we can see the development of unemployment in the Moravian-Silesian Region, which was associated not only with the decline of mining activity

The current study attempts to investigate changes in the psychological readiness to return to sport among injured athletes and analyze how athletes’ confidence is perceived by