This problem is making me think, deeply about continuity and differentiability

In summary, Sammy is trying to find the differentiation of a function, and struggles to understand what the differentials and partial derivatives mean. He eventually finds that the derivatives and partial derivatives are different.
  • #1
flyingpig
2,579
1

Homework Statement



differentiability is a tough word to spell.

[tex]F(x,y) = (x^2 + y^3)^{\frac{1}{3}}[/tex]

Find [tex]F_y (0,0)[/tex]

The Attempt at a Solution

http://www.wolframalpha.com/input/?i=D[%28x^2+%2By^3%29^%281%2F3%29%2Cy]

But I get 0/0

I found the answer to be

[tex]F_y (0,0) = \frac{\mathrm{d} }{\mathrm{d} y} F(0,y) = \frac{\mathrm{d} }{\mathrm{d} y} y = 1[/tex]

I am guessing they set x = 0 because they aer looking at a particular case of a partial derivative by keeping x constant?

Oh how you can't take the derivative and then plug in the number and not get the same answer? I am thinking this has to do with limits so I did the following

[tex]\lim_{(x,y)\to (0,0))} \frac{y^2}{(x^2 + y^3)^{2/3}}[/tex]

[tex]\lim_{(x,0)\to (0,0))} \frac{0}{(x^2 + 0)^{2/3}} = 0[/tex][tex]\lim_{(0,y)\to (0,0))} \frac{y^2}{(0 + y^3)^{2/3}} = 1[/tex]

So the limit does not exist? I mean I got a 1 in the limit where I kept x constant??

Also since the limit at (0,0) does not exist, doesn't that mean it is not continuous and hence no differentiable?? Or is this rule only applies to single variable calculus?

Sammy, Mark, HallsofIvy, other smart people whom I have rudely forgotten about your name, please help.
 
Last edited:
Physics news on Phys.org
  • #2
since the value of the limit is dependent on the x,y path, this means the limit does not exist.
 
  • #3
Hariraumurthy said:
since the value of the limit is dependent on the x,y path, this means the limit does not exist.

Okay...you aren't answering my question.
 
  • #4
Remember. what [itex]\displaystyle \frac{\partial f(x,y)}{\partial y}[/itex] means. Hold x fixed at some value, say x0, then take the derivative (w.r.t y.) of f(x0, y).
So, it then makes no sense to take the limit as x → 0.

In other words: [itex]\displaystyle \lim_{y\to 0} \frac{y^2}{((x_0)^2 + y^3)^{2/3}}= \frac{0}{((x_0)^2 + 0)^{2/3}}\ \text{ if }\ x_0\ne0 [/itex]. This, of course is zero.

If x0 = 0, then you simply get [itex]\displaystyle \frac{\partial f(0,y)}{\partial y}=\frac{y^2}{((0)^2 + y^3)^{2/3}}=1[/itex]
 
  • #5
But why don't you get the same answer if you take the derivative first and then plug in the value?
 
  • #6
Because the derivative is not continuous at (0,0): if it was, you would get the same value either way.

RGV
 
  • #7
If it is not continuous at that point, how can it even be differentiable in the first place?
 
  • #8
The function is continuous but it's derivative is not. Besides, in the >= 2 variable case there ARE examples where a function is not continuous at a point, but it has all the partial derivatives [itex] \partial{f}/\partial{x_j},\: j=1,\ldots,n[/itex] at that point.

RGV
 
Last edited:
  • #9
I asked this once before, but no one raelly answered.

In terms of "units" (say F is a position function?)

What do the partials and normal derivatives mean?
 
  • #10
What do you mean by "position function"?
 
  • #11
Hmm maybe that was a mistake. Like in single variables have s(t)...? Doesn't seem to work here since partials and normal derivatives mean the same thing.
 
  • #12
Are you talking about a general scalar function of position? (i.e. temperature) T(x,y,z)
[tex] dT = \frac{\partial T}{\partial x} dx + \frac{\partial T}{\partial y} dy + \frac{\partial T}{\partial z} dz [/tex]
So the derivative of T with respect to x (for example) is:
[tex] \frac{dT}{dx} = \frac{\partial T}{\partial x} + \frac{\partial T}{\partial y} \frac{dy}{dx} + \frac{\partial T}{\partial z} \frac{dz}{dx} [/tex]
So this is what the derivative means when there are several variables.
You also asked about units. [itex]\frac{dT}{dx}[/itex] will have units of temperature per length. And so will the partial derivative of T with x. For [itex]\frac{dT}{dt}[/itex] we have units of temperature per unit of time. (and same for partial derivative).
So to find units, its just units of the quantity on top divided by units of quantity on the bottom.
 
  • #13
Argh not quite what I want.

Like say I have

[tex]F(x,y) = x^2 y + 2y = C[/tex]

Obvisouly the derivatives and partials are different
 
  • #14
flyingpig said:
...
Like say I have

[tex]F(x,y) = x^2 y + 2y = C[/tex]

Obviously the derivatives and partials are different
What derivatives & partial derivatives are you referring to?
 
  • #15
Let's say partial with respect to x vs normal derivative with respect to x. Clearly different.
 
  • #16
If you have, say, [itex]F(x,y)= x^2y+ y= C[/itex], then you are defining y "implicitely" as a function of x: [itex]y= C/(x^2+ 1)[/itex]. We can write [itex]z= F(x,y)= x^2y+ y[/itex] and think of this as defining a surface in an xyz- coordinate system. Setting [itex]z= F(x,y)= C[/itex], a constant, we are looking at a "level curve" (a "contour line" on a geodetic map).

If we were, say, walking along such a contour line we would be walking along a curve of constant elevation. By the chain rule,
[tex]\frac{dz}{dt}= \frac{\partial F}{\partial x}\frac{dx}{dt}+ \frac{\partial F}{\partial y}\frac{dy}{dt}[/tex]
For this particular function, [itex]F(x,y)= x^2y+ y[/itex] that gives
[tex]\frac{dz}{dt}= 2xy\frac{dx}{dt}+ (x^2+ 1)\frac{dy}{dt}[/tex]
and, because z= C,. a constant, that derivative must be 0:
[tex]\frac{dz}{dt}= 2xy\frac{dx}{dt}+ (x^2+ 1)\frac{dy}{dt}= 0[/tex]

If we think of that as the dot product of two vectors, [itex]2xy\vec{i}+ (x^2+ 1)\vec{j}[/itex] and a "velocity vector" [itex](dx/dt)\vec{i}+ (dy/dt)\vec{j}[/itex], tangent to the path, then that dot product is 0. That says that the vector
[tex]grad(F)= \nabla F= \frac{\partial F}{\partial x}\vec{i}+ \frac{\partial F}{\partial y}\vec{j}[/tex]
is perpendicular to the level curve itself. That is, [itex]\nabla F(x,y)[/itex] is always perpendicular to the curve defined by F(x,y)= constant.

Of course, this can be extended to three (or more) dimensions: if F(x,y,z) is a differentiable function of the three variables, then F(x,y,z)= constant defnes a surface and [itex]\nabla F[/itex] is perpendicular to that surface. Since a plane is determined by a single point and a normal to the plane, the fact that [itex]\nabla F[/itex] is normal to the surface helps find the tangent plane at any point.

(By the way, a function of more than one variable can have partial derivatives at a given point and not be "differentiable" there so it is important to know that your function is differentiable before using its gradient. Strictly speaking the gradient of function F(x,y,z) is only defined by
[tex]\frac{\partial F}{\partial x}\vec{i}+ \frac{\partial F}{\partial y}\vec{j}+ \frac{\partial F}{\partial z}\vec{k}[/tex]
if F is differentiable.)
 
Last edited by a moderator:
  • #17
Okay, but the partial wasn't continuous at that point, yet a derivative exist.
 
  • #18
I am back from my cold.

Would it be more better to ask what if E(x,y) = x^2 * y + y electric field (yay gauss's law again...)

What would dE/dx vs partial derivative with respect to x mean?
 
  • #19
The partial derivative with respect to x is:
[tex]\frac{ \partial E }{\partial x} \mid_{y \ constant} = 2xy [/tex]
and the full derivative with respect to x is:
[tex] \frac{dE}{dx} = \frac{ \partial E }{\partial x} \mid_{y \ constant} \ + \ \frac{ \partial y}{ \partial x} \mid_{x \ constant} \ \frac{dy}{dx} [/tex]
But we don't know the dependence of y on x, so it can't be evaluated. However, if y doesn't depend on x at all, then the second term disappears, so the partial derivative with respect to x equals the full derivative with respect to x.
 
  • #20
I am asking for a physical meaning, computationally I know there is a difference.
 
  • #21
If you think of the function z(x,y) As the height of the terrain, then the partial derivative with respect to x is the change in z when y is kept constant. (i.e. you just go in the x direction, and see how the height changes).
But the full differential with respect to x depends on what path you're taking along the terrain. So you won't be going in just the x direction and seeing how the height changes, you will be going along some path which is specified by y(x). For example, if we have y=x, then the path will be north-east, and we are seeing how the height changes when we move north-east.
 
  • #22
Hmm I think this question is getting derailed...
 
  • #23
Well, yes, because you keep changing the question!
 
  • #24
Okay forget the question about partial vs normal derivative.
 
  • #25
Guys please come back...

Okay looking through my book again, I went back to the definition of derivative.

[tex]f_y (0,0) = \lim_{h\to0} \frac{f(0,h+0) - f(0,0)}{h} = \lim_{h\to0} \frac{h - 0}{h} = \lim_{h\to0} 1 = 1[/tex]

Alright, clearly there is some voodoo going on here.

How come I have to go back to the definition of the limit to get this?
 
  • #26
The partial differential with respect to y at (0,0) does not exist, since taking h+0 or h-0 gives different answers.
According to wikipedia: If a function is differentiable at a point, then all of its partial derivatives must exist at that point.
So I guess the function is not differentiable at (0,0).

Edit: I really don't know what I'm talking about, I do physics, not maths.
Maybe the partial derivative does exist, but its not continuous at (0,0) so the function is not continuously differentiable at (0,0)?

Another Edit: Wikipedia says that [itex] y = \sqrt[3]{x} [/itex] is not differentiable at x=0, so it would make sense to me that your function is not differentiable at (0,0)
 
Last edited:
  • #27
You can have side limits in multi-variable??
 
  • #28
Yes, as far as I understand it, you must get the same answer when coming in from any direction. So instead of just left or right sided, you have an infinite number of different directions which all must agree.
 
  • #29
Let me try this again.

Are the definitions from Single Variables of Continuty and Differentiably not apply to multi-variables?
 
  • #30
consider the unit step function. Obviously it is not continuous nor differentiable at x = 0. HOWEVER, the limit from the left (approaching x = 0) appears to be y = 0, while the limit approaching x = 0 from the right appears to be y = 1. Since these two limit values do not match, clearly the limit does not exist.

I believe your post above inquires as to the many-valued analog of such an argument?
 
  • #31
flyingpig said:
Guys please come back...

Okay looking through my book again, I went back to the definition of derivative.

[tex]f_y (0,0) = \lim_{h\to0} \frac{f(0,h+0) - f(0,0)}{h} = \lim_{h\to0} \frac{h - 0}{h} = \lim_{h\to0} 1 = 1[/tex]

Alright, clearly there is some voodoo going on here.

How come I have to go back to the definition of the limit to get this?
No voodoo here.

The question was raised by BruceW as to whether this limit exists. Is the limit the same as h→0+ as it is for h→0- ?

[tex]f(x,y) = \sqrt[3]{x^2 + y^3}[/tex]

Therefore, [itex]\displaystyle f(0,y) = \sqrt[3]{ y^3}=y\,.[/itex] This works fine for odd roots, not for even roots.

Thus for this function, f(0,h) = h, whether h is positive or negative.

I realize that this doesn't answer the larger question you asked, but I though I'd clear up this little detail. Yes, holding x fixed at a value of zero gives derivative w.r.t. y, which when evaluated at y=0 is equal to 1.

I hope to answer your question about 'voodoo' soon - unless I'm beaten to it.
 
  • #32
So this is path-independent...

Just imagine (and believe), there are things even PF doesn't know.
 
  • #33
flyingpig said:
So this is path-independent...

Just imagine (and believe), there are things even PF doesn't know.

Not path independent.

Merely that the limit defining the derivative (w.r.t. y, evaluated at y=0) of f(0,y) exists .
 
  • #34
flyingpig said:
But why don't you get the same answer if you take the derivative first and then plug in the value?
When you write[tex]F_y(x,y) = \frac{y^2}{(x^2+y^3)^{2/3}}[/tex]you're assuming that [itex]x^2+y^3\ne 0[/itex]. That's why you can't just naively differentiate and plug in x=y=0 to find [itex]\partial F/\partial y[/itex] at (0,0). Instead, you have to do what they did in the solution and what SammyS explained back in post #4.

I've attached plots using F(x,y) below. The first one is a top view where you're looking down at the surface from a point on the z-axis. The white stripe corresponds to the curve x2+y3=0, which is where the F(x,y) is not differentiable. The second plot is a side view from a point on the x-axis, and the front edge is in the yz-plane. You can see the slope of the edge is constant. This is because ∂F/∂y(0,y) equals 1 for all y. The last plot is of the intersection of the surface with the xz-plane. You can see there's a cusp at the origin, so ∂F/∂x doesn't exist at the origin.
flyingpig said:
Are the definitions from Single Variables of Continuty and Differentiably not apply to multi-variables?
In the multivariate case, the derivative of a function depends on the path. The rate of change of the function may be different if you're moving along the x-axis or the y-axis or the curve y=x2, etc. If you're thinking that the derivative should exist only when you get the same value independent of the path, that's wrong. You're generalizing what you learned about two-sided limits in the one-dimensional case to the multi-dimensional case incorrectly. I'm not sure that was your question, but that's what I think you were asking.

So there's a question of what it means for a function to be differentiable in the multivariate case. Look it up and tell us your understanding of this concept.
 

Attachments

  • z-view.png
    z-view.png
    22.2 KB · Views: 383
  • x-view.png
    x-view.png
    5.3 KB · Views: 350
  • yz-plane.png
    yz-plane.png
    2.6 KB · Views: 385
  • #35
You can see the slope of the edge is constant. This is because ∂F/∂y(0,y) equals 1 for all y

Do you mean this part?

[PLAIN]http://img571.imageshack.us/img571/5297/xview.png

I'm not sure that was your question, but that's what I think you were asking.

Nope that was my question! I'll do my best to look up the definitions, but my theory is that there are no side limits.
 
Last edited by a moderator:

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
554
  • Calculus and Beyond Homework Help
Replies
6
Views
990
  • Calculus and Beyond Homework Help
Replies
6
Views
838
  • Calculus and Beyond Homework Help
Replies
10
Views
820
  • Calculus and Beyond Homework Help
Replies
4
Views
679
  • Calculus and Beyond Homework Help
Replies
10
Views
298
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
21
Views
822
  • Calculus and Beyond Homework Help
Replies
6
Views
849
  • Calculus and Beyond Homework Help
Replies
11
Views
2K
Back
Top