1

Assuming $f:[a,b]\to\mathbb{R}$ is continuous, how do you prove that the following function is continuous?

$$h(x)=\sup\{f(t): t\leq x\}$$

aiki93
  • 867

1 Answers1

1

If $x<y$ and $|f(t)-f(x)|\le \delta$ for all $t\in [x,y]$ then $$ h(x) \le h(y) \le h(x)+\delta $$ since $$ h(y) = \max\{h(x),\sup\{f(t)\colon t \in [x,y]\}\} \le \max\{h(x),f(x)+\delta\} \le h(x)+\delta. $$