Mathematics — Real Analysis · monotone-functions-continuity
Problem
Prove that the Dirichlet function f:[0,1]→R, defined by f(x):−1 if x is rational and f(x):−0 otherwise, cannot be written as a difference of two increasing functions. That is, there do not exist increasing g and h such that f(x)=g(x)−h(x).