# Rieman Integrability

Suppose $f,g:[a,b]\rightarrow\mathbb{R}$ are integrable on $[a,b]$.

Show that the function $k:[a,b]\rightarrow\mathbb{R}$ defined as $k(x)=\mathrm{max}\{f(x),g(x)\}$ is also integrable on $[a,b]$.

### Observe that

Observe that

 $max(f,g)=\frac{f+g+|f-g|}{2}$

As f and g are Riemann integrable, it is easy now, if you already now that sums of integrable functions are integrable as well as the absolute value of integrable functions, and division (which is trivial). The best way, I think, of proving that the abolute value is integrable is using the definition of Darboux integrable, which is equivalent to Riemann integral, but is a little simpler I think.

### Another way to see that the

Another way to see that the absolute value is integrable is by using Riemann’s criteria of integrability. If f is integrable, then its set of descontinuity points has measure zero, so does $|f|$, so $|f|$ is Riemann integrable.