2
$\begingroup$

If $f$ is continuous at $(0,0)$, is $g(x) := f(x, \sin x)$ continuous at $0$?

Intuitively this seems true because as you approach 0 the $\sin$ function also approaches 0 from both sides. Any push on how to prove this would be appreciated!

2 Answers 2

8

You can also use sequences: If $(x_n)$ is a sequence with $x_n\to0$ then also $\sin x_n\to0$, so the continuity of $f$ at $(0,0)$ implies that $g(x_n) = f(x_n,\sin x_n) \to f(0,0) = g(0)$.

This is a special case of a more general theorem: If $h$ is continuous at $a$ and $f$ is continuous at $h(a)$, then $g = f\circ h$ is continuous at $a$. In the above example one has $h(x) = (x,\sin x)$ and $a=0$.

4

Since $f$ is continuous at $(0,0)$ you know that for all $\varepsilon\gt 0$ there exists $\delta\gt 0$ such that $|x|+|\sin x|\lt\delta$ implies $|f(x,\sin x) - f(0,0)|\lt\varepsilon$. Since $|f(x,\sin x)-f(0,0)|=|g(x)-g(0)|$, it will be enough to show that there is a $\delta'\gt 0$ such that $|x|\lt\delta'$ implies $|x|+|\sin x| <\delta$.

  • 1
    It might be helpful to note $|sinx|\leq|x|\;\;\;\forall x\in R$.2011-01-30
  • 0
    Your first sentence, this is from the limit definition of multi variable funtions? Wouldn't it be $\sqrt{x^2 + sinx} < \delta$ ? Sorry I'm trying to understand where that's coming from!2011-01-30
  • 1
    @Fdart17: Do you mean $\sqrt{x^2+\sin^2 x}$? These are 2 equivalent ways to state continuity for multivariable functions, and they come from 2 equivalent ways to measure distances between points. If you prefer to use the Euclidean distance, feel free. If you like working with sequences, $((x_n,y_n))_n^\infty$ converges to $(x,y)$ if and only if $(x_n)$ converges to $x$ and $(y_n)$ converges to $y$.2011-01-30
  • 0
    Yes that's a typo sorry thanks.2011-01-30
  • 0
    What I'm having trouble wrapping my head around is how the fact that $f(x,y)$ is continuous at $(0,0)$ guarantees that if $\sqrt{x^2+\sin^2 x}$ then $|f(x,\sin x) - f(0,0)|\lt\varepsilon$. Because $f(x,y)$ is not the same as $f(x, sinx)$??2011-01-30
  • 0
    Oops, looking over my question I realize that I forgot to mention that $f$ was a funtion of $x$ and $y$2011-01-30
  • 1
    @Fdart17: It is just a special case. $f$ is continuous at $(0,0)$ means that for all $\varepsilon\gt0$ there is a $\delta\gt0$ such that $\sqrt{x^2+y^2}<\delta$ implies $|f(x,y)-f(0,0)|<\varepsilon$. This is true for all $(x,y)$ satisfying the condition, so in particular it holds if $y=\sin(x)$ and $\sqrt{x^2+\sin^2x}<\delta$.2011-01-30