2

Show that every continuous function $f$ over $\mathbb{R}$ can be written as $f = g-h$ where $g,h$ are nonnegative and continuous.

We have three cases. Either $f$ is strictly, nonnegative, nonpositive, or both. In the first case we can always break up a continuous function $f$ as $f = f-0$. Thus since $f$ and $0$ are continuous we are done. I am unsure about the other two cases, though.

Puzzled417
  • 6,956

1 Answers1

4

$f^{+}:=\max\{f,0\}$ ($\max$ taken pointwise) is continuous, since

$$f^{+}=\frac{|f|+f}{2}.$$

Analogously, $f^{-}:=-\min\{f,0\}$ is also continuous. Note that $f=f^{+}-f^{-}$.