I'm trying to prove:
$f,g$ integrable, then $\max \{f,g\}$ and $\min\{f,g\}$ are integrable. Since $f$ is integrable, then, by this definition of integrability:
$$S(f,P)-s(f,P) <\epsilon$$ *same for $g$.
I'll name $\phi = \max\{f,g\}$ and $\psi = \min\{f, g\}$
We have to prove that:
$$S(\phi, P)-s(\phi, P)<\epsilon$$
where:
$$S(\phi, P) = \sum M_i(t_{i}-t_{i-1})$$
Being $M_i = \sup{\phi(x)} = \sup{\max\{f(x), g(x)\}}$ in the interval $[t_{i-1}, t_i]$
and the similar definition for $s(\phi, P)$
The question is: what does the $\sup$ of the $\max$ even means?