Exercise:
Suppose that $f$ is continuous on $[a,b]$ and that $F(x) = \sup f([a,x])$. Prove that $F$ is continuous on $[a,b]$ .
Attempt of proof: Suppose that $f$ is continuous on $[a,b]$ and that $F(x) = \sup f([a,x])$. Then since $f$ is continuous on [a,b]. Then by definition $f$ is continuous at a point $c$ in $(a,b)$ iff for every $ε > 0$ there is a $δ > 0$ such that $|c-x| < δ$ $→$ $|f(c) - f(x)| < ε$. Then we need to show $F$ is continuous.
Then let $ε > 0$, then there is a $δ>0$ such that $|c-x| < δ$.
Then, $|F(c) - F(x)| = |\sup f([a,c)] - \sup f([a,x)]|$.
Can someone please help me? I am stuck and don't know how to continue. Thank you in advance.