Where are these functions continuous?

61 Views Asked by At

Let $f(x,y) = \frac{1 - \cos(x+y) }{x^2+y^2}$ if $(x,y) \neq (0,0) $, with $f(0,0) = \frac {1}{2}$

Let $g(x,y) = \frac{1- \cos(x+y)}{(x+y)^2} $ if $ x +y \neq 0$ with $ g(x,y) = \frac{1}{2}$ if $x+y =0$

Which of the following statements are correct?

  1. $f$ is continuous at $(0,0)$
  2. $f$ is continuous everywhere except at $(0,0)$
  3. $g$ is continuous at $(0,0)$
  4. $g$ is continuous everywhere

I take $1 - \cos(x+y) = 2\sin^2(\frac{x+y}{2}) \le 2 \frac{ x^2 +y^2 }{4}$

Now $f (x,y) =\frac{ 2\sin^2(\frac{x+y}{2})}{x^2+y^2} \le \frac {2 \frac{ x^2 +y^2 }{4}}{x^2+y^2} \le \frac{1}{2}$

This makes option $1$ is correct.

I'm confused about the other options, and any hints or solution will be appreciated.

2

There are 2 best solutions below

1
On BEST ANSWER

Using your substitutions, $$f(x,y) = \frac{2 \sin^2\left(\frac{x+y}{2}\right)}{x^2+y^2} $$ and thus, seeing that $\sin^2 \alpha \simeq \alpha^2$ as $\alpha \to 0$ in first-order approximation, we get $$\lim_{(x,y) \to (0,0)} \frac{2 \sin^2\left(\frac{x+y}{2}\right)}{x^2+y^2} = \lim_{(x,y)\to(0,0)} \frac 1 2 \frac{\left(x+y\right)^2}{x^2+y^2} = \lim_{(x,y)\to(0,0)} \left[\frac 1 2 + \frac{xy}{x^2 + y^2} \right]$$ and this limit does not exist. To see this, pull $1/2$ out of the limit and substitute $x = r\cos \theta$, $y = r \sin\theta$: then $x^2 + y^2 = r^2$ and $$= \frac 1 2 +\lim_{r \to 0} \frac{r^2 \cos\theta \sin\theta}{r^2} = \frac 1 2 +\cos\theta\sin\theta $$ and this value depends on $\theta$, i.e. on the angle that we are approaching the origin from. So option 1. is incorrect. Statement 2., instead, is correct: we've seen that this function cannot be continuous at the origin, but elsewhere it is a combination of continuous functions and thus must be continuous.

Instead, by seeing that $$g(x,y) = \frac{2 \sin^2\left(\frac{x+y}{2}\right)}{(x+y)^2},$$ we obtain, by the same arguments as before, $$\lim_{(x,y) \to (0,0)} \frac{2 \sin^2\left(\frac{x+y}{2}\right)}{(x + y)^2} = \lim_{(x,y)\to(0,0)} \frac 1 2 \frac{\left(x+y\right)^2}{(x+y)^2} = \frac 1 2$$ so even option 3. is correct.

The function $g$ is surely continuous wherever $x + y \neq 0$ by the same arguments as in the discussion of option 2. Now pick a point $(a,b)$ with $a+b =0$, that is, $b = -a$. This point lies on the line with slope $-1$ passing through the origin. Then $$\lim_{(x,y) \to (a,-a)} \frac{2 \sin^2\left(\frac{x+y}{2}\right)}{(x+y)^2} = \lim_{(x,y) \to (a,-a)}2 \frac{ \left(\frac{x+y}{2}\right)^2}{\left(x+y\right)^2} = \frac 1 2$$ and thus even statement 4. is correct. (Notice that this implies that statement 3. is correct, so it would have sufficed to show this.)

2
On

Again, the question is to essentially find $\lim_{(x,y) \to (0,0)} f(x)$ and similarly for $g(x)$.

For $f(x)$, we have $\frac{1 - \cos(x+y)}{x^2 + y^2}$. I claim that this limit actually does not exist since it depends upon the path of approach to $0$.

For example, if we approach $(0,0)$ along the line $y = x$ we get the limit $\lim_{x \to 0} \frac{1-\cos 2x}{2x^2} = 1$, which is not equal to $f(0,0)$.

In the case of $g(x)$, let $(x_0,-x_0)$ be any point that satisfies $x+y = 0$. Then, $\lim_{(x,y) \to (x_0,-x_0)} \frac{1-\cos(x+y)}{(x+y)^2}$ exists and equals $\frac 12$, since $1 - \cos(x+y) = 2\sin^2(\frac{x+y}{2})$, therefore: $$ \lim_{(x,y) \to (x_0,y_0)} \frac{1-\cos(x+y)}{(x+y)^2} = \lim \frac{2\sin^2(\frac {x+y}2)}{4(\frac{x+y}{2})^2} \\ = \frac12\lim \left(\frac{\sin(\frac{x+y}2)}{\frac{x+y}2}\right)^2 = \frac 12 \times 1^2 = \frac 12 $$

Hence $g(x,y)$ is continuous everywhere.