How Do We Understand Differentiability and Gradients in Multivariable Calculus?

Click For Summary

Homework Help Overview

The discussion revolves around understanding differentiability and gradients in the context of multivariable calculus, particularly focusing on the definition of the derivative for functions defined on open sets in higher dimensions.

Discussion Character

  • Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants explore the meaning of the derivative when dealing with vectors, questioning the validity of dividing by a vector and the implications of using absolute values in definitions. There is a discussion on the relationship between single-variable and multivariable derivatives, and the role of error terms in differential approximations.

Discussion Status

The conversation is ongoing, with participants offering insights and questioning the definitions presented in the original text. Some express confusion over the notation and the rationale behind certain choices in the derivation of the derivative, while others attempt to clarify these points through alternative perspectives.

Contextual Notes

There are mentions of unconventional notation in the reference material being used, which may contribute to the confusion. Participants are also reflecting on the rigor of the arguments presented and how they relate to more familiar concepts from single-variable calculus.

sponsoredwalk
Messages
531
Reaction score
5
For a function ƒ defined on an open set U having the point X:(x1,x2,...,xn)
and the point ||H|| such that the point X + H lies in the set we try to
define the meaning of the derivative.

[tex]\frac{f(X \ + \ H) \ - \ f(X)}{H}[/tex] is an undefined quantity, what does it mean
to divide by a vector?

The idea is to use

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

and define

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

for h ≠ 0 but notice that [tex]\lim_{h \to 0} \ g(h) \ = \ 0[/tex].

If we then write

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

[tex]g(h) \cdot h \ + \ f'(x) \cdot h \ = \ f(x \ + \ h) \ - \ f(x)[/tex]

this holds true as long as h ≠ 0 because if h = 0 the derivative term, f'(x) makes no sense.

If the above relation holds for a function whether we've chosen h to be either positive or
negative we can then claim the function differentiable seeing as the limit exists
& the relation holds true. Therefore h can be rewritten as |h| and the above as

[tex]g(h) \cdot |h| \ + \ f'(x) \cdot h \ = \ f(x \ + \ h) \ - \ f(x)[/tex]

(My book only gives the h indicated above with |h| & I'm not sure why Lang doesn't give
the h beside the f'(x) absolute value signs one too? I think it's because he divides in a
minute by h & wants to get rid of the h beside the f'(x) & leave the g(h)•h one but it seems
to me like picking & choosing things as you please...)


So, if the function is differentiable there exists a function g such that

[tex]g(h) \cdot |h| \ + \ f'(x) \cdot h \ = \ f(x \ + \ h) \ - \ f(x) \ , \ \lim_{h \to 0} \ g(h) \ = \ 0[/tex]

so we can define the following

[tex]g(h) \cdot \frac{|h|}{h} \ + \ f'(x) \ = \ \frac{f(x \ + \ h) \ - \ f(x)}{h}[/tex]

and in the limit we find equality above as the g(h) term makes the fraction of |h|/h
disappear.

Is all of this correct? What is with the absolute value situation? Why are we picking &
choosing our definitions with |h| when it's convenient? (Or, more accurately - what am I not getting? :-p)

Thanks for taking the time to read that! :approve:
 
Physics news on Phys.org
This exposition is very confusing; I think they're trying to give an "intuitive" reason why we would choose the definition of derivative in a particular way, rather than a more rigorous argument.


IMO, differential approximation is one of the cleanest ways to deal with these things. We want:
[tex]f(\vec{x} + \vec{y}) \approx f(\vec{x}) + f'(\vec{x}) \vec{y}[/tex]​

And so we insist that the error term vanish as [itex]\vec{y} \mapsto 0[/itex] more rapidly than [itex]\vec{y}[/itex] itself. So:
[tex]\lim_{\vec{y} \mapsto 0} \frac{f(\vec{x} + \vec{y}) - f(\vec{x}) - f'(\vec{x}) \vec{y}}{|\vec{y}|} = 0[/tex]​
or equivalently
[tex]\lim_{|\vec{y}| \mapsto 0} \frac{|f(\vec{x} + \vec{y}) - f(\vec{x}) - f'(\vec{x}) \vec{y}|}{|\vec{y}|} = 0[/tex]​

([itex]f'(\vec{x})[/itex] should be a "covector" -- something that maps vectors to numbers in a special way -- but any such thing can be written instead as a dot product with a vector, which is why you usually see vectors and dot products instead)



Now that I looking over again the expression from the book, it's not so bad. Everything before your parenthetical makes sense for real-valued functions of a single variable. His goal is to find a characterization of the derivative that would also make sense for the multi-variate case. Of course, he has the benefit of knowing the "right" answer beforehand. :smile: Note that for univariate functions,
[tex]\lim_{h \rightarrow 0} \frac{g(h)}{h} = 0[/tex]​
is true if and only if
[tex]\lim_{h \rightarrow 0} \frac{g(h)}{|h|} = 0[/tex]​
is true. Also, these are true if and only if
[tex]\lim_{h \rightarrow 0} \frac{|g(h)|}{|h|} = 0[/tex]​
is true. So the three formulations of derivative are equivalent.

The only other reasonable guess I see would be to define the error term g(h) as a vector, and have g(h).h as a dot product. But if you think about it, you'll see this is unsatisfactory because this says we could have massive error in our differential approximation, as long as it's perpendicular to h.
 
I think I get what you're talking about, I'm reading Lang's Multivariable calculus book & it's a
bit unconventional in that vectors are written as X instead of [tex]\overline{x}[/tex] and
other little things I've noticed. I'll read a more modern book later :wink:

I take it that [tex]\overline{y}[/tex] in your post corresponds with H in mine & that you're
method is a vector version of single variable differential approximation.

I like what Lang did here, I've read less rigorous expositions on multivariable derivatives & they
confused a little but I'm liking this, he's extended the concept of the single variable
derivative for vectors by doing all of what I posted in my first post then redefined things.

When I take the limit in the last latex frame of my first post this is just Lang giving a
justification that it does exist in parallel to the single variable method, but then he says

"
Therefore, the existence of a number a=f'(x) and a function g satisfying
f(x + h) - f(x) = f(x)h + |h|g(h) with lim h-->0 g(h) = 0
could have been used as the definition of differentiability in the case
of functions of one variable. The great advantage of this is that no h
appears in the denominator. It is this relation which will suggest to us
how to define differentiability for functions of several variables, and how
to prove the chain rule for them. "

Lang then redefines everything in terms of vectors
f(X + H) - f(X) = ∇f(X)•H + |H|g(H)

So the idea is that the |H|g(H) dissappears in the limit is it? This would answer your
worry about the dot product masking the huge error in the differential approximation.
I mean he hasn't explicitly said it yet but it seems to be the case.
 
sponsoredwalk said:
For a function ƒ defined on an open set U having the point X:(x1,x2,...,xn)
and the point ||H|| such that the point X + H lies in the set we try to
define the meaning of the derivative.

[tex]\frac{f(X \ + \ H) \ - \ f(X)}{H}[/tex] is an undefined quantity, what does it mean
to divide by a vector?
It doesn't mean anything to divide by a vector. You should be dividing by the length of the vector:
[tex]\frac{f(x+ H)- f(x)}{||H||}[/tex]

The idea is to use

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

and define

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

for h ≠ 0 but notice that [tex]\lim_{h \to 0} \ g(h) \ = \ 0[/tex].

If we then write

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

[tex]g(h) \cdot h \ + \ f'(x) \cdot h \ = \ f(x \ + \ h) \ - \ f(x)[/tex]

this holds true as long as h ≠ 0 because if h = 0 the derivative term, f'(x) makes no sense.
yes, the derivative is defined as the limit as h goes to 0, not the value when h= 0.

If the above relation holds for a function whether we've chosen h to be either positive or
negative we can then claim the function differentiable seeing as the limit exists
& the relation holds true. Therefore h can be rewritten as |h| and the above as

[tex]g(h) \cdot |h| \ + \ f'(x) \cdot h \ = \ f(x \ + \ h) \ - \ f(x)[/tex]

(My book only gives the h indicated above with |h| & I'm not sure why Lang doesn't give
the h beside the f'(x) absolute value signs one too? I think it's because he divides in a
minute by h & wants to get rid of the h beside the f'(x) & leave the g(h)•h one but it seems
to me like picking & choosing things as you please...)


So, if the function is differentiable there exists a function g such that

[tex]g(h) \cdot |h| \ + \ f'(x) \cdot h \ = \ f(x \ + \ h) \ - \ f(x) \ , \ \lim_{h \to 0} \ g(h) \ = \ 0[/tex]

so we can define the following

[tex]g(h) \cdot \frac{|h|}{h} \ + \ f'(x) \ = \ \frac{f(x \ + \ h) \ - \ f(x)}{h}[/tex]

and in the limit we find equality above as the g(h) term makes the fraction of |h|/h
disappear.

Is all of this correct? What is with the absolute value situation? Why are we picking &
choosing our definitions with |h| when it's convenient? (Or, more accurately - what am I not getting? :-p)

Thanks for taking the time to read that! :approve:

You have to define "differentiable" before you can define the "derivative" of a
vector valued function.

In general, we say that function f(x), from Rn to Rm is differentiable at x= a if and only if there exist a linear function L from Rn To Rm and a function [itex]\epsilon(x)[/itex] from Rn to Rm such that:
1) [itex]f(x)= f(a)+ L(x- a)+ \epsilon(x- a)[/itex]
and
2) [itex]\lim_{x\to a}\frac{\epsilon(x-a)}{|x-a|}= 0[/itex]

Then we show that the L defined above is unique and say that it is the derivative of f at x= a.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 9 ·
Replies
9
Views
6K