|
|
Most of the cooked up examples for such issues as continuity and differentiability in two variables can be understood easily by moving into polar coordinates. I'll demonstrate it on your two examples.
- Writing $f$ in polar coordinates, we have
$$ f(r, \theta) = \frac{r\cos(\theta)r\sin(\theta)}{r^2\cos^2(\theta) - r^2\sin^2(\theta)} = \frac{1}{2} \tan(2\theta). $$
From here, you immediately see that this function does not depend on $r$, depends on $\theta$, and you expect problems at $\theta = \frac{\pi}{4}, \frac{3\pi}{4}, \frac{5\pi}{4}, \frac{7\pi}{4}$. And indeed, your function is not defined at $y = \pm x$, and as you approach on a ray with angle $\theta$, you are constant on that ray, but with a result that depends on $\theta$, so you have multiple limits, and the function has no limit at $(x,y) = (0,0)$.
- Writing $g$ in polar coordinates, we have
$$ g(r, \theta) = r\cos(\theta)|\sin(\theta)|. $$
This one looks better. It is defined everywhere, as $(x,y) \rightarrow (0,0)$, you must have that $r \rightarrow 0$, and so the function approaches $0$ and hence continuous. Considering the derivative, we see that the absolute value might screw things up when $\sin(\theta) = 0$. That is, at $\theta = 0$, you have two different tangents when you approach from the left or from the right on $|\sin(\theta)|$. This also implies that the problem will be only with $\theta$, not with $r$. And indeed, the partial derivatives $\frac{\partial}{\partial x}, \frac{\partial}{\partial y}$ exist at $(0,0)$ and are both equal to $0$ but still, the function is not differentiable. To prove that, you know that if the function would be differentiable, the differential would be the zero map. Thus, you would have
$$ \lim_{(x,y) \rightarrow 0} \frac{g(x,y) - g(0,0) - 0x - 0y}{\sqrt{x^2 + y^2}} = \lim_{(x,y) \rightarrow 0} \frac{x|y|}{x^2 + y^2} = 0. $$
As this is not the case (again, write it in polar coordinates if you don't see why), $g$ is not differentiable at $(0,0)$.
|
|
answered
Nov 6 '12 at 2:59
|
|