Is the Function $f(x,y)=\frac{x}{y}+\frac{y}{x}$ Differentiable and $C^1$?

Click For Summary

Discussion Overview

The discussion revolves around the differentiability and class $C^1$ status of the function $f(x,y)=\frac{x}{y}+\frac{y}{x}$ within its domain, which excludes points where either $x$ or $y$ equals zero. Participants explore the implications of the existence and continuity of partial derivatives in determining differentiability.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants assert that the function is $C^1$ and differentiable based on the continuity of its partial derivatives in the domain.
  • Others question whether the definition of differentiability requires showing that the limit condition holds at each point, not just the existence of partial derivatives.
  • A later reply references a proposition from a wiki source, suggesting that if all partial derivatives exist and are continuous in a neighborhood, the function is differentiable at that point.
  • Some participants discuss the implications of applying the definition of differentiability directly versus using the proposition, indicating a preference for the latter as it may simplify the proof.
  • There is a mention of needing to consider the domain as a neighborhood of points in $\mathbb{R}^2$, excluding the origin.
  • One participant expresses uncertainty about alternative methods to demonstrate differentiability without showing continuous differentiability.

Areas of Agreement / Disagreement

Participants exhibit a mix of agreement and disagreement regarding the sufficiency of the conditions for differentiability. While some support the proposition that continuity of partial derivatives implies differentiability, others emphasize the need for a more rigorous application of the definition at specific points.

Contextual Notes

Limitations include the assumption that the continuity of partial derivatives in a neighborhood is sufficient for differentiability, which some participants challenge. The discussion also highlights the need for clarity on the definitions and conditions under which differentiability is assessed.

evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)

Suppose that we want to check if $f(x,y)=\frac{x}{y}+\frac{y}{x}$ is differentiable at each point of its domain and if it is $C^1$.

The domain is $D=\{ (x,y) \in \mathbb{R}^2: x \neq 0 \text{ and } y \neq 0\}$.The partial derivatives :

$$\frac{\partial{f}}{\partial{x}}=\frac{x^2-y^2}{x^2 y} \\ \frac{\partial{f}}{\partial{y}}=\frac{-x^2+y^2}{xy^2}$$

are continuous on $D$. So $f$ is $C^1$ and so it is differentiable.

Does this suffice?

Because there is the following definition:

Let $f: \mathbb{R}^2 \to \mathbb{R}$. We say that $f$ is differentiable in $(x_0, y_0)$, if $\frac{\partial{f}}{\partial{x}}$ and $\frac{\partial{f}}{\partial{y}}$ exist in $(x_0, y_0) $ and

$$\frac{f(x,y)-f(x_0, y_0)- \left[ \frac{\partial{f}}{\partial{x}}(x_0, y_0)\right](x-x_0)-\left[ \frac{\partial{f}}{\partial{y}}(x_0, y_0)\right](y-y_0) }{||(x,y)-(x_0, y_0)||} \to 0$$while $(x,y) \to (x_0, y_0)$.Don't we have to show the latter?
 
Physics news on Phys.org
evinda said:
Hello! (Wave)

Suppose that we want to check if $f(x,y)=\frac{x}{y}+\frac{y}{x}$ is differentiable at each point of its domain and if it is $C^1$.

The domain is $D=\{ (x,y) \in \mathbb{R}^2: x \neq 0 \text{ and } y \neq 0\}$.The partial derivatives :

$$\frac{\partial{f}}{\partial{x}}=\frac{x^2-y^2}{x^2 y} \\ \frac{\partial{f}}{\partial{y}}=\frac{-x^2+y^2}{xy^2}$$

are continuous on $D$. So $f$ is $C^1$ and so it is differentiable.

Does this suffice?

Because there is the following definition:

Let $f: \mathbb{R}^2 \to \mathbb{R}$. We say that $f$ is differentiable in $(x_0, y_0)$, if $\frac{\partial{f}}{\partial{x}}$ and $\frac{\partial{f}}{\partial{y}}$ exist in $(x_0, y_0) $ and

$$\frac{f(x,y)-f(x_0, y_0)- \left[ \frac{\partial{f}}{\partial{x}}(x_0, y_0)\right](x-x_0)-\left[ \frac{\partial{f}}{\partial{y}}(x_0, y_0)\right](y-y_0) }{||(x,y)-(x_0, y_0)||} \to 0$$while $(x,y) \to (x_0, y_0)$.Don't we have to show the latter?

Hi evinda! (Smile)

From wiki:
If all the partial derivatives of a function all exist and are continuous in a neighborhood of a point, then the function must be differentiable at that point, and it is of class $C^1$.
In this case we know that all the partial derivatives of the function all exist and are continuous in a neighborhood of a point, so it's indeed differentiable.

The definition you mention does not require the partial derivatives in a neighborhood, but only at the point itself.
As a consequence there's more to prove, which is implicitly true if we have the partial derivatives in a neighborhood. (Nerd)
 
I like Serena said:
Hi evinda! (Smile)

From wiki:
If all the partial derivatives of a function all exist and are continuous in a neighborhood of a point, then the function must be differentiable at that point, and it is of class $C^1$.
In this case we know that all the partial derivatives of the function all exist and are continuous in a neighborhood of a point, so it's indeed differentiable.



In this case, the partial derivatives of the function all exist and are continuous in the domain of the function, right?
So can we consider the domain to be a neighborhood of any possible point $\in \mathbb{R}^2$ ?

I like Serena said:
As a consequence there's more to prove, which is implicitly true if we have the partial derivatives in a neighborhood. (Nerd)

What do you mean?
 
evinda said:
In this case, the partial derivatives of the function all exist and are continuous in the domain of the function, right?
So can we consider the domain to be a neighborhood of any possible point $\in \mathbb{R}^2$ ?

Any point except (0,0). (Thinking)

What do you mean?

What you gave is the definition of differentiability at a point.
We took a proposition from wiki. Applying that proposition is easier than trying to apply the definition directly. (Thinking)
 
I like Serena said:
Any point except (0,0). (Thinking)

(Nod)

I like Serena said:
What you gave is the definition of differentiability at a point.
We took a proposition from wiki. Applying that proposition is easier than trying to apply the definition directly. (Thinking)

We only apply the definition if we are given a specific point and want to check if the function is differentiable at this point, right?
 
Also, how else could we show that $f$ is differentiable without showing that it is continuously differentiable?
 
evinda said:
We only apply the definition if we are given a specific point and want to check if the function is differentiable at this point, right?
Right. (Nod)
evinda said:
Also, how else could we show that $f$ is differentiable without showing that it is continuously differentiable?
I'm not aware of another way. (Thinking)
 
Ok, thank you! (Smile)
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 0 ·
Replies
0
Views
625
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K