Let $f,g :[0,1] \rightarrow \mathbb{R}$ be continuous functions such that for $a,b\in [0,1]$ , we have
$f(a)=f(b) \implies g(a)=g(b)$. Show that $g=h\circ f$ for some continuous function $h$.
Let $f,g :[0,1] \rightarrow \mathbb{R}$ be continuous functions such that for $a,b\in [0,1]$ , we have
$f(a)=f(b) \implies g(a)=g(b)$. Show that $g=h\circ f$ for some continuous function $h$.