Differentiability of piecewise multivariable functions

In summary: The partial derivative with respect to x at (0,0) is\lim_{x\rightarrow 0}\frac{f(x,y)-f(0,y)}{x-0} = \lim_{x\rightarrow 0}\frac{\frac{x^2-y^2}{x^2+y^2} - 0}{x} = \lim_{x\rightarrow 0}\frac{x^2-y^2}{x^3+xy^2} = \lim_{x\rightarrow 0}\frac{x-y^2}{x^2+xy^2}But if we take the partial derivative with respect to y at (0,0
  • #1
V0ODO0CH1LD
278
0
I guess my first questions is whether saying that a function is differentiable is the same as saying that its derivative is continuous. i.e. if

[tex] \lim_{x\rightarrow{}a}f'(x)=f'(a) [/tex]
then the function is differentiable at ##a##. Or is it just a matter of the value ##f'(a)## existing?

Now my second question is, if the limit definition is true, then a function ##f:\mathbb{R}^n\rightarrow\mathbb{R}^m## is going to be differentiable at a point ##a## if for all ##i##

[tex] \lim_{x\rightarrow{}a}f_{x_i}(x)=f_{x_i}(a)[/tex]
and the directions ##i## form a basis for ##\mathbb{R}^{n-1}##, right? But is that the sufficient and necessary condition? In other words, is that a definition of differentiability?
 
Physics news on Phys.org
  • #2
V0ODO0CH1LD said:
I guess my first questions is whether saying that a function is differentiable is the same as saying that its derivative is continuous. i.e. if

[tex] \lim_{x\rightarrow{}a}f'(x)=f'(a) [/tex]
then the function is differentiable at ##a##. Or is it just a matter of the value ##f'(a)## existing?

If the function is differentiable, then that only means that the values ##f^\prime(a)## exist for each ##a## in the domain.
If you want the derivative to be continuous, then we call this continuously differentiable. We also tend to call this ##C^1## functions.

Now my second question is, if the limit definition is true, then a function ##f:\mathbb{R}^n\rightarrow\mathbb{R}^m## is going to be differentiable at a point ##a## if for all ##i##

[tex] \lim_{x\rightarrow{}a}f_{x_i}(x)=f_{x_i}(a)[/tex]
and the directions ##i## form a basis for ##\mathbb{R}^{n-1}##, right? But is that the sufficient and necessary condition? In other words, is that a definition of differentiability?
 
  • #3
micromass said:
If the function is differentiable, then that only means that the values ##f^\prime(a)## exist for each ##a## in the domain.
Okay, but then is the piecewise function
[tex]
f(x,y) = \left\{
\begin{array}{lr}
\frac{x^4}{x^2 + y^2} & (x,y)\neq{}0\\
a & (x,y)=0
\end{array}
\right.
[/tex]

differentiable for all ##a\in\mathbb{R}##? So that the fact that

[tex] \lim_{(x,y)\rightarrow{}(0,0)}f(x,y)\neq{}a [/tex]
makes the function not continuously differentiable but still differentiable?
 
  • #4
V0ODO0CH1LD said:
Okay, but then is the piecewise function
[tex]
f(x,y) = \left\{
\begin{array}{lr}
\frac{x^4}{x^2 + y^2} & (x,y)\neq{}0\\
a & (x,y)=0
\end{array}
\right.
[/tex]

differentiable for all ##a\in\mathbb{R}##? So that the fact that

[tex] \lim_{(x,y)\rightarrow{}(0,0)}f(x,y)\neq{}a [/tex]
makes the function not continuously differentiable but still differentiable?

No, a differentiable function must be continuous (this can actually be proven, so it's not an extra requirement).

But I'm confused now. Your OP talked about the continuity of the derivative, and now your talking about the continuity of the original function?
 
  • #5
micromass said:
But I'm confused now. Your OP talked about the continuity of the derivative, and now your talking about the continuity of the original function?

Sorry, I confused the requirement for continuity of the derivative with the requirement for continuity of the actual function.. Forget that post.

I think I got it though, differentiability at a point implies continuity at that point, right? So the existence of f'(a) implies that the limit as x approaches a of f(x) = f(a). Is that it?

I guess my confusion started when piecewise functions were introduced in this, because the definition of the derivative of a piecewise function

[tex]
f(x) = \left\{
\begin{array}{lr}
y & x\neq{}0\\
a & x=0
\end{array}
\right.
[/tex]
is
[tex]
f'(x) = \left\{
\begin{array}{lr}
dy/dx & x\neq{}0\\
\frac{d}{dx}a & x=0
\end{array}
\right.
[/tex]

but then if say ##\frac{d}{dx}a## is defined the function should be differentiable at ##0##, but it's definitely not continuous if the function is the one in the above post. Right?
 
  • #6
V0ODO0CH1LD said:
Sorry, I confused the requirement for continuity of the derivative with the requirement for continuity of the actual function.. Forget that post.

I think I got it though, differentiability at a point implies continuity at that point, right? So the existence of f'(a) implies that the limit as x approaches a of f(x) = f(a). Is that it?

I guess my confusion started when piecewise functions were introduced in this, because the definition of the derivative of a piecewise function

[tex]
f(x) = \left\{
\begin{array}{lr}
y & x\neq{}0\\
a & x=0
\end{array}
\right.
[/tex]
is
[tex]
f'(x) = \left\{
\begin{array}{lr}
dy/dx & x\neq{}0\\
\frac{d}{dx}a & x=0
\end{array}
\right.
[/tex]

I don't agree with this derivative. To find ##f^\prime(a)##, you need to work with the limit definition.
 
  • #7
V0ODO0CH1LD said:
Sorry, I confused the requirement for continuity of the derivative with the requirement for continuity of the actual function.. Forget that post.

I think I got it though, differentiability at a point implies continuity at that point, right? So the existence of f'(a) implies that the limit as x approaches a of f(x) = f(a). Is that it?

I guess my confusion started when piecewise functions were introduced in this, because the definition of the derivative of a piecewise function

[tex]
f(x) = \left\{
\begin{array}{lr}
y & x\neq{}0\\
a & x=0
\end{array}
\right.
[/tex]
is
[tex]
f'(x) = \left\{
\begin{array}{lr}
dy/dx & x\neq{}0\\
\frac{d}{dx}a & x=0
\end{array}
\right.
[/tex]

but then if say ##\frac{d}{dx}a## is defined the function should be differentiable at ##0##, but it's definitely not continuous if the function is the one in the above post. Right?

The definition of a derivative is:

$$f'(x)\equiv\lim_{h\rightarrow 0}\frac{f(x+h)-f(x)}{h}$$

Taking your function at the point 0, we find:

$$f'(0)=\lim_{h\rightarrow 0}\frac{f(h)-a}{h}=\lim_{h\rightarrow 0}\frac{y-a}{h}=\infty,\quad y(x=0)\neq a$$

This limit does not exist if ##y\neq a## at x=0.
 
  • #8
Take this function for example:

[tex]
f(x,y) = \left\{
\begin{array}{lr}
\frac{x^2-y^2}{x^2 + y^2} & (x,y)\neq{}(0,0)\\
0 & (x,y)=(0,0)
\end{array}
\right.
[/tex]
It is not continuous, right? Because
[tex]\lim_{(x,y)\rightarrow(0,0)}f(x,y)[/tex]
is undefined and therefore different from ##0##.

But both ##f_x(0,0)=0## and ##f_y(0,0)=0## from the definition of piecewise derivatives. So the derivatives do exist at ##(0,0)## but the function is not continuous at that point.
 
  • #9
V0ODO0CH1LD said:
Take this function for example:

[tex]
f(x,y) = \left\{
\begin{array}{lr}
\frac{x^2-y^2}{x^2 + y^2} & (x,y)\neq{}(0,0)\\
0 & (x,y)=(0,0)
\end{array}
\right.
[/tex]
It is not continuous, right? Because
[tex]\lim_{(x,y)\rightarrow(0,0)}f(x,y)[/tex]
is undefined and therefore different from ##0##.

But both ##f_x(0,0)=0## and ##f_y(0,0)=0## from the definition of piecewise derivatives. So the derivatives do exist at ##(0,0)## but the function is not continuous at that point.

Yes, this is a typical counterexample. But you should know that "differentiability" in two variables does not just mean that the two partial derivatives exist. If we only demanded that, then you're right that it's not enough to guarantee continuity.

Differentiability in several variables is a much stronger condition: http://en.wikipedia.org/wiki/Differentiable_function#Differentiability_in_higher_dimensions
 
  • #10
So for single variable functions the existence of the derivative at a point implies continuity (i.e. differentiability implies continuity), but for multivariable calculus it's not the existence of all partial derivatives that implies continuity, it's something stronger. Correct? Does differentiability still imply continuity for multivariable functions though? Also, does the existence plus continuity of all partial derivatives imply differentiability?

And one final question: what is the actual definition of continuity for multivariable functions?
 
  • #11
V0ODO0CH1LD said:
So for single variable functions the existence of the derivative at a point implies continuity (i.e. differentiability implies continuity), but for multivariable calculus it's not the existence of all partial derivatives that implies continuity, it's something stronger. Correct?

Correct.

Does differentiability still imply continuity for multivariable functions though?

Yes, if you take the stronger definition of differentiability. Existence of all partial derivatives is not enough.

Also, does the existence plus continuity of all partial derivatives imply differentiability?

Yes, this can be proven.

And one final question: what is the actual definition of continuity for multivariable functions?

It's the same as the single-variable definition, but with absolute value changed by norms. So let ##f:A\rightarrow \mathbb{R}^m## be a function with ##A\subseteq \mathbb{R}^n##. This is continuous in ##a\in A## if

[tex]\forall\varepsilon>0:~\exists \delta>0: \forall x\in A:~\|x-a\|<\delta~\Rightarrow~\|f(x) - f(a)\| <\varepsilon[/tex]

It doesn't really matter which norm you use, all of the following norms on ##x = (x_1,...,x_n) \in \mathbb{R}^n## work:

[tex]\|x\|_1 = |x_1| + ... + |x_n|[/tex]

[tex]\|x\|_2 = \sqrt{x_1^2 + ... + x_n^2}[/tex]

[tex]\|x\|_\infty = \max\{|x_1|,...,|x_n|\}[/tex]

All of these are useful norms depending on the application in mind. The notion of continuity will not change if you use different norms. For example, the statement

[tex]\forall\varepsilon>0:~\exists \delta>0: \forall x\in A:~\|x-a\|_2<\delta~\Rightarrow~\|f(x) - f(a)\|_2 <\varepsilon[/tex]

and

[tex]\forall\varepsilon>0:~\exists \delta>0: \forall x\in A:~\|x-a\|_1<\delta~\Rightarrow~\|f(x) - f(a)\|_\infty <\varepsilon[/tex]

are totally equivalent statements and both are suitable to characterize continuity in ##a##.
 
  • #12
The definition of "differentiable" for a function of two variables that is given in most Calculus texts is:

"We say that a function, f(x,y), is differentiable at [itex](x_0, y_0)[/itex] if and only if there exist a linear function, Ax+ By, and a function [itex]\epsilon(x, y)[/itex] such that
[tex]f(x,y)= A(x- x_0)+ B(y- y_0)+ \epsilon(x, y)[/tex]
and
[tex]\lim_{x\to x_0, y\to y_0} \frac{\epsilon(x, y)}{\sqrt{(x- x_0)^2+ (y- y_0)^2}}= 0[/tex]
(You can replace the square root in that with any of the norms that micromass mentioned.)

It can be shown that if f is differentiable, then its partial derivatives exist in some neighborhood of [itex](x_0, y_0)[/itex] and that [itex]\partial f/\partial x (x_0, y_0)= A[/itex] and that [itex]\partial f/\partial y(x_0,y_0)= B[/itex].

While a derivative (even in a single variable) is not necessarily continuous itself, it must satisfy the "intermediate value property"- if f(a)= p and f(b)= q, then, for any r between p and q, there exist c, between a and b, such that f(c)= r. One consequence of that is that if a function is differentiable at [itex]x_0[/itex] and the two one-sided limits exist, those limits must be equal to the value of the derivative- a derivative cannot have any "jump" discontinuities.
 
Last edited by a moderator:
  • #13
Actually I looked into it, I was wrong when I said that the function
[tex]
f(x,y) = \left\{
\begin{array}{lr}
\frac{x^2-y^2}{x^2 + y^2} & (x,y)\neq{}(0,0)\\
0 & (x,y)=(0,0)
\end{array}
\right.
[/tex]
is not continuous at ##(0,0)## but the derivatives at that point exist. The function is not continuous at ##(0,0)## and therefore its derivatives at that point cannot exist. I'm not sure if it's some sort of convention or if it would violate something bigger if it did exist.

I think maybe the counter example you were thinking of is the function
[tex]
f(x,y) = \left\{
\begin{array}{lr}
\frac{x^3}{x^2 + y^2} & (x,y)\neq{}(0,0)\\
0 & (x,y)=(0,0)
\end{array}
\right.
[/tex]
which is definitely continuous at the point ##(0,0)## but not differentiable. So the "counterintuitive" thing that happens is that functions may be continuous at a point and therefore its partial derivatives may exist there, but that doesn't mean that it is differentiable there. Not that the function is not continuous, its partial derivatives exist but it is not differentiable, that is not possible, right?

Also, are functions whose partial derivatives exist and are continuous a subset of differentiable functions? Or is it actually just another way to define differentiability? Is that also the case with existence of the derivative at a point and continuity for single variable functions?
 
  • #14
V0ODO0CH1LD said:
Actually I looked into it, I was wrong when I said that the function
[tex]
f(x,y) = \left\{
\begin{array}{lr}
\frac{x^2-y^2}{x^2 + y^2} & (x,y)\neq{}(0,0)\\
0 & (x,y)=(0,0)
\end{array}
\right.
[/tex]
is not continuous at ##(0,0)## but the derivatives at that point exist. The function is not continuous at ##(0,0)## and therefore its derivatives at that point cannot exist. I'm not sure if it's some sort of convention or if it would violate something bigger if it did exist.

You're right. I ws thinking of the following:
[tex]
f(x,y) = \left\{
\begin{array}{lr}
\frac{xy}{x^2 + y^2} & (x,y)\neq{}(0,0)\\
0 & (x,y)=(0,0)
\end{array}
\right.
[/tex]

This is discontinuous. But all the partial derivatives do exist.

I think maybe the counter example you were thinking of is the function
[tex]
f(x,y) = \left\{
\begin{array}{lr}
\frac{x^3}{x^2 + y^2} & (x,y)\neq{}(0,0)\\
0 & (x,y)=(0,0)
\end{array}
\right.
[/tex]
which is definitely continuous at the point ##(0,0)## but not differentiable. So the "counterintuitive" thing that happens is that functions may be continuous at a point and therefore its partial derivatives may exist there, but that doesn't mean that it is differentiable there. Not that the function is not continuous, its partial derivatives exist but it is not differentiable, that is not possible, right?

See above, it is possible.

Also, are functions whose partial derivatives exist and are continuous a subset of differentiable functions? Or is it actually just another way to define differentiability?

No, it's a proper subset. Saying that the partial derivatives exist and are continuous is called "continuously differentiable". It implies differentiable (which is defined with the strong definition, not just demanding the partials to exist), but it is not equivalent.

Is that also the case with existence of the derivative at a point and continuity for single variable functions?

In single variables, existence of the derivative does imply continuity, but the derivative itself might not be continuous.
 
  • #15
micromass said:
You're right. I ws thinking of the following:
[tex]
f(x,y) = \left\{
\begin{array}{lr}
\frac{xy}{x^2 + y^2} & (x,y)\neq{}(0,0)\\
0 & (x,y)=(0,0)
\end{array}
\right.
[/tex]
This is discontinuous. But all the partial derivatives do exist.
So this is discontinuous because if you approach the point ##(0,0)## from different directions you get different values of the function, but its partial derivatives exist because the limits are defined in the directions ##x= 0## and ##y=0##? Could this be generalized to the statement that if the limit exists in a particular direction then the directional derivative exists for that direction?

And in the case of
[tex]
f(x,y) = \left\{
\begin{array}{lr}
\frac{x^3}{x^2 + y^2} & (x,y)\neq{}(0,0)\\
0 & (x,y)=(0,0)
\end{array}
\right.
[/tex]
the function is continuous, all its partial derivatives exist but I can prove that it isn't differentiable without going to the actual definition of continuity for multivariable functions by realizing that
[tex] \lim_{(x,y)\rightarrow{}(0,0)}f_y(x,y) [/tex]
doesn't exist and therefore ##f_y## is not continuous? Right?
 
  • #16
V0ODO0CH1LD said:
So this is discontinuous because if you approach the point ##(0,0)## from different directions you get different values of the function, but its partial derivatives exist because the limits are defined in the directions ##x= 0## and ##y=0##? Could this be generalized to the statement that if the limit exists in a particular direction then the directional derivative exists for that direction?

I don't think you can prove it since it's not even true in single variables. For example, take ##f(x)=|x|##, the limit exists in both directions, but the directional derivatives (= ordinary derivative) does not.

And in the case of
[tex]
f(x,y) = \left\{
\begin{array}{lr}
\frac{x^3}{x^2 + y^2} & (x,y)\neq{}(0,0)\\
0 & (x,y)=(0,0)
\end{array}
\right.
[/tex]
the function is continuous, all its partial derivatives exist but I can prove that it isn't differentiable without going to the actual definition of continuity for multivariable functions by realizing that
[tex] \lim_{(x,y)\rightarrow{}(0,0)}f_y(x,y) [/tex]
doesn't exist and therefore ##f_y## is not continuous? Right?

No, that's not correct. A function might be differentiable without the partial derivatives being continuous: http://mathinsight.org/differentiable_function_discontinuous_partial_derivatives
So just finding that ##f_y## is not continuous does not imply that ##f## is not differentiable.
 
  • #17
micromass said:
So just finding that ##f_y## is not continuous does not imply that ##f## is not differentiable.

So how do I prove that this function isn't differentiable?
 
  • #18
V0ODO0CH1LD said:
So how do I prove that this function isn't differentiable?

First, find the two partial derivatives in ##(0,0)##. If the function is differentiable in ##(0,0)## then by definition there is a linear map ##J:\mathbb{R}^2\rightarrow \mathbb{R}^2## such that

[tex]\lim_{\mathbf{h}\rightarrow 0} \frac{f(\mathbf{h}) - f(0,0) - J(\mathbf{h})}{\|\mathbf{h}\|} = 0[/tex]

You can prove that the map ##J## satisfies

[tex]J(x,y) = x \frac{\partial f}{\partial x}(0,0) + y \frac{\partial f}{\partial y}(0,0)[/tex]

So can you find the two partial derivatives to find an expression for ##J##?
 
  • #19
micromass said:
First, find the two partial derivatives in ##(0,0)##. If the function is differentiable in ##(0,0)## then by definition there is a linear map ##J:\mathbb{R}^2\rightarrow \mathbb{R}^2## such that

[tex]\lim_{\mathbf{h}\rightarrow 0} \frac{f(\mathbf{h}) - f(0,0) - J(\mathbf{h})}{\|\mathbf{h}\|} = 0[/tex]

You can prove that the map ##J## satisfies

[tex]J(x,y) = x \frac{\partial f}{\partial x}(0,0) + y \frac{\partial f}{\partial y}(0,0)[/tex]

So can you find the two partial derivatives to find an expression for ##J##?

In the example above f is a function ##f:\mathbb{R}^2\rightarrow\mathbb{R}##, how can I add or subtract something from ##\mathbb{R}^2## with something from ##\mathbb{R}##? Or is ##J:\mathbb{R}^2\rightarrow \mathbb{R}##?

Also, I've just come across this example
[tex] f(x,y)=\frac{x^4y-y^5}{x^2 + y^2}[/tex]
which is definitely not continuous at ##(0,0)## but its derivatives are. Does that mean that this function is differentiable at ##(0,0)## but not continuous there? Isn't that supposed to be impossible?
 
  • #20
V0ODO0CH1LD said:
In the example above f is a function ##f:\mathbb{R}^2\rightarrow\mathbb{R}##, how can I add or subtract something from ##\mathbb{R}^2## with something from ##\mathbb{R}##? Or is ##J:\mathbb{R}^2\rightarrow \mathbb{R}##?

Yes, you're right, that was a typo. The function is ##J:\mathbb{R}^2\rightarrow \mathbb{R}##.

Also, I've just come across this example
[tex] f(x,y)=\frac{x^4y-y^5}{x^2 + y^2}[/tex]
which is definitely not continuous at ##(0,0)## but its derivatives are. Does that mean that this function is differentiable at ##(0,0)## but not continuous there? Isn't that supposed to be impossible?

That function looks pretty continuous to me. At least, if you additionally define ##f(0,0)=0##.
 
  • #21
micromass said:
That function looks pretty continuous to me. At least, if you additionally define ##f(0,0)=0##.

Right, but in its original form ##f(0,0)## is undefined, so ##f## is not continuous. Then either there are functions that are differentiable and not continuous at a point (this one) or it is part of the definition of differentiability that if a function is not defined at a point then by convention it is not differentiable at that point even if its derivatives are continuous, which means that there are functions that have continuous derivatives at a point but aren't differentiable.

Also, can I prove that
[tex] \lim_{(x,y)\rightarrow{}(0,0)}\frac{x^4y-y^5}{x^2 + y^2}[/tex]
exists by proving that limit when approaching ##(0,0)## with any line in the xy-plane through the origin gives the same value? In other words, is the infinity of directions you can approach ##(0,0)## with straight lines all the directions you can approach ##(0,0)##? Like, is approaching ##(0,0)## through the parabola ##y=x^2## the same as approaching it by the x-axis?
 
  • #22
V0ODO0CH1LD said:
Right, but in its original form ##f(0,0)## is undefined, so ##f## is not continuous. Then either there are functions that are differentiable and not continuous at a point (this one) or it is part of the definition of differentiability that if a function is not defined at a point then by convention it is not differentiable at that point even if its derivatives are continuous, which means that there are functions that have continuous derivatives at a point but aren't differentiable.

You can't take partial derivatives at ##(0,0)##. Because

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

But you said that ##f(0,0)## is undefined, so the above limit cannot be calculated. So the partial derivatives are undefined too.

Also, continuity, differentiability, etc. apply to the points in the domain. If ##(0,0)## is not in the domain, then you can't call ##f## discontinuous.

Also, can I prove that
[tex] \lim_{(x,y)\rightarrow{}(0,0)}\frac{x^4y-y^5}{x^2 + y^2}[/tex]
exists by proving that limit when approaching ##(0,0)## with any line in the xy-plane through the origin gives the same value? In other words, is the infinity of directions you can approach ##(0,0)## with straight lines all the directions you can approach ##(0,0)##? Like, is approaching ##(0,0)## through the parabola ##y=x^2## the same as approaching it by the x-axis?

No, that is not enough. See http://calculus.subwiki.org/wiki/Continuous_along_every_linear_direction_not_implies_continuous
 
  • #23
micromass said:
You can't take partial derivatives at ##(0,0)##. Because

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

But you said that ##f(0,0)## is undefined, so the above limit cannot be calculated. So the partial derivatives are undefined too.

Also, continuity, differentiability, etc. apply to the points in the domain. If ##(0,0)## is not in the domain, then you can't call ##f## discontinuous.

Okay, I get why ##f## is continuous, but its derivative
[tex]\frac{\partial f}{\partial x} = 2xy[/tex]
evaluated at ##(0,0)## just equals ##0##. So ##f(0,0)## being undefined doesn't technically imply that ##f_x(0,0)## is undefined.. Is it a convention that I would say that the derivatives are undefined as well?
 
  • #24
V0ODO0CH1LD said:
Okay, I get why ##f## is continuous, but its derivative
[tex]\frac{\partial f}{\partial x} = 2xy[/tex]
evaluated at ##(0,0)## just equals ##0##. So ##f(0,0)## being undefined doesn't technically imply that ##f_x(0,0)## is undefined.. Is it a convention that I would say that the derivatives are undefined as well?

You should be careful about the domain. Here, ##f## is only defined as a function ##f:A\rightarrow \mathbb{R}## with ##A = \mathbb{R}^2\setminus \{(0,0)\}## in our case.
If we want to talk about continuity, then we can only talk about points in our domain ##A##. So ##f## can (by definition) only be continuous in points of ##A##. Of course, we can extend ##f## on entire ##\mathbb{R}^2## such that it is even continuous on entire ##\mathbb{R}^2##. But when we define ##f:A\rightarrow \mathbb{R}##, then we talk about the domain ##A## and not the extension.

Same thing for partial derivatives. Partial derivatives are only defined at points in ##A##. So saying ##\frac{\partial f}{\partial x}(x,y) = 2xy## is fine but it supposes that ##(x,y)\in A##. So we have a function
[tex]\frac{\partial f}{\partial x}: A\rightarrow \mathbb{R}[/tex]
Of course, this function can be continuously extended on entire ##\mathbb{R}^2##, but that is irrelevant here.
 
  • #25
Ahh, thanks! That actually makes a lot of sense :D

On the subject of limits, since linearly approaching points can only prove that a limit does not exist in case the limit is different through different lines, are there other techniques to proving limits do exist apart from the squeeze theorem?

My whole confusion with that function began because I thought that if I could prove that the function was continuous on ##(0,0)## then that would prove that the limit exited, and then if I could find the limit through any line that would be the answer. Is that whole thought wrong? Or my only mistake was assuming that ##f## could be continuous at ##(0,0)## in that case?
 
  • #26
V0ODO0CH1LD said:
Ahh, thanks! That actually makes a lot of sense :D

On the subject of limits, since linearly approaching points can only prove that a limit does not exist in case the limit is different through different lines, are there other techniques to proving limits do exist apart from the squeeze theorem?

Proving continuity is really annoying in multiple variables. You have very little to work with except the ##\varepsilon-\delta## definition, squeeze theorem and perhaps changing variables into polar coordinates. I'm afraid I can't give you a magical trick that makes such questions easier.

My whole confusion with that function began because I thought that if I could prove that the function was continuous on ##(0,0)## then that would prove that the limit exited, and then if I could find the limit through any line that would be the answer. Is that whole thought wrong? Or my only mistake was assuming that ##f## could be continuous at ##(0,0)## in that case?

Yes. If you know that ##f## is continuous, then your thought process is right. But of course, you need to prove continuity first.
 

1. What is the definition of differentiability for piecewise multivariable functions?

Differentiability for piecewise multivariable functions refers to the ability for a function to have a well-defined derivative at every point within its domain, even if the function is not continuous at every point. This means that the function must have a defined slope or rate of change at every point within its domain.

2. How do you determine if a piecewise multivariable function is differentiable?

To determine if a piecewise multivariable function is differentiable, you must first check if the function is continuous at every point within its domain. If it is not continuous, then it is not differentiable. If the function is continuous, you must then check if the partial derivatives of each piece of the function exist and are equal at the points where the pieces intersect. If these conditions are met, then the function is differentiable.

3. What is the importance of differentiability for piecewise multivariable functions?

Differentiability is important for piecewise multivariable functions because it allows us to analyze the function's behavior and make predictions about its behavior at any point within its domain. It also allows us to find critical points and use them to optimize the function.

4. How does differentiability for piecewise multivariable functions relate to continuity?

Differentiability and continuity are closely related for piecewise multivariable functions. A function must be continuous in order to be differentiable, but a function can be continuous without being differentiable. This means that differentiability is a stricter condition than continuity.

5. Can a piecewise multivariable function be differentiable at a point but not continuous?

No, a piecewise multivariable function cannot be differentiable at a point if it is not continuous at that point. This is because differentiability requires the function to be continuous and have well-defined partial derivatives at every point within its domain. If a function is not continuous at a point, it cannot have a defined derivative at that point.

Similar threads

Replies
14
Views
2K
  • Calculus
Replies
14
Views
1K
Replies
1
Views
956
Replies
2
Views
786
Replies
2
Views
1K
  • Calculus
Replies
12
Views
505
  • Calculus
Replies
9
Views
2K
Replies
3
Views
1K
Replies
24
Views
2K
Replies
3
Views
1K
Back
Top