Prove or disprove: If $f$ is non-decreasing real valued function on $[0,1]$ then there is a sequence $f_n$ of continuous function on $[0,1]$ such that for each x $ \in [0,1] $, we have $f_n(x)$ converges to $f(x)$
I am thinking of If assume f is continuous then we can find sequence of polynomial $p_n(x)$ which converges to $f$ even uniformly. but f is not given to be continuous then how do we do? any suggestions and hints are welcomed.
The answer is "yes". Let $B$ denote the set of functions which are the pointwise limit of continuous functions (this set is usually called the set of Baire class 1 functions).
Let $S$ denote the set of step functions over $[0,1]$. You can prove the following facts:
$S$ is a subset of $B$
every non-decreasing function is the uniform limit of a sequence of functions in $S$
$B$ is closed under uniform limits
Putting these together yields an answer to your question.
Note that, since the set of points of continuity of Baire class 1 functions is dense, the set of points of continuity of any monotonic function is dense !