Total and directional derivatives:

  • Thread starter iampaul
  • Start date
  • Tags
    Derivatives
In summary, the directional derivative of a function, according to this equation, tells how fast the function value changes as you move an "infinitesmal" distance in the direction per unit distance moved. The total derivative, with respect to x, in a given direction, measures how fast the function value changes as you move an "infinitesmal" distance in that direction per unit of change in x.
  • #1
iampaul
93
0
The total derivative of the function z=f(x,y) with respect to x is:
dz/dx = ∂z/∂x + (∂z/∂y)(dy/dx)
The way i see this is that the total derivative, dz/dx, gives the rate of change of z with x, allowing y to vary with x at the rate dy/dx. I don't know if this is right.

The directional derivative Daf(x,y) gives the rate of change of z in the direction of the vector a. But, I am thinking, that for a particular direction, there is a line: y=mx +b, and y is a function of x. A certain direction gives a unique dy / dx. If i substitute this in the equation for a total derivative, I get a unique dz/dx.

My question is, what really is a total derivative?
I'm asking this since the way i understand it seems to blur the difference between directional and total derivatives. PLease help. Thanks in advance!
 
Physics news on Phys.org
  • #2
It's pretty much just what you have said. The directional derivative, in a specific direction, tells how fast the function value changes as you move an "infinitesmal" distance in that direction per unit distance moved. The total derivative, with respect to x, in a given direction, measures how fast the function value changes as you move an "infinitesmal" distance in that direction per unit of change in x.

That is, for the directional derivative, the "denominator" is measured along the direction while for the total derivative it is measured in the x direction.
 
  • #3
Um, but In some cases, total derivative is the jacobian, so the total derivative is actually the gradient in this case. Then once you restrict your self to a direction, you have a new function just in x, and now that one dimesnional derivtaive could be seen as a directional derivative. One problem is, when people write f(x)=f(x,y(x)), that's not right. It should have a new name, g(x)=f(x,y(x)). Total derivative of f is gradient. total derivative of g id dg/dx=f_x+f_y*y'=grad f dotted with u, the unit tangent vector to the y(x) path. In other words, sometimes the difference between what your teachers call partial and total, is fixing a path.
 
  • #4
Thanks for the replies. I know nothing about those jacobians yet. I am using the book protter morrey college calculus which i got from my uncle, and it mentioned nothing about this total derivatives, so i easily got confused. I'll post a reply when i run into other problems. Thanks again.
 
  • #5
Let me try to paraphrase my messy statement.

I think we can imagine the words partial and total, as being used somewhat appropriately.

  • The partial moves us just along the x-axis, and everything else is held constant.
  • The total derivative appears to have more or less two meanings, though in my own head, I see them as the same:
  1. The total derivative is a derivative from multivariable calculus which records all the partials at once, in a list, but also in an abbreviated notation. This is the Jacobian, and in a special case the gradient; wikipedia suggests it is the same from differential forms for manifolds, sounds about right.
  2. For the other meaning, I feel there is still the spirit of the total derivative recording rates of changes in every direction, but in order to only have one value, we must be looking at one particular direction. So in the case of restricting ourselves to some path, the total derivative is not a partial, and is not multivariable. It is slightly different from the directional derivative, but it's similar in that that is the direction in which we want to measure the change of f. But the speed at which we travel horizontally is different, since dx is at an angle from a direction du in which we measure fs change. I think the total derivative will be different from the directional derivtiave along same path by a factor [itex]\cos(/theta)[/itex], where theta is the angle between the direction u and the positive x axis. Maybe this fails for a couple angles.

Sorry for the rambling. Halls of ivy's answer was great, I just only rememebered total from another class.
 
  • #6
Thanks for the reply :smile:.
 
  • #7
I have another question about an equation I arrived at while attempting to clarify my confusion.
------------------------------------------------------------------------

Daf(x,y) = limh→0{[f(x+hcos∅,y+hsin∅)-f(x,y)]/h}. I think that h is always given by Δy/sin∅ or Δx/cos∅.When i plugged these into the equation for the directional derivative I get:
Daf(x,y) = limh→0{[f(x+Δx,y+Δy)-f(x,y)]/Δy}sin∅

or

Daf(x,y) = limh→0{[f(x+Δx,y+Δy)-f(x,y)]/Δx}cos∅

when h→0, Δy→0 and Δx→0

Daf(x,y)= (df/dx)cos∅ = (df/dy)sin∅

Is this right?? Why is it that when ∅=0 i get Daf(x,y)=df/dx=0..The same thing happens when ∅= ∏/2,∏,3∏/2. Is it because h is undefined in these angles: h=Δy/sin∅=Δx/cos∅?
-----------------------------------------------------------------------
I get the same result if i start from:

dz/dx = (∂f/∂x) + (∂f/∂y)dy/dx...dy/dx = tan∅ for a certain direction
(dz/dx)cos∅=(∂f/∂x)cos∅+(∂f/∂y)sin∅=Daf(x,y)

the same thing happens with dz/dy

please reply. Thanks!
 
  • #8
algebrat said:
I think the total derivative will be different from the directional derivtiave along same path by a factor [itex]\cos(/theta)[/itex], where theta is the angle between the direction u and the positive x axis.

Looks like you have answered my question already. Thanks!
 

FAQ: Total and directional derivatives:

What is the definition of total derivative?

The total derivative is a mathematical concept that describes the rate of change of a function with respect to all of its input variables. It takes into account both changes in the independent variables and changes in the dependent variable.

What is the difference between total and partial derivatives?

Total derivatives consider changes in all input variables, while partial derivatives only consider changes in one input variable while holding others constant. In other words, total derivatives take into account the effect of all variables on the function, while partial derivatives only consider one variable at a time.

How do you calculate the total derivative?

The total derivative can be calculated using the chain rule, which involves taking the partial derivatives of the function with respect to each input variable and then multiplying them by the corresponding changes in each variable.

What is the significance of directional derivatives?

Directional derivatives measure the rate of change of a function in a specific direction. They are useful in optimization problems, where the goal is to find the direction in which a function is changing most rapidly.

Can total and directional derivatives be negative?

Yes, both total and directional derivatives can be negative. This indicates that the function is decreasing in value in that direction. A positive derivative indicates an increase in the function and a derivative of zero indicates no change.

Similar threads

Replies
12
Views
2K
Replies
4
Views
1K
Replies
6
Views
3K
Replies
6
Views
2K
Replies
1
Views
2K
Replies
9
Views
1K
Replies
8
Views
2K
Replies
8
Views
840
Replies
4
Views
2K
Back
Top