3.7. Reduction of Riemann-Stieltjes Integrals to Finite Sums#
Function \(\alpha\) in Theorem 3.7 is a special case of step functions.
(Step Functions)
A function defined on \([a, b]\) is called a step function if there is a partition
such that \(\alpha\) is constant on \((x_{k-1}, x_k)\) for \(k=2, \ldots, n\).
The number \(\alpha(x_k+) - \alpha(x_k-)\) is defined as the jump at point \(x_k\) for \(k=2, \ldots, n-1\).
At the left endpoint \(x=a\), the jump is defined as \(\alpha(a+) - \alpha(a)\). Similarly, at the right endpoint \(x=b\), the jump is defined as \(\alpha(b) - \alpha(b-)\).
Note
It is possible that \(\alpha(x_k+) = \alpha(x_k -)\). In this case, the jump at \(x_k\) is zero. But this does not mean that \(\alpha\) is constant on \((x_{k-1}, x_{k+1})\) because we might have \(x_k \neq x_k+\).
Step functions provide the link between the Riemann-Stieltjes integrals and the finite sums of functions.
Let \(\alpha\) be a step function on \([a, b]\). Let \(x_1, \ldots, x_n\) be the same as in Definition 3.2 and \(\alpha_k\) be the jump at \(x_k\).
Let \(f\) be a function defined on \([a, b]\) such that
at least one of \(f\) and \(\alpha\) is continuous from the left at \(x_k\), and
at least one of \(f\) and \(\alpha\) is continuous from the right at \(x_k\) for \(k=2, \ldots, n-1\). And for \(k=1\) and \(k=n\), at least one of \(f\) and \(\alpha\) is continuous from one side at the endpoint.
Then, \(f \in \mathfrak{R}(\alpha)\) on \([a, b]\), and we have
Proof. Consider a partition \(P = \{s_0, s_1, \ldots, s_n\}\) on \([a, b]\) where \(s_k\) satisfies that
Then, we have \(x_k \in (s_{k-1}, s_k) \; \forall k = 2, \ldots, n-1 \). Note that the condition of Theorem 3.7 is satisfied on each subinterval \([s_{k-1}, s_k], \; k=2, \ldots, n-1\). Therefore, \(f \in \mathfrak{R}(\alpha)\) on \([s_{k-1}, s_k]\), and
By Proposition 3.2, we know that (3.14) also holds for \(k=1\) and \(k=n\). Then by Theorem 3.3, \(f\) is integrable on the entire interval \([a, b]\). We may then conclude this proof by summing up (3.14) over all \(k\).
Substitute \(\alpha(x) = \floor{x}\) in (3.13), we will obtain a formula for representing any finite sum using an integral.
Given a finite sum \(\sum_{k=1}^n a_k\). We have
where \(a_0\) is an arbitrary constant.
Proof. Let \(\alpha(x) = \floor{x}\) on \([a, b]\). Define a function \(f\) on \([0, n]\) by
Note that \(\alpha\) is continuous from the right at \(x=0, 1, \ldots, n-1\), and \(f\) is continuous from the left at \(x=1, 2, \ldots, n\). Therefore, (3.13) is applicable. It yields that
This completes the proof.
Of course, the construction of \(f\) is not unique. The construction is valid as long as \(f(k) = a_k\) and is continuous from the left at \(x=1, \ldots, n\). One may define \(f\) by applying the linear interpolation (or polynomial interpolation or spline interpolation, etc.) on the data \((1, a_1), \ldots, (n, a_n)\), in which case \(f\) is continuous on the entire interval \([0, n]\). But I prefer the one given in the proof since this makes both floor and ceiling functions appear in (3.15), which makes the formula prettier.