Let $D$ be a bounded subset of $\mathbb{R}$ and $f: D \rightarrow \mathbb{R}$ be a bounded function. Suppose $D \subseteq[a, b]$ for $a, b \in \mathbb{R}$ and $f^{*}:[a, b] \rightarrow \mathbb{R}$ is defined by
$$f^{*}(x):=\left\{\begin{array}{ll}
f(x) & \text { if } x \in D \\
0 & \text { otherwise }
\end{array}\right.$$
The function $f$ is said to be integrable (on $D)$ if the function $f^{*}$ is integrable (on $[a, b])$. In this case, we define the Riemann integral of $f$ $($ on $D)$ by
$$
\int_{D} f(x) d x:=\int_{a}^{b} f^{*}(x) d x
$$
(i) Show that the above definition is independent of the interval $[a, b]$ containing $D$.
(ii) Show that analogues of Propositions $6.15$ and $6.18$ hold for integrable functions on $D$.