[Math] Composition of functions is continuous

calculuscontinuityexamples-counterexamplesfunctionsreal-analysis

If $f$ any $g$ be two functions defined from $[0,1]$ to $[0,1]$ with $f$ strictly increasing. Then

  1. if $g$ is continuous, is $f\circ g$ continuous?

  2. if $f$ is continuous, is $f\circ g$ continuous?

  3. if $f$ and $f\circ g$ are continuous, is $g$ continuous?

Here, $f\circ g$ implies composition of $f$ and $g$. I think the answer to the third is yes by using the fact that preimage of an open set under a continuous map is open? Any idea .Thanks.

Best Answer

$(3)$:Since $f$ is increasing it is injective and hence has a left inverse .

Moreover $f$ is given to be continuous so the left inverse is also so and hence $f^{-1}\circ (f\circ g)=g$ is continuous which proves $3$.

$(1)$: $f(x)=$\begin{cases} x & x\in [0,\frac{1}{2}]\\\frac{x}{2}&x\in (\frac{1}{2},1]\end{cases}

and $g(x)=x$,then $f\circ g$ is discontinuous at $\frac{1}{2}$.

$(2)$: $f(x)=x^2$;

$g(x)=$\begin{cases} 1 & x\in \Bbb Q\cap[0,1]\\0 &x\in \Bbb Q^c\cap [0,1]\end{cases};then $f\circ g$ is discontinuous