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∣, f2 And 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.
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:
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:
Mistake 1: Confusing Riemann integrability with Lebesgue integrability Every Riemann integrable function is Lebesgue integrable, but not vice versa. The Dirichlet function is not Riemann integrable but is Lebesgue integrable (with integral zero). The Riemann integral requires the set of discontinuities to have measure zero, while the Lebesgue integral handles a much broader class of functions.
Mistake 2: Interchanging limits and integrals without justification Swapping lim and ∫ requires a convergence theorem such as the dominated convergence theorem or the monotone convergence theorem. Pointwise convergence alone is insufficient: the sequence fn=nχ(0,1/n) converges pointwise to 0 on [0,1], yet ∫01fn=1 for all n. Always verify the hypotheses of a convergence theorem before interchanging limits and integrals.
Mistake 3: Applying the Fundamental Theorem of Calculus to discontinuous integrands The FTC Part 1 requires f to be continuous. If f has a jump discontinuity, the integral function F(x)=∫axf(t)dt is continuous but not differentiable at the discontinuity. The FTC Part 2 requires F′=f everywhere on [a,b], which fails if f is discontinuous. Check continuity before applying the FTC.
The Riemann integral answers the question: how do we add up infinitely many infinitely thin slices? Consider the area under a curve f(x) from a to b. The Riemann sum approximates this by dividing the interval into subintervals and summing f(x) times the width of each subinterval — a collection of rectangles whose total area approaches the true area as the partition becomes finer. This is the same logic as computing distance by summing velocity over time, or charge by summing current over time: the integral accumulates a quantity that varies continuously.
The Fundamental Theorem of Calculus reveals the deep connection between accumulation (integration) and rate of change (differentiation). If F(x) represents the accumulated area from a to x, then F’(x) = f(x): the rate at which area accumulates is exactly the height of the curve. Conversely, integrating a rate function recovers the total change. This duality is why the FTC is the most important theorem in calculus: it converts the hard problem of computing areas into the easy problem of finding antiderivatives. The improper integral extends this to infinite intervals or unbounded functions by taking limits, but the core intuition — accumulation of slices — remains the same.