Riemann Integrals of Real Functions#
Definition: partition
A partition of a compact interval \([a,b]\) is a set
with \(a = x_0 \lt x_1 \lt \cdots \lt x_n = b\).
Definition: Darboux Sums
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function which is bounded on some compact interval \([a,b] \subseteq \mathcal{D}\) and let \(P = \{x_0, x_1, \dotsc, x_n\}\) be a partition of \([a,b]\).
The lower Darboux sum of \(f\) with respect to \(P\) is defined using the infima of \(f\), on each interval \([x_{i-1}; x_i]\):
The upper Darboux sum of \(f\) with respect to \(P\) is defined using the suprema of \(f\), on each interval \([x_{i-1}; x_i]\):
Definition: Darboux Integrals
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function which is bounded on a compact interval \([a,b] \subseteq \mathcal{D}\).
The lower Darboux integral of \(f\) on \([a,b]\) is the supremum of all its lower Darboux sums on \([a,b]\):
The upper Darboux integral on \([a,b]\) of \(f\) is the infimum of all its upper Darboux sums on \([a,b]\):
Definition: Riemann Integral
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function which is bounded on a compact interval \([a,b] \subseteq \mathcal{D}\).
We say that \(f\) is Riemann-integrable on \([a,b]\) if its lower Darboux integral and upper Darboux integral on \([a,b]\) are equal. This common value is the Riemann integral of \(f\) on \([a,b]\).
Notation
The Riemann integral of \(f\) on \([a,b]\) is denoted by
where \(x\) is just a label.
We additionally use the following notation to simplify the wording of some theorems:
Definition: Local Riemann Integrability
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function.
We say that \(f\) is locally Riemann-integrable on an arbitrary interval \(I \subseteq \mathcal{D}\) if it is Riemann-integrable on every compact interval contained in \(I\).
Theorem: Linearity of the Riemann Integral
Let \(f: \mathcal{D}_f \subseteq \mathbb{R} \to \mathbb{R}\) and \(g: \mathcal{D}_g \subseteq \mathbb{R} \to \mathbb{R}\) be real functions.
If \(f\) and \(g\) are Riemann-integrable on a compact interval \([a,b] \subseteq \mathcal{D}_f \cap \mathcal{D}_g\), then so is \(\lambda f + \mu g\) for all \(\lambda,\mu \in \mathbb{R}\) with
Proof
TODO
Theorem: Domain Additivity for Riemann Integrals
Let \([a, b] \subset \mathbb{R}\) be a compact interval and let \(c \in (a,b)\).
A real function \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) (where \(\mathcal{D} \supset [a,b]\)) is Riemann-integrable on \([a,b]\) if and only if it is Riemann-integrable on \([a,c]\) and \([c, b]\). Moreover:
Proof
TODO
Theorem: Riemann Integral under Alterations
Let \(f: \mathcal{D}_f \subseteq \mathbb{R} \to \mathbb{R}\) and \(g: \mathcal{D}_g \subseteq \mathbb{R} \to \mathbb{R}\) be real functions, let \([a,b] \subseteq \mathcal{D}_f \cap \mathcal{D}_g\) be a compact interval and \(X = \{x \in [a, b] \mid f(x) \ne g(x)\}\).
If \(f\) is Riemann-integrable on \([a,b]\) and \(X\) is finite, then \(g\) is also Riemann-integrable on \([a,b]\) with
Proof
TODO
Theorem: Inequality \(\implies\) Riemann Integral Inequality
Let \(f: \mathcal{D}_f \subseteq \mathbb{R} \to \mathbb{R}\) and \(g: \mathcal{D}_g \subseteq \mathbb{R} \to \mathbb{R}\) be real functions which are Riemann-integrable on a compact interval \([a,b] \subseteq \mathcal{D}_f \cap \mathcal{D}_g\).
If \(f(x) \le g(x)\) for all \(x \in [a,b]\), then
Proof
TODO
The Mean Value Theorem for Riemann Integrals
Let \(f: \mathcal{D}_f \subseteq \mathbb{R} \to \mathbb{R}\) and \(g: \mathcal{D}_g \subseteq \mathbb{R} \to \mathbb{R}\) be real functions and let \([a,b] \subseteq \mathcal{D}_f \cap \mathcal{D}_g\) be a compact interval.
If \(f\) is continuous on \([a,b]\) and \(g\) is Riemann-integrable on \([a,b]\) and does not change sign on \([a,b]\), then the product \(fg\) is Riemann-integrable on \([a,b]\) and there exists some \(\xi \in [a,b]\) such that
Tip: \(g(x) = 1\)
In the case of \(g(x) = 1\) for all \(x\), we get
Proof
Since \(f\) is continuous on \([a,b]\), the extreme value theorem tells us that \(f\) attains a minimum \(m\) and a maximum \(M\) on \([a,b]\):
Since \(g\) does not change sign on \([a,b]\), there are two cases which we need to consider:
- (I) \(g(x) \ge 0\) for all \(x \in [a,b]\);
- (II) \(g(x) \le 0\) for all \(x \in [a,b]\).
Case (I):
Multiplying the inequality for \(f\) by \(g\), we obtain the following:
Since \(f\) is continuous on \([a,b]\) and \(g\) is Riemann-integrable on \([a,b]\), we know that \(fg\) is Riemann-integrable on \([a,b]\). Combining this with the above inequality, we get:
If \(\int_a^b g(x)\,\mathrm{d}x = 0\), we have \(0 \le \int_a^b f(x)g(x)\,\mathrm{d}x \le 0\) and so \(\int_a^b f(x)g(x) \,\mathrm{d}x = 0\). Therefore, \(\int_a^b f(x)g(x)\,\mathrm{d}x = f(\xi) \cdot \int_a^b g(x)\,\mathrm{d}x\) for any \(\xi \in [a,b]\), since \(0 \cdot f(\xi) = 0\).
If \(\int_a^b g(x)\,\mathrm{d}x \gt 0\), we can divide the inequality by it:
Since \(f\) is continuous on \([a,b]\), the intermediate value theorem tells us that \(f\) attains every value between its minimum \(m\) and maximum \(M\), i.e. there exists some \(\xi \in [a,b]\) such that
Multiplying by \(\int_a^b g(x)\,\mathrm{d}x\), we obtain:
Case (II):
Multiplying the inequality for \(f\) by \(g\), we obtain the following:
Since \(f\) is continuous on \([a,b]\) and \(g\) is Riemann-integrable on \([a,b]\), we know that \(fg\) is Riemann-integrable on \([a,b]\). Combining this with the above inequality, we get:
If \(\int_a^b g(x)\,\mathrm{d}x = 0\), we have \(0 \ge \int_a^b f(x)g(x)\,\mathrm{d}x \ge 0\) and so \(\int_a^b f(x)g(x) \,\mathrm{d}x = 0\). Therefore, \(\int_a^b f(x)g(x) \,\mathrm{d}x = f(\xi) \cdot \int_a^b g(x)\,\mathrm{d}x\) for any \(\xi \in [a,b]\), since \(0 \cdot f(\xi) = 0\).
If \(\int_a^b g(x)\,\mathrm{d}x \lt 0\), we can divide the inequality by it:
Since \(f\) is continuous on \([a,b]\), the intermediate value theorem tells us that \(f\) attains every value between its minimum \(m\) and maximum \(M\), i.e. there exists some \(\xi \in [a,b]\) such that
Multiplying by \(\int_a^b g(x)\,\mathrm{d}x\), we obtain:
The Fundamental Theorem of Calculus (Part I)
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function .
If \(f\) is Riemann-integrable on a compact interval \([a,b] \subseteq \mathcal{D}\), then the function \(F: [a,b] \to \mathbb{R}\) defined as
is continuous. Moreover, if \(f\) is continuous at some \(c \in (a,b)\), then \(F\) is an antiderivative of \(f\) at \(c\), i.e. \(F'(c) = f(c)\).
Proof
TODO
The Fundamental Theorem of Calculus (Part II)
Let \(f: \mathcal{D}_f \subseteq \mathbb{R} \to \mathbb{R}\) and \(F: \mathcal{D}_F \subseteq \mathbb{R} \to \mathbb{R}\) be real functions.
If \(f\) is Riemann-integrable on a compact interval \([a,b] \subseteq \mathcal{D}_f \cap \mathcal{D}_F\), \(F\) is continuous on \([a,b]\) and is an antiderivative of \(f\) on \((a,b)\), then
Notation
The expression \(F(b) - F(a)\) is usually shortened to just \(F(x)\big|_a^b\).
Proof
TODO
Theorem: Riemann Integration by Parts
Let \(f: \mathcal{D}_f \subseteq \mathbb{R} \to \mathbb{R}\) and \(g: \mathcal{D}_g \subseteq \mathbb{R} \to \mathbb{R}\) be real functions and let \([a,b] \subseteq \mathcal{D}_f \cap \mathcal{D}_g\) be a compact interval.
If \(f\) and \(g\) are continuous on \([a,b]\), differentiable on \((a,b)\) and if \(f'\) and \(g'\) can be extended to be Riemann-integrable on \([a,b]\), then
Proof
TODO
Example: \(\int_0^{\pi} x \sin x \mathop{\mathrm{d}x}\)
We want to find the following Riemann-integral:
We have
with \(f(x) = x\), \(f'(x) = 1\), \(g'(x) = \sin x\) and \(g(x) = - \cos x\).
Therefore:
Theorem: Riemann Integration by Substitution
Let \(f: \mathcal{D}_f \subseteq \mathbb{R} \to \mathbb{R}\) and \(g: \mathcal{D}_g \subseteq \mathbb{R} \to \mathbb{R}\) be real functions and let \([a,b] \subseteq \mathcal{D}_g\) be a compact interval.
If \(g\) is continuous on \([a,b]\) and is differentiable on \((a,b)\) such that \(g'\) can be extended to be Riemann-integrable on \([a,b]\) and if \(f\) is continuous on \(g([a,b])\), then the function \((f\circ g)g'\) is Riemann-integrable on \([a,b]\) with
Example: \(\int_а^b f(cx+r)\, \mathrm{d}x\)
We can use this theorem to find a formula for Riemann integrals of the following form:
If we define \(g: \mathbb{R} \to \mathbb{R}\) as \(g(x) = cx + r\), then the above Riemann integral becomes:
We see that \(g\) is polynomial and thus fulfills all the requirements in the theorem. In particular, \(g\) is continuous on \([a,b]\) and, since \(f\) is continuous on \(g([a,b])\), the composition \(f \circ g\) is continuous on \([a,b]\). This means that \(f\circ g\) is Riemann-integrable on \([a,b]\) and we can write the following:
We notice that \(g'(x) = c\) and so we have:
We can now apply the theorem:
Example: \(\int_0^{\frac{\pi}{2}} \mathrm{e}^{\sin x} \cos {x} \,\mathrm{d}x\)
We want to determine the following Riemann integral:
We notice that
with \(g(x) = \sin x\), \(g'(x) = \cos x\) and \(f(u) = \mathrm{e}^u\). We can verify that \(f\) and \(g\) satisfy the requirements of the theorem. Therefore, we have:
Proof
TODO
Theorem: King's Rule
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function.
If \(f(x)\) is Riemann-integrable on \([a,b] \subseteq \mathcal{D}\), then so is \(f(a + b - x)\):
If \(\frac{f(x)}{f(x) + f(a + b - x)}\) is Riemann-integrable on \([a,b] \subseteq \mathcal{D}\), then
Proof
TODO
Theorem: Integrability of the Absolute Value
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function.
If \(f\) is Riemann-integrable on a compact interval \([a,b]\), then so is \(|f|\) and
Proof
TODO
Improper Riemann Integrals#
The notion of Riemann integrals can be extended to open and semi-open intervals using [limits](../Limits%20(Real%20Functions.md).
Definition: Improper Riemann Integrals
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function.
We say that \(f\) is improperly Riemann-integrable on:
- \([a, b) \subseteq \mathcal{D}\), where \(-\infty \lt a \lt b \lt +\infty\), if \(f\) is locally Riemann-integrable on \([a, b)\) and the following [limit](../Limits%20(Real%20Functions.md) exists and is finite:
- \([a, +\infty) \subseteq \mathcal{D}\), where \(-\infty \lt a \lt +\infty\), if \(f\) is locally Riemann-integrable on \([a, +\infty)\) and the following [limit](../Limits%20(Real%20Functions.md) exists and is finite:
- \((a, b] \subseteq \mathcal{D}\), where \(-\infty \lt a \lt b \lt +\infty\), if \(f\) is locally Riemann-integrable on \((a, b]\) and the following [limit](../Limits%20(Real%20Functions.md) exists and is finite:
- \((-\infty, b] \subseteq \mathcal{D}\), where \(-\infty \lt b \lt +\infty\), if \(f\) is locally Riemann-integrable on \((-\infty, b]\) and the following [limit](../Limits%20(Real%20Functions.md) exists and is finite:
- \((a, b) \subseteq \mathcal{D}\), where \(-\infty \lt a \lt b \lt +\infty\), if \(f\) is improperly Riemann-integrable on \((a, c]\) and \([c, b)\) for any \(c \in (a, b)\):
- \((-\infty, b) \subseteq \mathcal{D}\), where \(-\infty \lt b \lt +\infty\), if \(f\) is improperly Riemann-integrable on \((-\infty, c]\) and \([c, b)\) for any \(c \in (-\infty, b)\):
- \((a, +\infty) \subseteq \mathcal{D}\), where \(-\infty \lt a \lt +\infty\), if \(f\) is improperly Riemann-integrable on \((a, c]\) and \([c, +\infty)\) for any \(c \in (a, +\infty)\):
- \((-\infty, +\infty) \subseteq \mathcal{D}\), if \(f\) is improperly Riemann-integrable on \((-\infty, c]\) and \([c, +\infty)\) for any \(c \in (-\infty, +\infty)\):
Notation
Given an arbitrary interval \(I\), the expression
denotes either the Riemann integral of \(f\) on \(I\) (whenever \(I\) is a compact interval) or \(f\)'s corresponding improper Riemann integral.
Example: \(\int_0^1 \frac{1}{x^r} \,\mathrm{d}x\)
We want to determine
For \(r = 1\), we have:
However, \(\frac{1}{x}\) is not improperly Riemann-integrable on \((0, 1]\) because this value is not finite.
For \(r \ne 1\), we have:
In sum:
Example: \(\int_1^{\infty} \frac{1}{x^r} \,\mathrm{d}x\)
We want to determine
For \(r = 1\), we have:
For \(r \ne 1\), we have:
In sum:
Example: \(\int_0^{\infty} \mathrm{e}^{-3x}\,\mathrm{d}x\)
Therefore, \(\mathrm{e}^{-3x}\) is improperly Riemann-integrable on \([0, +\infty)\).
Theorem: Constant Independence of Improper Integrals
TODO
Proof
TODO
Theorem: Improper Integral \(\rightarrow\) Proper Integral
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function.
If \(f\) is improperly Riemann-integrable on \([a,b)\) and \(\tilde{f}\) is an extension of \(f\) which is Riemann-integrable on \([a,b]\), then
If \(f\) is improperly Riemann-integrable on \((a,b]\) and \(\tilde{f}\) is an extension of \(f\) which is Riemann-integrable on \([a,b]\), then
Proof
TODO
Theorem: Comparison Test for Improper Integrals
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function and let \(I\) be any interval.
If \(f\) is locally Riemann-integrable on \(I\) and there exists some real function \(g\) which is improperly Riemann-integrable on \(I\) with
for all \(x \in I\), then \(f\) is also improperly Riemann-integrable on \(I\) with
Example: \(\int_1^{\infty} \mathrm{e}^{-x}x^3 \,\mathrm{d}x\)
From the [limit](../Limits%20(Real%20Functions.md)
we know that \(\mathrm{e}^{-x}x^5\) is bounded on \([1; +\infty)\), i.e. there exists some \(B \gt 0\) such that
for all \(x \ge 1\). From this inequality, we get
for all \(x \ge 1\). Since the integral
converges, we know that
also converges and so
must converge as well.
Example: \(\int_0^{\infty} \frac{\sin x}{x}\,\mathrm{d}x\)
We want to determine if the integral
converges. We split it into two:
The function \(f: \mathbb{R} \to \mathbb{R}\) defined as
is an extension of \(\frac{\sin x}{x}\). It is continuous, since \(\lim_{x \to 0}\frac{\sin x}{x} = 1\), and so it is also Riemann-integrable on \([0,1]\). We thus have:
For \(\int_1^{\infty}\frac{\sin x}{x}\,\mathrm{d}x\), we have:
We use integration by parts:
For the first term:
For the second, term \(\lim_{\beta \to +\infty} -\int_{1}^{\beta} \frac{\cos x}{x^2} \,\mathrm{d}x\) is just the improper integral \(\int_1^{\infty} -\frac{\cos x}{x}\, \mathrm{d}x\). Since
for all \(x \in [1, \infty)\) and since \(\int_1^{\infty} x^{-2}\, \mathrm{d}x\) converges, we know that
must also converge.
Therefore, the [limit](../Limits%20(Real%20Functions.md)
must also exist.
Proof
TODO
Theorem: Integral Test
Let \(f: [a, \infty) \subseteq \mathbb{R} \to \mathbb{R}\) be a non-negative, decreasing real function.
[converges](../Limits%20(Real%20Functions.md) if and only if the series
Proof
TODO