Maths WorkshopMaths problems with full solutions
Exercise 1498Calculus › Multivariable calculus › Partial derivativesL2Added 2 Nov 2026

Is a function $C^1$ on $\mathbb{R}^2$?

#continuity#partial derivatives#class C1

Statement

Let
f(x,y)={x3yx2+y2if (x,y)≠(0,0),0if (x,y)=(0,0).f(x,y) = \begin{cases} \dfrac{x^3 y}{x^2+y^2} & \text{if } (x,y) \neq (0,0), \\[2mm] 0 & \text{if } (x,y) = (0,0). \end{cases}
Show that ff is of class C1C^1 on R2\mathbb{R}^2.

Hint

Compute the partial derivatives on R2∖{(0,0)}\mathbb{R}^2 \setminus \{(0,0)\}, then study their continuity at (0,0)(0,0) by bounding with ∥(x,y)∥\|(x,y)\|.

Show solutionHide solution

Solution

Partial derivatives away from the origin. For (x,y)≠(0,0)(x,y) \neq (0,0),
∂f∂x=(3x2y)(x2+y2)−(x3y)(2x)(x2+y2)2=x2y(x2+3y2)(x2+y2)2.\frac{\partial f}{\partial x} = \frac{(3x^2 y)(x^2+y^2) - (x^3 y)(2x)}{(x^2+y^2)^2} = \frac{x^2 y(x^2+3y^2)}{(x^2+y^2)^2}.
Similarly,
∂f∂y=x3(x2+y2)−x3y(2y)(x2+y2)2=x3(x2−y2)(x2+y2)2.\frac{\partial f}{\partial y} = \frac{x^3(x^2+y^2) - x^3 y(2y)}{(x^2+y^2)^2} = \frac{x^3(x^2-y^2)}{(x^2+y^2)^2}.

Partial derivatives at (0,0)(0,0). By definition,
∂f∂x(0,0)=lim⁡h→0f(h,0)−f(0,0)h=lim⁡h→00h=0.\frac{\partial f}{\partial x}(0,0) = \lim_{h\to0} \frac{f(h,0)-f(0,0)}{h} = \lim_{h\to0} \frac{0}{h} = 0.
Similarly, ∂f∂y(0,0)=0\frac{\partial f}{\partial y}(0,0) = 0.

Continuity at (0,0)(0,0). Using ∣x∣≤∥(x,y)∥|x| \le \|(x,y)\| and ∣y∣≤∥(x,y)∥|y| \le \|(x,y)\|,
∣∂f∂x(x,y)∣≤∥(x,y)∥3⋅∥(x,y)∥⋅4∥(x,y)∥2∥(x,y)∥4=4∥(x,y)∥→0.\left|\frac{\partial f}{\partial x}(x,y)\right| \le \frac{\|(x,y)\|^3 \cdot \|(x,y)\| \cdot 4\|(x,y)\|^2}{\|(x,y)\|^4} = 4\|(x,y)\| \to 0.
So ∂f∂x\frac{\partial f}{\partial x} is continuous at (0,0)(0,0), and similarly for ∂f∂y\frac{\partial f}{\partial y}.

Conclusion. The partial derivatives exist and are continuous on R2\mathbb{R}^2, so ff is C1C^1.