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

Click For Summary
SUMMARY

The function \( f(x,y)=\frac{x}{y}+\frac{y}{x} \) is differentiable and belongs to class \( C^1 \) on its domain \( 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} \) and \( \frac{\partial{f}}{\partial{y}}=\frac{-x^2+y^2}{xy^2} \) are continuous on \( D \), confirming the differentiability of \( f \). The discussion emphasizes that the existence and continuity of partial derivatives in a neighborhood imply differentiability at any point within that neighborhood.

PREREQUISITES
  • Understanding of partial derivatives
  • Familiarity with differentiability in multivariable calculus
  • Knowledge of class \( C^1 \) functions
  • Basic concepts of limits in \( \mathbb{R}^2 \)
NEXT STEPS
  • Study the implications of the Mean Value Theorem in multivariable calculus
  • Learn about the continuity of functions in \( \mathbb{R}^2 \)
  • Explore the relationship between differentiability and continuity for functions of several variables
  • Investigate examples of functions that are differentiable but not \( C^1 \)
USEFUL FOR

Mathematics students, educators, and researchers interested in multivariable calculus, particularly those focusing on differentiability and continuity of functions in \( \mathbb{R}^2 \).

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
496
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K