Integration
A dissection $\mathcal D$ of $[a,b]$ is a finite subset of $[a,b]$ containing the endpoints $a,b$.
We write a dissection as $\set{x_0, x_1, \ldots, x_n}$ where $a=x_0 < x_1 < \ldots < x_n = b$.
For a bounded function $f: [a,b] \to \R$ and a dissection $\mathcal D$, the associated Riemann upper and lower sums are $$ \begin{align*} U(f,\mathcal D) &= \sum_{j=1}^{n} (x_{j} - x_{j-1}) \sup_{x\in[x_{j-1},x_{j}]} f(x), \\ L(f,\mathcal D) &= \sum_{j=1}^{n} (x_{j} - x_{j-1}) \inf_{x\in[x_{j-1},x_{j}]} f(x). \end{align*} $$
Suppose $\mathcal D_1$ and $\mathcal D_2$ are two dissections of $[a,b]$ and $f:[a,b]\to\R$ is bounded.
Then $L(f,\mathcal D_1) \leq U(f, \mathcal D_2)$.
For a bounded function $f$, the upper and lower integrals are $$ \begin{align*} I^\star(f) &= \inf_{\mathcal{D}} U(f,\mathcal{D}), \\ I_\star(f) &= \sup_{\mathcal{D}} L(f,\mathcal{D}). \end{align*} $$ (Proof of existence of supremum and infimum)
For any bounded function $f$, we have $I_\star(f) \leq I^\star(f)$.
A bounded function $f:[a,b]\to\R$ is (Riemann) integrable if $$ \begin{align*} I^\star(f) = I_\star(f). \end{align*} $$ We define the integral of $f$ $$ \begin{align*} \int_{a}^{b} f \equiv \int_{a}^{b} f(x) \, dx \equiv I^\star(f) = f_\star(f). \end{align*} $$
A bounded function $f: [a,b]\to\R$ is integrable iff for all $\epsilon>0$, there exists a dissection $\mathcal{D}$ with $$ \begin{align*} U(f,\mathcal{D}) - L(f,\mathcal{D}) < \epsilon. \end{align*} $$
Let $f,g$ be bounded and integrable on $[a,b]$.
-
If $f(x) \leq g(x)$ for all $x\in[a,b]$, then $\int_{a}^{b} f \leq \int_{a}^{b} g$. (Proof)
-
If $\lambda\in\R$ then $\lambda f$ is also integrable and $\int_{a}^{b} \lambda f = \lambda \int_{a}^{b} f$. (Proof)
-
$f+g$ is integrable with $\int_{a}^{b} f+g = \int_{a}^{b} f + \int_{a}^{b} g$. (Proof)
-
$|f|$ is integrable with $|\int_{a}^{b} f| \leq \int_{a}^{b} |f|$. (Proof)
-
$fg$ is integrable. (Proof)
Additivity:
-
Let $f: [a,b]\to\R$ and $c\in(a,b)$. $f$ is integrable iff $f\big|_{[a,c]}$ and $f\big|_{[c,b]}$ are integrable, and $\int_{a}^{b} f = \int_{a}^{c} f + \int_{b}^{c} f.$ (Proof)
Therefore by convention if $a>b$, then we write $\int_{a}^{b} f = -\int_{b}^{a} f$ and also $\int_{a}^{a} f = 0$. Then $\left|\int_{a}^{b} f \right|\leq K\left|b-a \right|$.
If $f: [a,b]\to\R$ is monotone, then $f$ is integrable.
If $f:[a,b]\to\R$ is continuous, then $f$ is integrable.
A bounded function $f: [a,b]\to\R$ is piecewise continuous if there exists a dissection $\mathcal{D}$ of $[a,b]$ such that for each $i=1,2,\ldots,n$, the restriction $f_i: (x_{i-1}, x_i) \to \R$ is continuous and has limit as $x\to x_{i-1}$ and $x\to x_i$.
If $f: [a,b]\to\R$ is piecewise continuous, then $f$ is integrable.
Suppose $G:[a,b]\to\R$ is continuous on $[a,b]$ and differentiable on $(a,b)$.
If $G'$ is integrable, then $$ \begin{align*} \int_{a}^{b} G'(x)\, dx = G(b) - G(a). \end{align*} $$
All continuous functions have an indefinite integral or anti-derivative $$ \begin{align*} \int f(x) \, dx = \int_{a}^{x} f(t)\, dt \end{align*} $$ where $a$ is arbitrary, which is defined up to a constant.
Summary: $$ \begin{align*} \text{FTC 1}: && \dd{x} \int_{a}^{x} f(t)\, dt &= f(x) &&\text{if $f$ is continuous at $x$.} \\ \text{FTC 2}: && \int_{a}^{b} \dd{x}[f(x)]\, dx &= f(b)-f(a) &&\text{if $f'$ is integrable.} \end{align*} $$
Suppose $f',g'$ exist and are continuous on $[a,b]$. Then $$ \begin{align*} \int_{a}^{b} f'g = f(b)g(b) - f(a)g(a) - \int_{a}^{b} fg'. \end{align*} $$
Suppose $g:[\alpha, \beta]\to[a,b]$ with $g(\alpha) = a, g(\beta) = b$.
If $g'$ exists and is continuous on $[\alpha,\beta]$, and $f:[a,b]\to\R$ is continuous, then $$ \begin{align*} \int_{a}^{b} f(x)\, dx = \int_{\alpha}^{\beta} f(g(t))g'(t)\, dt. \end{align*} $$ Proof
FTC is used to prove Taylor's theorem with integral remainder.
Suppose $f,g:[a,b]\to\R$ are continuous and $g(x)\neq 0$ for all $x\in(a,b)$.
Then there exists $c\in(a,b)$ such that $$ \begin{align*} \int_{a}^{b} f(x)g(x)\, dx = f(c) \int_{a}^{b} g(x)\, dx. \end{align*} $$ Proof
Lebesgue integral is the full treatment for functions whose domain or image is unbounded, but now we just use improper Riemann integrals.
-
Suppose $f:[a,\infty]\to\R$ is integrable on each interval $[a,R]$ where $R>a$. If the following limit exists, we say $\int_{a}^{\infty} f(x)\, dx$ exists or converges and equals $$ \begin{align*} \int_{a}^{\infty} f(x)\, dx \equiv \lim_{R\to \infty} \int_{a}^{R} f(x)\, dx. \end{align*} $$
If there is no limit, we say $\int_{a}^{\infty} f(x)\, dx$ diverges.
-
Similar for $\int_{-\infty}^{a} f(x)\, dx$.
-
If both of the following limits exist, then $\int_{-\infty}^{\infty} f(x)\, dx$ exists and equals $$ \begin{align*} \int_{-\infty}^{\infty} f(x)\, dx \equiv \int_{-\infty}^{a} f(x)\, dx + \int_{a}^{\infty} f(x)\, dx \end{align*} $$ where $a$ is arbitrary.
-
Suppose $f:(b,c]\to\R$ is integrable on each $[b+\delta, c]$ for $0<\delta<c-b$. If the following limit exists, then we say $\int_{b}^{c} f(x)\, dx$ exists or converges and equals $$ \begin{align*} \int_{b}^{c} f(x)\, dx \equiv \lim_{\delta\to 0^+} \int_{b+\delta}^{c} f(x)\, dx. \end{align*} $$
-
Similar for $f:[a,b)\to\R$.
-
If $f:[a,c]\setminus\set{b}\to\R$ and the following RHS integrals exist, we say $\int_{a}^{c} f(x)\, dx$ exists and equals $$ \begin{align*} \int_{a}^{c} f(x)\, dx \equiv \int_{a}^{b} f(x)\, dx + \int_{b}^{c} f(x)\, dx. \end{align*} $$
Suppose $f,g:[a,\infty)\to\R$ are integrable on each $[a,R]$ where $R>a$.
If $0 \leq f(x) \leq g(x)$ for all $x\geq a$, then $$ \begin{align*} \int_{a}^{\infty} g \text{ converges} \implies \int_{a}^{\infty} f \text{ converges}. \end{align*} $$
Caution: $\int_{0}^{\infty} f$ converges does not imply $f(x)\to 0$ as $x\to\infty$: example.
Suppose $f: [1,\infty)\to\R$ is positive and decreasing. As $n\to\infty$, $$ \begin{align*} \sum_{r=1}^{n} f(r) - \int_{1}^{n} f(x)\, dx \to l \end{align*} $$ for some $0\leq l\leq f(1)$.
In particular $\int_{1}^{\infty} f$ converges iff $\sum_{n=1}^{\infty} f(n)$ converges.
(non-examinable)
A subset $A\subset \R^n$ has measure zero if for all $\epsilon>0$, there exists a countable collection of $n$-dimensional cubes $I_j$ such that $$ \begin{align*} A\subset \bigcup_{j=1}^\infty I_j \quad \text{and}\quad \sum_{j=1}^{\infty} |I_j| < \epsilon \end{align*} $$ where $|I_j|$ denotes the volume of $I_j$.
-
If $B$ has measure zero and $A\subset B$, then $A$ also has measure zero.
-
If $A_k$ has measure zero for each $k\in\N$, then $\bigcup_{k\in\N} A_k$ has measure zero. (Proof) This implies countable sets have measure zero.
-
For an interval $I$, the oscillation of a bounded function $f$ defined on $I$ is $$ \begin{align*} \omega_f(I) \equiv \sup_{I} f - \inf_I f. \end{align*} $$
-
At a point $x$, the oscillation of $f$ is $$ \begin{align*} \omega_f(x) \equiv \lim_{\epsilon\to 0} \omega_f((x-\epsilon, x+\epsilon)). \end{align*} $$
$f$ is continuous at $x$ iff $\omega_f(x) = 0$.
If $f:[a,b]\to\R$ is bounded, then $f$ is Riemann integrable iff $D = \sb{x\in[a,b]}{f \text{ discontinuous at }x}$ has measure zero.