ConceptComplete

Riemann Integral

The Riemann integral formalizes the notion of "area under a curve" by approximating it with rectangular sums. A function is Riemann integrable if upper and lower sums converge to the same value. Every continuous function on [a,b][a, b] is Riemann integrable, as are bounded functions with finitely many discontinuities. The Riemann integral is the foundation for calculus and provides a rigorous definition of integration.


Partitions and Riemann sums

Definition6.1Partition

A partition of [a,b][a, b] is a finite sequence P={x0,x1,,xn}P = \{x_0, x_1, \ldots, x_n\} with

a=x0<x1<<xn=b.a = x_0 < x_1 < \cdots < x_n = b.

The mesh (or norm) of PP is P=max1in(xixi1)\|P\| = \max_{1 \leq i \leq n} (x_i - x_{i-1}).

Definition6.2Riemann sum

For a partition PP and sample points ci[xi1,xi]c_i \in [x_{i-1}, x_i], the Riemann sum is

S(f,P,{ci})=i=1nf(ci)(xixi1).S(f, P, \{c_i\}) = \sum_{i=1}^n f(c_i)(x_i - x_{i-1}).

RemarkUpper and lower sums

The upper sum U(f,P)=i=1nMi(xixi1)U(f, P) = \sum_{i=1}^n M_i (x_i - x_{i-1}) uses Mi=sup[xi1,xi]fM_i = \sup_{[x_{i-1}, x_i]} f. The lower sum L(f,P)=i=1nmi(xixi1)L(f, P) = \sum_{i=1}^n m_i (x_i - x_{i-1}) uses mi=inf[xi1,xi]fm_i = \inf_{[x_{i-1}, x_i]} f.

ExampleRiemann sum for a step function

Let f(x)=1f(x) = 1 for x[0,1]x \in [0, 1]. For the partition P={0,1/n,2/n,,n/n}P = \{0, 1/n, 2/n, \ldots, n/n\}, the Riemann sum (with any sample points) is

S(f,P)=i=1n11n=1.S(f, P) = \sum_{i=1}^n 1 \cdot \frac{1}{n} = 1.

As nn \to \infty, all Riemann sums converge to 11, so 011dx=1\int_0^1 1 \, dx = 1.


Definition of Riemann integrability

Definition6.3Riemann integrability

A bounded function f:[a,b]Rf : [a, b] \to \mathbb{R} is Riemann integrable if

supPL(f,P)=infPU(f,P).\sup_P L(f, P) = \inf_P U(f, P).

This common value is the Riemann integral, denoted abf(x)dx\int_a^b f(x) \, dx or abf\int_a^b f.

RemarkEquivalent definition

ff is Riemann integrable if and only if for every ϵ>0\epsilon > 0, there exists a partition PP such that U(f,P)L(f,P)<ϵU(f, P) - L(f, P) < \epsilon.

ExampleContinuous functions are Riemann integrable

If f:[a,b]Rf : [a, b] \to \mathbb{R} is continuous, then ff is Riemann integrable. Proof: by uniform continuity (via Heine-Cantor), for any ϵ>0\epsilon > 0, there exists δ\delta such that f(x)f(y)<ϵ/(ba)|f(x) - f(y)| < \epsilon/(b-a) whenever xy<δ|x - y| < \delta. For a partition with mesh <δ< \delta, Mimi<ϵ/(ba)M_i - m_i < \epsilon/(b-a), so U(f,P)L(f,P)<ϵU(f, P) - L(f, P) < \epsilon.

ExampleStep functions are integrable

A step function ff (constant on finitely many intervals) is Riemann integrable. Choose a partition aligning with the jump points; then U(f,P)=L(f,P)U(f, P) = L(f, P).

ExampleDirichlet function is not Riemann integrable

The Dirichlet function

f(x)={1xQ,0xQf(x) = \begin{cases} 1 & x \in \mathbb{Q}, \\ 0 & x \notin \mathbb{Q} \end{cases}

on [0,1][0, 1] is not Riemann integrable. For any partition PP, Mi=1M_i = 1 and mi=0m_i = 0 on every subinterval (by density of rationals and irrationals), so U(f,P)=1U(f, P) = 1 and L(f,P)=0L(f, P) = 0. Thus supL(f,P)=01=infU(f,P)\sup L(f, P) = 0 \neq 1 = \inf U(f, P).


Properties of the Riemann integral

Theorem6.1Linearity

If f,gf, g are Riemann integrable on [a,b][a, b] and α,βR\alpha, \beta \in \mathbb{R}, then

ab(αf+βg)=αabf+βabg.\int_a^b (\alpha f + \beta g) = \alpha \int_a^b f + \beta \int_a^b g.

Theorem6.2Monotonicity

If fgf \leq g on [a,b][a, b], then abfabg\int_a^b f \leq \int_a^b g.

Theorem6.3Triangle inequality

abfabf.\left|\int_a^b f\right| \leq \int_a^b |f|.


Fundamental Theorem of Calculus

Theorem6.4Fundamental Theorem of Calculus (Part I)

If ff is continuous on [a,b][a, b], then F(x)=axf(t)dtF(x) = \int_a^x f(t) \, dt is differentiable on (a,b)(a, b) with F(x)=f(x)F'(x) = f(x).

Theorem6.5Fundamental Theorem of Calculus (Part II)

If ff is continuous on [a,b][a, b] and F=fF' = f, then

abf(x)dx=F(b)F(a).\int_a^b f(x) \, dx = F(b) - F(a).

ExampleComputing ∫₀¹ x² dx

Let f(x)=x2f(x) = x^2. Then F(x)=x3/3F(x) = x^3/3 is an antiderivative. By FTC Part II,

01x2dx=F(1)F(0)=130=13.\int_0^1 x^2 \, dx = F(1) - F(0) = \frac{1}{3} - 0 = \frac{1}{3}.


Summary

The Riemann integral formalizes integration via partitions and limits:

  • Defined using upper and lower sums.
  • Continuous functions are Riemann integrable.
  • Properties: linearity, monotonicity, triangle inequality.
  • Fundamental Theorem of Calculus connects integration and differentiation.

See Integrability Criterion and Fundamental Theorem for proofs.