1
$\begingroup$

Let $f(x) = [x]$ and $$ g(x)=\begin{cases} 0&\text{if}\;x \in \Bbb Z\\x^2&\text{otherwise}\end{cases}$$ Is $g\circ f$ continuous?

I know conditions of continuity but in case of composition of discontinuous functions shouldn't the composition be always discontinuous since the domain of the outer function is always discontinuous because of the discontinuous function inside? P.S: $[ . ]$ is greatest integer function . My book says it is continuous for all x.

$\endgroup$
0
$\begingroup$

$g\circ f$ is not continuous at $\sqrt n$ for $n \in \mathbb N$ as

$(g \circ f)(x) = n-1$ for $x \in (\sqrt{n -1}, \sqrt {n})$ and $(g \circ f)(x) = n$ for $x \in (\sqrt{n}, \sqrt {n+1})$.

And the composition of two discontinuous maps may be continuous.

Take for example

$$f(x)= \begin{cases} 0 & \mbox{for} & x\le 0\\ 1 & \mbox{for} & x>0 \end{cases}$$ and $$g(x)= \begin{cases} 0& \mbox{for} & x\le -1\\ 1 & \mbox{for} & x>-1 \end{cases}$$

$g\circ f$ is a constant map equal to $1$.

$\endgroup$
2
  • $\begingroup$ Is composition of two discontinuous functions always discontinuous? $\endgroup$ – Jor_El Jan 20 '19 at 13:41
  • $\begingroup$ No. See the example I added to,my answer. $\endgroup$ – mathcounterexamples.net Jan 20 '19 at 13:42
0
$\begingroup$

A simple example of the composition of two discontinuous functions giving a continuous one.

$$f(x)=\{x\}$$

and

$$g(x)=x(1-x)+\lfloor x\rfloor.$$

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.