Is the Use of h Confusing in the Directional Derivative Proof?

In summary, Stewart defines a function g of the single variable h and uses its derivative g'(0) to study the behavior of the quotient as h approaches zero. However, he overuses the variable h in his notation and could have avoided confusion by using a different variable, such as \zeta. Additionally, he uses two different definitions of derivatives, which may be confusing to readers. Despite these issues, all of Stewart's mathematical expressions are correct.
  • #1
Cyrus
3,238
16
Im reading over about the directional derivative.

Stewart, page 800 says:

"Proof: If we define a function g of the single variable h by

[tex] g(h) = f(x_0 + ha, y_0 + hb) [/tex]

then by the definition of a derivative we have

[tex] g'(0)= lim_{h \rightarrow 0} \frac{g(h) - g(0)}{h} = lim_{h \rightarrow 0} \frac{f(x_0+ha, y_0+hb)-f(x_0,y_0)}{h} [/tex]

end quote

Is it me, or is he over using the variable h? He defines a function called g(h). And then he puts h back into the derivative. if h=0, then it does not make sense to say g(h)-g(0), becuase he said before that h=0. Should he call the function g(h), g(h'), and then he can call the h in the limit, plain old h?
 
Physics news on Phys.org
  • #2
If you changed h to h' in the numerator, what would be the use of studying the behavior of the quotient as h (a variable that now only appears in the denominator) approached zero ? :wink:
 
  • #3
No, I am saying he should write it as this :


[tex] g(h') = f(x_0 + h'a, y_0 + h'b) [/tex]

In the single variable case, he said

[tex] f'(x) = lim_{ h \rightarrow 0} \frac{ f(x+h) - f(x)}{h} [/tex]

Here he called the f'(x) part a variable x, not h. Yet he seems to call it g(h), and then re-use the variable h inside his limit.
 
  • #4
It makes more sense to me for him to say,

[tex] g(\zeta)=f(x_0+\zeta a,y_0 + \zeta b) [/tex]

Where zeta is some arbitrary variable that bears no resemblance to x or y or z.

Then he could say

[tex] g'(\zeta) = lim_{h \rightarrow 0} \frac{g(\zeta + h) - g(\zeta)}{h} [/tex]

Then all you have to do is plug in zero for zeta, giving you:

[tex] g'(0) = lim_{h \rightarrow 0} \frac{g(0+ h) - g(0)}{h} = lim_{h \rightarrow 0} \frac{g(h) - g(0)}{h} [/tex]

Which is what stewart has, quite sloppily.

And then that is equal to:

[tex] lim_{h \rightarrow 0} \frac{g(h) - g(0)}{h} = lim_{h \rightarrow 0} \frac{f(x_0+(\zeta + h)a, y_0 + (\zeta+h)b - f(x_0+\zeta a,y_0+ \zeta b)} {h}[/tex]

again, plugging in zero gives us what we want:

[tex] lim_{h \rightarrow 0} \frac{g(h) - g(0)}{h} = lim_{h \rightarrow 0} \frac{f(x_0+ha, y_0 + hb) - f(x_0,y_0)} {h}[/tex]

Now I am almost convicned he over used that variable h quite loosely
 
Last edited:
  • #5
I agree he shouldn't use the variable h for different purposes. It could lead to confusion if you don't know what he's talking about. If you DO know it won't be a problem, so it doesn't matter anyway. What Stewart wrote isn't wrong.

[tex]g'(0)= \lim_{h \to 0}\frac{g(h)-g(0)}{h}= \lim_{h \to 0} \frac{f(x_0+ha,y_0+hb)-f(x_0,y_0)}{h}=D_{\vec u} f(x_0,y_0)[/tex]
is a number that is independent of h. Doesn't matter what you use in place of it.
If you use h, then you can place the expression for g(h) in the numerator immediately, but I agree he should've used something else.
 
  • #6
Is it me, or is he over using the variable h?

Nope. (At least, not in the sense of writing correct mathematics)


He defines a function called g(h).

No, he defines a function called g.


[tex] lim_{h \rightarrow 0} \frac{g(h) - g(0)}{h} = lim_{h \rightarrow 0} \frac{f(x_0+(\zeta + h)a, y_0 + (\zeta+h)b - f(x_0+\zeta a,y_0+ \zeta b)} {h}[/tex]

This is incorrect. In that post, you defined the function g via [itex]g(\zeta)=f(x_0+\zeta a,y_0 + \zeta b) [/itex]. Thus, we have, for example, that [itex] g(h)=f(x_0+h a,y_0 + h b) [/itex]
 
  • #7
This is incorrect. In that post, you defined the function g via . Thus, we have, for example, that

What is wrong with that notation? See, the way I used h, it is represents a small change in increment sort of like delta x, its not a matter of setting zeta equal to h. Stewart sometimes uses as h goes to zero in his definition of derivative, and sometimes he uses as x2->x1. I think the problem was that in this case, he was not using h for that purpose. Its sort of confusing because he has two definitions of derivative:

[tex] f'(x) = lim_{h \rightarrow 0} \frac {f(x+h) - f(x) }{h} [/tex]

but he was using this definition of the derivative:

[tex] f'(a) = lim_{x \rightarrow a} \frac{f(x+a) - f(a)}{x-a} [/tex]

And replacing the x with the variable h, and the a with the value zero.

So you can see why I am saying he kind of used the letter h loosely. Also, he did not write h-0 in the denominator, which lead me to think he was trying to use the first definition of derivative. In which case he would have had the h as both a variable and an incremental value. It would have looked like this

[tex] f'(h) = lim_{h \rightarrow 0} \frac{f(h+h) - f(h)}{h} [/tex]

what he REALLY meant to write was:

[tex] f'(0) = lim_{h \rightarrow 0} \frac{f(0+h) -f(0)}{h-0} [/tex]

This makes it clear which definition he is using, becuase now h is not being over used.
 
Last edited:
  • #8
cyrusabdollahi said:
What is wrong with that notation? See, the way I used h, it is represents a small change in increment sort of like delta x, its not a matter of setting zeta equal to h.

You define g by

[tex] g(\zeta)=f(x_0+\zeta a,y_0 + \zeta b) [/tex]

yet you somehow have:

[tex]g(0)=f(x_0+\zeta a,y_0+ \zeta b)[/tex]

You don't see a problem with this?

cyrusabdollahi said:
Its sort of confusing because he has two definitions of derivative:...

Which are both equivalent of course and look even more similar when a=0. Are you faulting him for not writing "0" in a couple of places so it looks exactly like the derivative formula you want it to look like? Don't expect this kind of hand holding from a maths text, the two definitions are equivalent get used to shifted from one to the other, and get used to authors removing 0's without warning. Everything Stewart wrote is mathematically correct.

I wonder what you would do if someone tried to define x as a function of f? [tex]x(f)=f^2+\sin(f)[/tex]
 
  • #9
Ah, your right, I did not notice that I had those zetas in there, they should be zeros. I did that in the next line. My fault. It should read something more like this:

[tex] g'(\zeta) = lim_{h \rightarrow 0} \frac{g(\zeta + h) - g(\zeta )}{h} = lim_{h \rightarrow 0} \frac{f(x_0+(\zeta + h)a, y_0 + (\zeta+h)b - f(x_0+\zeta a,y_0+ \zeta b)} {h}[/tex]

But you do see, that by him using h and not saying h-0, it can make one think he means h in the other sense? It is confusing. Its correct, but leaves some ambiguity on how one interperts the use of h.
 
Last edited:
  • #10
cyrusabdollahi said:
But you do see, that by him using h and not saying h-0, it can make one think he means h in the other sense?

If you're reading it just looking at the symbols without really understanding their meaning, then you might be confused on your first pass (not understanding the meaning on your first pass isn't a horrid thing). But when you stop to think about what he's saying, it should be clear what's what.

cyrusabdollahi said:
It is confusing. Its correct, but leaves some ambiguity on how one interperts the use of h.

There is no ambiguity.
 
  • #11
There is if you think he's using the definition based upon:

[tex] f'(x) = lim_{h \rightarrow 0} \frac{ f(x+h)-f(x)}{h} [/tex]

Becuase he wrote g(h), so the f'(x), would be g'(h), and you also have a DIFFERENT h inside the f(x+h), because you have g(h+h).

Is that not ambiguous?
 
  • #12
cyrusabdollahi said:
There is if you think he's using the definition based upon:

[tex] f'(x) = lim_{h \rightarrow 0} \frac{ f(x+h)-f(x)}{h} [/tex]

He is though. I've said these definitions are equivalent and I'm sure you know this. He could have used

[tex] f'(x) = \lim_{\tau \rightarrow 0} \frac{ (f(x+\tau))^{\cos(0)}-f(\frac{2}{2}x)}{\tau+0^{20}} [/tex]

for his derivative if he wanted.

cyrusabdollahi said:
Becuase he wrote g(h), so the f'(x), would be g'(h), and you also have a DIFFERENT h inside the f(x+h), because you have g(h+h).

Is that not ambiguous?

No it's not. He writes a limit for g'(0). See the zero? There's no h there at all, so having an h in your limit is fine. If he was trying to write a limit expressing g'(h) (<-note the general h here) and h was going to zero in the limit, there would be a problem. But this is distinctly not what he's doing.
 
  • #13
I think we are saying the same thing now. Because as I said before, if he wrote g'(h) there would be a problem. But if he uses g'(a), then its ok. Anyways, I think the problem has been cleared up, thanks :-)
 
  • #14
The following statement is, in fact, a bad statement:

[tex]
g'(h) = \lim_{h \rightarrow 0} \frac{g(h + h) - g(h)}{h}
[/tex]
 

1. What is a directional derivative?

A directional derivative is a measure of the rate at which a function changes in a particular direction. It represents the slope of a function in the direction of a given vector.

2. How is a directional derivative calculated?

The directional derivative is calculated by taking the dot product of the gradient of the function and the unit vector in the desired direction.

3. What is the significance of the directional derivative in science?

The directional derivative is an important concept in many scientific fields, including physics, engineering, and economics. It allows for the analysis of how a function changes in a particular direction, which can be useful in understanding various real-world phenomena.

4. What is the relationship between the directional derivative and the gradient?

The directional derivative is closely related to the gradient of a function. In fact, the gradient can be thought of as a vector that points in the direction of maximum increase of the function, and the directional derivative in that direction is equal to the magnitude of the gradient.

5. Can the directional derivative be negative?

Yes, the directional derivative can be negative. This indicates that the function is decreasing in the direction of the given vector. A positive directional derivative means that the function is increasing in that direction, and a directional derivative of zero means that the function is not changing in that direction.

Similar threads

  • Calculus
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
12
Views
255
Replies
46
Views
4K
Replies
7
Views
1K
Replies
5
Views
376
Replies
9
Views
2K
  • Calculus
Replies
9
Views
2K
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
20
Views
1K
Back
Top