I'm looking for a continuous function $f$ defined on the compact interval $[0,1]$ which is not of bounded variation.
I think such function might exist. Any idea?
Of course the function $f$ such that $$ f(x) = \begin{cases} 1 & \text{if $x \in [0,1] \cap \mathbb{Q}$} \\\\ 0 & \text{if $x \notin [0,1] \cap \mathbb{Q}$} \end{cases} $$ is not of bounded variation on $[0,1]$, but it is not continuous on $[0,1]$.