SlideShare a Scribd company logo
Directional Derivatives and the Gradient
Directional Derivatives and the Gradient
Given a vector v = <x, y>, we define the directional
                  y
slope of v to be
                 |x|.
Directional Derivatives and the Gradient
Given a vector v = <x, y>, we define the directional
                  y
slope of v to be
                 |x|.
Example A. Find the directional slope of
<1, 2>, <–1, –2>, <1, –2> and <–1, 2>.
Directional Derivatives and the Gradient
Given a vector v = <x, y>, we define the directional
                  y
slope of v to be
                 |x|.
Example A. Find the directional slope of
<1, 2>, <–1, –2>, <1, –2> and <–1, 2>.
The directional slope of               y
                             <–1, 2>       <1, 2>
a. <1, 2> is 2,
b. <–1, 2> is 2,                             x
Directional Derivatives and the Gradient
Given a vector v = <x, y>, we define the directional
                  y
slope of v to be
                 |x|.
Example A. Find the directional slope of
<1, 2>, <–1, –2>, <1, –2> and <–1, 2>.
The directional slope of               y
                             <–1, 2>       <1, 2>
a. <1, 2> is 2,
b. <–1, 2> is 2,                             x

c. <–1, –2> is –2,          <–1, –2>       <1, –2>
d. <1, –2> is –2.
Directional Derivatives and the Gradient
Given a vector v = <x, y>, we define the directional
                  y
slope of v to be
                 |x|.
Example A. Find the directional slope of
<1, 2>, <–1, –2>, <1, –2> and <–1, 2>.
The directional slope of                y
                                <–1, 2>    <1, 2>
a. <1, 2> is 2,
b. <–1, 2> is 2,                              x

c. <–1, –2> is –2,             <–1, –2>     <1, –2>
d. <1, –2> is –2.
The directional slope of v indicates the steepness of v
and the vertical direction it’s pointing.
Positive directional slope indicates v points upward and
negative directional slope means v points downward.
Directional Derivatives and the Gradient
                                                   y = f(x)
Given a differentiable point p on the
                                               p
curve y = f(x) and a tangent vector v at p,
depending whether v points up or down,
we obtain two possible directional slopes for v.
Directional Derivatives and the Gradient
                                                         y = f(x)
Given a differentiable point p on the
                                                    p
curve y = f(x) and a tangent vector v at p,
depending whether v points up or down,
we obtain two possible directional slopes for v.
If v points to the right in the positive x–axis direction
then its directional slope is f '(x), and if v points to the
left then the directional slope of v is –f '(x).
Directional Derivatives and the Gradient
                                                         y = f(x)
Given a differentiable point p on the
                                                    p
curve y = f(x) and a tangent vector v at p,
depending whether v points up or down,
we obtain two possible directional slopes for v.
If v points to the right in the positive x–axis direction
then its directional slope is f '(x), and if v points to the
left then the directional slope of v is –f '(x).
For example, v = <1, –2> and           u = <–2, 4>      y=x     2

u = <–2, 4> are tangent to y = x    2

at (–1, 1),


                                                                x

                                                  v = <1, –2>
Directional Derivatives and the Gradient
                                                         y = f(x)
Given a differentiable point p on the
                                                    p
curve y = f(x) and a tangent vector v at p,
depending whether v points up or down,
we obtain two possible directional slopes for v.
If v points to the right in the positive x–axis direction
then its directional slope is f '(x), and if v points to the
left then the directional slope of v is –f '(x).
For example, v = <1, –2> and                            y=x     2

u = <–2, 4> are tangent to y = x    2

at (–1, 1), v points to the positive
x–axis direction, so its directional
slope is –2 = f '(x),
                                                                x

                                                  v = <1, –2>
Directional Derivatives and the Gradient
                                                               y = f(x)
Given a differentiable point p on the
                                                        p
curve y = f(x) and a tangent vector v at p,
depending whether v points up or down,
we obtain two possible directional slopes for v.
If v points to the right in the positive x–axis direction
then its directional slope is f '(x), and if v points to the
left then the directional slope of v is –f '(x).
For example, v = <1, –2> and           u = <–2, 4>           y=x   2

u = <–2, 4> are tangent to y = x    2

at (–1, 1), v points to the positive
x–axis direction, so its directional
slope is –2 = f '(x), and u points in
                                                                  x
the negative x–axis direction with
directional slope 2 = –f '(x).                     v = <1, –2>
Directional Derivatives and the Gradient
Let P = (a, b, c) be a differentiable point on the surface
defined by z = f(x, y). The plane y = b is aligned in the
two directions of <1, 0> or <–1, 0> on the unit circle.
Directional Derivatives and the Gradient
Let P = (a, b, c) be a differentiable point on the surface
defined by z = f(x, y). The plane y = b is aligned in the
two directions of <1, 0> or <–1, 0> on the unit circle.




      In the x–axis direction

                       z = f(x, y)



               P=(a, b, c)


                 y
                                     x
   <–1, 0>           (a, b)          <1, 0>
Directional Derivatives and the Gradient
Let P = (a, b, c) be a differentiable point on the surface
defined by z = f(x, y). The plane y = b is aligned in the
two directions of <1, 0> or <–1, 0> on the unit circle.
The partial derivative df/dx|p= M is the directional slope
in the direction <1, 0> at P,


      In the x–axis direction

                       z = f(x, y)



               P=(a, b, c)


                 y
                                     x
   <–1, 0>           (a, b)          <1, 0>
Directional Derivatives and the Gradient
Let P = (a, b, c) be a differentiable point on the surface
defined by z = f(x, y). The plane y = b is aligned in the
two directions of <1, 0> or <–1, 0> on the unit circle.
The partial derivative df/dx|p= M is the directional slope
in the direction <1, 0> at P,


      In the x–axis direction

                       z = f(x, y)



               P=(a, b, c)


                 y
                                     x
   <–1, 0>           (a, b)          <1, 0>
Directional Derivatives and the Gradient
Let P = (a, b, c) be a differentiable point on the surface
defined by z = f(x, y). The plane y = b is aligned in the
two directions of <1, 0> or <–1, 0> on the unit circle.
The partial derivative df/dx|p= M is the directional slope
in the direction <1, 0> at P,


      In the x–axis direction
                                              z            y=b
                       z = f(x, y)



                                                  P
               P=(a, b, c)
                                                      directional slope
                                                      = df/dx|p = M
                 y
                                     x                        x
   <–1, 0>           (a, b)          <1, 0>
Directional Derivatives and the Gradient
Let P = (a, b, c) be a differentiable point on the surface
defined by z = f(x, y). The plane y = b is aligned in the
two directions of <1, 0> or <–1, 0> on the unit circle.
The partial derivative df/dx|p= M is the directional slope
in the direction <1, 0> at P, so M = df/dx|p is also called
the directional derivative in the direction of <1, 0>

      In the x–axis direction
                                              z            y=b
                       z = f(x, y)



                                                  P
               P=(a, b, c)
                                                      directional slope
                                                      = df/dx|p = M
                 y
                                     x                        x
   <–1, 0>           (a, b)          <1, 0>
Directional Derivatives and the Gradient
Let P = (a, b, c) be a differentiable point on the surface
defined by z = f(x, y). The plane y = b is aligned in the
two directions of <1, 0> or <–1, 0> on the unit circle.
The partial derivative df/dx|p= M is the directional slope
in the direction <1, 0> at P, so M = df/dx|p is also called
the directional derivative in the direction of <1, 0> and
an opposite tangent has directional derivative –M.
      In the x–axis direction
                                              z            y=b
                       z = f(x, y)



                                                  P
               P=(a, b, c)
                                                      directional slope
                                                      = df/dx|p = M
                 y
                                     x                        x
   <–1, 0>           (a, b)          <1, 0>
Directional Derivatives and the Gradient
Let P = (a, b, c) be a differentiable point on the surface
defined by z = f(x, y). The plane y = b is aligned in the
two directions of <1, 0> or <–1, 0> on the unit circle.
The partial derivative df/dx|p= M is the directional slope
in the direction <1, 0> at P, so M = df/dx|p is also called
the directional derivative in the direction of <1, 0> and
an opposite tangent has directional derivative –M.
      In the x–axis direction
                                                              z            y=b
                       z = f(x, y)



                                                                  P
               P=(a, b, c)
                                                                      directional slope
                                                                      = df/dx|p = M
                                              directional slope
                 y                            = –df/dx|p = – M
                                     x                                        x
   <–1, 0>           (a, b)          <1, 0>
Directional Derivatives and the Gradient
In other words, if we’re standing at P with a compass,
the directional derivative in direction of <1, 0>,
i.e. to the east, which is M = df/dx|p,




     In the x–axis direction
                                           z            y=b
                    z = f(x, y)


                                               P
              P=(a, b, c)
                                                   directional slope
                                                   = df/dx|p = M
                y
                                  x                        x
  <–1, 0>                         <1, 0>
               (a, b)
Directional Derivatives and the Gradient
In other words, if we’re standing at P with a compass,
the directional derivative in direction of <1, 0>,
i.e. to the east, which is M = df/dx|p, indicates the up or
down and the steepness of the trail that is heading
eastward.


      In the x–axis direction
                                            z            y=b
                     z = f(x, y)


                                                P
               P=(a, b, c)
                                                    directional slope
                                                    = df/dx|p = M
                 y
                                   x                        x
   <–1, 0>                         <1, 0>
                (a, b)
Directional Derivatives and the Gradient
In other words, if we’re standing at P with a compass,
the directional derivative in direction of <1, 0>,
i.e. to the east, which is M = df/dx|p, indicates the up or
down and the steepness of the trail that is heading
eastward. Likewise, –M = –df/dx|p indicates the up or
down and the steepness of the trail that is heading in
the <–1, 0> direction or to the west.
      In the x–axis direction
                                                            z            y=b
                     z = f(x, y)


                                                                P
               P=(a, b, c)
                                                                    directional slope
                                                                    = df/dx|p = M
                                            directional slope
                 y                          = –df/dx|p = – M
                                   x                                        x
   <–1, 0>                         <1, 0>
                (a, b)
Directional Derivatives and the Gradient
In general, given any 2D (unit) directional vector
u = <a, b>,




      y
               x
      (a, b)
               u = <a, b>
Directional Derivatives and the Gradient
In general, given any 2D (unit) directional vector
u = <a, b>, the plane that contains the point P
aligned in the direction of u, makes a trace on the
surface z = f(x, y).




      y
               x
      (a, b)
               u = <a, b>
Directional Derivatives and the Gradient
In general, given any 2D (unit) directional vector
u = <a, b>, the plane that contains the point P
aligned in the direction of u, makes a trace on the
surface z = f(x, y).



                  In the u–direction




 P=(a, b, c)



          y
                       x
         (a, b)
                      u = <a, b>
Directional Derivatives and the Gradient
In general, given any 2D (unit) directional vector
u = <a, b>, the plane that contains the point P
aligned in the direction of u, makes a trace on the
surface z = f(x, y). We define the directional derivative
in the direction of u at P, denoted as D u(P), to be the
directional slope of any vector tangent at P
in the direction u.
                  In the u–direction




 P=(a, b, c)



          y
                       x
         (a, b)
                      u = <a, b>
Directional Derivatives and the Gradient
In general, given any 2D (unit) directional vector
u = <a, b>, the plane that contains the point P
aligned in the direction of u, makes a trace on the
surface z = f(x, y). We define the directional derivative
in the direction of u at P, denoted as D u(P), to be the
directional slope of any vector tangent at P
in the direction u.               z
                  In the u–direction


                                               P=(a, b, c)


 P=(a, b, c)



          y
                                       Du(P) = the directional derivative
                       x
         (a, b)                        = the directional slope of any tangent,
                      u = <a, b>       in the direction of u.
Directional Derivatives and the Gradient
Again using the trail–analogy that if we’re standing at
P, with the compass needle pointing in the direction of
 u = <a, b>, Du(P) indicates the up or down and the
steepness of the trail that is heading in the u–direction.


                                            z
                  In the u–direction


                                                P=(a, b, c)

 P=(a, b, c)



          y
                                       Du(P) = the directional derivative
                       x
         (a, b)                        = the directional slope of any tangent,
                      u = <a, b>       in the direction of u.
Directional Derivatives and the Gradient
Again using the trail–analogy that if we’re standing at
P, with the compass needle pointing in the direction of
 u = <a, b>, Du(P) indicates the up or down and the
steepness of the trail that is heading in the u–direction.
Note that D–u(P), the opposite directional derivative,
satisfies D–u(P) = –Du(P).
                                            z
                  In the u–direction


                                                P=(a, b, c)

 P=(a, b, c)



          y
   –u                                  Du(P) = the directional derivative
                       x
         (a, b)                        = the directional slope of any tangent,
                      u = <a, b>       in the direction of u.
Directional Derivatives and the Gradient
The problem of calculating
Du(P) may be reduced to the
surface’s tangent plane at P
because the tangent plane
itself consists of all the tangent
vectors to all the traces at P
Directional Derivatives and the Gradient
The problem of calculating
Du(P) may be reduced to the
surface’s tangent plane at P
because the tangent plane
                                     P
itself consists of all the tangent
vectors to all the traces at P
Directional Derivatives and the Gradient
The problem of calculating
Du(P) may be reduced to the
surface’s tangent plane at P
because the tangent plane
                                      P
itself consists of all the tangent
vectors to all the traces at P and
Du(P) are precisely the directional       x

slopes of these vectors.
Directional Derivatives and the Gradient
The problem of calculating
Du(P) may be reduced to the
surface’s tangent plane at P
because the tangent plane
                                            P
itself consists of all the tangent
vectors to all the traces at P and
Du(P) are precisely the directional                  x

slopes of these vectors.
Hence let’s study the directional derivatives of a
plane.
Directional Derivatives and the Gradient
The problem of calculating
Du(P) may be reduced to the
surface’s tangent plane at P
because the tangent plane
                                            P
itself consists of all the tangent
vectors to all the traces at P and
Du(P) are precisely the directional                  x

slopes of these vectors.
Hence let’s study the directional derivatives of a
plane.
We observe that the directional
derivatives in a plane depend only
on the direction u but not on the
location,
Directional Derivatives and the Gradient
The problem of calculating
Du(P) may be reduced to the
surface’s tangent plane at P
because the tangent plane
                                               P
itself consists of all the tangent
vectors to all the traces at P and
Du(P) are precisely the directional                    x

slopes of these vectors.
Hence let’s study the directional derivatives of a
plane.
We observe that the directional
derivatives in a plane depend only               P
                                                           u
on the direction u but not on the    In a plane
                                     D (P) = D (Q)
location,                               u    u

                                                   Q
                                                               u
Directional Derivatives and the Gradient
The problem of calculating
Du(P) may be reduced to the
surface’s tangent plane at P
because the tangent plane
                                                P
itself consists of all the tangent
vectors to all the traces at P and
Du(P) are precisely the directional                     x

slopes of these vectors.
Hence let’s study the directional derivatives of a
plane.
We observe that the directional
derivatives in a plane depend only                P
                                                            u
on the direction u but not on the     In a plane
location, i.e. for a fixed u, P and Q D (P) = D (Q) Q
                                        u     u



in a plane that Du(P) = Du(Q).                                  u
Directional Derivatives and the Gradient
We also note that the directional derivatives in the
plane are determined by the way the plane sits in
space. For example, a flat plane defined by z = c has
the Du(P) = 0 for all u's and P's.
Directional Derivatives and the Gradient
We also note that the directional derivatives in the
plane are determined by the way the plane sits in
space. For example, a flat plane defined by z = c has
the Du(P) = 0 for all u's and P's. The direction that a
plane T faces is determined by its partials derivative
df/dx = M and df/dy = L. In particular
we may reconstruct the plane
using M and L as shown.
Directional Derivatives and the Gradient
We also note that the directional derivatives in the
plane are determined by the way the plane sits in
space. For example, a flat plane defined by z = c has
the Du(P) = 0 for all u's and P's. The direction that a
plane T faces is determined by its partials derivative
df/dx = M and df/dy = L. In particular
we may reconstruct the plane
using M and L as shown.                                 Mdx

                                                         x


                                                    dx
Directional Derivatives and the Gradient
We also note that the directional derivatives in the
plane are determined by the way the plane sits in
space. For example, a flat plane defined by z = c has
the Du(P) = 0 for all u's and P's. The direction that a
plane T faces is determined by its partials derivative
df/dx = M and df/dy = L. In particular
we may reconstruct the plane
using M and L as shown.               Ldy
                                                        Mdx

                                                         x
                                     y


                                         dy         dx
Directional Derivatives and the Gradient
We also note that the directional derivatives in the
plane are determined by the way the plane sits in
space. For example, a flat plane defined by z = c has
the Du(P) = 0 for all u's and P's. The direction that a
plane T faces is determined by its partials derivative
df/dx = M and df/dy = L. In particular
we may reconstruct the plane
using M and L as shown.               Ldy
                                                        Mdx

                                                         x
                                     y


                                         dy         dx
Directional Derivatives and the Gradient
We also note that the directional derivatives in the
plane are determined by the way the plane sits in
space. For example, a flat plane defined by z = c has
the Du(P) = 0 for all u's and P's. The direction that a
plane T faces is determined by its partials derivative
df/dx = M and df/dy = L. In particular
we may reconstruct the plane
using M and L as shown.               Ldy
                                                        Mdx

The Gradient                            y
                                                         x

The vector <M, L> is called the
                                          dy        dx
gradient (vector) of T.
Directional Derivatives and the Gradient
We also note that the directional derivatives in the
plane are determined by the way the plane sits in
space. For example, a flat plane defined by z = c has
the Du(P) = 0 for all u's and P's. The direction that a
plane T faces is determined by its partials derivative
df/dx = M and df/dy = L. In particular       The gradient
                                             ∇ f(P) = <M,L>
we may reconstruct the plane
using M and L as shown.               Ldy
                                                                Mdx

The Gradient                            y
                                                        <M,L>    x

The vector <M, L> is called the                          M
                                          dy                 dx
gradient (vector) of T.                        L
Directional Derivatives and the Gradient
We also note that the directional derivatives in the
plane are determined by the way the plane sits in
space. For example, a flat plane defined by z = c has
the Du(P) = 0 for all u's and P's. The direction that a
plane T faces is determined by its partials derivative
df/dx = M and df/dy = L. In particular       The gradient
                                             ∇ f(P) = <M,L>
we may reconstruct the plane
using M and L as shown.               Ldy
                                                                Mdx

The Gradient                            y
                                                        <M,L>    x

The vector <M, L> is called the                          M
                                          dy                 dx
gradient (vector) of T.                        L

If T is the tangent plane at P to the surface z = f(x, y),
then we call <M, L> the gradient at P,
and is denoted as∇ f(P), i.e. ∇ f(P) = (fx(P), fy(P)).
Directional Derivatives and the Gradient
Gradient–Directional Derivative Theorem: Given
that z = f(x, y) is differentiable at P, the directional
derivative at P in the direction of u = <a, b> with |u| = 1
is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb.
Directional Derivatives and the Gradient
Gradient–Directional Derivative Theorem: Given
that z = f(x, y) is differentiable at P, the directional
derivative at P in the direction of u = <a, b> with |u| = 1
is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb.
Example B. Let f(x, y) = √49 – x2 – y2 and P = (3, 2, 6).
Find the gradient at P, and the directional derivative
with u = < 4/5, 3/5>.
Directional Derivatives and the Gradient
Gradient–Directional Derivative Theorem: Given
that z = f(x, y) is differentiable at P, the directional
derivative at P in the direction of u = <a, b> with |u| = 1
is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb.
Example B. Let f(x, y) = √49 – x2 – y2 and P = (3, 2, 6).
Find the gradient at P, and the directional derivative
with u = < 4/5, 3/5>.
We need ∇f(3, 2) = (fx(3, 2), fy(3, 2)) where
fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 .
Directional Derivatives and the Gradient
Gradient–Directional Derivative Theorem: Given
that z = f(x, y) is differentiable at P, the directional
derivative at P in the direction of u = <a, b> with |u| = 1
is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb.
Example B. Let f(x, y) = √49 – x2 – y2 and P = (3, 2, 6).
Find the gradient at P, and the directional derivative
with u = < 4/5, 3/5>.
We need ∇f(3, 2) = (fx(3, 2), fy(3, 2)) where
fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 .
So M = –1/2 and L = –1/3 and the
gradient at P is ∇f(3, 2) = <–1/2, –1/3>.
Directional Derivatives and the Gradient
Gradient–Directional Derivative Theorem: Given
that z = f(x, y) is differentiable at P, the directional
derivative at P in the direction of u = <a, b> with |u| = 1
is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb.
Example B. Let f(x, y) = √49 – x2 – y2 and P = (3, 2, 6).
Find the gradient at P, and the directional derivative
with u = < 4/5, 3/5>.
We need ∇f(3, 2) = (fx(3, 2), fy(3, 2)) where
fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 .
So M = –1/2 and L = –1/3 and the
gradient at P is ∇f(3, 2) = <–1/2, –1/3>.
The directional derivative Duf(2, 3)
with u = <4/5, –3/5> is ∇f(3, 2) • u
Directional Derivatives and the Gradient
Gradient–Directional Derivative Theorem: Given
that z = f(x, y) is differentiable at P, the directional
derivative at P in the direction of u = <a, b> with |u| = 1
is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb.
Example B. Let f(x, y) = √49 – x2 – y2 and P = (3, 2, 6).
Find the gradient at P, and the directional derivative
with u = < 4/5, 3/5>.
We need ∇f(3, 2) = (fx(3, 2), fy(3, 2)) where
fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 .
So M = –1/2 and L = –1/3 and the
gradient at P is ∇f(3, 2) = <–1/2, –1/3>.
The directional derivative Duf(2, 3)
with u = <4/5, –3/5> is ∇f(3, 2) • u
= <–1/2, –1/3> • <4/5, –3/5> = –1/5.
Directional Derivatives and the Gradient
Gradient–Directional Derivative Theorem: Given
that z = f(x, y) is differentiable at P, the directional
derivative at P in the direction of u = <a, b> with |u| = 1
is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb.
Example B. Let f(x, y) = √49 – x2 – y2 and P = (3, 2, 6).
Find the gradient at P, and the directional derivative
with u = < 4/5, 3/5>.
We need ∇f(3, 2) = (fx(3, 2), fy(3, 2)) where
fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 .
So M = –1/2 and L = –1/3 and the            D f(2, 3)=–1/5
                                                   u
                                                           (3, 2, 6)
gradient at P is ∇f(3, 2) = <–1/2, –1/3>.
The directional derivative Duf(2, 3)                                  y
with u = <4/5, –3/5> is ∇f(3, 2) • u         x              (3, 2, 0)

= <–1/2, –1/3> • <4/5, –3/5> = –1/5.           u=<4/5, –3/5>
Directional Derivatives and the Gradient
Zero Gradient Theorem: Let f(x, y) be differentiable at
P = (a, b, c) a.




                                       Regular Saddle Point




      Maximum          Minimum


                                       Monkey Saddle Point,
                                       etc..
Directional Derivatives and the Gradient
Zero Gradient Theorem: Let f(x, y) be differentiable at
P = (a, b, c) a. If ∇f(a, b) = 0, then all directional
derivatives are 0
Directional Derivatives and the Gradient
Zero Gradient Theorem: Let f(x, y) be differentiable at
P = (a, b, c) a. If ∇f(a, b) = 0, then all directional
derivatives are 0 and P could be a maximum,




      Maximum
Directional Derivatives and the Gradient
Zero Gradient Theorem: Let f(x, y) be differentiable at
P = (a, b, c) a. If ∇f(a, b) = 0, then all directional
derivatives are 0 and P could be a maximum, or a
minimum,




      Maximum          Minimum
Directional Derivatives and the Gradient
Zero Gradient Theorem: Let f(x, y) be differentiable at
P = (a, b, c) a. If ∇f(a, b) = 0, then all directional
derivatives are 0 and P could be a maximum, or a
minimum, or a saddle point.




                                       Regular Saddle Point




      Maximum          Minimum


                                       Monkey Saddle Point,
                                       etc..
Directional Derivatives and the Gradient
Gradient–Steepness Theorem: Let f(x, y) be
differentiable at P = (a, b, c) and ∇f(a, b) = <M, L>
(≠ 0) then <M, L> gives the direction of maximum
directional derivative (steepest climb) with value equal
to |<M, L>|. The opposite direction <–M, –L> gives the
direction of minimum directional derivative (steepest
descend) with value –|<M, L>|.
Directional Derivatives and the Gradient
Gradient–Steepness Theorem: Let f(x, y) be
differentiable at P = (a, b, c) and ∇f(a, b) = <M, L>
(≠ 0) then <M, L> gives the direction of maximum
directional derivative (steepest climb) with value equal
to |<M, L>|. The opposite direction <–M, –L> gives the
direction of minimum directional derivative (steepest
descend) with value –|<M, L>|.

            The gradient
            ∇ f(P) = <M,L>

                                  Mdx
 Ldy
                      <M,L>        x
   y
                       M
       dy                    dx
              L
Directional Derivatives and the Gradient
Gradient–Steepness Theorem: Let f(x, y) be
differentiable at P = (a, b, c) and ∇f(a, b) = <M, L>
(≠ 0) then <M, L> gives the direction of maximum
directional derivative (steepest climb) with value equal
to |<M, L>|. The opposite direction <–M, –L> gives the
direction of minimum directional derivative (steepest
descend) with value –|<M, L>|. Here is an example of
the steepest direction in a plane.
            The gradient                   The Steepest Climb             (0, 1, 1/2)
            ∇ f(P) = <M,L>

                                  Mdx
 Ldy                                                                      1/2
                      <M,L>        x    (1, 0, 1/4)
   y
                       M                                           1
                                             1/4                                y
       dy                    dx                       1
              L                                           <1/4, 1/2>=∇f
                                                      x   The Steepest Direction
Directional Derivatives and the Gradient
Example: Let f(x, y) = √k – x2 – y2, with k > 0. Draw the
gradient in the R2 plane at (a, b) in the domain.
Directional Derivatives and the Gradient
Example: Let f(x, y) = √k – x2 – y2, with k > 0. Draw the
gradient in the R2 plane at (a, b) in the domain.
We have fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 .
Directional Derivatives and the Gradient
Example: Let f(x, y) = √k – x2 – y2, with k > 0. Draw the
gradient in the R2 plane at (a, b) in the domain.
We have fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 .
At (a, b) in the domain, after clearing the
denominator, we've the direction the gradient or the
direction of the steepest climb to be <–a, –b>.
Directional Derivatives and the Gradient
Example: Let f(x, y) = √k – x2 – y2, with k > 0. Draw the
gradient in the R2 plane at (a, b) in the domain.
We have fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 .
At (a, b) in the domain, after clearing the
denominator, we've the direction the gradient or the
direction of the steepest climb to be <–a, –b>.
The surface is a hemisphere
centered at the origin hence
<–a, –b> is the direction to the
top which is also the direction of
the steepest climb.
Directional Derivatives and the Gradient
Example: Let f(x, y) = √k – x2 – y2, with k > 0. Draw the
gradient in the R2 plane at (a, b) in the domain.
We have fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 .
At (a, b) in the domain, after clearing the
denominator, we've the direction the gradient or the
direction of the steepest climb to be <–a, –b>.
                                                   (a,b)
The surface is a hemisphere
centered at the origin hence
<–a, –b> is the direction to the           <–a,–b>
top which is also the direction of
the steepest climb.
Directional Derivatives and the Gradient
Gradient–Level Theorem: Let f(x, y) be differentiable
at P with a nonzero gradient then the gradient is
perpendicular to the level curve.
Directional Derivatives and the Gradient
Gradient–Level Theorem: Let f(x, y) be differentiable
at P with a nonzero gradient then the gradient is
perpendicular to the level curve.
As in last example,
f(x, y) = √49 – x2 – y2.
The level curves are
concentric circles with (0,0) as
the center.
Directional Derivatives and the Gradient
Gradient–Level Theorem: Let f(x, y) be differentiable
at P with a nonzero gradient then the gradient is
perpendicular to the level curve.
As in last example,
                                            <x, y>
f(x, y) = √49 – x2 – y2.
The level curves are                        <–x, –y>
concentric circles with (0,0) as
the center. The gradient
<–x, –y> is perpendicular to
the levels curves at all points.

More Related Content

PPT
12.5. vector valued functions
PPT
10 parametric eequations of lines
PPT
29 conservative fields potential functions
PPT
28 work and line integrals
PPT
20 the chain rule
PPT
14 unit tangent and normal vectors
PPT
21 lagrange multipliers
PPT
9 determinant and cross product
12.5. vector valued functions
10 parametric eequations of lines
29 conservative fields potential functions
28 work and line integrals
20 the chain rule
14 unit tangent and normal vectors
21 lagrange multipliers
9 determinant and cross product

What's hot (20)

PPT
27 triple integrals in spherical and cylindrical coordinates
PPT
11 equations of planes
PPTX
1 3 d coordinate system
PPTX
30 surface integrals
PPTX
2 vectors
PPT
17 tangent planes and total differentials
PPTX
Applied Calculus Chapter 1 polar coordinates and vector
 
PPT
23 general double integrals
PPTX
Gradient divergence curl
PPTX
VECTOR FUNCTION
PPT
7.5 lines and_planes_in_space
PPT
24 double integral over polar coordinate
PPTX
34 polar coordinate and equations
PPT
12 quadric surfaces
PDF
Integration in the complex plane
PPT
19 min max-saddle-points
PPT
30 green's theorem
PPTX
3 dot product angles-projection
PPT
Lesson 14 b - parametric-1
PPT
16 partial derivatives
27 triple integrals in spherical and cylindrical coordinates
11 equations of planes
1 3 d coordinate system
30 surface integrals
2 vectors
17 tangent planes and total differentials
Applied Calculus Chapter 1 polar coordinates and vector
 
23 general double integrals
Gradient divergence curl
VECTOR FUNCTION
7.5 lines and_planes_in_space
24 double integral over polar coordinate
34 polar coordinate and equations
12 quadric surfaces
Integration in the complex plane
19 min max-saddle-points
30 green's theorem
3 dot product angles-projection
Lesson 14 b - parametric-1
16 partial derivatives
Ad

Viewers also liked (9)

PDF
Directional derivative and gradient
PPT
Vcla 1
PPTX
PPT
Vector calculus
PPT
Divergence theorem
PPTX
Divergence,curl,gradient
PDF
Green's theorem in classical mechanics and electrodynamics
PPT
Application of Gauss,Green and Stokes Theorem
PPT
Vector calculus
Directional derivative and gradient
Vcla 1
Vector calculus
Divergence theorem
Divergence,curl,gradient
Green's theorem in classical mechanics and electrodynamics
Application of Gauss,Green and Stokes Theorem
Vector calculus
Ad

Similar to 18 directional derivatives and gradient (20)

PDF
Directional Derivatives - vector differenciation
PPTX
2.4 defintion of derivative
PPT
Lesson 6 straight line
PPTX
THREE DIMENSIONAL GEOMETRY
PPTX
1.6 slopes and the difference quotient
PPTX
2.3 slopes and difference quotient
PPTX
6 slopes and difference quotient x
PPTX
16 slopes and difference quotient x
PDF
Partial Derivatives.pdf
PPTX
Kelompok 1 Matematika
PPTX
D1_YT_English_VEctor_Calculus_Gradient_&_Directional_Derivative.pptx
PPTX
Activity 1 (Directional Derivative and Gradient with minimum 3 applications)....
PDF
02Application of Derivative # 1 (Tangent & Normal)~1 Module-4.pdf
PPSX
Differentiation using First Principle - By Mohd Noor Abdul Hamid
PPT
Parabola
PPT
Ellipses drawing algo.
DOCX
Chapter 12 Section 12.1 Three-Dimensional Coordinate Sys
PPT
Parabola 091102134314-phpapp01
 
PDF
U unit4 vm
Directional Derivatives - vector differenciation
2.4 defintion of derivative
Lesson 6 straight line
THREE DIMENSIONAL GEOMETRY
1.6 slopes and the difference quotient
2.3 slopes and difference quotient
6 slopes and difference quotient x
16 slopes and difference quotient x
Partial Derivatives.pdf
Kelompok 1 Matematika
D1_YT_English_VEctor_Calculus_Gradient_&_Directional_Derivative.pptx
Activity 1 (Directional Derivative and Gradient with minimum 3 applications)....
02Application of Derivative # 1 (Tangent & Normal)~1 Module-4.pdf
Differentiation using First Principle - By Mohd Noor Abdul Hamid
Parabola
Ellipses drawing algo.
Chapter 12 Section 12.1 Three-Dimensional Coordinate Sys
Parabola 091102134314-phpapp01
 
U unit4 vm

Recently uploaded (20)

PDF
Deliverable file - Regulatory guideline analysis.pdf
PDF
Tata consultancy services case study shri Sharda college, basrur
PPTX
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
PDF
How to Get Business Funding for Small Business Fast
PDF
SBI Securities Weekly Wrap 08-08-2025_250808_205045.pdf
PPT
340036916-American-Literature-Literary-Period-Overview.ppt
PDF
NewBase 12 August 2025 Energy News issue - 1812 by Khaled Al Awadi_compresse...
PPT
Lecture 3344;;,,(,(((((((((((((((((((((((
PPTX
Probability Distribution, binomial distribution, poisson distribution
PDF
TyAnn Osborn: A Visionary Leader Shaping Corporate Workforce Dynamics
PDF
Solaris Resources Presentation - Corporate August 2025.pdf
PPTX
Belch_12e_PPT_Ch18_Accessible_university.pptx
PDF
Digital Marketing & E-commerce Certificate Glossary.pdf.................
PPTX
Sales & Distribution Management , LOGISTICS, Distribution, Sales Managers
PDF
NEW - FEES STRUCTURES (01-july-2024).pdf
PPTX
3. HISTORICAL PERSPECTIVE UNIIT 3^..pptx
PDF
Keppel_Proposed Divestment of M1 Limited
PDF
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
PDF
How to Get Funding for Your Trucking Business
PDF
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
Deliverable file - Regulatory guideline analysis.pdf
Tata consultancy services case study shri Sharda college, basrur
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
How to Get Business Funding for Small Business Fast
SBI Securities Weekly Wrap 08-08-2025_250808_205045.pdf
340036916-American-Literature-Literary-Period-Overview.ppt
NewBase 12 August 2025 Energy News issue - 1812 by Khaled Al Awadi_compresse...
Lecture 3344;;,,(,(((((((((((((((((((((((
Probability Distribution, binomial distribution, poisson distribution
TyAnn Osborn: A Visionary Leader Shaping Corporate Workforce Dynamics
Solaris Resources Presentation - Corporate August 2025.pdf
Belch_12e_PPT_Ch18_Accessible_university.pptx
Digital Marketing & E-commerce Certificate Glossary.pdf.................
Sales & Distribution Management , LOGISTICS, Distribution, Sales Managers
NEW - FEES STRUCTURES (01-july-2024).pdf
3. HISTORICAL PERSPECTIVE UNIIT 3^..pptx
Keppel_Proposed Divestment of M1 Limited
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
How to Get Funding for Your Trucking Business
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi

18 directional derivatives and gradient

  • 2. Directional Derivatives and the Gradient Given a vector v = <x, y>, we define the directional y slope of v to be |x|.
  • 3. Directional Derivatives and the Gradient Given a vector v = <x, y>, we define the directional y slope of v to be |x|. Example A. Find the directional slope of <1, 2>, <–1, –2>, <1, –2> and <–1, 2>.
  • 4. Directional Derivatives and the Gradient Given a vector v = <x, y>, we define the directional y slope of v to be |x|. Example A. Find the directional slope of <1, 2>, <–1, –2>, <1, –2> and <–1, 2>. The directional slope of y <–1, 2> <1, 2> a. <1, 2> is 2, b. <–1, 2> is 2, x
  • 5. Directional Derivatives and the Gradient Given a vector v = <x, y>, we define the directional y slope of v to be |x|. Example A. Find the directional slope of <1, 2>, <–1, –2>, <1, –2> and <–1, 2>. The directional slope of y <–1, 2> <1, 2> a. <1, 2> is 2, b. <–1, 2> is 2, x c. <–1, –2> is –2, <–1, –2> <1, –2> d. <1, –2> is –2.
  • 6. Directional Derivatives and the Gradient Given a vector v = <x, y>, we define the directional y slope of v to be |x|. Example A. Find the directional slope of <1, 2>, <–1, –2>, <1, –2> and <–1, 2>. The directional slope of y <–1, 2> <1, 2> a. <1, 2> is 2, b. <–1, 2> is 2, x c. <–1, –2> is –2, <–1, –2> <1, –2> d. <1, –2> is –2. The directional slope of v indicates the steepness of v and the vertical direction it’s pointing. Positive directional slope indicates v points upward and negative directional slope means v points downward.
  • 7. Directional Derivatives and the Gradient y = f(x) Given a differentiable point p on the p curve y = f(x) and a tangent vector v at p, depending whether v points up or down, we obtain two possible directional slopes for v.
  • 8. Directional Derivatives and the Gradient y = f(x) Given a differentiable point p on the p curve y = f(x) and a tangent vector v at p, depending whether v points up or down, we obtain two possible directional slopes for v. If v points to the right in the positive x–axis direction then its directional slope is f '(x), and if v points to the left then the directional slope of v is –f '(x).
  • 9. Directional Derivatives and the Gradient y = f(x) Given a differentiable point p on the p curve y = f(x) and a tangent vector v at p, depending whether v points up or down, we obtain two possible directional slopes for v. If v points to the right in the positive x–axis direction then its directional slope is f '(x), and if v points to the left then the directional slope of v is –f '(x). For example, v = <1, –2> and u = <–2, 4> y=x 2 u = <–2, 4> are tangent to y = x 2 at (–1, 1), x v = <1, –2>
  • 10. Directional Derivatives and the Gradient y = f(x) Given a differentiable point p on the p curve y = f(x) and a tangent vector v at p, depending whether v points up or down, we obtain two possible directional slopes for v. If v points to the right in the positive x–axis direction then its directional slope is f '(x), and if v points to the left then the directional slope of v is –f '(x). For example, v = <1, –2> and y=x 2 u = <–2, 4> are tangent to y = x 2 at (–1, 1), v points to the positive x–axis direction, so its directional slope is –2 = f '(x), x v = <1, –2>
  • 11. Directional Derivatives and the Gradient y = f(x) Given a differentiable point p on the p curve y = f(x) and a tangent vector v at p, depending whether v points up or down, we obtain two possible directional slopes for v. If v points to the right in the positive x–axis direction then its directional slope is f '(x), and if v points to the left then the directional slope of v is –f '(x). For example, v = <1, –2> and u = <–2, 4> y=x 2 u = <–2, 4> are tangent to y = x 2 at (–1, 1), v points to the positive x–axis direction, so its directional slope is –2 = f '(x), and u points in x the negative x–axis direction with directional slope 2 = –f '(x). v = <1, –2>
  • 12. Directional Derivatives and the Gradient Let P = (a, b, c) be a differentiable point on the surface defined by z = f(x, y). The plane y = b is aligned in the two directions of <1, 0> or <–1, 0> on the unit circle.
  • 13. Directional Derivatives and the Gradient Let P = (a, b, c) be a differentiable point on the surface defined by z = f(x, y). The plane y = b is aligned in the two directions of <1, 0> or <–1, 0> on the unit circle. In the x–axis direction z = f(x, y) P=(a, b, c) y x <–1, 0> (a, b) <1, 0>
  • 14. Directional Derivatives and the Gradient Let P = (a, b, c) be a differentiable point on the surface defined by z = f(x, y). The plane y = b is aligned in the two directions of <1, 0> or <–1, 0> on the unit circle. The partial derivative df/dx|p= M is the directional slope in the direction <1, 0> at P, In the x–axis direction z = f(x, y) P=(a, b, c) y x <–1, 0> (a, b) <1, 0>
  • 15. Directional Derivatives and the Gradient Let P = (a, b, c) be a differentiable point on the surface defined by z = f(x, y). The plane y = b is aligned in the two directions of <1, 0> or <–1, 0> on the unit circle. The partial derivative df/dx|p= M is the directional slope in the direction <1, 0> at P, In the x–axis direction z = f(x, y) P=(a, b, c) y x <–1, 0> (a, b) <1, 0>
  • 16. Directional Derivatives and the Gradient Let P = (a, b, c) be a differentiable point on the surface defined by z = f(x, y). The plane y = b is aligned in the two directions of <1, 0> or <–1, 0> on the unit circle. The partial derivative df/dx|p= M is the directional slope in the direction <1, 0> at P, In the x–axis direction z y=b z = f(x, y) P P=(a, b, c) directional slope = df/dx|p = M y x x <–1, 0> (a, b) <1, 0>
  • 17. Directional Derivatives and the Gradient Let P = (a, b, c) be a differentiable point on the surface defined by z = f(x, y). The plane y = b is aligned in the two directions of <1, 0> or <–1, 0> on the unit circle. The partial derivative df/dx|p= M is the directional slope in the direction <1, 0> at P, so M = df/dx|p is also called the directional derivative in the direction of <1, 0> In the x–axis direction z y=b z = f(x, y) P P=(a, b, c) directional slope = df/dx|p = M y x x <–1, 0> (a, b) <1, 0>
  • 18. Directional Derivatives and the Gradient Let P = (a, b, c) be a differentiable point on the surface defined by z = f(x, y). The plane y = b is aligned in the two directions of <1, 0> or <–1, 0> on the unit circle. The partial derivative df/dx|p= M is the directional slope in the direction <1, 0> at P, so M = df/dx|p is also called the directional derivative in the direction of <1, 0> and an opposite tangent has directional derivative –M. In the x–axis direction z y=b z = f(x, y) P P=(a, b, c) directional slope = df/dx|p = M y x x <–1, 0> (a, b) <1, 0>
  • 19. Directional Derivatives and the Gradient Let P = (a, b, c) be a differentiable point on the surface defined by z = f(x, y). The plane y = b is aligned in the two directions of <1, 0> or <–1, 0> on the unit circle. The partial derivative df/dx|p= M is the directional slope in the direction <1, 0> at P, so M = df/dx|p is also called the directional derivative in the direction of <1, 0> and an opposite tangent has directional derivative –M. In the x–axis direction z y=b z = f(x, y) P P=(a, b, c) directional slope = df/dx|p = M directional slope y = –df/dx|p = – M x x <–1, 0> (a, b) <1, 0>
  • 20. Directional Derivatives and the Gradient In other words, if we’re standing at P with a compass, the directional derivative in direction of <1, 0>, i.e. to the east, which is M = df/dx|p, In the x–axis direction z y=b z = f(x, y) P P=(a, b, c) directional slope = df/dx|p = M y x x <–1, 0> <1, 0> (a, b)
  • 21. Directional Derivatives and the Gradient In other words, if we’re standing at P with a compass, the directional derivative in direction of <1, 0>, i.e. to the east, which is M = df/dx|p, indicates the up or down and the steepness of the trail that is heading eastward. In the x–axis direction z y=b z = f(x, y) P P=(a, b, c) directional slope = df/dx|p = M y x x <–1, 0> <1, 0> (a, b)
  • 22. Directional Derivatives and the Gradient In other words, if we’re standing at P with a compass, the directional derivative in direction of <1, 0>, i.e. to the east, which is M = df/dx|p, indicates the up or down and the steepness of the trail that is heading eastward. Likewise, –M = –df/dx|p indicates the up or down and the steepness of the trail that is heading in the <–1, 0> direction or to the west. In the x–axis direction z y=b z = f(x, y) P P=(a, b, c) directional slope = df/dx|p = M directional slope y = –df/dx|p = – M x x <–1, 0> <1, 0> (a, b)
  • 23. Directional Derivatives and the Gradient In general, given any 2D (unit) directional vector u = <a, b>, y x (a, b) u = <a, b>
  • 24. Directional Derivatives and the Gradient In general, given any 2D (unit) directional vector u = <a, b>, the plane that contains the point P aligned in the direction of u, makes a trace on the surface z = f(x, y). y x (a, b) u = <a, b>
  • 25. Directional Derivatives and the Gradient In general, given any 2D (unit) directional vector u = <a, b>, the plane that contains the point P aligned in the direction of u, makes a trace on the surface z = f(x, y). In the u–direction P=(a, b, c) y x (a, b) u = <a, b>
  • 26. Directional Derivatives and the Gradient In general, given any 2D (unit) directional vector u = <a, b>, the plane that contains the point P aligned in the direction of u, makes a trace on the surface z = f(x, y). We define the directional derivative in the direction of u at P, denoted as D u(P), to be the directional slope of any vector tangent at P in the direction u. In the u–direction P=(a, b, c) y x (a, b) u = <a, b>
  • 27. Directional Derivatives and the Gradient In general, given any 2D (unit) directional vector u = <a, b>, the plane that contains the point P aligned in the direction of u, makes a trace on the surface z = f(x, y). We define the directional derivative in the direction of u at P, denoted as D u(P), to be the directional slope of any vector tangent at P in the direction u. z In the u–direction P=(a, b, c) P=(a, b, c) y Du(P) = the directional derivative x (a, b) = the directional slope of any tangent, u = <a, b> in the direction of u.
  • 28. Directional Derivatives and the Gradient Again using the trail–analogy that if we’re standing at P, with the compass needle pointing in the direction of u = <a, b>, Du(P) indicates the up or down and the steepness of the trail that is heading in the u–direction. z In the u–direction P=(a, b, c) P=(a, b, c) y Du(P) = the directional derivative x (a, b) = the directional slope of any tangent, u = <a, b> in the direction of u.
  • 29. Directional Derivatives and the Gradient Again using the trail–analogy that if we’re standing at P, with the compass needle pointing in the direction of u = <a, b>, Du(P) indicates the up or down and the steepness of the trail that is heading in the u–direction. Note that D–u(P), the opposite directional derivative, satisfies D–u(P) = –Du(P). z In the u–direction P=(a, b, c) P=(a, b, c) y –u Du(P) = the directional derivative x (a, b) = the directional slope of any tangent, u = <a, b> in the direction of u.
  • 30. Directional Derivatives and the Gradient The problem of calculating Du(P) may be reduced to the surface’s tangent plane at P because the tangent plane itself consists of all the tangent vectors to all the traces at P
  • 31. Directional Derivatives and the Gradient The problem of calculating Du(P) may be reduced to the surface’s tangent plane at P because the tangent plane P itself consists of all the tangent vectors to all the traces at P
  • 32. Directional Derivatives and the Gradient The problem of calculating Du(P) may be reduced to the surface’s tangent plane at P because the tangent plane P itself consists of all the tangent vectors to all the traces at P and Du(P) are precisely the directional x slopes of these vectors.
  • 33. Directional Derivatives and the Gradient The problem of calculating Du(P) may be reduced to the surface’s tangent plane at P because the tangent plane P itself consists of all the tangent vectors to all the traces at P and Du(P) are precisely the directional x slopes of these vectors. Hence let’s study the directional derivatives of a plane.
  • 34. Directional Derivatives and the Gradient The problem of calculating Du(P) may be reduced to the surface’s tangent plane at P because the tangent plane P itself consists of all the tangent vectors to all the traces at P and Du(P) are precisely the directional x slopes of these vectors. Hence let’s study the directional derivatives of a plane. We observe that the directional derivatives in a plane depend only on the direction u but not on the location,
  • 35. Directional Derivatives and the Gradient The problem of calculating Du(P) may be reduced to the surface’s tangent plane at P because the tangent plane P itself consists of all the tangent vectors to all the traces at P and Du(P) are precisely the directional x slopes of these vectors. Hence let’s study the directional derivatives of a plane. We observe that the directional derivatives in a plane depend only P u on the direction u but not on the In a plane D (P) = D (Q) location, u u Q u
  • 36. Directional Derivatives and the Gradient The problem of calculating Du(P) may be reduced to the surface’s tangent plane at P because the tangent plane P itself consists of all the tangent vectors to all the traces at P and Du(P) are precisely the directional x slopes of these vectors. Hence let’s study the directional derivatives of a plane. We observe that the directional derivatives in a plane depend only P u on the direction u but not on the In a plane location, i.e. for a fixed u, P and Q D (P) = D (Q) Q u u in a plane that Du(P) = Du(Q). u
  • 37. Directional Derivatives and the Gradient We also note that the directional derivatives in the plane are determined by the way the plane sits in space. For example, a flat plane defined by z = c has the Du(P) = 0 for all u's and P's.
  • 38. Directional Derivatives and the Gradient We also note that the directional derivatives in the plane are determined by the way the plane sits in space. For example, a flat plane defined by z = c has the Du(P) = 0 for all u's and P's. The direction that a plane T faces is determined by its partials derivative df/dx = M and df/dy = L. In particular we may reconstruct the plane using M and L as shown.
  • 39. Directional Derivatives and the Gradient We also note that the directional derivatives in the plane are determined by the way the plane sits in space. For example, a flat plane defined by z = c has the Du(P) = 0 for all u's and P's. The direction that a plane T faces is determined by its partials derivative df/dx = M and df/dy = L. In particular we may reconstruct the plane using M and L as shown. Mdx x dx
  • 40. Directional Derivatives and the Gradient We also note that the directional derivatives in the plane are determined by the way the plane sits in space. For example, a flat plane defined by z = c has the Du(P) = 0 for all u's and P's. The direction that a plane T faces is determined by its partials derivative df/dx = M and df/dy = L. In particular we may reconstruct the plane using M and L as shown. Ldy Mdx x y dy dx
  • 41. Directional Derivatives and the Gradient We also note that the directional derivatives in the plane are determined by the way the plane sits in space. For example, a flat plane defined by z = c has the Du(P) = 0 for all u's and P's. The direction that a plane T faces is determined by its partials derivative df/dx = M and df/dy = L. In particular we may reconstruct the plane using M and L as shown. Ldy Mdx x y dy dx
  • 42. Directional Derivatives and the Gradient We also note that the directional derivatives in the plane are determined by the way the plane sits in space. For example, a flat plane defined by z = c has the Du(P) = 0 for all u's and P's. The direction that a plane T faces is determined by its partials derivative df/dx = M and df/dy = L. In particular we may reconstruct the plane using M and L as shown. Ldy Mdx The Gradient y x The vector <M, L> is called the dy dx gradient (vector) of T.
  • 43. Directional Derivatives and the Gradient We also note that the directional derivatives in the plane are determined by the way the plane sits in space. For example, a flat plane defined by z = c has the Du(P) = 0 for all u's and P's. The direction that a plane T faces is determined by its partials derivative df/dx = M and df/dy = L. In particular The gradient ∇ f(P) = <M,L> we may reconstruct the plane using M and L as shown. Ldy Mdx The Gradient y <M,L> x The vector <M, L> is called the M dy dx gradient (vector) of T. L
  • 44. Directional Derivatives and the Gradient We also note that the directional derivatives in the plane are determined by the way the plane sits in space. For example, a flat plane defined by z = c has the Du(P) = 0 for all u's and P's. The direction that a plane T faces is determined by its partials derivative df/dx = M and df/dy = L. In particular The gradient ∇ f(P) = <M,L> we may reconstruct the plane using M and L as shown. Ldy Mdx The Gradient y <M,L> x The vector <M, L> is called the M dy dx gradient (vector) of T. L If T is the tangent plane at P to the surface z = f(x, y), then we call <M, L> the gradient at P, and is denoted as∇ f(P), i.e. ∇ f(P) = (fx(P), fy(P)).
  • 45. Directional Derivatives and the Gradient Gradient–Directional Derivative Theorem: Given that z = f(x, y) is differentiable at P, the directional derivative at P in the direction of u = <a, b> with |u| = 1 is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb.
  • 46. Directional Derivatives and the Gradient Gradient–Directional Derivative Theorem: Given that z = f(x, y) is differentiable at P, the directional derivative at P in the direction of u = <a, b> with |u| = 1 is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb. Example B. Let f(x, y) = √49 – x2 – y2 and P = (3, 2, 6). Find the gradient at P, and the directional derivative with u = < 4/5, 3/5>.
  • 47. Directional Derivatives and the Gradient Gradient–Directional Derivative Theorem: Given that z = f(x, y) is differentiable at P, the directional derivative at P in the direction of u = <a, b> with |u| = 1 is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb. Example B. Let f(x, y) = √49 – x2 – y2 and P = (3, 2, 6). Find the gradient at P, and the directional derivative with u = < 4/5, 3/5>. We need ∇f(3, 2) = (fx(3, 2), fy(3, 2)) where fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 .
  • 48. Directional Derivatives and the Gradient Gradient–Directional Derivative Theorem: Given that z = f(x, y) is differentiable at P, the directional derivative at P in the direction of u = <a, b> with |u| = 1 is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb. Example B. Let f(x, y) = √49 – x2 – y2 and P = (3, 2, 6). Find the gradient at P, and the directional derivative with u = < 4/5, 3/5>. We need ∇f(3, 2) = (fx(3, 2), fy(3, 2)) where fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 . So M = –1/2 and L = –1/3 and the gradient at P is ∇f(3, 2) = <–1/2, –1/3>.
  • 49. Directional Derivatives and the Gradient Gradient–Directional Derivative Theorem: Given that z = f(x, y) is differentiable at P, the directional derivative at P in the direction of u = <a, b> with |u| = 1 is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb. Example B. Let f(x, y) = √49 – x2 – y2 and P = (3, 2, 6). Find the gradient at P, and the directional derivative with u = < 4/5, 3/5>. We need ∇f(3, 2) = (fx(3, 2), fy(3, 2)) where fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 . So M = –1/2 and L = –1/3 and the gradient at P is ∇f(3, 2) = <–1/2, –1/3>. The directional derivative Duf(2, 3) with u = <4/5, –3/5> is ∇f(3, 2) • u
  • 50. Directional Derivatives and the Gradient Gradient–Directional Derivative Theorem: Given that z = f(x, y) is differentiable at P, the directional derivative at P in the direction of u = <a, b> with |u| = 1 is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb. Example B. Let f(x, y) = √49 – x2 – y2 and P = (3, 2, 6). Find the gradient at P, and the directional derivative with u = < 4/5, 3/5>. We need ∇f(3, 2) = (fx(3, 2), fy(3, 2)) where fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 . So M = –1/2 and L = –1/3 and the gradient at P is ∇f(3, 2) = <–1/2, –1/3>. The directional derivative Duf(2, 3) with u = <4/5, –3/5> is ∇f(3, 2) • u = <–1/2, –1/3> • <4/5, –3/5> = –1/5.
  • 51. Directional Derivatives and the Gradient Gradient–Directional Derivative Theorem: Given that z = f(x, y) is differentiable at P, the directional derivative at P in the direction of u = <a, b> with |u| = 1 is Duf(x, y) = ∇f(x, y) • u = <M, L> • <a, b> = Ma + Lb. Example B. Let f(x, y) = √49 – x2 – y2 and P = (3, 2, 6). Find the gradient at P, and the directional derivative with u = < 4/5, 3/5>. We need ∇f(3, 2) = (fx(3, 2), fy(3, 2)) where fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 . So M = –1/2 and L = –1/3 and the D f(2, 3)=–1/5 u (3, 2, 6) gradient at P is ∇f(3, 2) = <–1/2, –1/3>. The directional derivative Duf(2, 3) y with u = <4/5, –3/5> is ∇f(3, 2) • u x (3, 2, 0) = <–1/2, –1/3> • <4/5, –3/5> = –1/5. u=<4/5, –3/5>
  • 52. Directional Derivatives and the Gradient Zero Gradient Theorem: Let f(x, y) be differentiable at P = (a, b, c) a. Regular Saddle Point Maximum Minimum Monkey Saddle Point, etc..
  • 53. Directional Derivatives and the Gradient Zero Gradient Theorem: Let f(x, y) be differentiable at P = (a, b, c) a. If ∇f(a, b) = 0, then all directional derivatives are 0
  • 54. Directional Derivatives and the Gradient Zero Gradient Theorem: Let f(x, y) be differentiable at P = (a, b, c) a. If ∇f(a, b) = 0, then all directional derivatives are 0 and P could be a maximum, Maximum
  • 55. Directional Derivatives and the Gradient Zero Gradient Theorem: Let f(x, y) be differentiable at P = (a, b, c) a. If ∇f(a, b) = 0, then all directional derivatives are 0 and P could be a maximum, or a minimum, Maximum Minimum
  • 56. Directional Derivatives and the Gradient Zero Gradient Theorem: Let f(x, y) be differentiable at P = (a, b, c) a. If ∇f(a, b) = 0, then all directional derivatives are 0 and P could be a maximum, or a minimum, or a saddle point. Regular Saddle Point Maximum Minimum Monkey Saddle Point, etc..
  • 57. Directional Derivatives and the Gradient Gradient–Steepness Theorem: Let f(x, y) be differentiable at P = (a, b, c) and ∇f(a, b) = <M, L> (≠ 0) then <M, L> gives the direction of maximum directional derivative (steepest climb) with value equal to |<M, L>|. The opposite direction <–M, –L> gives the direction of minimum directional derivative (steepest descend) with value –|<M, L>|.
  • 58. Directional Derivatives and the Gradient Gradient–Steepness Theorem: Let f(x, y) be differentiable at P = (a, b, c) and ∇f(a, b) = <M, L> (≠ 0) then <M, L> gives the direction of maximum directional derivative (steepest climb) with value equal to |<M, L>|. The opposite direction <–M, –L> gives the direction of minimum directional derivative (steepest descend) with value –|<M, L>|. The gradient ∇ f(P) = <M,L> Mdx Ldy <M,L> x y M dy dx L
  • 59. Directional Derivatives and the Gradient Gradient–Steepness Theorem: Let f(x, y) be differentiable at P = (a, b, c) and ∇f(a, b) = <M, L> (≠ 0) then <M, L> gives the direction of maximum directional derivative (steepest climb) with value equal to |<M, L>|. The opposite direction <–M, –L> gives the direction of minimum directional derivative (steepest descend) with value –|<M, L>|. Here is an example of the steepest direction in a plane. The gradient The Steepest Climb (0, 1, 1/2) ∇ f(P) = <M,L> Mdx Ldy 1/2 <M,L> x (1, 0, 1/4) y M 1 1/4 y dy dx 1 L <1/4, 1/2>=∇f x The Steepest Direction
  • 60. Directional Derivatives and the Gradient Example: Let f(x, y) = √k – x2 – y2, with k > 0. Draw the gradient in the R2 plane at (a, b) in the domain.
  • 61. Directional Derivatives and the Gradient Example: Let f(x, y) = √k – x2 – y2, with k > 0. Draw the gradient in the R2 plane at (a, b) in the domain. We have fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 .
  • 62. Directional Derivatives and the Gradient Example: Let f(x, y) = √k – x2 – y2, with k > 0. Draw the gradient in the R2 plane at (a, b) in the domain. We have fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 . At (a, b) in the domain, after clearing the denominator, we've the direction the gradient or the direction of the steepest climb to be <–a, –b>.
  • 63. Directional Derivatives and the Gradient Example: Let f(x, y) = √k – x2 – y2, with k > 0. Draw the gradient in the R2 plane at (a, b) in the domain. We have fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 . At (a, b) in the domain, after clearing the denominator, we've the direction the gradient or the direction of the steepest climb to be <–a, –b>. The surface is a hemisphere centered at the origin hence <–a, –b> is the direction to the top which is also the direction of the steepest climb.
  • 64. Directional Derivatives and the Gradient Example: Let f(x, y) = √k – x2 – y2, with k > 0. Draw the gradient in the R2 plane at (a, b) in the domain. We have fx = –x/√49 – x2 – y2, fy = –y/√49 – x2 – y2 . At (a, b) in the domain, after clearing the denominator, we've the direction the gradient or the direction of the steepest climb to be <–a, –b>. (a,b) The surface is a hemisphere centered at the origin hence <–a, –b> is the direction to the <–a,–b> top which is also the direction of the steepest climb.
  • 65. Directional Derivatives and the Gradient Gradient–Level Theorem: Let f(x, y) be differentiable at P with a nonzero gradient then the gradient is perpendicular to the level curve.
  • 66. Directional Derivatives and the Gradient Gradient–Level Theorem: Let f(x, y) be differentiable at P with a nonzero gradient then the gradient is perpendicular to the level curve. As in last example, f(x, y) = √49 – x2 – y2. The level curves are concentric circles with (0,0) as the center.
  • 67. Directional Derivatives and the Gradient Gradient–Level Theorem: Let f(x, y) be differentiable at P with a nonzero gradient then the gradient is perpendicular to the level curve. As in last example, <x, y> f(x, y) = √49 – x2 – y2. The level curves are <–x, –y> concentric circles with (0,0) as the center. The gradient <–x, –y> is perpendicular to the levels curves at all points.