Calculus
1 Derivatives
Proof. Apply Theorem 8 and Theorem 4:
\[ \begin{aligned} \frac{d }{d x}\operatorname{log}\mathopen{}\left\{f(x)\right\}\mathclose{} &= f'(x) \cdot\operatorname{log}'\mathopen{}\left\{f(x)\right\}\mathclose{} && \text{(chain rule, with } g = f \text{ and outer function } \log \text{)} \\ &= f'(x) \cdot\frac{1}{f(x)} && \text{(derivative of } \log \text{, valid because } f(x) > 0 \text{)} \\ &= \frac{f'(x)}{f(x)} && \text{(multiply)} \end{aligned} \]
2 Integration
Integration is the inverse operation of differentiation: it recovers a function from its derivative and accumulates quantities such as areas, totals, and probabilities. We begin with antiderivatives, then state basic integration rules, and conclude with the Fundamental Theorem of Calculus and a worked example from probability.
2.1 Antiderivatives
2.2 Regularity Conditions
Before stating the Fundamental Theorem of Calculus, we record two prerequisite results. The usual statement of the Fundamental Theorem of Calculus assumes that the integrand \(f\) is continuous on \([a, b]\); continuity is sufficient there, though not necessary. The two results are “differentiability implies continuity”, which says where continuity comes from, and “continuity implies integrability”, which says what continuity buys us.
Proof. Because \(f'(c)\) exists, \(f(c)\) is defined, and:
\[ \begin{aligned} \lim_{h \to 0} \mathopen{}\left(f(c + h) - f(c)\right)\mathclose{} &= \lim_{h \to 0} \mathopen{}\left(\frac{f(c + h) - f(c)}{h} \cdot h\right)\mathclose{} && \text{(multiply and divide by } h \neq 0 \text{)} \\ &= \mathopen{}\left(\lim_{h \to 0} \frac{f(c + h) - f(c)}{h}\right)\mathclose{} \cdot\mathopen{}\left(\lim_{h \to 0} h\right)\mathclose{} && \text{(limit of a product, both limits exist)} \\ &= f'(c) \cdot 0 && \text{(definition of } f'(c) \text{)} \\ &= 0 && \text{(multiply)} \end{aligned} \]
So \(\lim_{h \to 0} f(c + h) = f(c)\), which is \(\lim_{x \to c} f(x) = f(c)\) with \(x = c + h\); all three conditions of Definition 5 hold.
Together, Theorem 10 and Theorem 11 establish the chain:
\[\text{differentiable on } [a, b] \;\Rightarrow\; \text{continuous on } [a, b] \;\Rightarrow\; \text{integrable on } [a, b]\]
Example 8 and Example 10 show that neither implication reverses in general.
Proof. The \(n\) equal-width subintervals form a partition of \([a, b]\) whose mesh (Definition 8) is \((b - a)/n\), which goes to \(0\) as \(n \to \infty\). So \(S_n\) is one of the sums in the limit that defines the integral (Definition 9), along a sequence of partitions whose mesh goes to \(0\), and a limit that has the same value for every choice of partitions has that value along this sequence too.
2.3 Fundamental Theorem of Calculus
The two parts of the FTC together express that differentiation and integration are inverse operations:
- Part 1: differentiating the integral of \(f\) recovers \(f\) (Equation 1).
- Part 2: the integral of \(f\) over \([a, b]\) equals the difference of any antiderivative’s values at the endpoints (Equation 2), which rearranges to “integrating the derivative of \(F\) recovers the net change in \(F\)” (Equation 3).
The standard form of the FTC assumes \(f\) is continuous on \([a, b]\); continuity is sufficient but not strictly necessary (see the callout note inside Theorem 13 for the more general statement). Since differentiability implies continuity (Theorem 10), the FTC applies in particular whenever \(f\) is differentiable — a common situation in applied statistics.
3 Double Integrals
The Fubini–Tonelli theorem states conditions under which the order of integration in a double integral can be exchanged. We state two versions: the Riemann version (Theorem 14) is what applied courses usually use for double integrals of continuous functions on simple regions; the \(\sigma\)-finite measure-theoretic version (Theorem 15) is included to make the joint-distribution form corollary in the probability chapter of Regression Models for Epidemiology follow from a stated theorem rather than from an aside.
The symbol \(dA\) stands for an element of area. An iterated integral such as \(\int_a^b \int_c^d f(x, y)\,dy\,dx\) means \(\int_a^b \mathopen{}\left(\int_c^d f(x, y)\,dy\right)\mathclose{}\,dx\): integrate over the inner variable (\(y\)) first, holding the outer variable (\(x\)) fixed.
Proof. A closed bounded rectangle \([a, b] \times [c, d]\) is both vertically simple (with \(g_1 \equiv c\), \(g_2 \equiv d\)) and horizontally simple (with \(h_1 \equiv a\), \(h_2 \equiv b\)). Applying both parts of Theorem 14 to \(f\) on this rectangle gives the two iterated forms shown.
Applied courses rarely need the measure-theoretic generalization itself, but it is what justifies the joint-distribution form corollary in the probability chapter of Regression Models for Epidemiology: probability measures are finite (hence \(\sigma\)-finite), so the \(\sigma\)-finiteness condition is automatic. The integrability conditions (nonnegativity or absolute integrability) still need to be verified in each application.









