Results 1 to 3 of 3

Thread: directional derivative

  1. #1

    Thread Starter
    Lively Member MHENK's Avatar
    Join Date
    Sep 2001
    Location
    Wisconsin
    Posts
    99

    directional derivative

    I have a function f(x,y,z). I need to determne the maximum directional derivative at a given point, AND it's direction. How would I do this?

    Also, how would I find the direction forwhich the directional derivative at a given point is 0?
    "Have you ever woken up, looked at yourself in the mirror, and said 'screw the diet, how fat can i possibly get'?"

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151
    I do not remember much about directional derivatives, only that they relate to the motion along a curve in 3D space. After thinking a bit about the definition I remember, my intuition suggests the following.
    • x = Functionx(s), y = Functiony(s), z = Functionz(s) define a 3D curve, where s is usually arc length.
    • If Function(x, y, z) is defined and continuous at a point on the curve, there is a directional derivative at that point. The directional derivative indicates how fast the function is changing as s changes. Id est: It is the rate of change of F(x, y, z) as (x, y, z) moves along the curve.
    • The directional derivative at a point (x, y, z) is the sum of three products. I do not know how to do a neat job of formatting the standard expression in the context of this forum. The following should give you clue.
    • DirectionalD = PartialxDerivativex + PartialyDerivativey + PartialzDerivativez, where Partialv is a partial derivative of Function(x, y, z) with respect to variable v, and Derivativev is the derivative of variable x with respect to s.
    • Note that Function(x, y, z) = Constant defines a surface for each value of Constant.
      For example: x2 + y2 + z2 = Radius2 is a sphere centered at the origin for each value of Radius.
    • I think the maximum values of the directional derivative occur in directions orthogonal (normal or perpendicular) to the surfaces defined by Function(x, y, z) = Constant. In the case of the sphere given above, the maximums for a given Radius are all the same, and can be computed by taking directional derivative along the curve (actually a straight line) defined by: x = 0, y = 0, z = s Note that a directional derivative along any straight line through the origin could be used. The Z-Axis just seems like a good one to use.
    • I am not sure that there is always a direction for which the directional derivative is zero, but I suspect that there is. Note that reversing direction should change the sign of the directional derivative. This suggests that there is a direction for which the directional derivative is zero. In the case of the sphere function, I think the directional derivative would be zero for any curve in a plane tangent to a sphere. At least it would be zero in the direction of a straight line tangent to the sphere. I am not sure if zero values for other functions would be along curves in tangent planes, but I suspect that this is the case.
    I hope the above helps. I think it is correct. Caveat emptor: It has been a long time since I studied or worked with this subject.
    Live long & prosper.

    The Dinosaur from prehistoric era prior to computers.

    Eschew obfuscation!
    If a billion people believe a foolish idea, it is still a foolish idea!
    VB.net 2010 Express
    64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    the max increase is to be found at the gradient vector, which is perpendicular to the hypersurface given by the function, in the xyz-space:
    Ñf(x,y,z)= f/x i+f/y j+f/z k

    to get the directional derivative Duf(x0,y0) = u × Ñf(x0,y0)
    where u is the direction. not sure but you could probably solve it for u if you put it to 0 ?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width