Proof (integral of scalar multiple)

First consider $\lambda > 0$.

To show that for any interval $I$, $\sup_I(\lambda f) = \lambda \sup_I f$, first $\lambda \sup_I f$ is an upper bound since $$ \begin{align*} f(x) \leq \sup_I f \implies \lambda f(x) \leq \lambda\sup_I f. \end{align*} $$ Also for any $\epsilon>0$, by definition of supremum, there exists $x\in I$ such that $$ \begin{align*} f(x) \geq \sup_I f - \frac{\epsilon}{\lambda} \implies \lambda f(x) \geq \lambda\sup_I f - \epsilon. \end{align*} $$ Hence $\sup_I(\lambda f) = \lambda\sup_I f$. Similarly $\inf_I(\lambda f) = \lambda\inf_I(\lambda f)$.

Therefore from definition, $U(\lambda f, \mathcal{D}) = \lambda U(f, \mathcal{D})$ and $L(\lambda f, \mathcal{D}) = \lambda L(f, \mathcal{D})$. Since $f$ is integrable, for all $\epsilon > 0$, there exists dissection $\mathcal{D}$ such that $$ \begin{align*} U(f,\mathcal{D}) &\leq \int_{a}^{b} f + \frac{\epsilon}{\lambda}, \\ L(f,\mathcal{D}) &\geq \int_{a}^{b} f - \frac{\epsilon}{\lambda}. \end{align*} $$ Therefore $$ \begin{align*} \lambda \int_{a}^{b} f -\epsilon &\leq \lambda L(f,\mathcal{D}) \\ &= L(\lambda f, \mathcal{D}) \\ &\leq I_\star(\lambda f) \\ &\leq I^\star(\lambda f) \\ &\leq U(\lambda f, \mathcal{D}) \\ &= \lambda U(f, \mathcal{D}) \\ &\leq \lambda\int_{a}^{b} f + \epsilon. \end{align*} $$ But $\epsilon$ is arbitrary so $I_\star(\lambda f) = I^\star(\lambda f) = \lambda \int_{a}^{b} f$.

Now consider $\lambda = -1$. We have $\sup_I(-f) = -\inf_I f$ since $-\inf_I f$ is an upper bound:

$$ \begin{align*} f(x) \geq \inf_I f \implies -f(x) \leq -\inf_I f \end{align*} $$ and for all $\epsilon>0$, there exists $x\in I$ such that $$ \begin{align*} f(x) \leq \inf_I f + \epsilon \implies -f(x) \geq -\inf_I f - \epsilon. \end{align*} $$ Similarly $\inf_I(-f) = -\sup_I f$. Therefore considering $\mathcal{D}$ as above, $$ \begin{align*} \int_{a}^{b} f - \epsilon &\leq L(f,\mathcal{D}) = -U(-f,\mathcal{D}) \\ \int_{a}^{b} f + \epsilon &\geq U(f,\mathcal{D}) = -L(-f,\mathcal{D}) \\ \end{align*} $$ so $$ \begin{align*} -\int_{a}^{b} f - \epsilon &\leq L(-f, \mathcal{D}) \\ &\leq I_\star(-f) \\ &\leq I^\star(-f) \\ &\leq U(-f, \mathcal{D}) \\ &\leq -\int_{a}^{b} f + \epsilon. \end{align*} $$ $\epsilon$ is arbitary so $I_\star(-f) = I^\star(-f) = -\int_{a}^{b} f$.

Combine the results for $\lambda\in\R$.