[Math] Extending Function to Make it Continuous

continuitymultivariable-calculus

I've been struggling with extending this function to make it continuous:

$$f(x,y)=\frac{1}{x}\sin\left(\frac{x^3}{x^2+y^2}\right)$$

So, the domain is $\mathbb{R}^2\backslash\{(0,y):y\in\mathbb{R}\}$.

Set of limit points of the domain is obviously $\mathbb{R}^2$.

I'm not sure how to approach this problem because none of the methods we've done in class work.
I'm not even sure how to a priori assume whether I can or can't extend this function to be continuous (or even in which points is it possible to do so).
This is all new to me so I would appreciate any help or advice on how to predict the behaviour of this function.

Thanks in advance.

Best Answer

This function cannot be extended continuously to the entire plane $\mathbb{R}^2$, because there are points on the line $x=0$ such that your function $f$ approaches different limits from different directions.

For example, consider the point $P=(0,0)$, which does not lie in the domain of $f$, and consider the limit of $f(x,y)$ as $(x,y)$ approaches this point along the two lines $y=0$ and $y=x$. Clearly $f$ is defined at all points on these lines except $P$.

On the line $y=0$, $f(x,y)=f(x,0)=\frac{1}{x}sin(\frac{x^3}{x^2+0})=\frac{1}{x}sin(x)=\frac{sin(x)}{x}$.

So using l'Hopitals rule, we see that $lim_{x\rightarrow 0}\frac{sin(x)}{x}=lim_{x\rightarrow 0}\frac{cos(x)}{1}=cos(0)=1$.

Similarly, on the line $y=x$, $f(x,y)=f(x,x)=\frac{1}{x}sin(\frac{x^3}{x^2+x^2})=\frac{1}{x}sin(\frac{1}{2}x)$,

and again, using l'Hopital's rule, $lim_{x\rightarrow 0}\frac{sin(\frac{1}{2}x)}{x}=lim_{x\rightarrow 0}\frac{\frac{1}{2}cos(\frac{1}{2}x)}{1}=\frac{1}{2}cos(0)=\frac{1}{2}$.

This proves that the limit of $f$ as $(x,y)$ approaches $P$ is undefined, and so $f$ cannot be extended continuously to the whole plane.