Confused about partial derivative to function

Click For Summary

Homework Help Overview

The discussion revolves around the partial derivatives of the function defined as ##f(x,y) = \|x \| - \|y\| - |x| - |y|##, particularly at the origin. Participants are examining the calculations and definitions involved in determining these derivatives.

Discussion Character

  • Exploratory, Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants are questioning the origin of the limit expressions used in the partial derivative calculations, specifically ##\lim_{h \rightarrow 0} \frac{\|h\| - |h|}{h}##. There is confusion regarding the notation of norms versus absolute values and the implications of the negative sign in the derivative of ##y##. Some participants are also clarifying the definitions of the function at specific points.

Discussion Status

The discussion is ongoing, with participants actively seeking clarification on the definitions and calculations involved. Some have expressed confusion about the behavior of the function at the origin and the meaning of the variable ##h## in the context of limits. There is no explicit consensus yet, but several participants are contributing to a clearer understanding of the concepts.

Contextual Notes

Participants are working within the constraints of the problem as posed, with some noting potential typos in the function definition. The discussion reflects a mix of interpretations and attempts to reconcile different notations and mathematical conventions.

toforfiltum
Messages
341
Reaction score
4

Homework Statement


Let ##f(x,y) = \|x \| - \|y\| - |x| - |y|## and consider the surface defined by the graph of ##z=f(x,y)##. The partial derivative of ##f## at the origin is:

##f_{x}(0,0) = lim_{h \rightarrow 0} \frac{ f(0 + h, 0) - f(0,0)}{h} = lim_{h \rightarrow 0} \frac {\|h\| -|h|}{h} = lim_{h \rightarrow 0} 0 = 0##

##f_{y}(0,0) = lim_{h \rightarrow 0} \frac{ f(0,0 + h) - f(0,0)}{h} = lim_{ h \rightarrow 0} \frac{ |-| h\| -|h|}{h} = lim_{h \rightarrow 0} 0 = 0##

Homework Equations

The Attempt at a Solution


I do not understand where ##lim_{h \rightarrow 0} \frac{\|h\| -|h|}{h}## come from? Can anyone tell me how this comes about? I'm confused.

And also, where does the negative sign come from in the partial derivative of ##y##?

Why is there ##\|h\|## and ##|h|## in the limit equation? What is the difference?

Thanks.
 
Physics news on Phys.org
toforfiltum said:

Homework Statement


Let ##f(x,y) = \|x \| - \|y\| - |x| - |y|## and consider the surface defined by the graph of ##z=f(x,y)##. The partial derivative of ##f## at the origin is:

##f_{x}(0,0) = lim_{h \rightarrow 0} \frac{ f(0 + h, 0) - f(0,0)}{h} = lim_{h \rightarrow 0} \frac {\|h\| -|h|}{h} = lim_{h \rightarrow 0} 0 = 0##

##f_{y}(0,0) = lim_{h \rightarrow 0} \frac{ f(0,0 + h) - f(0,0)}{h} = lim_{ h \rightarrow 0} \frac{ |-| h\| -|h|}{h} = lim_{h \rightarrow 0} 0 = 0##

Homework Equations

The Attempt at a Solution


I do not understand where ##lim_{h \rightarrow 0} \frac{\|h\| -|h|}{h}## come from? Can anyone tell me how this comes about? I'm confused.

And also, where does the negative sign come from in the partial derivative of ##y##?
What are ## f(0+h,y)\, , \,f(0,y)## and then ## f(0+h,0)\, , \,f(0,0)\,##?
The same questions for ##f(x,0+h)\, , \,f(x,0)## and then ##f(0,0+h)\, , \,f(0,0)\,##?
It is simply the definition of ##f## plus ##\|0\|=|0|=0\,##.
Why is there ##\|h\|## and ##|h|## in the limit equation? What is the difference?

Thanks.
I don't know. You haven't defined either.
 
toforfiltum said:
Why is there ||h|| and |h| in the limit equation? What is the difference?
Why are there both in the definition of f?
As far as I am aware, there are two reasons for mixing these notations.
1. || x || represents an arbitrary norm, which may be different from the Euclidean norm.
2. || x || is used for vector x and | x | for scalar x.

By the way, are you sure you have quoted all the signs correctly in the definition of f? It looks strange.
 
haruspex said:
By the way, are you sure you have quoted all the signs correctly in the definition of f? It looks strange.
Ah, sorry, I looked it over and realized I made a typo.

The function is ##f(x,y)= | |x| - |y| | - |x| -|y|##
 
  • Like
Likes   Reactions: BvU
toforfiltum said:
Ah, sorry, I looked it over and realized I made a typo.

The function is ##f(x,y)= | |x| - |y| | - |x| -|y|##
So those aren't norms at all, it is just$$ |~( |x| - |y|) ~| -|x|-|y|$$Are you still confused about where the
$$\frac {f(0+h,0)-f(0,0)}{h}=\frac {|h| - |h|}{h}$$comes from?
 
LCKurtz said:
So those aren't norms at all, it is just$$ |~( |x| - |y|) ~| -|x|-|y|$$Are you still confused about where the
$$\frac {f(0+h,0)-f(0,0)}{h}=\frac {|h| - |h|}{h}$$comes from?
I think I'm actually confused as to what ##h## really is. Why does ##f(0+h,0)## and ##f(0,0)## both yield ##|h|##? It doesn't make sense to me. It's like saying ##f(0+h,0) = f(0,0)##, which seems bizarre.
 
toforfiltum said:
I think I'm actually confused as to what ##h## really is. Why does ##f(0+h,0)## and ##f(0,0)## both yield ##|h|##? It doesn't make sense to me. It's like saying ##f(0+h,0) = f(0,0)##, which seems bizarre.
No, ##f(0,0)=0 ##. Both ##h## come from ##f(0+h,0)##. Just substitute ##x=0+h## and ##y=0## in the formula for ##f##.
##h## is simply a small positive real number that gets smaller and smaller in the limit, i.e. it tends to ##0##.
 
  • Like
Likes   Reactions: toforfiltum
toforfiltum said:
I think I'm actually confused as to what ##h## really is. Why does ##f(0+h,0)## and ##f(0,0)## both yield ##|h|##? It doesn't make sense to me. It's like saying ##f(0+h,0) = f(0,0)##, which seems bizarre.

##h## is just a variable. What do you get when you calculate ##f(0+h,0)## from the formula$$
f(x,y)=|~( |x| - |y|) ~| -|x|-|y|$$
 
LCKurtz said:
##h## is just a variable. What do you get when you calculate ##f(0+h,0)## from the formula$$
f(x,y)=|~( |x| - |y|) ~| -|x|-|y|$$
Ah, I got it now. @fresh_42 and you have helped to clear the confusion. Thanks.
 
  • #10
toforfiltum said:
Ah, I got it now. @fresh_42 and you have helped to clear the confusion. Thanks.
To be exact:
##h## doesn't have to be positive. It could as well tend from the negative side towards ##0##.
I only made this restriction because the word small I used would have become ambiguous for negative ##h\,##. ##\,-5## is smaller than ##-4## and getting smaller would have meant ##-\infty##. So I found it easier to restrict myself to positive ##h##.

It is important to keep this in mind for future examples and other cases. In principal it could even be that ##\lim_{h \rightarrow +0}## is different from ##\lim_{h \rightarrow -0}## although it isn't the case here.
 
  • #11
toforfiltum said:
I think I'm actually confused as to what ##h## really is. Why does ##f(0+h,0)## and ##f(0,0)## both yield ##|h|##? It doesn't make sense to me. It's like saying ##f(0+h,0) = f(0,0)##, which seems bizarre.

If ##f(x,y) = |~( |x| - |y|) ~| -|x|-|y|##, what makes you think that ##f(0,0) = |h|##?
 
  • #12
Ray Vickson said:
If ##f(x,y) = |~( |x| - |y|) ~| -|x|-|y|##, what makes you think that ##f(0,0) = |h|##?
Just a silly mistake on my part, sorry.:wink:
 
  • #13
fresh_42 said:
To be exact:
##h## doesn't have to be positive. It could as well tend from the negative side towards ##0##.
I only made this restriction because the word small I used would have become ambiguous for negative ##h\,##. ##\,-5## is smaller than ##-4## and getting smaller would have meant ##-\infty##. So I found it easier to restrict myself to positive ##h##.

It is important to keep this in mind for future examples and other cases. In principal it could even be that ##\lim_{h \rightarrow +0}## is different from ##\lim_{h \rightarrow -0}## although it isn't the case here.
Yes, thank you for the reminder.
 

Similar threads

  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K