The real numbers 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 ≤ on R satisfies:
Reflexivity: a≤a
Antisymmetry: a≤b and b≤a implies a=b
Transitivity: a≤b and b≤c implies a≤c
Totality: for all a,bEither a≤b or b≤a
Compatibility with addition: a≤b implies a+c≤b+c
Compatibility with multiplication: a≤b and 0≤c implies ac≤bc
The completeness axiom (also called the least upper bound property) is what distinguishes R from Q:
Axiom (Completeness). Every non-empty subset of R that is bounded above has a least Upper bound (supremum) in R.
1.3 Supremum and Infimum
Let S⊆R be a non-empty set that is bounded above.
Definition. The supremum (or least upper bound) of SDenoted sup(S)Is the real number u satisfying:
u is an upper bound: s≤u for all s∈S.
u is the least upper bound: if v is any upper bound of SThen u≤v.
Similarly, the infimum (or greatest lower bound), inf(S)Is the greatest number l such that l≤s for all s∈S.
Proposition 1.1.sup(S) exists if and only if S is non-empty and bounded above.
Proposition 1.2 (Approximation Property). If u=sup(S)Then for every ε>0There Exists s∈S such that u−ε<s≤u.
Proof. If no such s existed, then u−ε would be an upper bound of S strictly less Than uContradicting the definition of sup(S). ■
Example. Let S={x∈R:x2<2}. Then sup(S)=2. Note that 2∈/Q, so Q does not satisfy the completeness axiom.
1.4 Archimedean Property
Theorem 1.1 (Archimedean Property). For every x∈RThere exists n∈N Such that n>x.
Proof. Suppose, for contradiction, that N is bounded above. By the completeness axiom, s=sup(N) exists in R. Then s−1 is not an upper bound for N So there exists n∈N with n>s−1I.e., n+1>s. But n+1∈N Contradicting that s is an upper bound. ■
Corollary 1.2. For every ε>0There exists n∈N such that 1/n<ε.
Proof. By the Archimedean property, choose n∈N with n>1/ε. Then 1/n<ε. ■
Corollary 1.3 (Density of Q). Between any two distinct real numbers a<bThere Exists a rational number q∈Q with a<q<b.
Proof. Since b−a>0By Corollary 1.2 there exists n∈N with 1/n<b−a So 1<n(b−a)=nb−na. Let m=⌊na⌋+1∈Z. Then m−1≤na<m Giving m≤na+1<na+n(b−a)=nb. Hence a<m/n<bAnd m/n∈Q. ■
1.5 Properties of Supremum and Infimum
Proposition 1.4. If A and B are non-empty bounded subsets of RThen sup(A+B)=sup(A)+sup(B)Where A+B={a+b:a∈A,b∈B}.
Proof. For all a∈A and b∈B: a≤sup(A) and b≤sup(B)So a+b≤sup(A)+sup(B). Thus sup(A)+sup(B) is an upper bound for A+BSo sup(A+B)≤sup(A)+sup(B).
For the reverse inequality, let ε>0. By the approximation property, there exist a∈A And b∈B with a>sup(A)−ε/2 and b>sup(B)−ε/2. Then a+b>sup(A)+sup(B)−εSo sup(A+B)≥sup(A)+sup(B)−ε. Since ε>0 is arbitrary, sup(A+B)≥sup(A)+sup(B). ■
Proposition 1.5. For any non-empty bounded set S⊆R, inf(S)=−sup(−S) Where −S={−s:s∈S}.
Proof. Let u=sup(−S). Then −s≤u for all s∈SSo s≥−u for all s∈S Meaning −u is a lower bound for S. If v is any lower bound for SThen −v is an upper bound For −SSo u≤−vI.e., −u≥v. Hence −u=inf(S). ■
Worked Example: Find $\sup$ and $\inf$ of $S = \{(-1)^n + 1/n : n \in \mathbb{N}\}$
Solution. The first few terms are 0,3/2,−2/3,5/4,−4/5,7/6,….
For even n=2k: (−1)2k+1/(2k)=1+1/(2k)Which decreases toward 1 from above. For odd n=2k−1: (−1)2k−1+1/(2k−1)=−1+1/(2k−1)Which increases toward −1 from below.
The even terms form the sequence 3/2,5/4,7/6,… with limit 1So sup(S)=3/2 (the first even term). The odd terms form 0,−2/3,−4/5,… with limit −1And since 0 Is an odd-indexed term, inf(S)=−1 (approached but not attained). ■
1.6 Construction of R via Dedekind Cuts
Remark. The following outline shows how R can be constructed from QMaking The completeness axiom a theorem rather than an axiom.
Definition (Dedekind Cut). A Dedekind cut is a subset α⊆Q satisfying:
α=∅ and α=Q
If p∈α and q<p (with q∈Q), then q∈α (downward closure)
α has no greatest element: for every p∈αThere exists q∈α with p<q
Definition. The set of real numbers R is defined as the set of all Dedekind cuts.
The order, addition, and multiplication are defined as follows:
Order:α<β if and only if α⊊β
Addition:α+β={p+q:p∈α,q∈β}
Multiplication: For α,β≥0∗: α⋅β={p⋅q:p∈α,q∈β,p≥0,q≥0}∪{r∈Q:r<0}
Here 0∗={q∈Q:q<0} represents the real number 0.
Theorem. With these definitions, R is a complete ordered field, and Q embeds Into R via q↦{r∈Q:r<q}.
Proof (sketch). Verifying the field axioms and order axioms is lengthy but straightforward. The key Step is the completeness axiom: if A is a non-empty set of Dedekind cuts bounded above, Then α=⋃β∈Aβ is itself a Dedekind cut and α=sup(A). ■
1.7 Equivalences of Completeness
The completeness axiom can be formulated in several equivalent ways. Each implies the others:
Least Upper Bound Property: Every non-empty set bounded above has a supremum.
Monotone Convergence Theorem: Every bounded monotone sequence converges.
Nested Interval Property: Every nested sequence of closed intervals I1⊇I2⊇⋯ with length(In)→0 has exactly one point in ⋂In.
Bolzano-Weierstrass Property: Every bounded sequence has a convergent subsequence.
Cauchy Completeness: Every Cauchy sequence converges.
Proposition 1.6. In any ordered field, (1) ⟺ (2) ⟺ (3) ⟺ (4) ⟺ (5).
Proof (outline). We have shown (1)⇒(2) (MCT in Section 2.2), (2)⇒(4) (via the bisection argument in Bolzano-Weierstrass), (4)⇒(5) (Cauchy completeness proof In Section 2.3), and (5)⇒(1) can be shown by constructing a Cauchy sequence converging To supS from the approximation property. The equivalence (1)⇒(3) follows from the Nested interval argument, and (3)⇒(1) follows by constructing nested intervals that Shrink to supS. ■
Remark. The field Q satisfies none of these properties, which is why it must be Extended to R for analysis.
:::caution Common Pitfall The completeness axiom is often misstated as “every bounded set has a supremum.” The set must be Non-empty. Also, completeness does not say every set has a maximum; sup(S) need not belong to S. For example, sup{1/n:n∈N}=1Which belongs to the set, but sup(0,1)=1Which does not belong to (0,1). :::
2. Sequences and Limits
2.1 Convergence
A sequence (an)n=1∞ in Rconverges to a limit L∈R if for Every ε>0There exists N∈N such that
∣an−L∣<εforalln≥N
We write an→L or limn→∞an=L. A sequence that does not converge is said to diverge.
Proposition 2.1 (Uniqueness of Limits). If (an) converges, its limit is unique.
Proof. Suppose an→L and an→M with L=M. Let ε=∣L−M∣/2>0. There Exists N1 such that ∣an−L∣<ε for n≥N1And N2 such that ∣an−M∣<ε for n≥N2. For n≥max(N1,N2):
∣L−M∣≤∣an−L∣+∣an−M∣<2ε=∣L−M∣
A contradiction. ■
Proposition 2.2. Every convergent sequence is bounded.
Proof. Let an→L. Taking ε=1There exists N such that ∣an−L∣<1 for All n≥N. Then ∣an∣≤∣L∣+1 for n≥N. Let M=max{∣a1∣,∣a2∣,…,∣aN−1∣,∣L∣+1}. Then ∣an∣≤M for all n. ■
2.2 Convergence Theorems
Theorem 2.1 (Algebra of Limits). If an→L and bn→MThen:
an+bn→L+M
anbn→LM
an/bn→L/M (provided M=0 and bn=0 for all n)
Theorem 2.2 (Squeeze Theorem). If an≤bn≤cn for all n and an→Lcn→LThen bn→L.
Theorem 2.3 (Monotone Convergence Theorem). Every bounded monotone sequence in R converges. Specifically:
Every bounded increasing sequence converges to its supremum.
Every bounded decreasing sequence converges to its infimum.
Proof. Let (an) be bounded and increasing. By the completeness axiom, s=sup{an:n∈N} exists. Let ε>0. By the approximation property, There exists N such that s−ε<aN≤s. Since (an) is increasing, an≥aN>s−ε for all n≥N. Also an≤s for all n. Hence ∣an−s∣<ε for all n≥N. ■
2.3 Cauchy Sequences
A sequence (an) is a Cauchy sequence if for every ε>0There exists N∈N such that
∣an−am∣<εforallm,n≥N
Theorem 2.4. Every convergent sequence is Cauchy.
Proof. Let an→L. Given ε>0Choose N such that ∣an−L∣<ε/2 For all n≥N. Then for m,n≥N: ∣an−am∣≤∣an−L∣+∣am−L∣<ε. ■
Theorem 2.5 (Cauchy Completeness of R). Every Cauchy sequence in R converges.
Proof. Let (an) be Cauchy. First, (an) is bounded: choose N with ∣an−am∣<1 for m,n≥N. Then ∣an∣≤∣aN∣+1 for n≥N. By the Bolzano-Weierstrass theorem (Theorem 2.6 below), (an) has a convergent subsequence (ank)→L. We show an→L.
Given ε>0Choose N1 so that ∣an−am∣<ε/2 for m,n≥N1 And K so that ∣ank−L∣<ε/2 for k≥K. For n≥N1Choose k≥K with nk≥N1 (possible since nk→∞). Then
∣an−L∣≤∣an−ank∣+∣ank−L∣<ε/2+ε/2=ε
■
2.4 Subsequences
A subsequence of (an) is a sequence (ank)k=1∞ where n1<n2<n3<⋯.
Proposition 2.3. If an→LThen every subsequence (ank)→L.
Proposition 2.4. If (an) has two subsequences converging to different limits, then (an) diverges.
2.5 The Bolzano-Weierstrass Theorem
Theorem 2.6 (Bolzano-Weierstrass). Every bounded sequence in R has a convergent subsequence.
Proof. Let (an) be bounded, so an∈[A,B] for all n. Set I0=[A,B]. Bisect I0 into [A,(A+B)/2] and [(A+B)/2,B]. At least one contains infinitely many terms of (an); call it I1. Having constructed Ik=[lk,rk]Bisect it and select Ik+1 as the half containing Infinitely many terms of (an).
This produces a nested sequence of closed intervals I0⊇I1⊇I2⊇⋯ With length(Ik)=(B−A)/2k→0. By the Nested Interval Property (which follows From completeness), ⋂k=0∞Ik={c} for some c∈[A,B].
Construct the subsequence inductively: pick n1 with an1∈I1. Having chosen n1<n2<⋯<nk−1Pick nk>nk−1 with ank∈Ik (possible since Ik contains infinitely many terms). Then ank∈Ik for all kSo ∣ank−c∣≤length(Ik)→0. Hence ank→c. ■
Proposition 2.5. For every bounded sequence (an): liminfn→∞an≤limsupn→∞an
Proof. For any n, infk≥nak≤an≤supk≥nan. Taking supremum over n on the left: liminfan≤supk≥nak for every n. Taking infimum over n on The right gives liminfan≤limsupan. ■
Proposition 2.6.(an) converges if and only if liminfan=limsupanIn which case the Common value equals liman.
Proof. If an→LThen for every ε>0There exists N such that L−ε<an<L+ε for n≥N. Hence supk≥nak≤L+ε For n≥NSo limsupan≤L+ε. Since ε>0 is arbitrary, limsupan≤L. Similarly liminfan≥L. Combined with Proposition 2.5, liminfan=limsupan=L.
Conversely, if liminfan=limsupan=LThen for every ε>0There exists N1 With supk≥nak<L+ε for n≥N1And N2 with infk≥nak>L−ε for n≥N2. For n≥max(N1,N2): L−ε<an<L+εSo an→L. ■
Proposition 2.7.limsupan is the largest subsequential limit of (an)And liminfan Is the smallest.
Proof. Let L∗=limsupan=infnsupk≥nak. Define sn=supk≥nak. Then (sn) is decreasing and sn→L∗. For each nChoose kn≥n with akn>sn−1/n. Then akn→L∗ (by squeeze), producing a subsequence converging to L∗.
If L>L∗ were a subsequential limit, choose a subsequence anj→L. For large j: anj>(L+L∗)/2>L∗. But anj≤snj for all jAnd snj→L∗ So anj≤snj<(L+L∗)/2 for large jA contradiction. ■
Proposition 2.8 (Algebra of limsup/liminf). If (an) and (bn) are bounded sequences:
limsup(an+bn)≤limsupan+limsupbn
liminf(an+bn)≥liminfan+liminfbn
If an≥0 and bn≥0: limsup(anbn)≤(limsupan)(limsupbn)
Remark. Equality in (1) does not hold . For example, an=(−1)n and bn=(−1)n+1 Give an+bn=0So limsup(an+bn)=0<1+1=limsupan+limsupbn.
Proposition 2.9. A sequence (an) is convergent if and only if it is Cauchy, if and only if limsupan=liminfan.
Worked Example: Compute $\limsup$ and $\liminf$ of $a_n = (-1)^n \cdot \frac{n}{n+1}$
Solution. The sequence is −1/2,2/3,−3/4,4/5,−5/6,…
The even subsequence is a2k=2k+12k→1. The odd subsequence is a2k−1=−2k2k−1→−1.
No subsequence can have a limit greater than 1 (since an≤n/(n+1)<1 for even n And an<0 for odd n). Similarly, no subsequence can have a limit less than −1.
Therefore limsupn→∞an=1 and liminfn→∞an=−1. Since limsup=liminfThe sequence diverges. ■
2.7 Worked Examples
Problem. Prove that limn→∞n+1n=1.
Solution. Let ε>0. We need n+1n−1<εI.e., n+11<εI.e., n>ε1−1. Choose N=⌈ε1⌉. Then for n≥N: n≥ε1So n+1>ε1So n+11<ε. ■
Worked Example: $\varepsilon$-$N$ proof for $\lim_{n \to \infty} \frac{3n + 1}{n + 2} = 3$
Solution. Let ε>0. We compute:
n+23n+1−3=n+23n+1−3(n+2)=n+2−5=n+25
We need n+25<εI.e., n+2>5/εI.e., n>5/ε−2. Choose N=⌈5/ε⌉. Then for n≥N:
n+23n+1−3=n+25≤N+25≤5/ε5=ε
■
Worked Example: Show $(a_n)$ with $a_1 = \sqrt{2}$, $a_{n+1} = \sqrt{2 + a_n}$ converges
Solution.Step 1:(an) is bounded above by 2. By induction: a1=2≤2. If an≤2Then an+1=2+an≤2+2=2.
Step 2:(an) is increasing. We have a1=2≈1.414 and a2=2+2≈1.848. Assume an≤an+1. Then an+1=2+an≤2+an+1=an+2.
Step 3: By the Monotone Convergence Theorem, (an) converges. Let L=liman. Taking limits In an+1=2+an: L=2+LSo L2=2+LGiving L2−L−2=0So (L−2)(L+1)=0. Since an≥2>0 for all n, L≥0So L=2. ■
:::caution Common Pitfall When computing limsup and liminfDo not confuse them with sup and inf of the range {an:n∈N}. The limsup depends on the tail behavior of the sequence. For Example, an=(−1)n has limsup=1 and liminf=−1But sup{an}=1 and inf{an}=−1 happen to agree in this case. However, for an=1/n, sup=1 but limsup=0. :::
3. Series
3.1 Definitions and Convergence
A series∑n=1∞an converges if the sequence of partial sums SN=∑n=1Nan Converges. The limit is the sum of the series.
If an≥0 for all nThe series of partial sums is increasing, so by the monotone convergence Theorem, ∑an converges if and only if (SN) is bounded above.
3.2 Convergence Tests
Theorem 3.1 (Comparison Test). If 0≤an≤bn for all nThen:
If ∑bn converges, then ∑an converges.
If ∑an diverges, then ∑bn diverges.
Theorem 3.2 (Limit Comparison Test). If an>0, bn>0And limn→∞an/bn=L where 0<L<∞Then ∑an converges if and only if ∑bn converges.
Theorem 3.3 (Ratio Test). If limn→∞∣an+1/an∣=LThen:
If L<1, ∑an converges absolutely.
If L>1, ∑an diverges.
If L=1The test is inconclusive.
Theorem 3.4 (Root Test). If limsupn→∞n∣an∣=LThen:
If L<1, ∑an converges absolutely.
If L>1, ∑an diverges.
If L=1The test is inconclusive.
Proof. If L<1Choose r with L<r<1. By definition of limsupThere exists N such that n∣an∣<r for all n≥NI.e., ∣an∣<rn. Since ∑rn converges (geometric series with r<1), the comparison test gives absolute convergence.
If L>1Then for infinitely many n: n∣an∣>1So ∣an∣>1. Hence an→0 And the series diverges. ■
Theorem 3.5 (Integral Test). If f:[1,∞)→[0,∞) is positive, continuous, and Decreasing, then ∑n=1∞f(n) converges if and only if ∫1∞f(x)dx converges.
Proof. Since f is decreasing, for k≤x≤k+1: f(k+1)≤f(x)≤f(k). Integrating:
If ∫1∞f converges, the left inequality shows ∑f(k) is bounded above, hence converges. If ∫1∞f diverges, the right inequality shows ∑f(k) is unbounded, hence diverges. ■
Theorem 3.6 (Alternating Series Test). If an>0, an decreases, and an→0Then ∑n=1∞(−1)n+1an converges.
Proof. The partial sums of the even-indexed subsequence satisfy S2n=S2n−2−a2n−1+a2n. Since a2n−1≥a2nWe have S2n≤S2n−2So (S2n) is decreasing. Similarly, (S2n+1) is increasing. Also S2n+1=S2n+a2n+1≥S2n. Both sequences are bounded (since (S2n) is decreasing and bounded below by S1And (S2n+1) is increasing and bounded Above by S2). Hence both converge. Since a2n+1→0Their limits coincide. ■
3.3 Absolute and Conditional Convergence
A series ∑anconverges absolutely if ∑∣an∣ converges. It converges conditionally If ∑an converges but ∑∣an∣ diverges.
Theorem 3.7. If ∑an converges absolutely, then ∑an converges.
Proof. Since ∑∣an∣ converges, the partial sums of ∑∣an∣ satisfy the Cauchy criterion. Given ε>0There exists N such that for m>n≥N: ∑k=n+1m∣ak∣<ε. Then ∑k=n+1mak≤∑k=n+1m∣ak∣<εSo ∑an satisfies The Cauchy criterion and converges. ■
3.4 The Alternating Series Estimation Theorem
Theorem 3.8 (Alternating Series Estimation). If S=∑n=1∞(−1)n+1an satisfies the Hypotheses of the alternating series test, then the error after N terms satisfies:
∣S−SN∣≤aN+1
Proof. We have S2n≤S≤S2n+1=S2n+a2n+1 and S2n−1≥S≥S2n=S2n−1−a2n. In both cases ∣S−SN∣≤aN+1. ■
3.5 Cauchy Condensation Test
Theorem 3.8b (Cauchy Condensation Test). If (an) is a non-negative, decreasing sequence, then ∑n=1∞an converges if and only if ∑k=0∞2ka2k converges.
Proof. Group the terms of ∑an. For the lower bound, note:
If ∑2ka2k converges, the upper bound shows ∑an converges. If ∑an Converges, the lower bound shows ∑2ka2k converges. ■
Corollary.∑n=1∞1/np converges if and only if p>1. Apply the condensation Test: ∑2k⋅1/(2k)p=∑2k(1−p)A geometric series with ratio 21−p Which converges iff 1−p<0I.e., p>1.
3.6 Rearrangement of Series
Theorem 3.9 (Riemann Rearrangement Theorem). If ∑an converges conditionally, then for any L∈R (or ±∞), there exists a rearrangement σ:N→N such That ∑n=1∞aσ(n)=L.
Proof (outline). Let P={n:an>0} and N={n:an<0}. Since ∑an converges Conditionally, both ∑n∈Pan=+∞ and ∑n∈Nan=−∞.
To achieve sum L∈R: take positive terms in order until the partial sum exceeds L Then take negative terms until it falls below LThen positive terms again, and so on. Since both The positive and negative subseries diverge, this process can always continue. The terms tend to Zero (since the series converges), so the oscillations around L shrink to zero. ■
Remark. By contrast, every rearrangement of an absolutely convergent series converges to the same sum.
The integral diverges, so by the integral test, the series diverges. ■
Worked Example: Approximate $\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{n}$ to within $0.01$
Solution. This is the alternating harmonic series, with an=1/n. By the alternating series Estimation theorem, ∣S−SN∣≤aN+1=1/(N+1). We need 1/(N+1)≤0.01So N+1≥100I.e., N≥99.
So S99=∑n=199n(−1)n+1 approximates ln2 to within 0.01. (The exact sum is ln2≈0.6931.) ■
Worked Example: Determine convergence of $\sum_{n=1}^{\infty} \frac{1}{n^2 + 1}$
Solution. Since n2+11≤n21 for all nAnd ∑1/n2 converges (p-series with p=2>1), the comparison test implies ∑n2+11 converges. ■
Worked Example: Use the condensation test for $\sum_{n=2}^{\infty} \frac{1}{n (\ln n) (\ln \ln n)}$
Solution. Let an=n(lnn)(lnlnn)1 for n≥3. This is positive and decreasing. By the condensation test, ∑an converges iff ∑2ka2k converges. Compute:
2ka2k=2k⋅kln2⋅ln(kln2)2k=kln2⋅ln(kln2)1≈klnk1
The series ∑klnk1 diverges (integral test, analogous to ∑nlnn1). Therefore ∑an diverges. ■
If you get this wrong, revise: Section 3.5 (Cauchy Condensation Test).
:::caution Common Pitfall 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 diverges (harmonic series) and ∑1/n2 converges, but both give a ratio test limit of 1. :::
4. Continuity
4.1 Limits of Functions
Let f:D→R where D⊆R. We say limx→af(x)=L if for Every ε>0There exists δ>0 such that
0<∣x−a∣<δ⟹∣f(x)−L∣<ε
4.2 Continuity
Definition.f is continuous at a if limx→af(x)=f(a). In epsilon-delta form: For every ε>0There exists δ>0 such that
∣x−a∣<δ⟹∣f(x)−f(a)∣<ε
Remark. A function is continuous on a set E if it is continuous at every point of E. A function is globally continuous (or “continuous”) if it is continuous on its entire domain.
Definition.f is discontinuous at a if it is not continuous at a. Discontinuities are Classified as:
Removable:limx→af(x) exists but does not equal f(a) (or f(a) is undefined).
Jump:limx→a−f(x) and limx→a+f(x) both exist but are unequal.
Essential (or infinite/oscillatory): At least one one-sided limit does not exist.
Proposition 4.3. Polynomials are continuous on R. Rational functions p(x)/q(x) are Continuous wherever q(x)=0. The functions sinx, cosx, ex, lnx are continuous On their domains.
Theorem 4.1 (Algebra of Continuous Functions). If f and g are continuous at aThen f+gf−g, fgAnd (where defined) f/g are continuous at a.
Theorem 4.2. Compositions of continuous functions are continuous: if f is continuous at a and g is continuous at f(a)Then g∘f is continuous at a.
4.2a Sequential Characterization of Limits and Continuity
The epsilon-delta definitions can be reformulated in terms of sequences, which is often more Convenient for proofs.
Proposition 4.2a (Sequential Criterion for Limits).limx→cf(x)=L if and only if For every sequence (xn) with xn→c and xn=c for all nWe have f(xn)→L.
Proof. (⇒) Let ε>0. Choose δ>0 from the ε-δ definition. Since xn→cThere exists N with ∣xn−c∣<δ for n≥N. Then ∣f(xn)−L∣<ε for n≥N.
(⇐) Suppose the ε-δ condition fails. Then there exists ε>0 such That for every n∈NThere exists xn with 0<∣xn−c∣<1/n but ∣f(xn)−L∣≥ε. Then xn→c but f(xn)→LContradicting the hypothesis. ■
Corollary 4.2b.f is continuous at c if and only if for every sequence (xn) with xn→c We have f(xn)→f(c).
This is especially useful for proving that a function is not continuous: find one sequence Converging to c whose image does not converge to f(c).
4.3 Intermediate Value Theorem
Theorem 4.3 (IVT). If f:[a,b]→R is continuous and f(a)<y<f(b) (or f(b)<y<f(a)), then there exists c∈(a,b) such that f(c)=y.
Proof. Assume f(a)<y<f(b). Let S={x∈[a,b]:f(x)<y}. Since a∈SS is non-empty and bounded above by b. Let c=sup(S). We show f(c)=y.
If f(c)<yThen by continuity at cThere exists δ>0 such that f(x)<y for x∈(c−δ,c+δ). But then c+δ/2∈SContradicting that c=sup(S).
If f(c)>yThen by continuity, there exists δ>0 such that f(x)>y for x∈(c−δ,c+δ). But then c−δ/2 is an upper bound for SContradicting That c=sup(S).
Therefore f(c)=y. ■
Alternative proof (bisection). Set a0=a, b0=b. Given [an,bn] with f(an)<y<f(bn) Let mn=(an+bn)/2. If f(mn)≥ySet an+1=an, bn+1=mn. If f(mn)<y Set an+1=mn, bn+1=bn. Either way, f(an)<y≤f(bn) and bn−an=(b−a)/2n→0. By the nested interval property, an→c and bn→c. By continuity, f(c)=limf(an)≤y And f(c)=limf(bn)≥ySo f(c)=y. ■
4.4 Extreme Value Theorem
Theorem 4.4 (EVT). If f:[a,b]→R is continuous, then f attains its maximum and Minimum on [a,b]: there exist c1,c2∈[a,b] such that f(c1)≤f(x)≤f(c2) for all x∈[a,b].
Proof. We first show f is bounded. Suppose not; then for each n∈NThere exists xn∈[a,b] with ∣f(xn)∣>n. By Bolzano-Weierstrass, (xn) has a convergent subsequence xnk→c∈[a,b]. By continuity, f(xnk)→f(c)So (f(xnk)) is bounded. But ∣f(xnk)∣>nk→∞A contradiction.
Now we show f attains its supremum. Let M=sup{f(x):x∈[a,b]}. For each nChoose xn∈[a,b] with f(xn)>M−1/n. By Bolzano-Weierstrass, (xn) has a subsequence xnk→c∈[a,b]. By continuity, f(c)=limf(xnk). Since M−1/nk<f(xnk)≤M for all kThe squeeze theorem gives f(c)=M. The argument for the infimum is similar (consider −f). ■
4.5 Uniform Continuity
Definition.f is uniformly continuous on D if for every ε>0There exists δ>0 such that for all x,y∈D:
∣x−y∣<δ⟹∣f(x)−f(y)∣<ε
The key distinction: for ordinary continuity, δ may depend on both ε and the point a; for uniform continuity, δ depends only on ε.
4.6 The Heine-Cantor Theorem
Theorem 4.5 (Heine-Cantor). If f:[a,b]→R is continuous on the closed, bounded Interval [a,b]Then f is uniformly continuous on [a,b].
Proof. Suppose f is continuous on [a,b] but not uniformly continuous. Then there exists ε>0 such that for every n∈NThere exist xn,yn∈[a,b] with ∣xn−yn∣<1/n but ∣f(xn)−f(yn)∣≥ε.
By the Bolzano-Weierstrass theorem, (xn) has a convergent subsequence xnk→c∈[a,b]. Since ∣xnk−ynk∣<1/nk→0We have ynk→c as well.
By continuity of f at c: there exists δ>0 such that ∣x−c∣<δ implies ∣f(x)−f(c)∣<ε/2. For k sufficiently large, ∣xnk−c∣<δ and ∣ynk−c∣<δSo:
Problem. Prove that f(x)=x is uniformly continuous on [0,∞).
Solution. For x,y≥0: ∣x−y∣=x+y∣x−y∣≤∣x−y∣1/2.
Given ε>0Choose δ=ε2. Then ∣x−y∣<δ implies ∣x−y∣≤∣x−y∣<δ=ε. Since δ depends Only on εThe continuity is uniform. ■
Worked Example: $\varepsilon$-$\delta$ proof that $f(x) = 3x - 1$ is continuous at $x = 2$
Solution. We have f(2)=5. Let ε>0. We need to find δ>0 such that ∣x−2∣<δ implies ∣f(x)−5∣<ε.
Compute: ∣f(x)−5∣=∣(3x−1)−5∣=∣3x−6∣=3∣x−2∣.
Choose δ=ε/3. Then ∣x−2∣<δ implies ∣f(x)−5∣=3∣x−2∣<3⋅ε/3=ε. ■
Worked Example: $\varepsilon$-$\delta$ proof that $f(x) = x^2$ is continuous at $x = 3$
Solution. We have f(3)=9. Let ε>0. Compute:
∣f(x)−9∣=∣x2−9∣=∣x+3∣⋅∣x−3∣
Restrict to δ≤1So ∣x−3∣<1 means 2<x<4Giving ∣x+3∣<7.
Choose δ=min(1,ε/7). Then ∣x−3∣<δ implies:
∣x2−9∣=∣x+3∣⋅∣x−3∣<7⋅7ε=ε
■
Worked Example: Show $f(x) = 1/x$ is NOT uniformly continuous on $(0, 1)$
Solution. We show the negation of uniform continuity. Take ε=1. For any δ>0 Choose n∈N with 1/n<δ. Set x=1/n and y=1/(2n). Then ∣x−y∣=1/(2n)<1/n<δBut:
∣f(x)−f(y)∣=1/n1−1/(2n)1=∣n−2n∣=n≥1=ε
So no single δ works for all x,y∈(0,1). ■
Worked Example: Use the sequential criterion to show $f(x) = \sin(1/x)$ has no limit as $x \to 0$
Solution. Consider the sequences xn=1/(2nπ) and yn=1/(2nπ+π/2). Both converge to 0. But f(xn)=sin(2nπ)=0 and f(yn)=sin(2nπ+π/2)=1 for all n.
So f(xn)→0 and f(yn)→1. By the sequential criterion, if limx→0f(x) existed, Both subsequences would converge to the same limit. Since they don”t, the limit does not exist. ■
Worked Example: Prove $f(x) = x \sin(1/x)$ (with $f(0) = 0$) is continuous everywhere
Solution. For x=0, f is a product of continuous functions, hence continuous.
At x=0: let ε>0. Choose δ=ε. For ∣x−0∣=∣x∣<δ:
∣f(x)−f(0)∣=∣xsin(1/x)∣≤∣x∣<δ=ε
So f is continuous at 0. Since f extends continuously from (0,1] to [0,1]The Heine-Cantor Theorem implies f is uniformly continuous on [0,1]. ■
Worked Example: $\varepsilon$-$\delta$ proof that $f(x) = \sin x$ is continuous at every $a \in \mathbb{R}$
Solution. We use the identity ∣sinu−sinv∣≤∣u−v∣ for all u,v∈R. (Proof: ∣sinu−sinv∣=2∣cos((u+v)/2)sin((u−v)/2)∣≤2∣sin((u−v)/2)∣≤∣u−v∣ Using ∣sint∣≤∣t∣ and ∣cos∣≤1.)
Let ε>0 and a∈R. Choose δ=ε. For ∣x−a∣<δ:
∣sinx−sina∣≤∣x−a∣<δ=ε
Since δ=ε works independently of a, sinx is actually uniformly continuous On R. The same argument works for cosx. ■
Worked Example: $\varepsilon$-$\delta$ proof that $f(x) = e^x$ is continuous at every $a \in \mathbb{R}$
Solution. We use the inequality ∣eu−ev∣≤emax(u,v)∣u−v∣Which follows from the Mean Value Theorem applied to et: eu−ev=eξ(u−v) for some ξ between u and v So ∣eu−ev∣=eξ∣u−v∣≤emax(u,v)∣u−v∣.
Let ε>0 and a∈R. Restrict to ∣x−a∣<1So x<a+1 and emax(x,a)≤ea+1. Choose δ=min(1,ε/ea+1). For ∣x−a∣<δ:
∣ex−ea∣≤ea+1∣x−a∣<ea+1⋅ea+1ε=ε
■
If you get this wrong, revise: Section 4.2 (Continuity), Section 5.3 (Mean Value Theorem).
:::caution Common Pitfall Continuity on (a,b) does not imply uniform continuity. The function f(x)=1/x on (0,1) is Continuous but not uniformly continuous. The Heine-Cantor theorem requires a closed and bounded Interval. Also, a function can be uniformly continuous on an unbounded domain (e.g., f(x)=x On [0,∞)) --- boundedness of the domain is sufficient but not necessary. :::
5. Differentiability
5.1 The Derivative
Definition.f:(a,b)→R is differentiable atc∈(a,b) if the limit
f′(c)=limh→0hf(c+h)−f(c)
Exists (as a finite real number).
Proposition 5.1. If f is differentiable at cThen f is continuous at c.
The converse is false: f(x)=∣x∣ is continuous at 0 but not differentiable at 0.
5.2 Differentiation Rules
Theorem 5.1. If f and g are differentiable at cThen:
(f+g)′(c)=f′(c)+g′(c)
(fg)′(c)=f′(c)g(c)+f(c)g′(c)
(f/g)′(c)=g(c)2f′(c)g(c)−f(c)g′(c) (if g(c)=0)
(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 is continuous on [a,b]Differentiable On (a,b)And f(a)=f(b)Then there exists c∈(a,b) such that f′(c)=0.
Proof. By the Extreme Value Theorem, f attains its maximum M and minimum m on [a,b]. If M=mThen f is constant and f′(c)=0 for all c∈(a,b). Otherwise, at least one Of M or m is attained at some c∈(a,b) (since f(a)=f(b)). By Fermat’s theorem, f′(c)=0. ■
Theorem 5.3 (Mean Value Theorem). If f:[a,b]→R is continuous on [a,b] and Differentiable on (a,b)Then there exists c∈(a,b) such that
f′(c)=b−af(b)−f(a)
Proof. Define g(x)=f(x)−b−af(b)−f(a)(x−a). Then g(a)=g(b) and g satisfies the Hypotheses of Rolle’s theorem. So g′(c)=0 for some c∈(a,b)Which gives the result. ■
Corollary 5.4. If f′(x)=0 for all x∈(a,b)Then f is constant on [a,b].
Corollary 5.5. If f′(x)>0 for all x∈(a,b)Then f is strictly increasing on [a,b].
Theorem 5.3a (Cauchy’s Mean Value Theorem). If f,g:[a,b]→R are continuous on [a,b] and differentiable on (a,b)Then there exists c∈(a,b) such that
(f(b)−f(a))g′(c)=(g(b)−g(a))f′(c)
Proof. Define h(x)=(f(b)−f(a))g(x)−(g(b)−g(a))f(x). Then h(a)=h(b)So by Rolle’s Theorem, h′(c)=0 for some c∈(a,b)Which gives the result. ■
Remark. When g(x)=xCauchy’s MVT reduces to the standard MVT. Cauchy’s MVT is the key Ingredient in the proof of L’Hôpital’s rule.
Corollary 5.6. If f is differentiable on (a,b) and ∣f′(x)∣≤M for all x∈(a,b) Then f is Lipschitz continuous with constant M: ∣f(x)−f(y)∣≤M∣x−y∣ for all x,y∈(a,b).
Proof. Apply the MVT to f on the interval between x and y. ■
5.4 Taylor’s Theorem
Theorem 5.6 (Taylor’s Theorem with Lagrange Remainder). If f is (n+1)-times differentiable on An open interval containing aThen for each x in that interval:
f(x)=∑k=0nk!f(k)(a)(x−a)k+Rn(x)
Where the remainder is
Rn(x)=(n+1)!f(n+1)(ξ)(x−a)n+1
For some ξ between a and x.
Proof. Fix x=a and define
g(t)=f(x)−∑k=0nk!f(k)(t)(x−t)k
Then g(a)=Rn(x) and g(x)=0. By the generalized Rolle’s theorem (or direct computation Using the Cauchy mean value theorem), there exists ξ between a and x with g′(ξ)=0. Computing:
g′(t)=−n!f(n+1)(t)(x−t)n
Setting g′(ξ)=0 yields the result after comparing g(a)=Rn(x) with the integral form. A Cleaner approach uses the standard MVT applied to g on [a,x]. ■
5.5 L’Hôpital’s Rule
Theorem 5.7 (L’Hôpital’s Rule, 00 case). Suppose f and g are differentiable on An open interval containing c (except possibly at c itself), g′(x)=0 near cAnd limx→cf(x)=limx→cg(x)=0. If limx→cf′(x)/g′(x)=L exists (as a finite Number or ±∞), then limx→cf(x)/g(x)=L.
Proof. Extend f and g continuously to c by setting f(c)=g(c)=0. For x=cBy Cauchy’s Mean Value Theorem, there exists ξ strictly between c and x such that
g(x)−g(c)f(x)−f(c)=g′(ξ)f′(ξ)
I.e., g(x)f(x)=g′(ξ)f′(ξ). As x→cWe have ξ→c (since ξ is trapped between c and x). Therefore limx→cf(x)/g(x)=limξ→cf′(ξ)/g′(ξ)=L. ■
Theorem 5.7b (L’Hôpital’s Rule, ∞∞ case). Suppose f and g are Differentiable on (a,b) (except possibly at c), g′(x)=0 near cAnd limx→c∣f(x)∣=limx→c∣g(x)∣=∞. If limx→cf′(x)/g′(x)=L exists, Then limx→cf(x)/g(x)=L.
Proof (sketch). Fix ε>0. For x,y near c with x=yBy Cauchy’s MVT:
g(x)−g(y)f(x)−f(y)=g′(ξ)f′(ξ)
For some ξ between x and y. Since f′(ξ)/g′(ξ)≈L for ξ near cWe have:
Since f(x),g(x)→∞By fixing y and letting x→cThe fractions f(y)/f(x) and g(y)/g(x) tend to 0So the second factor tends to 1. The first factor tends to L by Cauchy’s MVT. Hence f(x)/g(x)→L. ■
Solution. Both numerator and denominator approach 0 as x→0. Applying L’Hôpital’s rule:
limx→0x2ex−1−x=limx→02xex−1
This is still 00So apply L’Hôpital again:
=limx→02ex=21
■
5.6 Darboux’s Theorem
Theorem 5.8 (Darboux’s Theorem). If f is differentiable on [a,b]Then f′ has the Intermediate value property: for any y between f′(a) and f′(b)There exists c∈(a,b) With f′(c)=y.
Remark. This means derivatives satisfy the intermediate value property even though they need not Be continuous. For example, f(x)=x2sin(1/x) (with f(0)=0) is differentiable everywhere, But f′ is not continuous at 0.
Proof. Assume without loss of generality that f′(a)<y<f′(b). Define g(x)=f(x)−yx. Then g is differentiable on [a,b] with
g′(a)=f′(a)−y<0andg′(b)=f′(b)−y>0
Since g′(a)<0There exists x1>a with g(x1)<g(a) (otherwise g(x)≥g(a) For x near aContradicting g′(a)<0). Similarly, since g′(b)>0There exists x2<b with g(x2)<g(b).
Therefore g attains its minimum at some c∈(a,b). By Fermat’s theorem on interior extrema, g′(c)=0So f′(c)=y. ■
Worked Example: Apply Darboux's theorem to $f(x) = x^2 \sin(1/x)$ ($f(0) = 0$)
Solution. For x=0: f′(x)=2xsin(1/x)−cos(1/x). At x=0: f′(0)=limh→0hh2sin(1/h)=limh→0hsin(1/h)=0.
So f′(0)=0. For any δ>0The term −cos(1/x) oscillates between −1 and 1 on (0,δ)So f′ takes all values in [−1,1] infinitely often on (0,δ).
But Darboux’s theorem says f′ has the intermediate value property. Indeed, f′ is not continuous At 0 (it oscillates wildly), yet it still satisfies the IVP. This shows that derivatives can be Highly discontinuous while retaining the intermediate value property. ■
5.7 Worked Examples
Worked Example. Compute the third-order Taylor polynomial of f(x)=ex about a=0.
f(0)=1, f′(0)=1, f′′(0)=1, f′′′(0)=1. So
T3(x)=1+x+2x2+6x3
The remainder is R3(x)=24eξx4 for some ξ between 0 and x.
Worked Example: Approximate $\sin(0.1)$ with error less than $10^{-10}$
Solution. For f(x)=sinx about a=0: f(k)(0)∈{0,1,−1} and the Taylor Polynomial of degree n has the form Tn(x)=x−x3/3!+x5/5!−⋯ (odd terms only).
The Lagrange remainder is ∣Rn(x)∣=(n+1)!∣f(n+1)(ξ)∣∣x∣n+1≤(n+1)!∣x∣n+1 (since ∣f(k)∣≤1 for all k).
We need (n+1)!(0.1)n+1<10−10. Testing: for n=56!(0.1)6=72010−6≈1.39×10−9>10−10. For n=7: 8!(0.1)8=4032010−8≈2.48×10−13<10−10.
So T7(0.1)=0.1−6(0.1)3+120(0.1)5−5040(0.1)7=0.1−0.00016667+0.00000083−0.00000000≈0.09983342.
The error is at most 2.48×10−13<10−10. ■
Worked Example: Find the Maclaurin series for $\ln(1 + x)$ and its radius of convergence
Solution. For f(x)=ln(1+x): f(0)=0, f′(x)=1/(1+x), f′′(x)=−1/(1+x)2f(k)(x)=(−1)k−1(k−1)!/(1+x)k for k≥1. So f(k)(0)=(−1)k−1(k−1)!.
By the ratio test: limk→∞∣ak+1/ak∣=limk→∞k+1k∣x∣=∣x∣. The series converges for ∣x∣<1 and diverges for ∣x∣>1. At x=1 we get the alternating Harmonic series (converges to ln2). At x=−1 we get the negative harmonic series (diverges).
The radius of convergence is R=1 and the interval of convergence is (−1,1]. ■
Worked Example: Compute the Taylor expansion of $\cos x$ about $a = \pi/3$ with remainder bound
Solution. Compute derivatives: f(x)=cosx, f′(x)=−sinx, f′′(x)=−cosx, f′′′(x)=sinxf(4)(x)=cosx. Evaluated at a=π/3:
The remainder satisfies ∣R3(x)∣≤24∣x−π/3∣4 (since ∣f(4)(ξ)∣=∣cosξ∣≤1).
For example, at x=1: ∣R3(1)∣≤24∣1−π/3∣4≈240.04724≈2.1×10−7. ■
:::caution Common Pitfall L’Hôpital’s rule only applies to indeterminate forms 00 and ∞∞. Applying it to forms like 01 or 1∞ will give incorrect results. Always Verify the indeterminate form before applying the rule. Also, L’Hôpital’s rule requires that the Limit of the quotient of derivatives exists; if it does not exist (oscillates), the original limit May still exist. :::
6. Riemann Integration
6.1 Definition
Let f:[a,b]→R be bounded. A partition of [a,b] is a finite set P={x0,x1,…,xn} with a=x0<x1<⋯<xn=b.
The upper sum and lower sum of f with respect to P are:
U(f,P)=∑i=1nMiΔxi,L(f,P)=∑i=1nmiΔxi
Where Mi=sup{f(x):x∈[xi−1,xi]}, mi=inf{f(x):x∈[xi−1,xi]}And Δxi=xi−xi−1.
The mesh of P is ∥P∥=max1≤i≤nΔxi.
Definition.f is Riemann integrable on [a,b] if the upper and lower integrals are equal:
∫abf(x)dx=∫abf(x)dx
Where ∫abf=inf{U(f,P):Pisapartition} and ∫abf=sup{L(f,P):Pisapartition}.
The common value is denoted ∫abf(x)dx.
6.2 Integrability Criteria
Theorem 6.1 (Riemann Integrability Criterion). A bounded function f:[a,b]→R is Riemann integrable if and only if for every ε>0There exists a partition P such that
U(f,P)−L(f,P)<ε
Theorem 6.2. Every continuous function on [a,b] is Riemann integrable.
Proof. Let f be continuous on [a,b]. By the Heine-Cantor theorem, f is uniformly continuous. Given ε>0Choose δ>0 such that ∣x−y∣<δ implies ∣f(x)−f(y)∣<ε/(b−a).
Let P be any partition with ∥P∥<δ. On each subinterval [xi−1,xi]By the Extreme Value Theorem, f attains its maximum Mi and minimum mi. By uniform continuity: Mi−mi<ε/(b−a). Therefore:
By the Riemann integrability criterion, f is integrable. ■
Theorem 6.3. Every monotone function on [a,b] is Riemann integrable.
Proof. Assume f is increasing (the decreasing case is analogous). Given ε>0Let Pn be the uniform partition with n subintervals of length (b−a)/n. On [xi−1,xi]: Mi=f(xi) and mi=f(xi−1). Then:
Choose n large enough that [f(b)−f(a)](b−a)/n<ε. ■
Theorem 6.4. A bounded function with finitely many discontinuities on [a,b] is Riemann integrable.
Proof (sketch). Let f have discontinuities at d1,…,dm∈[a,b]. Given ε>0 Enclose each dj in a small interval Ij of total length ε/(2M)Where M=sup[a,b]∣f∣. On the remaining set (a finite union of closed intervals), f is continuous, Hence uniformly continuous. Choose a partition fine enough that the oscillation of f on each Subinterval outside the Ij is less than ε/(2(b−a)). Then:
U(f,P)−L(f,P)≤2(b−a)ε⋅(b−a)+2M⋅2Mε=ε
■
Proposition 6.4a. The set of Riemann integrable functions on [a,b] forms a vector space, and If f and g are integrable, then so are ∣f∣, f2And max(f,g).
Theorem 6.4b (Lebesgue’s Criterion for Riemann Integrability). A bounded function f:[a,b]→R Is Riemann integrable if and only if the set of its discontinuities has (Lebesgue) measure zero.
Remark. A set has measure zero if it can be covered by countably many intervals of arbitrarily Small total length. In particular, every countable set has measure zero. This means:
Every continuous function is integrable (empty set of discontinuities).
Every function with countably many discontinuities is integrable (Theorem 6.4 is a special case).
The Dirichlet function f(x)=1 for x∈Q and f(x)=0 for x∈/Q is discontinuous everywhere (set of discontinuities = [a,b]Measure >0), hence not integrable.
Thomae’s function f(x)=1/q if x=p/q in lowest terms, and f(x)=0 if x is irrational, is continuous at every irrational and discontinuous at every rational. Since Q is countable (measure zero), Thomae’s function is Riemann integrable, with ∫01f=0.
6.3 Properties of the Integral
Theorem 6.5 (Linearity). If f and g are integrable on [a,b] and α,β∈R:
∫ab(αf+βg)=α∫abf+β∫abg
Theorem 6.6 (Monotonicity). If f(x)≤g(x) for all x∈[a,b]Then ∫abf≤∫abg.
Theorem 6.8 (FTC Part 1). If f is continuous on [a,b]Then the function
F(x)=∫axf(t)dt
Is differentiable on (a,b) and F′(x)=f(x).
Proof. Let h>0 (the case h<0 is similar). By the Mean Value Theorem for Integrals (which follows from the EVT), there exists ξ∈[x,x+h] such that
hF(x+h)−F(x)=h1∫xx+hf(t)dt=f(ξ)
As h→0+We have ξ→x+ (since ξ∈[x,x+h]). By continuity of ff(ξ)→f(x). Hence F+′(x)=f(x). A similar argument gives F−′(x)=f(x). ■
Theorem 6.9 (FTC Part 2). If F is differentiable on [a,b] with F′=f (and f is integrable), Then
∫abf(x)dx=F(b)−F(a)
Proof. Let P={x0,…,xn} be any partition of [a,b]. By the Mean Value Theorem, For each i there exists ξi∈[xi−1,xi] with F(xi)−F(xi−1)=f(ξi)Δxi. Summing:
As n→∞: limn→∞U(f,Pn)=limn→∞6n2(n+1)(2n+1)=62=31.
Similarly, L(f,Pn)→1/3. So ∫01x2dx=1/3. ■
Worked Example: Compute $\int_0^1 \sqrt{x}\, dx$ from the definition
Solution. Let Pn={0,1/n,2/n,…,1}. On [(i−1)/n,i/n], f(x)=x has Mi=i/n and mi=(i−1)/n.
U(f,Pn)=∑i=1nni⋅n1=n3/21∑i=1ni
Using ∑i=1ni=32n3/2+O(n1/2) (obtained from comparing with ∫0nxdx):
limn→∞U(f,Pn)=limn→∞n3/21⋅32n3/2=32
Similarly L(f,Pn)→2/3Confirming ∫01xdx=2/3. ■
6.6 Improper Integrals
Definition. An improper integral is a Riemann integral where either the interval of integration Is unbounded or the integrand is unbounded.
Type I (Infinite Intervals). If f is Riemann integrable on [a,b] for every b>aDefine:
∫a∞f(x)dx=limb→∞∫abf(x)dx
The integral converges if this limit exists as a finite number; otherwise it diverges.
Type II (Unbounded Integrands). If f is unbounded near a but integrable on [c,b] for every c∈(a,b]:
∫abf(x)dx=limc→a+∫cbf(x)dx
Theorem 6.10 (Comparison Test for Improper Integrals). If 0≤f(x)≤g(x) for x≥a:
If ∫a∞g converges, then ∫a∞f converges.
If ∫a∞f diverges, then ∫a∞g diverges.
Theorem 6.11 (Absolute Convergence). If ∫a∞∣f(x)∣dx converges, then ∫a∞f(x)dx converges.
Theorem 6.12 (p-Test for Improper Integrals).
Type I:∫1∞xp1dx converges if and only if p>1.
Type II:∫01xp1dx converges if and only if p<1.
Proof. For Type I with p=1:
∫1∞x−pdx=limb→∞[1−px1−p]1b=limb→∞1−pb1−p−1
This converges when 1−p<0I.e., p>1. For p=1: ∫1∞1/xdx=limb→∞lnb=∞.
For Type II: ∫01x−pdx=limc→0+1−p1−c1−p. This converges when 1−p>0I.e., p<1. ■
Remark. The p-test for Type I integrals mirrors the p-series test: ∑1/np converges Iff p>1. This is not a coincidence --- the integral test establishes the connection.
Worked Example: Evaluate $\int_0^{\infty} e^{-x}\, dx$
Worked Example: Does $\int_1^{\infty} \frac{\sin x}{x}\, dx$ converge?
Solution. The integral ∫1∞xsinxdx diverges (compare with ∫1∞x∣sinx∣dx≥∑k=1∞∫kπ(k+1)πx∣sinx∣dx≥∑k=1∞(k+1)π2, which diverges by comparison with the harmonic series).
However, ∫1∞xsinxdx converges by Dirichlet’s test for integrals. Let F(b)=∫1bsinxdx=cos1−cosbWhich is bounded by ∣cos1−cosb∣≤2. Since 1/x decreases to 0By integration by parts:
∫1bxsinxdx=x−cosx1b−∫1bx2cosxdx
As b→∞The boundary term cosb/b→0 and ∫1∞x2∣cosx∣dx≤∫1∞x21dx=1, so the improper integral converges (conditionally). ■
Worked Example: Evaluate $\int_0^1 \frac{1}{\sqrt{x}}\, dx$ (Type II improper integral)
Solution. The integrand f(x)=1/x is unbounded as x→0+. Compute:
:::caution Common Pitfall The Riemann integral is defined for bounded functions on closed, bounded intervals. For unbounded Functions or infinite intervals, one must use the improper Riemann integral. A common error is Applying the FTC directly to improper integrals without taking the limit. Also, conditional Convergence of improper integrals behaves differently from absolute convergence: rearranging the “terms” (subintervals) of a conditionally convergent improper integral can change its value. :::
7. Sequences and Series of Functions
7.1 Pointwise Convergence
Let (fn) be a sequence of functions defined on a set E⊆R.
Definition.(fn)converges pointwise to f on E if for every x∈E and every ε>0There exists N∈N (depending on both x and ε) such that ∣fn(x)−f(x)∣<ε for all n≥N.
Example. Let fn(x)=xn on E=[0,1]. For each x∈[0,1), fn(x)=xn→0And fn(1)=1 for all n. So fn converges pointwise to
f(x)={01if0≤x<1ifx=1
Note that each fn is continuous, but the pointwise limit f is not continuous at x=1.
7.2 Uniform Convergence
Definition.(fn)converges uniformly to f on E if for every ε>0There Exists N∈N (depending only on εNot on x) such that for all x∈E:
∣fn(x)−f(x)∣<εforalln≥N
Equivalently, supx∈E∣fn(x)−f(x)∣→0 as n→∞.
Proposition 7.1. Uniform convergence implies pointwise convergence. The converse is false.
Example (continued).fn(x)=xn on [0,1] converges pointwise but not uniformly. We have supx∈[0,1]∣fn(x)−f(x)∣=supx∈[0,1)xn=1 for all n (since the supremum is Approached as x→1−). This does not tend to 0.
However, on [0,r] for any r<1: supx∈[0,r]∣xn∣=rn→0So the convergence Is uniform on [0,r].
7.3 The Weierstrass M-Test
Theorem 7.1 (Weierstrass M-Test). Let (fn) be a sequence of functions on E. If there exists a Sequence (Mn) of non-negative real numbers such that ∣fn(x)∣≤Mn for all x∈E and all nAnd ∑n=1∞Mn<∞Then ∑n=1∞fn converges uniformly on E.
Proof. Let Sn(x)=∑k=1nfk(x) and Tn=∑k=1nMk. Since ∑Mk converges, (Tn) is a Cauchy sequence. Given ε>0There exists N such that for m>n≥N:
So the partial sums (Sn) satisfy the uniform Cauchy criterion on EHence converge uniformly. ■
7.4 Uniform Convergence and Continuity
Theorem 7.2. If (fn) is a sequence of continuous functions on E converging uniformly to f On EThen f is continuous on E.
Proof. Let c∈E and ε>0. Since fn→f uniformly, choose N such that ∣fN(x)−f(x)∣<ε/3 for all x∈E. Since fN is continuous at cChoose δ>0 such that ∣x−c∣<δ implies ∣fN(x)−fN(c)∣<ε/3. Then:
Theorem 7.3. If (fn) is a sequence of Riemann integrable functions on [a,b] converging Uniformly to f on [a,b]Then f is Riemann integrable and
limn→∞∫abfn(x)dx=∫abf(x)dx
Proof. Since (fn) converges uniformly, f is the uniform limit of integrable functions. Given ε>0Choose N with sup∣fN(x)−f(x)∣<ε/(2(b−a)) for all x∈[a,b]. Then fN−ε/(2(b−a))≤f(x)≤fN(x)+ε/(2(b−a)) for all xAnd by Integrability of fN:
∫abfN−2ε≤∫abf≤∫abf≤∫abfN+2ε
So ∫f−∫f≤εProving f is integrable. For the limit:
Uniform convergence of functions does not guarantee convergence of derivatives. A stronger Hypothesis is needed.
Theorem 7.4. Suppose (fn) is a sequence of differentiable functions on [a,b] such that:
(fn(c)) converges for some c∈[a,b]
(fn′) converges uniformly on [a,b]
Then (fn) converges uniformly to a differentiable function f on [a,b]And f′(x)=limn→∞fn′(x).
Proof. Let g=limfn′ (uniform limit). Define f(x)=limn→∞[fn(c)+∫cxfn′(t)dt]. By Theorem 7.3, ∫cxfn′(t)dt→∫cxg(t)dtSo f(x)=f(c)+∫cxg(t)dt. By FTC Part 1, f is differentiable and f′(x)=g(x). Uniform convergence of fn to f follows From the estimate ∣fn(x)−f(x)∣≤∣fn(c)−f(c)∣+∫ab∣fn′(t)−g(t)∣dt. ■
7.7 Power Series
A power series centered at a is a series of the form ∑n=0∞cn(x−a)n.
Theorem 7.5 (Radius of Convergence). Every power series ∑cn(x−a)n has a radius of ConvergenceR∈[0,∞] such that:
The series converges absolutely for ∣x−a∣<R
The series diverges for ∣x−a∣>R
The behavior at ∣x−a∣=R must be checked separately
The radius is given by 1/R=limsupn→∞n∣cn∣ (Cauchy-Hadamard formula), or When the limit exists, R=limn→∞∣cn/cn+1∣.
Proof. Apply the root test to ∑∣cn(x−a)n∣: limsupn∣cn∣∣x−a∣=∣x−a∣/R (where 1/R=limsupn∣cn∣). The root test gives convergence when ∣x−a∣/R<1 And divergence when ∣x−a∣/R>1. ■
Theorem 7.6. A power series converges uniformly on every compact subset of its open disk of Convergence.
Theorem 7.6a (Differentiation and Integration of Power Series). If f(x)=∑n=0∞cn(x−a)n Has radius of convergence R>0Then:
f is differentiable on (a−R,a+R) and f′(x)=∑n=1∞ncn(x−a)n−1 (same R).
f is infinitely differentiable on (a−R,a+R)And f(k)(x)=∑n=k∞(n−k)!n!cn(x−a)n−k.
∫axf(t)dt=∑n=0∞n+1cn(x−a)n+1 for ∣x−a∣<R.
cn=f(n)(a)/n! (uniqueness of power series coefficients).
Proof. The differentiated series ∑ncn(x−a)n−1 has the same radius of convergence as The original (by the Cauchy-Hadamard formula, since nn→1). By Theorem 7.4, the Derivative of the sum equals the sum of the derivatives. Parts (2), (3), and (4) follow by Induction and the FTC. ■
Theorem 7.6b (Abel’s Theorem). If ∑n=0∞cn converges to LThen
limx→1−∑n=0∞cnxn=L
That is, the power series is continuous from the left at the endpoint x=1.
Proof (sketch). Let sn=∑k=0nck and sn→L. Write the partial sum ∑k=0nckxk=∑k=0n(sk−sk−1)xk (with s−1=0) and use summation by Parts to express this as snxn+∑k=0n−1sk(xk−xk+1). Letting n→∞ and using That sn→L and xn→0 for ∣x∣<1One shows the expression tends to L as x→1−. ■
Example. Since ∑k=1∞(−1)k+1/k=ln2Abel’s theorem gives limx→1−∑k=1∞(−1)k+1xk/k=ln2I.e., ln2 is the left-hand limit Of −ln(1−x) at x=1.
7.8 Taylor Series Convergence
The Taylor series of f at a is ∑n=0∞n!f(n)(a)(x−a)n.
Definition. A function f is analytic at a if its Taylor series at a converges to f(x) In some neighborhood of a.
Not every C∞ function is analytic. The standard counterexample is:
f(x)={e−1/x20x=0x=0
f(n)(0)=0 for all nSo the Taylor series at 0 is identically zero, which Converges only to 0Not to f(x) for x=0.
7.9 Worked Examples
Worked Example: Show $\sum_{n=1}^{\infty} \frac{x^n}{n^2}$ converges uniformly on $[-1, 1]$
Solution. For x∈[−1,1]: n2xn≤n21. Since ∑n=1∞n21 converges (it is a p-series with p=2>1), the Weierstrass M-Test with Mn=1/n2 implies the series converges uniformly on [−1,1]. ■
Worked Example: Find the radius of convergence of $\sum_{n=0}^{\infty} \frac{x^n}{n!}$
Solution. Apply the ratio test to the coefficients: limn→∞cncn+1=limn→∞(n+1)!n!=limn→∞n+11=0.
So R=∞ and the series converges for all x∈R. This is the power series for ex. By Theorem 7.4, the derivative of the sum equals ∑n=1∞n!nxn−1=∑n=1∞(n−1)!xn−1=∑k=0∞k!xk=ex, confirming That ex is its own derivative. ■
Worked Example: Find the radius of convergence of $\sum_{n=1}^{\infty} n! \, x^n$
Solution. Apply the ratio test to the coefficients:
Worked Example: Show $f_n(x) = \frac{x}{1 + nx}$ converges uniformly on $[1, \infty)$
Solution.Pointwise limit: For x≥1: limn→∞1+nxx=limn→∞1/x+n1=0.
Uniform convergence:supx∈[1,∞)1+nxx−0=supx≥11+nxx. To find the maximum, differentiate with respect to x: dxd(1+nxx)=(1+nx)21>0. So the function is increasing in x on [1,∞)And:
supx≥11+nxx=limx→∞1+nxx=n1
Since sup∣fn∣=1/n→0The convergence is uniform on [1,∞). ■
:::caution Common Pitfall Pointwise convergence does not preserve continuity, differentiability, or integrability. Uniform Convergence preserves continuity and allows interchange of limit and integral, but not limit and Derivative. For derivatives, uniform convergence of the sequence of derivatives (not the original Sequence) is required, as stated in Theorem 7.4. Also, the Weierstrass M-Test applies only to series Of functions, not sequences; for sequences, one must verify the uniform Cauchy criterion directly.
8. Problem Set
Problem 1. Let A,B⊆R be non-empty and bounded above. Prove that sup(A∪B)=max(supA,supB).
Solution
Solution. Let M=max(supA,supB). Without loss, assume supA≥supBSo M=supA. For all x∈A∪B: either x∈ASo x≤supA=M; or x∈BSo x≤supB≤M. Thus M is an upper bound for A∪B.
For the least property: since M=supA and A⊆A∪BEvery upper bound of A∪B Is an upper bound of AHence ≥supA=M. Therefore sup(A∪B)=M. ■
If you get this wrong, revise: Section 1.3 (Supremum and Infimum), Section 1.5 (Properties).
Problem 2. Prove that infA=−sup(−A) for any non-empty bounded set A⊆R.
Solution
Solution. Let u=sup(−A). For all a∈A: −a∈−ASo −a≤uGiving a≥−u. Thus −u is a lower bound for A. If v is any lower bound for AThen −v is an upper bound for −ASo u≤−vI.e., −u≥v. Hence −u is the greatest lower bound, so infA=−u=−sup(−A). ■
If you get this wrong, revise: Section 1.5 (Properties of Supremum and Infimum).
Problem 3. Using the ε-N definition, prove that limn→∞2n2+1n2+3n=21.
We need 2n3<εI.e., n>3/(2ε). Choose N=⌈3/(2ε)⌉. For n≥N: the expression is <ε. ■
If you get this wrong, revise: Section 2.1 (Convergence), Section 2.7 (Worked Examples).
Problem 4. Let a1=1 and an+1=21(an+an2). Prove (an) converges And find its limit.
Solution
Solution.Step 1:(an) is bounded below by 2. By AM-GM: an+1=21(an+2/an)≥an⋅2/an=2.
Step 2:(an) is decreasing for n≥2. Note a1=1, a2=3/2. an+1−an=21(an+2/an)−an=21(2/an−an)=2an2−an2. Since an≥2 for n≥2, an2≥2So an+1−an≤0.
Step 3: By the Monotone Convergence Theorem, L=liman exists. Taking limits: L=21(L+2/L)Giving 2L=L+2/LSo L=2/LHence L2=2. Since an≥2 for n≥2, L≥0So L=2. ■
If you get this wrong, revise: Section 2.2 (Monotone Convergence Theorem), Section 2.7 (recursive sequences).
Problem 5. Compute limsupn→∞an and liminfn→∞an for an=2+(−1)nn+1n.
Solution
Solution. Write an=2+(−1)n⋅n+1n.
For even n=2k: a2k=2+2k+12k→2+1=3. For odd n=2k−1: a2k−1=2−2k2k−1→2−1=1.
Since these are the only two subsequential limits: limsupan=3 and liminfan=1. The sequence diverges since limsup=liminf. ■
If you get this wrong, revise: Section 2.6 (Limit Superior and Limit Inferior).
Problem 6. Determine whether ∑n=2∞n(lnn)21 converges.
Solution
Solution. Apply the integral test with f(x)=1/(x(lnx)2) on [2,∞). The function is Positive, continuous, and decreasing. Compute via u=lnx, du=dx/x:
∫2∞x(lnx)21dx=∫ln2∞u21du=[−u1]ln2∞=ln21<∞
The integral converges, so by the integral test, the series converges. ■
If you get this wrong, revise: Section 3.2 (Integral Test), Section 3.6 (Worked Examples).
Problem 7. Does ∑n=1∞n1/3(−1)n+1 converge absolutely, conditionally, or diverge?
Solution
Solution. The absolute series is ∑1/n1/3Which is a p-series with p=1/3<1 So it diverges. Hence the series does not converge absolutely.
For conditional convergence, apply the alternating series test: an=1/n1/3 is positive, Decreasing, and an→0. Therefore ∑(−1)n+1/n1/3 converges.
Since it converges but not absolutely, it converges conditionally. ■
If you get this wrong, revise: Section 3.3 (Absolute and Conditional Convergence), Section 3.6 (Alternating Series Test).
Problem 8. Find the sum of ∑n=1∞n(n+2)1.
Solution
Solution. Use partial fractions: n(n+2)1=21(n1−n+21). The N-th partial sum telescopes:
If you get this wrong, revise: Section 3.1 (Definitions and Convergence), telescoping series.
Problem 9. Give an explicit rearrangement of ∑n=1∞n(−1)n+1 whose sum is 0.
Solution
Solution. By the Riemann Rearrangement Theorem, such a rearrangement exists. We construct it Explicitly. The positive terms are 1,1/3,1/5,… and the negative terms are −1/2,−1/4,−1/6,….
Start: S1=1. Then add negative terms until we go below 0: S2=1−1/2=1/2>0. S3=1−1/2−1/4=1/4>0. S4=1−1/2−1/4−1/6=−1/12<0.
Then add positive terms until we exceed 0: S5=−1/12+1/3=1/4>0.
Then add negative terms until below 0: S6=1/4−1/8=1/8>0. S7=1/8−1/10=1/40>0. S8=1/40−1/12=−7/120<0.
Continue this process. Since ∑1/(2k−1)=∞ and ∑1/(2k)=∞We can always Continue. Since 1/n→0The oscillations shrink to 0. The resulting rearrangement converges to 0. ■
If you get this wrong, revise: Section 3.5 (Rearrangement of Series).
Problem 10. Prove using ε-δ that f(x)=x3 is continuous at every a∈R.
Solution
Solution. Let a∈R and ε>0. Compute:
∣f(x)−f(a)∣=∣x3−a3∣=∣x−a∣⋅∣x2+ax+a2∣
Restrict to ∣x−a∣<1So ∣x∣<∣a∣+1Giving ∣x2+ax+a2∣≤(∣a∣+1)2+∣a∣(∣a∣+1)+a2=3a2+3∣a∣+1. Let M=3a2+3∣a∣+1.
Choose δ=min(1,ε/M). Then ∣x−a∣<δ implies:
∣x3−a3∣≤∣x−a∣⋅M<Mε⋅M=ε
■
If you get this wrong, revise: Section 4.2 (Continuity), Section 4.7 (Worked Examples).
Problem 11. Prove that f(x)=xsin(1/x) (with f(0)=0) is continuous on R but not Uniformly continuous on (0,1). (Trick question --- see solution.)
Solution
Solution.Continuity at 0: Given ε>0Choose δ=ε. For ∣x−0∣=∣x∣<δ: ∣f(x)−f(0)∣=∣xsin(1/x)∣≤∣x∣<δ=ε. So f is continuous at 0. For x=0, f is a product of continuous functions, hence continuous.
On uniform continuity: Actually, f(x)=xsin(1/x)is uniformly continuous on (0,1)! Here is why: f extends continuously to [0,1] (define f(0)=0). By the Heine-Cantor theorem (Theorem 4.5), f is uniformly continuous on [0,1]And hence on the subset (0,1).
The function that is not uniformly continuous on (0,1) is g(x)=sin(1/x)Which does not Extend continuously to 0. Or h(x)=1/xWhich is unbounded. But f(x)=xsin(1/x) is bounded And has a continuous extension, so it is uniformly continuous. ■
If you get this wrong, revise: Section 4.5 (Uniform Continuity), Section 4.6 (Heine-Cantor).
Problem 12. Prove that if f′(x)=g′(x) for all x∈(a,b)Then f(x)=g(x)+C for some Constant C.
Solution
Solution. Let h(x)=f(x)−g(x). Then h′(x)=f′(x)−g′(x)=0 for all x∈(a,b). By Corollary 5.4 (a consequence of the Mean Value Theorem), h is constant on (a,b). So f(x)−g(x)=C for some C∈RI.e., f(x)=g(x)+C. ■
If you get this wrong, revise: Section 5.3 (Mean Value Theorem, Corollary 5.4).
Problem 13. Use Taylor’s theorem with remainder to bound the error in approximating e0.2 Using the fourth-degree Maclaurin polynomial.
Solution
Solution. The fourth-degree Maclaurin polynomial of ex is:
T4(x)=1+x+2x2+6x3+24x4
By Taylor’s theorem, R4(x)=5!eξx5 for some ξ between 0 and x. For x=0.2: ξ∈(0,0.2)So eξ<e0.2<e1/4<1.3.
If you get this wrong, revise: Section 6.1 (Definition), Section 6.5 (Worked Examples).
Problem 14b. Show that the Dirichlet function f(x)={10x∈Qx∈/Q is not Riemann integrable on [0,1].
Solution
Solution. Every non-empty subinterval [xi−1,xi] of any partition contains both rational and Irrational numbers (by density of Q and density of R∖Q). So Mi=supf=1 and mi=inff=0 for every subinterval.
For any partition P: U(f,P)=∑1⋅Δxi=1 and L(f,P)=∑0⋅Δxi=0. Hence ∫01f=1=0=∫01fSo f is not Riemann integrable.
This also follows from Lebesgue’s criterion: f is discontinuous everywhere, and [0,1] does not Have measure zero. ■
If you get this wrong, revise: Section 6.2 (Integrability Criteria), Theorem 6.4b.
Problem 15. Evaluate ∫011−x2xdx as an improper integral.
Solution
Solution. The integrand f(x)=x/1−x2 is unbounded as x→1−. This is a Type II Improper integral.
∫011−x2xdx=limb→1−∫0b1−x2xdx
Compute via substitution u=1−x2, du=−2xdx:
=limb→1−[−1−x2]0b=limb→1−(−1−b2+1)=0+1=1
The improper integral converges to 1. ■
If you get this wrong, revise: Section 6.6 (Improper Integrals).
Problem 16. Let fn(x)=1+n2x2nx on (0,∞). Find the pointwise limit and Determine whether the convergence is uniform on (0,∞).
Solution
Solution.Pointwise limit: For fixed x>0: limn→∞fn(x)=limn→∞1+n2x2nx=limn→∞1/n2+x2x/n=0.
So fn→0 pointwise on (0,∞).
Uniform convergence? We check supx>0∣fn(x)−0∣=supx>01+n2x2nx. To maximize, differentiate with respect to x (treating n as fixed):
The series converges when 4∣x∣<1I.e., ∣x∣<1/4And diverges when 4∣x∣>1. The radius of convergence is R=1/4. ■
If you get this wrong, revise: Section 7.7 (Power Series), Section 3.2 (Ratio Test).
Problem 18. Let fn(x)=xn/n on [0,1]. Show that fn→0 uniformly, but fn′(x)=xn−1 does not converge uniformly on (0,1).
Solution
Solution.Uniform convergence of fn:supx∈[0,1]∣xn/n∣=1/n→0 as n→∞. So fn→0 uniformly on [0,1].
Non-uniform convergence of fn′:fn′(x)=xn−1. The pointwise limit is g(x)=0 for 0≤x<1 and g(1)=1. So supx∈[0,1]∣fn′(x)−g(x)∣≥∣fn′(1)−g(1)∣=∣1−1∣=0.
Actually, check supx∈[0,1)∣xn−1∣=1 (approached as x→1−). But g(x)=0 on [0,1)So supx∈[0,1)∣xn−1−0∣=1 for all n. This does not Tend to 0So fn′ does not converge uniformly on [0,1).
This illustrates that uniform convergence of functions does not imply uniform convergence of Derivatives, which is why Theorem 7.4 requires the stronger hypothesis of uniform convergence of (fn′). ■
If you get this wrong, revise: Section 7.2 (Uniform Convergence), Section 7.6 (Uniform Convergence and Differentiation).
Problem 19. Let fn(x)=1+nx2x on [0,∞). Find the pointwise limit and determine Whether the convergence is uniform.
Solution
Solution.Pointwise limit: For x=0: fn(0)=0 for all n. For x>0: limn→∞1+nx2x=limn→∞1/x+nx1=0. So fn→0 pointwise.
Uniform convergence on [0,∞)? We check supx≥0∣fn(x)∣. Differentiate: dxd(1+nx2x)=(1+nx2)21−nx2. Setting to zero: x=1/n. The maximum value is fn(1/n)=1+n/n1/n=2n1.
Since supx≥0∣fn(x)∣=2n1→0 as n→∞The convergence is Uniform on [0,∞). ■
If you get this wrong, revise: Section 7.2 (Uniform Convergence).
Problem 20. Prove that the series ∑n=0∞2n+1(−1)nx2n+1 converges uniformly on [−1,1] and identify its sum.
Solution
Solution. For ∣x∣≤1: 2n+1(−1)nx2n+1≤2n+11. The series ∑2n+11 diverges (it dominates half the harmonic series), so the Weierstrass M-test does not apply directly with these bounds.
However, by the alternating series test, the series converges pointwise for every ∣x∣≤1 (since 2n+1∣x∣2n+1 decreases to 0 for ∣x∣≤1). The sum is arctanx Which is the Taylor series of arctan about 0.
For uniform convergence, we use Abel’s test for uniform convergence of series: if ∑fn(x) has uniformly bounded partial sums and gn(x) decreases uniformly to 0Then ∑fn(x)gn(x) converges uniformly. Here fn(x)=(−1)nx2n+1 and gn(x)=1/(2n+1) Is independent of x.
The partial sums ∑k=0n(−1)kx2k+1≤1+x2∣x∣≤21 for ∣x∣≤1 (geometric series bound). And 1/(2n+1)→0 uniformly. By Abel’s test, the Convergence is uniform on [−1,1].
Setting x=1: ∑n=0∞2n+1(−1)n=arctan1=π/4. ■
If you get this wrong, revise: Section 7.3 (Weierstrass M-Test), Section 7.7 (Power Series), Abel’s theorem.
Common Pitfalls
Confusing the domain and range of functions, or not considering restrictions (e.g., denominator cannot be zero).
Misreading the question, particularly with ‘hence’ vs ‘hence or otherwise’ — the former requires using previous work.
Confusing pointwise and uniform convergence — pointwise convergence does not guarantee uniform convergence.
Worked Examples
Example 1: Epsilon-Delta Proof of Continuity
Problem. Prove that f(x)=3x+1 is continuous at x=2 using the ε-δ definition.
Solution. Let ε>0. Choose δ=ε/3.
If 0<∣x−2∣<δ, then:
∣f(x)−f(2)∣=∣3x+1−7∣=3∣x−2∣<3⋅3ε=ε
Since for every ε>0 we found δ>0 satisfying the condition, f is continuous at x=2.
■
Example 2: Convergence of a Sequence
Problem. Prove that an=n+32n+1 converges and find its limit.
Solution. Claim: an→2.
∣an−2∣=n+32n+1−2=n+32n+1−2n−6=n+35.
For any ε>0, choose N>ε5−3.
For n>N: ∣an−2∣=n+35<N+35<ε.
Therefore an→2 by definition.
■
Summary
Completeness of R: every non-empty bounded-above set has a supremum; equivalent to the monotone convergence theorem and Bolzano-Weierstrass.
Limits and continuity: ε-δ definition; sequential characterisation; intermediate value theorem and extreme value theorem.
Differentiability: f′(a)=limh→0hf(a+h)−f(a); mean value theorem; Taylor’s theorem with remainder.
Riemann integration: defined via upper and lower sums; fundamental theorem of calculus connects integration and differentiation.
Sequences and series: tests for convergence (comparison, ratio, root, integral); absolute vs conditional convergence; power series and radius of convergence.