Dirk Bollaerts & Céleste Paalvast
gradient symbol gradient symbol gradient symbol gradient symbol gradient symbol

Exercises on the differentiability of functions in two variables

1. Overview of differentiability of functions of two variables

  • Section 1.
    We discuss two standard exercises on differentiability and non differentiability of real functions of real variables.
  • Section 2.
    We list the definitions of the functions discussed in all the exercises that can be found in the text document that the reader can browse or download in the download section.
  • Section 3.
    The reader can download the text document in the download section.
  • Section 4.
    The reader can find information about web based material in the information section about links and search material .

1. Examples of exercises

Two completely solved exercises

Exercise 1

Discuss the

  1. continuity,
  2. partial derivatives,
  3. directional derivatives,
  4. differentiability,
  5. continuity of the partial derivatives
of the following function in (0,0).

f(x,y)={3x2yy3x2+y2if (x,y)(0,0),0if (x,y)=(0,0).

Solution

1. Continuity of the function

We investigate continuity with an ϵ-δ approach.

We take an arbitrary ϵ>0 and we have to prove that |f(x,y)f(0,0)|<ϵ. The problem is now to find a δ>0 such that if |(x,y)(0,0)|<δ it follows that |f(x,y)f(0,0)|<ϵ is valid.

When applying our function definition, we have then the following statements. Try to find a δ such that if |(x,y)(0,0)|=x2+y2<δ, we have that

|3x2yy3x2+y20|<ϵ.

We are looking for a function (x,y) that is larger then or equal to the left hand side of this last inequality. This function (x,y) has to have the property that it can be made smaller then ϵ by carefully manipulating the value δ. This is sufficient for our continuity proof.

|3x2yy3x2+y2|3x2|y|+|y|3x2+y23x2+y22x2+y2+x2+y23x2+y224x2+y23x2+y224x2+y2.

It is sufficient to take δ=ϵ4. We can find a δ, so we conclude that the function is continuous.

3D View of the surface.
We see here a three dimensional figure of the graph of the function. This looks like a continuous function.
Contourplot of the surface.
We see here a figure of the contour plot of the function. Only level curves of level around 0 come close to (0,0).

2. Partial derivatives

Discussion of the partial derivative to x in f(x, y)

We observe then that f|y=0(x,y)={f(x,0)=0if x0;0if x=0.

So fx(0,0)=limh0f(h,0)f(0,0)h=limh00=0. So the partial derivative to x does exist.

Discussion of the partial derivative to y in f(x, y)

We observe that f|x=0(x,y)={f(0,y)=yif y0;0if y=0.

So fy(0,0)=limh0f(0,h)f(0,0)h=limh01=1. So the partial derivative to y does exist.

We conclude that fx(0,0)=0 and fy(0,0)=1.

function restricted to the vertical Y-axis.
We see here a figure of the graph of the function restricted to the vertical Y-axis through (0,0). We have drawn here the function f(0,h).

3. Directional derivatives

Discussion of the directional derivatives in (0,0).

Let (u,v) be a normalised direction vector. So it has length 1, this means that u2+v2=1. Then the directional derivative in (0,0) in the direction (u,v), notation D(u,v)(0,0) is by definition D(u,v)(0,0)=limh0f(0+hu,0+hv)f(0,0)h.

The classical partial derivatives are of course also directional derivatives in the directions (1,0) and (0,1).

In the case of our function we have to calculate limh0f(0+hu,0+hv)f(0,0)h=limh03h3u2vh3v3h(h2u2+h2v2)=v(v23u2)u2+v2.

D(u,v)(0,0)=limh0f(0+hu,0+hv)f(0,0)h=limh0v(v23u2)=v(v23u2). We have used that (u,v) is a normal vector and so u2+v2=1.

So the directional derivatives do always exist.

function restricted to the vertical Y-axis.
We see here a figure of the graph of the function restricted to the line through (0,0) with direction (u,v)=(12,12). We have drawn here the function f(hu,hv).

4. Differentiability

Some preliminary visual tests

Before setting out to do an investigation of the differentiability, let us take the liberty to do a few visual checks. Maybe these figures can make us doubtful about the differentiability. Because we do not rely on purely visual proofs, we will then continue our reasoning as if we did not perform these visual checks.

The partial derivatives exist and all other directional derivatives exist. The function is also continuous. So it can be useful to show the function and its candidate tangent plane in (0,0) in order to see what is going on.

3dim view of the function and the tangent plane.
We see here a three dimensional figure of the graph of the function fx(0,0)x+fy(0,0)y, which is graphically the candidate tangent plane and the function f(x,y). We see here that the candidate tangent plane does not fit the function very nicely. It is indeed no tangent plane following our future calculations.

We perform now our second visual check. We can take a look at it in another way. We have calculated all the directional derivatives and we know that if the function is differentiable, then the following vectors (u,v,D(u,v)(0,0)) must lie in one plane, which is the tangent plane if the function is differentiable. So let us visually check that these vectors are coplanar.

View of the directional derivatives.
We see here a three dimensional figure of the graph of the function and the position of the vectors (u,v,D(u,v)(0,0)) which must sweep out an ellipse in the candidate tangent plane. If they do not, then there is no tangent plane and the function cannot be differentiable. We see the red circle of the unit vectors (u,v) in the X-Y plane. We see also in the blue curve the vectors (u,v,D(u,v)(0,0)). Four of them are indicated by large red points. We see here that the vectors (u,v,D(u,v)(0,0)) do not sweep out a nice ellipse lying in the candidate tangent plane! Only four points are in the candidate tangent plane. On this visual basis, we conclude that the function is not differentiable, but we stated that we want to give an alphabetical proof following the definition.

Defining the quotient function

We are going to define the quotient for this function.

We define the quotient function, notation q(h,k) in (0,0) as

q(h,k)=f(h,k)f(0,0)(fx(0,0)h+fy(0,0)k)|(h,k)|.

Remark that this quotient is the two variable equivalent of the one variable quotient

q(h)=f(h)f(0)f(0)hh.

So please do not confuse this with f(h)f(0)h, which is commonly called the differential quotient!

If

lim(h,k)(0,0)q(h,k)=0, then the function f(x,y) is by definition differentiable in (0,0).

So we have to prove that the function

q(h,k)={4h2k(h2+k2)32if (h,k)(0,0);0if (h,k)=(0,0)

is continuous in (0,0).

Discussion of the continuity of q(h,k) in (0,0)

We restrict the function q(h,k) to the continuous curves with equations k=λh. We observe then that

q|k=λh(h,k)=AA{4h3λ(h2λ2+h2)32=4h3λ(λ2+1)32|h|3if h0;0if h=0.

We see that these restricted functions have no limits. But if q(h,k) is continuous, all these limit values should be q(0,0)=0. So this function q(h,k) is not continuous in (0,0). The function f(x,y) is not differentiable in (0,0).

Graph of the function q (h, k).
We see here a three dimensional figure of the graph of the function q(h,k). The vertical line above (0,0) looks suspicious. This does not seem to be a graph of a continuous function.
Function restricted to lines through (0,0).
We have restricted the function q(h,k) here to k=12h and k=310h and k=910h. We see in this figure clearly that the restrictions of the function to these lines are functions that have no limits in 0.
contour plot of the function q (h, k).
We see here a figure of the contour plot of the function q(h,k). Many level curves of very different levels approach (0,0). This looks discontinuous indeed.

5. Discussion of the continuity of the partial derivatives

It is in this context useless to talk about an alternative proof for differentiability because the function is not differentiable. So this section is irrelevant.

6. Overview and summary

f(x,y)={3x2yy3x2+y2 if (x,y)(0,0),0 if (x,y)=(0,0).

continuity yes
partial derivatives exist yes
all directional derivatives exist yes
differentiable no
partials are continuous irrelevant

7. One step further

Possible further investigations

We have used in the calculations for differentiability that we had some magical curves k=λh which behaved very strangely when mapped by q(h,k) to the Z-direction. We want to see what is going on with these curves. Let us define the 3-dimensional curve in parametric form that projects in the (h,k)-plane to our curve k=λh: (x(t),y(t),z(t))=(t,λt,f(t,λt))=(t,λt,λ(λ23)tλ2+1).

This curve lies completely in the surface defined by the function. It is clear that the tangent vector lies in the tangent plane if the function is differentiable. Now we had a candidate tangent plane, we draw that and see what is going on with the tangent vector (x(t),y(t),z(t))=(1,λ,λ(λ23)λ2+1).

We also know that the candidate tangent plane is the only possible tangent plane because it takes care of a good fit in the X-direction and the Y-direction, which is the absolute minimum that a tangent plane must do. So if t=0, then we have the tangent vector (1,λ,λ(λ23)λ2+1).

If λ=1, this leaves us with the tangent vector (1,1,1). We will see that this vector does not lie in the tangent plane. So we see once again that the candidate tangent plane is not a real tangent plane. Please consult the figure of this situation.

Tangent vector not lying in the candidate tangent plane.
The tangent vector is not in the only possible candidate tangent plane. Because the curve is in this example a line, we have that this tangent vector is on the line itself. This tangent vector intersects the plane transversally.

7. Alternative proof for the non differentiability

Suppose that we already met in the course the differentiation rule of the composition of two differentiable functions. This is also called the chain rule. Then we have proven the following. If the function is differentiable in (a,b), then the directional derivative can be calculated as follows.

D(u,v)f(a,b)=fx(a,b)u+fy(a,b)v.

Important remark. This formula is only valid if the function is differentiable. One of the most common mistakes is that one uses this formula in the case of non differentiability. It seems to be easy to calculate quickly the partial derivatives if they exist and then use this formula.

We have calculated the directional derivatives and we saw that

D(u,v)f(0,0)=v(v23u2)

and this is certainly not the linear function in u and v which we should have in the case of differentiability.

So we conclude again with this alternative proof that the function is not differentiable.

8. Behaviour of the gradient

We know that if a function has continuous partial derivatives, then the function must be differentiable. It follows that if a function is not differentiable, then the gradient of the function, if it exists, cannot be continuous. The vector field defined by the gradient must behave in the case of non differentiability quite peculiarly. So it can be interesting to take a look at the gradient vector field.

Vector field of the gradient.
We made here the following sketch. We have drawn the graphics of y=x in pink and y=0.62x in cyan. We have sketched the gradient vector field (fx(x,y),fy(x,y)) which is not continuous as can be seen as follows. Observe the gradient vector field on the pink curve, these are the red vectors. Observe the gradient vector field on the cyan curve, these are the green vectors. The purple vector is the gradient vector in (0,0). The red vectors converge to a vector with a non zero x-component. This component is equal to 2. The green vectors converge to a vector that has a x-component that is two times smaller then the x-component of the vector to which the red vector field converges if x0. This is clearly impossible if the vector field is continuous. Moreover, the x-component of the limit vector should in both cases be zero if the gradient vector field is continuous. We conclude that this gradient vector field is not continuous. The function is differentiable in that case, which it is not. Please note however that a sketch of the gradient vector field is inherently a sketch of discrete data. So the utmost care must be taken in order to make it a little bit trustworthy.

Exercise 2

Discuss the

  1. continuity,
  2. partial derivatives,
  3. directional derivatives,
  4. differentiability,
  5. continuity of the partial derivatives
of the following function in (0,0).

f(x,y)={xy(x2y2)x2+y2if (x,y)(0,0),0if (x,y)=(0,0).

Solution

1. Continuity of the function

We investigate continuity with an ϵ-δ approach.

We take an arbitrary ϵ>0 and we have to prove that |f(x,y)f(0,0)|<ϵ. The problem is now to find a δ>0 such that if |(x,y)(0,0)|<δ it follows that |f(x,y)f(0,0)|<ϵ is valid.

When applying our function definition, we have then the following statements. Try to find a δ such that if |(x,y)(0,0)|=x2+y2<δ, we have that

|xy(x2y2)x2+y20|<ϵ.

We are looking for a function (x,y) that is larger then or equal to the left hand side of this last inequality. This function (x,y) has to have the property that it can be made smaller then ϵ by carefully manipulating the value δ. This is sufficient for our continuity proof. |xy(x2y2)x2+y2||x||y|(|x|2+|y|2)x2+y2x2+y2x2+y2(x2+y22+x2+y22)x2+y222x2+y24x2+y222x2+y22. It is sufficient to take δ=(ϵ2)12. We can find a δ, so we conclude that the function is continuous.

3D View of the surface.
We see here a three dimensional figure of the graph of the function. This looks like a continuous function.
Contour plot of the surface.
We see here a figure of the contour plot of the function. Only level curves of level around 0 come close to (0,0).

2. Partial derivatives

Discussion of the partial derivative of f(x,y) in x

We observe then that f|y=0(x,y)={f(x,0)=0if x0;0if x=0.

So fx(0,0)=limh0f(h,0)f(0,0)h=limh00=0. So the partial derivative to x does exist.

Discussion of the partial derivative of f(x,y) in x

We observe that f|x=0(x,y)={f(0,y)=0if y0;0if y=0.

So fy(0,0)=limh0f(0,h)f(0,0)h=limh00=0. So the partial derivative to y does exist.

We conclude that fx(0,0)=0 and fy(0,0)=0.

3. Directional derivatives

Discussion of the directional derivatives in (0,0)

Let (u,v) be a normalised direction vector. So it has length 1, this means that
u2+v2=1. Then the directional derivative in (0,0) in the direction (u,v), notation D(u,v)(0,0) is by definition D(u,v)(0,0)=limh0f(0+hu,0+hv)f(0,0)h.

The classical partial derivatives are of course also directional derivatives in the directions (1,0) and (0,1).

In the case of our function we have to calculate the following limit D(u,v)(0,0)=limh0f(0+hu,0+hv)f(0,0)h=limh0huv(h2u2h2v2)h2u2+h2v2=limh0huv(u2v2)u2+v2=0.

So the directional derivatives do always exist.

function restricted to the vertical Y-axis.
We see here a figure of the graph of the function restricted to the line through (0,0) with direction (u,v)=(32,12). The slope is 0 in 0. We have plotted here the function f(hu,hv).

4. Differentiability

Some preliminary visual tests

The function is continuous and all directional derivatives exist, so there is a possibility that this function is differentiable.

Before setting out to do an investigation of the differentiability, let us take the liberty to do a few visual checks based on the calculations that we have performed until now. Maybe these figures can make us doubtful about the differentiability. Because we do not rely on purely visual proofs, we will then continue our reasoning as if we did not perform these visual checks.

The partial derivatives exist and all other directional derivatives exist. The function is also continuous. So it can be useful to show the function and its candidate tangent plane in (0,0) in order to see what is going on.

3D view of function and tangent space.
We see here a three dimensional figure of the graph of the function fx(0,0)x+fy(0,0)y, which is graphically the candidate tangent plane and the function f(x,y). We have doubts about the differentiability. We will have to follow our calculations.

We perform now our second visual check. We can take a look at it in another way. We have calculated all the directional derivatives and we know that if the function is differentiable, then the following vectors (u,v,D(u,v)(0,0)) must lie in one plane, which is the tangent plane if the function is differentiable. So let us visually check that these vectors are coplanar.

function restricted to the vertical Y-axis.
We see here a three dimensional figure of the graph of the function and the position of the vectors (u,v,D(u,v)(0,0)) which must sweep out an ellipse in the candidate tangent plane. If they do not, then there is no tangent plane and the function cannot be differentiable. We see the red circle of the unit vectors (u,v) in the X-Y plane. We see also in the blue circle the vectors (u,v,D(u,v)(0,0)). Four of them are indicated by large red points. We see here that the vectors (u,v,D(u,v)(0,0)) sweep out a nice ellipse in the candidate tangent plane. This is good news in favour of differentiability.

We are going to define the quotient for this function

We define the quotient function, notation q(h,k) in (0,0) as

q(h,k)=f(h,k)f(0,0)(fx(0,0)h+fy(0,0)k)|(h,k)|.

Remark that this quotient is the two variable equivalent of the one variable quotient

q(h)=f(h)f(0)f(0)hh.

So please do not confuse this with f(h)f(0)h, which is commonly called the differential quotient! To avoid any misunderstandings we call our q from now on the quotient, notation q(h,k) and not the differential quotient.

If lim(h,k)(0,0)q(h,k)=0,

then the function f(x,y) is by definition differentiable in (0,0). So we have to prove that the function

q(h,k)={hk(h2k2)(h2+k2)32if (h,k)(0,0);0if (h,k)=(0,0)

is continuous in (0,0).

Discussion of the continuity of q(h,k) in (0,0)

We investigate continuity with an ϵ-δ approach.

We take an arbitrary ϵ>0 and we have to prove that |q(h,k)0|<ϵ. The problem is now to find a δ>0 such that if |(h,k)(0,0)|<δ it follows that |q(h,k)0|<ϵ is valid.

When applying our function definition, we have then the following statements. Try to find a δ such that if |(h,k)(0,0)|=h2+k2<δ, we have that

|hk(h2k2)(h2+k2)320|<ϵ.

We are looking for a function (h,k) that is larger then or equal to the left hand side of this last inequality. This function (h,k) has to have the property that it can be made smaller then ϵ by carefully manipulating the value δ. This is sufficient for our continuity proof.

|hk(h2k2)(h2+k2)32|h2+k2h2+k2(h2+k22+h2+k22)h2+k232h2+k24h2+k232h2+k2.

It is sufficient to take δ=ϵ2. We can find a δ, so we conclude that the function q(h,k) is continuous. The function f is differentiable.

3D view of the quotient.
We see here a three dimensional figure of the graph of the function q(h,k). This looks like a continuous function.
View of the contourplot of the quotient.
We see here a figure of the contour plot of the function q(h,k). Only level curves of level around 0 come close to (0,0).

5. Continuity of the partial derivatives

Discussion of the continuity of the partial derivatives

We are looking for an alternative proof for the differentiability.

If both the partial derivative derivatives are continuous, then we have an alternative proof of the existence of the derivative. The condition that both of the partial derivatives are continuous is in fact too strong in the sense that it is not equivalent with differentiability only. But this criterion is in fact used by many instructors and textbooks, so it is interesting to take a look at it.

We know that the partial derivative to x exists and is equal to

fx(x,y)={y(x4+4x2y2y4)(x2+y2)2if (x,y)(0,0),0if (x,y)=(0,0).

We want to see if it is continuous or not.

Discussion of the continuity of the partial derivative of f(x,y) to x

We investigate continuity with an ϵ-δ approach.

We take an arbitrary ϵ>0 and we have to prove that the inequality |fx(x,y)fx(0,0)|<ϵ holds under certain conditions. The problem is now to find a δ>0 such that if |(x,y)(0,0)|<δ it follows that |fx(x,y)fx(0,0)|<ϵ is valid.

When applying our function definition, we have then the following statements. Try to find a δ such that if |(x,y)(0,0)|=x2+y2<δ, we have that

|fx(x,y)fx(0,0)|<ϵ.

We are looking for a function (x,y) that is larger then or equal to the left hand side of this last inequality. This function (x,y) has to have the property that it can be made smaller then ϵ by carefully manipulating the value δ. This is sufficient for our continuity proof.

|y(x4+4x2y2y4)(x2+y2)2|AAA|y|(x4+4x2y2+y4)(x2+y2)2AAAx2+y2(x2+y24+4x2+y24+x2+y24)x2+y24AAA6x2+y25x2+y24AAA6x2+y2.

It is sufficient to take δ=ϵ6. We can find a δ, so we conclude that the function is continuous.

3dim view of the first partial derivative to x.
We see here a three dimensional figure of the graph of the first partial derivative fx(x,y). This looks like a continuous function.
Contourplot of the derivative to x.
We see here a figure of the contour plot of the fx(x,y). Only level curves of level around 0 come close to (0,0).

Discussion of the continuity of the partial derivative of f(x,y) to y

By the symmetries in the function definition, we could argue on the basis of geometric arguments that the partial derivative to y is also continuous. But we will give again a proof based on calculations.

We know that the partial derivative to y exists and is equal to

fy(x,y)={x54x3y2xy4(x2+y2)2if (x,y)(0,0),0if (x,y)=(0,0).

We want to see if it is continuous or not.

Discussion of the continuity in (0,0)

We investigate continuity with an ϵ-δ approach.

We take an arbitrary ϵ>0 and we have to prove the inequality |fy(x,y)fy(0,0)|<ϵ. The problem is now to find a δ>0 such that if the inequality |(x,y)(0,0)|<δ holds, then it follows that |fy(x,y)fy(0,0)|<ϵ is valid.

When applying our function definition, we have then the following statements. Try to find a δ such that if |(x,y)(0,0)|=x2+y2<δ, we have that

|fy(x,y)fy(0,0)|<ϵ.

We are looking for a function (x,y) that is larger then or equal to the left hand side of this last inequality. This function (x,y) has to have the property that it can be made smaller then ϵ by carefully manipulating the value δ. This is sufficient for our continuity proof.

|fy||x54x3y2xy4(x2+y2)2||x|5+4|x|3y2+|x|y4(x2+y2)2x2+y25+4x2+y25+x2+y25x2+y246x2+y25x2+y246x2+y2.

It is sufficient to take δ=ϵ6. We can find a δ, so we conclude that the function is continuous.

3dim view of the function and the tangent plane.
We see here a three dimensional figure of the graph of the first partial derivative fy(x,y). This looks like a continuous function.
3dim view of the function and the tangent plane.
We see here a figure of the contour plot of the fy(x,y). Only level curves of level around 0 come close to (0,0).

6. Overview and summary

f(x,y)={xy(x2y2)x2+y2if (x,y)(0,0),0if (x,y)=(0,0).

continuity yes
partial derivatives exist yes
all directional derivatives exist yes
differentiable yes
partials are continuous yes

7. One step further

Possible further investigations

We want to know if this function is further uneventful from the point of view of differentiability. Let us take a look at the second order partial derivative

2fx2(x,y)=4xy3(x23y2)(x2+y2)3.

Let us take a look of a three dimensional plot of this partial derivative to y of the function.

Second order derivative twice to x gives discontinuity.
We see here a figure of the second order partial derivative 2fx2(x,y). It seems quite improbable that this second order partial derivative is continuous. We stop however our investigations here and leave this to the initiative of the interested reader.

3. List of exercises

We collected all exercises in the following table. The reader can read the solution in the text that can be downloaded.

Exercise 1.

f(x,y)={(x2+y2)sin(x2+y2)if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 2.

f(x,y)={x3yx4+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 3.

f(x,y)={3x2yy3x2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 4.

f(x,y)={y3x8yx6+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 5.

f(x,y)={x3sin(1x2)+y3sin(1y2)if xy0;0if xy=0.

Exercise 6.

f(x,y)={x|y|x2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 7.

f(x,y)={y|x|32x3+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 8.

f(x,y)={sin(|xy|+x2)xif x0;0if x=0.

Exercise 9.

f(x,y)={x2y2x2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 10.

f(x,y)={xy4x2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 11.

f(x,y)={xy2x2+y4if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 12.

f(x,y)={y(x2y)2x6if x0;0if x=0.

Exercise 13

f(x,y)={x3yxy3x2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 14.

f(x,y)={x2yx6+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 15.

f(x,y)={x2|y|54x4+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 16.

f(x,y)=x2y3.

Exercise 17.

f(x,y)={x2ysin(1x)if x0;0if x=0.

Exercise 18.

f(x,y)={xyx2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 19.

f(x,y)={x2yx2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 20.

f(x,y)={x3+y3x2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 21.

f(x,y)={x3yx6+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 22.

f(x,y)={x5yx8+y4if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 23.

f(x,y)={x5+y4(x2+y2)2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 24.

f(x,y)={xy2x2+y2(x2+y4)if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 25.

f(x,y)={xy(x2y2)x2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 26.

f(x,y)={ysin(xy)x2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 27.

f(x,y)={y3x2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 28.

f(x,y)={(x2+y2)log(x2+y2)if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 29.

f(x,y)={x2+y2x2+y4if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 30.

f(x,y)={x2y2x2y2+(xy)2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 31.

f(x,y)={x2(sin(1x+y)+2) if x+y0;0if x+y=0.

Exercise 32.

f(x,y)={xsin(1x)+ysin(1y)if xy0;0if x=0 or y=0.

Exercise 33.

f(x,y)={x2sin2(yx)if x0;0if x=0.

Exercise 34.

f(x,y)={sin2(x+y)|x|+|y|if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 35.

f(x,y)=|xy|.

Exercise 36.

f(x,y)={ysin(x|y|)if y0;0if y=0.

Exercise 37.

f(x,y)=sin(y)sgn(sin(x)).

Exercise 38.

f(x,y)={sin(4x|y|)|xy|if xy0;0if xy=0.

Exercise 39.

f(x,y)=max{x,y}.

Exercise 40.

f(x,y)=y|x|.

Exercise 41.

f(x,y)={xsin(1x2+y2)if (x,y)(0,0);0otherwise

Exercise 42.

f(x,y)=max{|x|,|y|}.

Exercise 43.

f(x,y)={(x2+y2)sin(1x+y)if x+y0;0if x+y=0.

Exercise 44.

f(x,y)={(x2+y2)sin(1x4+y4)if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 45.

f(x,y)={(x2+y2)sin(1x2+y2)if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 46.

f(x,y)={xy2sin(1y)if y0;0if y=0.

Exercise 47.

f(x,y)={|y|2|y|x2x2if x0;0if x=0.

Exercise 48.

f(x,y)={xy|x|+xsin(1y)if xy0;0if x=0 or y=0.

Exercise 49.

f(x,y)={x3sin(1x2)+y3sin(1y2)if xy0;0if xy=0.

Exercise 50.

f(x,y)={yx2+y2|y|if y0;0if y=0.

Exercise 51.

f(x,y)={x2y|y|x4+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 52.

f(x,y)=x3y3.

Exercise 53.

f(x,y)={sin(x2+y2x4+y4)if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 54.

f(x,y)=sin2(x)+sin2(y).

Exercise 55.

f(x,y)={|x|+|y||x+y|(x2+y2)15if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 56.

f(x,y)={|x|+|y||x+y|(x2+y2)12if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 57.

f(x,y)={sin(1x2+y2)if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 58.

See below.

Exercise 59.

f(x,y)=min{x,y}=x+y2|xy|2.

Exercise 60.

f(x,y)=|x|+|y|.

Exercise 61.

f(x,y)={xyx2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 62.

f(x,y)=(x3+y3)3.

Exercise 63.

f(x,y)=sin2(x)+sin2(y).

Exercise 64.

f(x,y)={(x+y)2x2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 65.

f(x,y)={log(x2y2)x2+y2if xy0;0if xy=0.

Exercise 66.

See below.

Exercise 67.

f(x,y)={x+yif xy0;0if x=0 or y=0.

Exercise 68.

f(x,y)={x2(1cos(yx))if x0;0if x=0.

Exercise 69.

f(x,y)={sin(xy)|x|+|y|if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 70.

f(x,y)={xysin(x)sin(y)x2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 71.

f(x,y)={log(|x|+e|y|)x2+y2if (x,y)(0,0);0if (x,y)=(0,0).

Exercise 72.

f(x,y)={(xy)ye1x2(xy)2+2e2x2if x0;0if x=0.

Exercise 73.

f(x,y)=4x2y2.

Exercise 74.

See below.

Exercise 75.

See below.

Exercise 76.

f(x,y)=x+y.

Exercise 77.

f(x,y)={cos(xy)1x2y2if xy0;12if xy=0.

Exercise 78.

See below.

The exercises marked in the table with “See below” are listed here.

Exercise 58.

f(x,y)={xsin(1x)if y=0 and x0;ysin(1y)if x=0 and y0;0elsewhere.

Exercise 66.

f(x,y)={x2sin(1x)+y2sin(1y)if xy0;x2sin(1x)if x0 and y=0;y2sin(1y)if y0 and x=0;0if x=0 and y=0.

Exercise 74.

f(x,y)={1if x2=y and x0;0 otherwise.

Exercise 75.

f(x,y)={(x+1)2+(y+1)22if x<y and y<2x and x>0;0elsewhere.

Exercise 78.

f(x,y)={x2+y2if x<y and y<2x and x>0;0elsewhere.

4. Download the exercises text document

The text document “Exercise notes on the differentiability of functions of two variables” with all the exercises and solutions can be viewed online and optionally downloaded. This is a file in pdf format. The text document is not small though: the size is about 110 megabytes due to many illustrations. The illustrations have a resolution of the industry standard 270 DPI. This enables the reader to reasonably enlarge it to see more detail. The text will also be ready to be printed on high resolution devices if necessary.

5. Searching for further information.

A good place to start is always wikipedia.

There are lots of websites that talk about the differentiability of functions of two variables. We give some suggestions for search strings in our favourite search engine. Just copy the following search strings to the right place in your browser.

If we just want general information:

differentiability in two variables

If we want information about the subject in the site stackexchange.

differentiability in two variables site:stackexchange.com

If we want information about the subject in the site google books.

books.google.com/advanced_book_search

Wikipedia is as always a very good site for mathematical information and is always a good starting point for more information.

differentiability in two variables site:wikipedia.org

If we want some information in .pdf format, then a good search string is

calculus of two variables pdf

Go to the top of this page. Go to the top.

Go to the home root of this site. Go to the home root of this site.