1. The Real Number System
1.1 Field Axioms
The real numbers R \mathbb{R} R form a complete ordered field . The field axioms guarantee closure
under addition, subtraction, multiplication, and division (by non-zero elements), together with the
usual commutative, associative, and distributive laws.
1.2 Order and the Completeness Axiom
The order relation ≤ \leq ≤ on R \mathbb{R} R satisfies:
Reflexivity : a ≤ a a \leq a a ≤ a
Antisymmetry : a ≤ b a \leq b a ≤ b and b ≤ a b \leq a b ≤ a implies a = b a = b a = b
Transitivity : a ≤ b a \leq b a ≤ b and b ≤ c b \leq c b ≤ c implies a ≤ c a \leq c a ≤ c
Totality : for all a , b a, b a , b , either a ≤ b a \leq b a ≤ b or b ≤ a b \leq a b ≤ a
Compatibility with addition : a ≤ b a \leq b a ≤ b implies a + c ≤ b + c a + c \leq b + c a + c ≤ b + c
Compatibility with multiplication : a ≤ b a \leq b a ≤ b and 0 ≤ c 0 \leq c 0 ≤ c implies a c ≤ b c ac \leq bc a c ≤ b c
The completeness axiom (also called the least upper bound property ) is what distinguishes
R \mathbb{R} R from Q \mathbb{Q} Q :
Axiom (Completeness). Every non-empty subset of R \mathbb{R} R that is bounded above has a least
upper bound (supremum) in R \mathbb{R} R .
1.3 Supremum and Infimum
Let S ⊆ R S \subseteq \mathbb{R} S ⊆ R be a non-empty set that is bounded above.
Definition. The supremum (or least upper bound) of S S S , denoted sup ( S ) \sup(S) sup ( S ) , is the real number
u u u satisfying:
u u u is an upper bound: s ≤ u s \leq u s ≤ u for all s ∈ S s \in S s ∈ S .
u u u is the least upper bound: if v v v is any upper bound of S S S , then u ≤ v u \leq v u ≤ v .
Similarly, the infimum (or greatest lower bound), inf ( S ) \inf(S) inf ( S ) , is the greatest number l l l such that
l ≤ s l \leq s l ≤ s for all s ∈ S s \in S s ∈ S .
Proposition 1.1. sup ( S ) \sup(S) sup ( S ) exists if and only if S S S is non-empty and bounded above.
Proposition 1.2 (Approximation Property). If u = sup ( S ) u = \sup(S) u = sup ( S ) , then for every ε > 0 \varepsilon > 0 ε > 0 , there
exists s ∈ S s \in S s ∈ S such that u − ε < s ≤ u u - \varepsilon < s \leq u u − ε < s ≤ u .
Proof. If no such s s s existed, then u − ε u - \varepsilon u − ε would be an upper bound of S S S strictly less
than u u u , contradicting the definition of sup ( S ) \sup(S) sup ( S ) . ■ \blacksquare ■
Example. Let S = { x ∈ R : x 2 < 2 } S = \{x \in \mathbb{R} : x^2 < 2\} S = { x ∈ R : x 2 < 2 } . Then sup ( S ) = 2 \sup(S) = \sqrt{2} sup ( S ) = 2 . Note that 2 ∉ Q \sqrt{2}
\notin \mathbb{Q} 2 ∈ / Q , so Q \mathbb{Q} Q does not satisfy the completeness axiom.
1.4 Archimedean Property
Theorem 1.1 (Archimedean Property). For every x ∈ R x \in \mathbb{R} x ∈ R , there exists n ∈ N n \in \mathbb{N} n ∈ N
such that n > x n > x n > x .
Corollary 1.2. For every ε > 0 \varepsilon > 0 ε > 0 , there exists n ∈ N n \in \mathbb{N} n ∈ N such that 1 / n < ε 1/n < \varepsilon 1/ n < ε .
Corollary 1.3 (Density of Q \mathbb{Q} Q ). Between any two distinct real numbers a < b a < b a < b , there
exists a rational number q ∈ Q q \in \mathbb{Q} q ∈ Q with a < q < b a < q < b a < q < b .
2. Sequences
2.1 Convergence
A sequence ( a n ) n = 1 ∞ (a_n)_{n=1}^{\infty} ( a n ) n = 1 ∞ in R \mathbb{R} R converges to a limit L ∈ R L \in \mathbb{R} L ∈ R if for
every ε > 0 \varepsilon > 0 ε > 0 , there exists N ∈ N N \in \mathbb{N} N ∈ N such that
∣ a n − L ∣ < ε f o r a l l n ≥ N |a_n - L| < \varepsilon \quad \mathrm{for all } n \geq N ∣ a n − L ∣ < ε forall n ≥ N
We write a n → L a_n \to L a n → L or lim n → ∞ a n = L \lim_{n \to \infty} a_n = L lim n → ∞ a n = L . A sequence that does not converge is said to
diverge .
Proposition 2.1 (Uniqueness of Limits). If ( a n ) (a_n) ( a n ) converges, its limit is unique.
Proof. Suppose a n → L a_n \to L a n → L and a n → M a_n \to M a n → M with L ≠ M L \neq M L = M . Let ε = ∣ L − M ∣ / 2 > 0 \varepsilon = |L - M|/2 > 0 ε = ∣ L − M ∣/2 > 0 . There
exists N 1 N_1 N 1 such that ∣ a n − L ∣ < ε |a_n - L| < \varepsilon ∣ a n − L ∣ < ε for n ≥ N 1 n \geq N_1 n ≥ N 1 , and N 2 N_2 N 2 such that
∣ a n − M ∣ < ε |a_n - M| < \varepsilon ∣ a n − M ∣ < ε for n ≥ N 2 n \geq N_2 n ≥ N 2 . For n ≥ max ( N 1 , N 2 ) n \geq \max(N_1, N_2) n ≥ max ( N 1 , N 2 ) :
∣ L − M ∣ ≤ ∣ a n − L ∣ + ∣ a n − M ∣ < 2 ε = ∣ L − M ∣ |L - M| \leq |a_n - L| + |a_n - M| < 2\varepsilon = |L - M| ∣ L − M ∣ ≤ ∣ a n − L ∣ + ∣ a n − M ∣ < 2 ε = ∣ L − M ∣
a contradiction. ■ \blacksquare ■
Proposition 2.2. Every convergent sequence is bounded.
2.2 Convergence Theorems
Theorem 2.1 (Algebra of Limits). If a n → L a_n \to L a n → L and b n → M b_n \to M b n → M , then:
a n + b n → L + M a_n + b_n \to L + M a n + b n → L + M
a n b n → L M a_n b_n \to LM a n b n → L M
a n / b n → L / M a_n / b_n \to L/M a n / b n → L / M (provided M ≠ 0 M \neq 0 M = 0 and b n ≠ 0 b_n \neq 0 b n = 0 for all n n n )
Theorem 2.2 (Squeeze Theorem). If a n ≤ b n ≤ c n a_n \leq b_n \leq c_n a n ≤ b n ≤ c n for all n n n and a n → L a_n \to L a n → L ,
c n → L c_n \to L c n → L , then b n → L b_n \to L b n → L .
Theorem 2.3 (Monotone Convergence Theorem). Every bounded monotone sequence in R \mathbb{R} R converges.
Specifically:
Every bounded increasing sequence converges to its supremum.
Every bounded decreasing sequence converges to its infimum.
2.3 Cauchy Sequences
A sequence ( a n ) (a_n) ( a n ) is a Cauchy sequence if for every ε > 0 \varepsilon > 0 ε > 0 , there exists N ∈ N N \in
\mathbb{N} N ∈ N such that
∣ a n − a m ∣ < ε f o r a l l m , n ≥ N |a_n - a_m| < \varepsilon \quad \mathrm{for all } m, n \geq N ∣ a n − a m ∣ < ε forall m , n ≥ N
Theorem 2.4. Every convergent sequence is Cauchy.
Theorem 2.5 (Cauchy Completeness of R \mathbb{R} R ). Every Cauchy sequence in R \mathbb{R} R converges.
Proof (sketch). Let ( a n ) (a_n) ( a n ) be Cauchy. Then ( a n ) (a_n) ( a n ) is bounded. By the Bolzano-Weierstrass theorem
(below), ( a n ) (a_n) ( a n ) has a convergent subsequence ( a n k ) → L (a_{n_k}) \to L ( a n k ) → L . Since ( a n ) (a_n) ( a n ) is Cauchy, for any
ε > 0 \varepsilon > 0 ε > 0 , choose N N N so that ∣ a n − a m ∣ < ε / 2 |a_n - a_m| < \varepsilon/2 ∣ a n − a m ∣ < ε /2 for m , n ≥ N m, n \geq N m , n ≥ N , and K K K so that
∣ a n k − L ∣ < ε / 2 |a_{n_k} - L| < \varepsilon/2 ∣ a n k − L ∣ < ε /2 for k ≥ K k \geq K k ≥ K . For n ≥ N n \geq N n ≥ N , choose k k k with n k ≥ N n_k \geq N n k ≥ N ; then
∣ a n − L ∣ ≤ ∣ a n − a n k ∣ + ∣ a n k − L ∣ < ε |a_n - L| \leq |a_n - a_{n_k}| + |a_{n_k} - L| < \varepsilon ∣ a n − L ∣ ≤ ∣ a n − a n k ∣ + ∣ a n k − L ∣ < ε . ■ \blacksquare ■
Theorem 2.6 (Bolzano-Weierstrass). Every bounded sequence in R \mathbb{R} R has a convergent subsequence.
2.4 Subsequences
A subsequence of ( a n ) (a_n) ( a n ) is a sequence ( a n k ) k = 1 ∞ (a_{n_k})_{k=1}^{\infty} ( a n k ) k = 1 ∞ where n 1 < n 2 < n 3 < ⋯ n_1 < n_2 < n_3 < \cdots n 1 < n 2 < n 3 < ⋯ .
Proposition 2.3. If a n → L a_n \to L a n → L , then every subsequence ( a n k ) → L (a_{n_k}) \to L ( a n k ) → L .
Proposition 2.4. If ( a n ) (a_n) ( a n ) has two subsequences converging to different limits, then ( a n ) (a_n) ( a n ) diverges.
2.5 Worked Example
Problem. Prove that lim n → ∞ n n + 1 = 1 \lim_{n \to \infty} \frac{n}{n+1} = 1 lim n → ∞ n + 1 n = 1 .
Solution. Let ε > 0 \varepsilon > 0 ε > 0 . We need ∣ n n + 1 − 1 ∣ < ε \left|\frac{n}{n+1} - 1\right| < \varepsilon n + 1 n − 1 < ε , i.e.,
1 n + 1 < ε \frac{1}{n+1} < \varepsilon n + 1 1 < ε , i.e., n > 1 ε − 1 n > \frac{1}{\varepsilon} - 1 n > ε 1 − 1 . Choose N = ⌈ 1 ε ⌉ N = \lceil \frac{1}{\varepsilon} \rceil N = ⌈ ε 1 ⌉ .
Then for n ≥ N n \geq N n ≥ N : n ≥ 1 ε n \geq \frac{1}{\varepsilon} n ≥ ε 1 , so n + 1 > 1 ε n+1 > \frac{1}{\varepsilon} n + 1 > ε 1 , so
1 n + 1 < ε \frac{1}{n+1} < \varepsilon n + 1 1 < ε . ■ \blacksquare ■
3. Series
3.1 Definitions and Convergence
A series ∑ n = 1 ∞ a n \sum_{n=1}^{\infty} a_n ∑ n = 1 ∞ a n converges if the sequence of partial sums S N = ∑ n = 1 N a n S_N = \sum_{n=1}^{N} a_n S N = ∑ n = 1 N a n
converges. The limit is the sum of the series.
If a n ≥ 0 a_n \geq 0 a n ≥ 0 for all n n n , the series of partial sums is increasing, so by the monotone convergence
theorem, ∑ a n \sum a_n ∑ a n converges if and only if ( S N ) (S_N) ( S N ) is bounded above.
3.2 Convergence Tests
Theorem 3.1 (Comparison Test). If 0 ≤ a n ≤ b n 0 \leq a_n \leq b_n 0 ≤ a n ≤ b n for all n n n , then:
If ∑ b n \sum b_n ∑ b n converges, then ∑ a n \sum a_n ∑ a n converges.
If ∑ a n \sum a_n ∑ a n diverges, then ∑ b n \sum b_n ∑ b n diverges.
Theorem 3.2 (Limit Comparison Test). If a n > 0 a_n > 0 a n > 0 , b n > 0 b_n > 0 b n > 0 , and
lim n → ∞ a n / b n = L \lim_{n \to \infty} a_n / b_n = L lim n → ∞ a n / b n = L where 0 < L < ∞ 0 < L < \infty 0 < L < ∞ , then ∑ a n \sum a_n ∑ a n converges if and only if
∑ b n \sum b_n ∑ b n converges.
Theorem 3.3 (Ratio Test). If lim n → ∞ ∣ a n + 1 / a n ∣ = L \lim_{n \to \infty} |a_{n+1}/a_n| = L lim n → ∞ ∣ a n + 1 / a n ∣ = L , then:
If L < 1 L < 1 L < 1 , ∑ a n \sum a_n ∑ a n converges absolutely.
If L > 1 L > 1 L > 1 , ∑ a n \sum a_n ∑ a n diverges.
If L = 1 L = 1 L = 1 , the test is inconclusive.
Theorem 3.4 (Root Test). If lim sup n → ∞ ∣ a n ∣ n = L \limsup_{n \to \infty} \sqrt[n]{|a_n|} = L lim sup n → ∞ n ∣ a n ∣ = L , then:
If L < 1 L < 1 L < 1 , ∑ a n \sum a_n ∑ a n converges absolutely.
If L > 1 L > 1 L > 1 , ∑ a n \sum a_n ∑ a n diverges.
If L = 1 L = 1 L = 1 , the test is inconclusive.
Theorem 3.5 (Integral Test). If f : [ 1 , ∞ ) → [ 0 , ∞ ) f : [1, \infty) \to [0, \infty) f : [ 1 , ∞ ) → [ 0 , ∞ ) is positive, continuous, and
decreasing, then ∑ n = 1 ∞ f ( n ) \sum_{n=1}^{\infty} f(n) ∑ n = 1 ∞ f ( n ) converges if and only if
∫ 1 ∞ f ( x ) d x \int_1^{\infty} f(x)\, dx ∫ 1 ∞ f ( x ) d x converges.
Theorem 3.6 (Alternating Series Test). If a n > 0 a_n > 0 a n > 0 , a n a_n a n decreases, and a n → 0 a_n \to 0 a n → 0 , then
∑ n = 1 ∞ ( − 1 ) n + 1 a n \sum_{n=1}^{\infty} (-1)^{n+1} a_n ∑ n = 1 ∞ ( − 1 ) n + 1 a n converges.
3.3 Absolute and Conditional Convergence
A series ∑ a n \sum a_n ∑ a n converges absolutely if ∑ ∣ a n ∣ \sum |a_n| ∑ ∣ a n ∣ converges. It converges conditionally
if ∑ a n \sum a_n ∑ a n converges but ∑ ∣ a n ∣ \sum |a_n| ∑ ∣ a n ∣ diverges.
Theorem 3.7. If ∑ a n \sum a_n ∑ a n converges absolutely, then ∑ a n \sum a_n ∑ a n converges.
Theorem 3.8 (Riemann Rearrangement Theorem). If ∑ a n \sum a_n ∑ a n converges conditionally, then for any
L ∈ R L \in \mathbb{R} L ∈ R (or ± ∞ \pm\infty ± ∞ ), there exists a rearrangement of the terms whose sum is L L L .
3.4 Worked Example
Problem. Determine whether ∑ n = 1 ∞ n 2 n \sum_{n=1}^{\infty} \frac{n}{2^n} ∑ n = 1 ∞ 2 n n converges.
Solution. Apply the ratio test:
lim n → ∞ a n + 1 a n = lim n → ∞ ( n + 1 ) / 2 n + 1 n / 2 n = lim n → ∞ n + 1 2 n = 1 2 < 1 \lim_{n \to \infty} \frac{a_{n+1}}{a_n} = \lim_{n \to \infty} \frac{(n+1)/2^{n+1}}{n/2^n} = \lim_{n \to \infty} \frac{n+1}{2n} = \frac{1}{2} < 1 lim n → ∞ a n a n + 1 = lim n → ∞ n / 2 n ( n + 1 ) / 2 n + 1 = lim n → ∞ 2 n n + 1 = 2 1 < 1
By the ratio test, the series converges absolutely. ■ \blacksquare ■
The ratio and root tests are inconclusive when the limit equals 1. In such cases, try the comparison
test, integral test, or other methods. For example, ∑ 1 / n \sum 1/n ∑ 1/ n diverges (harmonic series) and
∑ 1 / n 2 \sum 1/n^2 ∑ 1/ n 2 converges, but both give a ratio test limit of 1.
4. Continuity
4.1 Limits of Functions
Let f : D → R f : D \to \mathbb{R} f : D → R where D ⊆ R D \subseteq \mathbb{R} D ⊆ R . We say lim x → a f ( x ) = L \lim_{x \to a} f(x) = L lim x → a f ( x ) = L if for
every ε > 0 \varepsilon > 0 ε > 0 , there exists δ > 0 \delta > 0 δ > 0 such that
0 < ∣ x − a ∣ < δ ⟹ ∣ f ( x ) − L ∣ < ε 0 < |x - a| < \delta \implies |f(x) - L| < \varepsilon 0 < ∣ x − a ∣ < δ ⟹ ∣ f ( x ) − L ∣ < ε
4.2 Continuity
Definition. f f f is continuous at a a a if lim x → a f ( x ) = f ( a ) \lim_{x \to a} f(x) = f(a) lim x → a f ( x ) = f ( a ) . In epsilon-delta form:
for every ε > 0 \varepsilon > 0 ε > 0 , there exists δ > 0 \delta > 0 δ > 0 such that
∣ x − a ∣ < δ ⟹ ∣ f ( x ) − f ( a ) ∣ < ε |x - a| < \delta \implies |f(x) - f(a)| < \varepsilon ∣ x − a ∣ < δ ⟹ ∣ f ( x ) − f ( a ) ∣ < ε
Theorem 4.1 (Algebra of Continuous Functions). If f f f and g g g are continuous at a a a , then f + g f+g f + g ,
f − g f-g f − g , f g fg f g , and (where defined) f / g f/g f / g are continuous at a a a .
Theorem 4.2. Compositions of continuous functions are continuous: if f f f is continuous at a a a and
g g g is continuous at f ( a ) f(a) f ( a ) , then g ∘ f g \circ f g ∘ f is continuous at a a a .
Theorem 4.3 (IVT). If f : [ a , b ] → R f : [a,b] \to \mathbb{R} f : [ a , b ] → R is continuous and f ( a ) < y < f ( b ) f(a) < y < f(b) f ( a ) < y < f ( b ) (or
f ( b ) < y < f ( a ) f(b) < y < f(a) f ( b ) < y < f ( a ) ), then there exists c ∈ ( a , b ) c \in (a,b) c ∈ ( a , b ) such that f ( c ) = y f(c) = y f ( c ) = y .
Proof. Let S = { x ∈ [ a , b ] : f ( x ) < y } S = \{x \in [a,b] : f(x) < y\} S = { x ∈ [ a , b ] : f ( x ) < y } . Since a ∈ S a \in S a ∈ S , S S S is non-empty and bounded above by
b b b . Let c = sup ( S ) c = \sup(S) c = sup ( S ) . By continuity, f ( c ) = y f(c) = y f ( c ) = y . ■ \blacksquare ■
4.4 Extreme Value Theorem
Theorem 4.4 (EVT). If f : [ a , b ] → R f : [a,b] \to \mathbb{R} f : [ a , b ] → R is continuous, then f f f attains its maximum and
minimum on [ a , b ] [a,b] [ a , b ] : there exist c 1 , c 2 ∈ [ a , b ] c_1, c_2 \in [a,b] c 1 , c 2 ∈ [ a , b ] such that f ( c 1 ) ≤ f ( x ) ≤ f ( c 2 ) f(c_1) \leq f(x) \leq f(c_2) f ( c 1 ) ≤ f ( x ) ≤ f ( c 2 ) for all
x ∈ [ a , b ] x \in [a,b] x ∈ [ a , b ] .
Definition. f f f is uniformly continuous on D D D if for every ε > 0 \varepsilon > 0 ε > 0 , there exists
δ > 0 \delta > 0 δ > 0 such that for all x , y ∈ D x, y \in D x , y ∈ D :
∣ x − y ∣ < δ ⟹ ∣ f ( x ) − f ( y ) ∣ < ε |x - y| < \delta \implies |f(x) - f(y)| < \varepsilon ∣ x − y ∣ < δ ⟹ ∣ f ( x ) − f ( y ) ∣ < ε
The key distinction: for ordinary continuity, δ \delta δ may depend on both ε \varepsilon ε and the point
a a a ; for uniform continuity, δ \delta δ depends only on ε \varepsilon ε .
Theorem 4.5 (Heine-Cantor). If f : [ a , b ] → R f : [a,b] \to \mathbb{R} f : [ a , b ] → R is continuous on the closed, bounded
interval [ a , b ] [a,b] [ a , b ] , then f f f is uniformly continuous on [ a , b ] [a,b] [ a , b ] .
4.6 Worked Example
Problem. Prove that f ( x ) = x f(x) = \sqrt{x} f ( x ) = x is uniformly continuous on [ 0 , ∞ ) [0, \infty) [ 0 , ∞ ) .
Solution. For x , y ≥ 0 x, y \geq 0 x , y ≥ 0 : ∣ x − y ∣ = ∣ x − y ∣ x + y ≤ ∣ x − y ∣ 1 / 2 |\sqrt{x} - \sqrt{y}| = \frac{|x - y|}{\sqrt{x} + \sqrt{y}} \leq |x - y|^{1/2} ∣ x − y ∣ = x + y ∣ x − y ∣ ≤ ∣ x − y ∣ 1/2 .
Given ε > 0 \varepsilon > 0 ε > 0 , choose δ = ε 2 \delta = \varepsilon^2 δ = ε 2 . Then ∣ x − y ∣ < δ |x - y| < \delta ∣ x − y ∣ < δ implies
∣ x − y ∣ ≤ ∣ x − y ∣ < δ = ε |\sqrt{x} - \sqrt{y}| \leq \sqrt{|x-y|} < \sqrt{\delta} = \varepsilon ∣ x − y ∣ ≤ ∣ x − y ∣ < δ = ε . Since δ \delta δ depends
only on ε \varepsilon ε , the continuity is uniform. ■ \blacksquare ■
5. Differentiability
5.1 The Derivative
Definition. f : ( a , b ) → R f : (a,b) \to \mathbb{R} f : ( a , b ) → R is differentiable at c ∈ ( a , b ) c \in (a,b) c ∈ ( a , b ) if the limit
f ′ ( c ) = lim h → 0 f ( c + h ) − f ( c ) h f'(c) = \lim_{h \to 0} \frac{f(c+h) - f(c)}{h} f ′ ( c ) = lim h → 0 h f ( c + h ) − f ( c )
exists (as a finite real number).
Proposition 5.1. If f f f is differentiable at c c c , then f f f is continuous at c c c .
Proof. lim x → c ( f ( x ) − f ( c ) ) = lim x → c f ( x ) − f ( c ) x − c ⋅ ( x − c ) = f ′ ( c ) ⋅ 0 = 0 \lim_{x \to c} (f(x) - f(c)) = \lim_{x \to c} \frac{f(x) - f(c)}{x - c} \cdot (x - c) = f'(c) \cdot 0 = 0 lim x → c ( f ( x ) − f ( c )) = lim x → c x − c f ( x ) − f ( c ) ⋅ ( x − c ) = f ′ ( c ) ⋅ 0 = 0 .
■ \blacksquare ■
The converse is false: f ( x ) = ∣ x ∣ f(x) = |x| f ( x ) = ∣ x ∣ is continuous at 0 0 0 but not differentiable at 0 0 0 .
5.2 Differentiation Rules
Theorem 5.1. If f f f and g g g are differentiable at c c c , then:
( f + g ) ′ ( c ) = f ′ ( c ) + g ′ ( c ) (f + g)'(c) = f'(c) + g'(c) ( f + g ) ′ ( c ) = f ′ ( c ) + g ′ ( c )
( f g ) ′ ( c ) = f ′ ( c ) g ( c ) + f ( c ) g ′ ( c ) (fg)'(c) = f'(c)g(c) + f(c)g'(c) ( f g ) ′ ( c ) = f ′ ( c ) g ( c ) + f ( c ) g ′ ( c )
( f / g ) ′ ( c ) = f ′ ( c ) g ( c ) − f ( c ) g ′ ( c ) g ( c ) 2 (f/g)'(c) = \frac{f'(c)g(c) - f(c)g'(c)}{g(c)^2} ( f / g ) ′ ( c ) = g ( c ) 2 f ′ ( c ) g ( c ) − f ( c ) g ′ ( c ) (if g ( c ) ≠ 0 g(c) \neq 0 g ( c ) = 0 )
( f ∘ g ) ′ ( c ) = f ′ ( g ( c ) ) ⋅ g ′ ( c ) (f \circ g)'(c) = f'(g(c)) \cdot g'(c) ( f ∘ g ) ′ ( c ) = f ′ ( g ( c )) ⋅ g ′ ( c ) (Chain Rule)
5.3 Mean Value Theorem
Theorem 5.2 (Rolle's Theorem). If f : [ a , b ] → R f : [a,b] \to \mathbb{R} f : [ a , b ] → R is continuous on [ a , b ] [a,b] [ a , b ] , differentiable
on ( a , b ) (a,b) ( a , b ) , and f ( a ) = f ( b ) f(a) = f(b) f ( a ) = f ( b ) , then there exists c ∈ ( a , b ) c \in (a,b) c ∈ ( a , b ) such that f ′ ( c ) = 0 f'(c) = 0 f ′ ( c ) = 0 .
Theorem 5.3 (Mean Value Theorem). If f : [ a , b ] → R f : [a,b] \to \mathbb{R} f : [ a , b ] → R is continuous on [ a , b ] [a,b] [ a , b ] and
differentiable on ( a , b ) (a,b) ( a , b ) , then there exists c ∈ ( a , b ) c \in (a,b) c ∈ ( a , b ) such that
f ′ ( c ) = f ( b ) − f ( a ) b − a f'(c) = \frac{f(b) - f(a)}{b - a} f ′ ( c ) = b − a f ( b ) − f ( a )
Proof. Define g ( x ) = f ( x ) − f ( b ) − f ( a ) b − a ( x − a ) g(x) = f(x) - \frac{f(b)-f(a)}{b-a}(x - a) g ( x ) = f ( x ) − b − a f ( b ) − f ( a ) ( x − a ) . Then g ( a ) = g ( b ) g(a) = g(b) g ( a ) = g ( b ) and g g g satisfies the
hypotheses of Rolle's theorem. So g ′ ( c ) = 0 g'(c) = 0 g ′ ( c ) = 0 for some c ∈ ( a , b ) c \in (a,b) c ∈ ( a , b ) , which gives the result. ■ \blacksquare ■
Corollary 5.4. If f ′ ( x ) = 0 f'(x) = 0 f ′ ( x ) = 0 for all x ∈ ( a , b ) x \in (a,b) x ∈ ( a , b ) , then f f f is constant on [ a , b ] [a,b] [ a , b ] .
Corollary 5.5. If f ′ ( x ) > 0 f'(x) > 0 f ′ ( x ) > 0 for all x ∈ ( a , b ) x \in (a,b) x ∈ ( a , b ) , then f f f is strictly increasing on [ a , b ] [a,b] [ a , b ] .
5.4 Taylor's Theorem
Theorem 5.6 (Taylor's Theorem with Lagrange Remainder). If f f f is ( n + 1 ) (n+1) ( n + 1 ) -times differentiable on
an open interval containing a a a , then for each x x x in that interval:
f ( x ) = ∑ k = 0 n f ( k ) ( a ) k ! ( x − a ) k + R n ( x ) f(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x - a)^k + R_n(x) f ( x ) = ∑ k = 0 n k ! f ( k ) ( a ) ( x − a ) k + R n ( x )
where the remainder is
R n ( x ) = f ( n + 1 ) ( ξ ) ( n + 1 ) ! ( x − a ) n + 1 R_n(x) = \frac{f^{(n+1)}(\xi)}{(n+1)!}(x - a)^{n+1} R n ( x ) = ( n + 1 )! f ( n + 1 ) ( ξ ) ( x − a ) n + 1
for some ξ \xi ξ between a a a and x x x .
Worked Example. Compute the third-order Taylor polynomial of f ( x ) = e x f(x) = e^x f ( x ) = e x about a = 0 a = 0 a = 0 .
f ( 0 ) = 1 f(0) = 1 f ( 0 ) = 1 , f ′ ( 0 ) = 1 f'(0) = 1 f ′ ( 0 ) = 1 , f ′ ′ ( 0 ) = 1 f''(0) = 1 f ′′ ( 0 ) = 1 , f ′ ′ ′ ( 0 ) = 1 f'''(0) = 1 f ′′′ ( 0 ) = 1 . So
T 3 ( x ) = 1 + x + x 2 2 + x 3 6 T_3(x) = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} T 3 ( x ) = 1 + x + 2 x 2 + 6 x 3
The remainder is R 3 ( x ) = e ξ 24 x 4 R_3(x) = \frac{e^\xi}{24} x^4 R 3 ( x ) = 24 e ξ x 4 for some ξ \xi ξ between 0 0 0 and x x x .
6. Riemann Integration
6.1 Definition
Let f : [ a , b ] → R f : [a,b] \to \mathbb{R} f : [ a , b ] → R be bounded. A partition of [ a , b ] [a,b] [ a , b ] is a finite set
P = { x 0 , x 1 , … , x n } P = \{x_0, x_1, \ldots, x_n\} P = { x 0 , x 1 , … , x n } with a = x 0 < x 1 < ⋯ < x n = b a = x_0 < x_1 < \cdots < x_n = b a = x 0 < x 1 < ⋯ < x n = b .
The upper sum and lower sum of f f f with respect to P P P are:
U ( f , P ) = ∑ i = 1 n M i Δ x i , L ( f , P ) = ∑ i = 1 n m i Δ x i U(f, P) = \sum_{i=1}^{n} M_i \Delta x_i, \quad L(f, P) = \sum_{i=1}^{n} m_i \Delta x_i U ( f , P ) = ∑ i = 1 n M i Δ x i , L ( f , P ) = ∑ i = 1 n m i Δ x i
where M i = sup { f ( x ) : x ∈ [ x i − 1 , x i ] } M_i = \sup\{f(x) : x \in [x_{i-1}, x_i]\} M i = sup { f ( x ) : x ∈ [ x i − 1 , x i ]} , m i = inf { f ( x ) : x ∈ [ x i − 1 , x i ] } m_i = \inf\{f(x) : x \in [x_{i-1}, x_i]\} m i = inf { f ( x ) : x ∈ [ x i − 1 , x i ]} , and
Δ x i = x i − x i − 1 \Delta x_i = x_i - x_{i-1} Δ x i = x i − x i − 1 .
Definition. f f f is Riemann integrable on [ a , b ] [a,b] [ a , b ] if the upper and lower integrals are equal:
∫ a b ‾ f ( x ) d x = ∫ a b ‾ f ( x ) d x \overline{\int_a^b} f(x)\, dx = \underline{\int_a^b} f(x)\, dx ∫ a b f ( x ) d x = ∫ a b f ( x ) d x
where ∫ a b ‾ f = inf { U ( f , P ) : P i s a p a r t i t i o n } \overline{\int_a^b} f = \inf\{U(f,P) : P \mathrm{ is a partition}\} ∫ a b f = inf { U ( f , P ) : P isapartition } and
∫ a b ‾ f = sup { L ( f , P ) : P i s a p a r t i t i o n } \underline{\int_a^b} f = \sup\{L(f,P) : P \mathrm{ is a partition}\} ∫ a b f = sup { L ( f , P ) : P isapartition } .
The common value is denoted ∫ a b f ( x ) d x \int_a^b f(x)\, dx ∫ a b f ( x ) d x .
6.2 Integrability Criteria
Theorem 6.1 (Riemann Integrability Criterion). A bounded function f : [ a , b ] → R f : [a,b] \to \mathbb{R} f : [ a , b ] → R is
Riemann integrable if and only if for every ε > 0 \varepsilon > 0 ε > 0 , there exists a partition P P P such that
U ( f , P ) − L ( f , P ) < ε U(f,P) - L(f,P) < \varepsilon U ( f , P ) − L ( f , P ) < ε
Theorem 6.2. Every continuous function on [ a , b ] [a,b] [ a , b ] is Riemann integrable.
Theorem 6.3. Every monotone function on [ a , b ] [a,b] [ a , b ] is Riemann integrable.
Theorem 6.4. A bounded function with finitely many discontinuities on [ a , b ] [a,b] [ a , b ] is Riemann integrable.
6.3 Properties of the Integral
Theorem 6.5 (Linearity). If f f f and g g g are integrable on [ a , b ] [a,b] [ a , b ] and α , β ∈ R \alpha, \beta \in \mathbb{R} α , β ∈ R :
∫ a b ( α f + β g ) = α ∫ a b f + β ∫ a b g \int_a^b (\alpha f + \beta g) = \alpha \int_a^b f + \beta \int_a^b g ∫ a b ( α f + β g ) = α ∫ a b f + β ∫ a b g
Theorem 6.6 (Monotonicity). If f ( x ) ≤ g ( x ) f(x) \leq g(x) f ( x ) ≤ g ( x ) for all x ∈ [ a , b ] x \in [a,b] x ∈ [ a , b ] , then
∫ a b f ≤ ∫ a b g \int_a^b f \leq \int_a^b g ∫ a b f ≤ ∫ a b g .
Theorem 6.7 (Triangle Inequality). ∣ ∫ a b f ∣ ≤ ∫ a b ∣ f ∣ \left|\int_a^b f\right| \leq \int_a^b |f| ∫ a b f ≤ ∫ a b ∣ f ∣ .
6.4 The Fundamental Theorem of Calculus
Theorem 6.8 (FTC Part 1). If f f f is continuous on [ a , b ] [a,b] [ a , b ] , then the function
F ( x ) = ∫ a x f ( t ) d t F(x) = \int_a^x f(t)\, dt F ( x ) = ∫ a x f ( t ) d t
is differentiable on ( a , b ) (a,b) ( a , b ) and F ′ ( x ) = f ( x ) F'(x) = f(x) F ′ ( x ) = f ( x ) .
Proof. For h > 0 h > 0 h > 0 :
F ( x + h ) − F ( x ) h = 1 h ∫ x x + h f ( t ) d t \frac{F(x+h) - F(x)}{h} = \frac{1}{h}\int_x^{x+h} f(t)\, dt h F ( x + h ) − F ( x ) = h 1 ∫ x x + h f ( t ) d t
By the mean value theorem for integrals, there exists ξ ∈ [ x , x + h ] \xi \in [x, x+h] ξ ∈ [ x , x + h ] such that this equals f ( ξ ) f(\xi) f ( ξ ) .
As h → 0 h \to 0 h → 0 , ξ → x \xi \to x ξ → x , and by continuity of f f f , f ( ξ ) → f ( x ) f(\xi) \to f(x) f ( ξ ) → f ( x ) . ■ \blacksquare ■
Theorem 6.9 (FTC Part 2). If F F F is differentiable on [ a , b ] [a,b] [ a , b ] with F ′ = f F' = f F ′ = f (and f f f is integrable),
then
∫ a b f ( x ) d x = F ( b ) − F ( a ) \int_a^b f(x)\, dx = F(b) - F(a) ∫ a b f ( x ) d x = F ( b ) − F ( a )
6.5 Worked Example
Problem. Compute ∫ 0 1 x 2 d x \int_0^1 x^2\, dx ∫ 0 1 x 2 d x from the definition.
Solution. Let P n = { 0 , 1 / n , 2 / n , … , 1 } P_n = \{0, 1/n, 2/n, \ldots, 1\} P n = { 0 , 1/ n , 2/ n , … , 1 } . On [ x i − 1 , x i ] = [ ( i − 1 ) / n , i / n ] [x_{i-1}, x_i] = [(i-1)/n, i/n] [ x i − 1 , x i ] = [( i − 1 ) / n , i / n ] , f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2
has M i = ( i / n ) 2 M_i = (i/n)^2 M i = ( i / n ) 2 and m i = ( ( i − 1 ) / n ) 2 m_i = ((i-1)/n)^2 m i = (( i − 1 ) / n ) 2 .
U ( f , P n ) = ∑ i = 1 n i 2 n 2 ⋅ 1 n = 1 n 3 ∑ i = 1 n i 2 = 1 n 3 ⋅ n ( n + 1 ) ( 2 n + 1 ) 6 U(f, P_n) = \sum_{i=1}^{n} \frac{i^2}{n^2} \cdot \frac{1}{n} = \frac{1}{n^3} \sum_{i=1}^{n} i^2 = \frac{1}{n^3} \cdot \frac{n(n+1)(2n+1)}{6} U ( f , P n ) = ∑ i = 1 n n 2 i 2 ⋅ n 1 = n 3 1 ∑ i = 1 n i 2 = n 3 1 ⋅ 6 n ( n + 1 ) ( 2 n + 1 )
As n → ∞ n \to \infty n → ∞ : lim n → ∞ U ( f , P n ) = lim n → ∞ ( n + 1 ) ( 2 n + 1 ) 6 n 2 = 2 6 = 1 3 \lim_{n \to \infty} U(f, P_n) = \lim_{n \to \infty} \frac{(n+1)(2n+1)}{6n^2} = \frac{2}{6} = \frac{1}{3} lim n → ∞ U ( f , P n ) = lim n → ∞ 6 n 2 ( n + 1 ) ( 2 n + 1 ) = 6 2 = 3 1 .
Similarly, L ( f , P n ) → 1 / 3 L(f, P_n) \to 1/3 L ( f , P n ) → 1/3 . So ∫ 0 1 x 2 d x = 1 / 3 \int_0^1 x^2\, dx = 1/3 ∫ 0 1 x 2 d x = 1/3 . ■ \blacksquare ■
The Riemann integral is defined for bounded functions on closed, bounded intervals. It does not apply
directly to unbounded functions or infinite intervals. For those, one needs the improper Riemann
integral (or the Lebesgue integral, which is beyond our scope here).