Confused about partial derivative to function

In summary: It is important to keep this in mind for future examples and other cases. In principle it could even be that ##\lim_{h \rightarrow +0}## is different from ##\lim_{h \rightarrow -0}##...
  • #1
toforfiltum
341
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
  • #2
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.
 
  • #3
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.
 
  • #4
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 BvU
  • #5
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?
 
  • #6
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.
 
  • #7
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 toforfiltum
  • #8
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|$$
 
  • #9
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.
 

FAQ: Confused about partial derivative to function

1. What is a partial derivative?

A partial derivative is a mathematical concept that measures the rate of change of a multi-variable function with respect to one of its variables, while holding all other variables constant.

2. How is a partial derivative different from a regular derivative?

A regular derivative is calculated for a single-variable function, while a partial derivative is calculated for a multi-variable function. This means that a partial derivative takes into account the effect of all other variables on the rate of change of the function.

3. Why are partial derivatives useful?

Partial derivatives are useful in many areas of science, particularly in physics and engineering. They allow us to analyze how a system or process changes with respect to different variables, and can help us optimize or improve these systems.

4. How do you calculate a partial derivative?

To calculate a partial derivative, you first identify the variable you want to differentiate with respect to, and then treat all other variables as constants. You then use the same rules and techniques as regular derivatives to find the partial derivative.

5. Can you give an example of a real-world application of partial derivatives?

One example of a real-world application of partial derivatives is in economics, where they are used to analyze the relationship between multiple variables, such as price and demand. They can also be used in weather forecasting to analyze how different atmospheric variables affect temperature or precipitation.

Similar threads

Replies
4
Views
975
Replies
4
Views
746
Replies
2
Views
305
Replies
11
Views
2K
Replies
2
Views
1K
Back
Top