[step:Apply Fubini and the Fundamental Theorem of Calculus to each summand]Fix $i \in \{1, \dots, n\}$. Since $f_i$ is smooth and compactly supported, there exists $R > 0$ with $\operatorname{supp} f_i \subset [-R, R]^n$. Apply [Fubini's Theorem](/theorems/513) to the integrable function $\partial_{x_i} f_i$ — integrability holds because $\partial_{x_i} f_i$ is continuous and compactly supported, hence bounded with bounded support. Integrating $x_i$ last:
\begin{align*}
\int_{\text{model}} \frac{\partial f_i}{\partial x_i}\, d\mathcal L^n(x) &= \int_{x' \in \mathbb{R}^{n-1}_{\hat i}} \left( \int_{a}^{b} \frac{\partial f_i}{\partial x_i}(x)\, d\mathcal L^1(x_i) \right) d\mathcal L^{n-1}(x'),
\end{align*}
where $x' = (x_1, \dots, \widehat{x_i}, \dots, x_n) \in \mathbb{R}^{n-1}$, and the inner integration limits are $(a, b) = (-\infty, \infty)$ on $\mathbb{R}^n$, and $(a, b) = (-\infty, \infty)$ for $i < n$ on $\mathbb{H}^n$, and $(a, b) = (0, \infty)$ for $i = n$ on $\mathbb{H}^n$. The map $x_i \mapsto f_i(x', x_i)$ is smooth and compactly supported in $x_i$, so by the [Fundamental Theorem of Calculus](/theorems/632):
**Case I:** $(a, b) = (-\infty, \infty)$. Then
\begin{align*}
\int_{-\infty}^{\infty} \frac{\partial f_i}{\partial x_i}(x', x_i)\, d\mathcal L^1(x_i) &= \lim_{R \to \infty} \bigl( f_i(x', R) - f_i(x', -R) \bigr) = 0,
\end{align*}
since $f_i$ vanishes outside a compact set.
**Case II:** $(a, b) = (0, \infty)$, which occurs only when the model is $\mathbb{H}^n$ and $i = n$. Then
\begin{align*}
\int_{0}^{\infty} \frac{\partial f_n}{\partial x_n}(x', x_n)\, d\mathcal L^1(x_n) &= \lim_{R \to \infty} f_n(x', R) - f_n(x', 0) = -f_n(x', 0),
\end{align*}
again using compact support to discard the limit at $+\infty$.[/step]