Skip to content
The site is in test mode. All features are free for now.
MathAgora

University Mathematics · Real analysis

Additional topics

The generalized Riemann integral, metric spaces and the Baire Category Theorem, Euler's sum ∑1/n², the Gamma function, Fourier series, constructing ℝ from ℚ.

110 min 8 questions

01The generalized Riemann integral

A weakness of the Riemann integral: some differentiable FF has a derivative F′F' that is not integrable, so ∫abF′=F(b)−F(a)\int_a^bF' = F(b) - F(a) cannot always be written.

Idea: in Riemann sums every piece must be uniformly "fine" (<δ< \delta). The generalized integral replaces the constant δ\delta by a positive function δ(x)\delta(x), a gauge. A tagged partition is δ(x)\delta(x)-fine if each piece [xk−1,xk][x_{k-1}, x_k] with tag ckc_k satisfies xk−xk−1<δ(ck)x_k - x_{k-1} < \delta(c_k). Where the function behaves badly, the gauge is small.

Cousin's lemma guarantees that such partitions always exist. Theorem: if FF is differentiable on [a,b][a,b], then F′F' is integrable in the generalized sense and ∫abF′=F(b)−F(a)\int_a^bF' = F(b) - F(a), with no extra hypotheses. This integral is also called the Henstock–Kurzweil integral.

02Metric spaces and the Baire Category Theorem

A metric on a set XX is a function d:X×X→Rd : X \times X \to \mathbb R with: 1) d(x,y)≥0d(x,y) \ge 0 and d(x,y)=0  ⟺  x=yd(x,y) = 0 \iff x = y; 2) d(x,y)=d(y,x)d(x,y) = d(y,x); 3) the triangle inequality d(x,y)≤d(x,z)+d(z,y)d(x,y) \le d(x,z) + d(z,y).

Examples: ∣x−y∣|x - y| on R\mathbb R; the discrete metric (d=1d = 1 if x≠yx \ne y); on C[0,1]C[0,1], d(f,g)=sup⁡∣f(x)−g(x)∣d(f,g) = \sup|f(x) - g(x)|, for which convergence means uniform convergence. Limits, Cauchy sequences, open and closed sets, compactness and continuity carry over word for word. A space is complete if every Cauchy sequence converges (R\mathbb R and C[0,1]C[0,1] are complete, Q\mathbb Q is not).

Baire Category Theorem: a complete metric space is not a countable union of nowhere-dense sets. Applied to C[0,1]C[0,1]: the functions that are differentiable somewhere form a "small" set (a countable union of nowhere-dense sets). So a "typical" continuous function is nowhere differentiable.

03Euler's sum

Euler showed that ∑n=1∞1n2=π26.\sum_{n=1}^{\infty}\frac{1}{n^2} = \frac{\pi^2}{6}. Euler's original idea: factor sin⁡xx\frac{\sin x}{x} as an "infinite product" over its roots ±π,±2π,…\pm\pi, \pm2\pi, \dots and compare the x2x^2 coefficient with the Taylor series. Making this rigorous requires the tools of analysis (convergence of infinite products, term-by-term operations).

Rigorous proofs use, for example, a double integral, Fourier series (see below), or term-by-term integration of the Taylor series of arcsin⁡\arcsin.

Consequence: the odd terms sum to ∑1(2n−1)2=π26−14⋅π26=π28\sum\frac{1}{(2n-1)^2} = \frac{\pi^2}{6} - \frac14\cdot\frac{\pi^2}{6} = \frac{\pi^2}{8}, because the even terms give ∑1(2n)2=14∑1n2\sum\frac{1}{(2n)^2} = \frac14\sum\frac{1}{n^2}.

04Inventing the factorial: the Gamma function

How should x!x! be defined for non-integer xx? The Gamma function: Γ(x)=∫0∞tx−1e−t dt,x>0.\Gamma(x) = \int_0^{\infty}t^{x-1}e^{-t}\,dt,\quad x > 0. This improper integral converges for every x>0x > 0.

Integration by parts gives Γ(x+1)=x Γ(x)\Gamma(x + 1) = x\,\Gamma(x), and Γ(1)=1\Gamma(1) = 1, so by induction Γ(n+1)=n!\Gamma(n + 1) = n!. Thus Γ\Gamma is a continuous (indeed infinitely differentiable) extension of the factorial. A special value: Γ(12)=π\Gamma\left(\frac12\right) = \sqrt\pi, hence Γ(32)=12π\Gamma\left(\frac32\right) = \frac12\sqrt\pi.

Bohr–Mollerup Theorem: Γ\Gamma is the only function on (0,∞)(0,\infty) with f(1)=1f(1) = 1, f(x+1)=xf(x)f(x + 1) = xf(x) and ln⁡f\ln f convex. Stirling's formula: n!∼2πn(ne)nn! \sim \sqrt{2\pi n}\left(\frac ne\right)^n.

05Fourier series

The Fourier series of a 2π2\pi-periodic ff is f(x)∼a02+∑n=1∞(ancos⁡nx+bnsin⁡nx),f(x) \sim \frac{a_0}{2} + \sum_{n=1}^{\infty}\big(a_n\cos nx + b_n\sin nx\big), with an=1π∫−ππf(x)cos⁡nx dxa_n = \frac1\pi\int_{-\pi}^{\pi}f(x)\cos nx\,dx and bn=1π∫−ππf(x)sin⁡nx dxb_n = \frac1\pi\int_{-\pi}^{\pi}f(x)\sin nx\,dx. These formulas come from orthogonality: ∫−ππsin⁡mxcos⁡nx dx=0\int_{-\pi}^{\pi}\sin mx\cos nx\,dx = 0 and so on.

For even functions all bn=0b_n = 0; for odd functions all an=0a_n = 0. E.g. f(x)=xf(x) = x on (−π,π)(-\pi, \pi) has bn=2(−1)n+1nb_n = \frac{2(-1)^{n+1}}{n}.

Convergence is delicate: there is a continuous function whose Fourier series diverges at some point. Dirichlet's theorem: if ff is piecewise smooth, the series converges at every point to f(x+)+f(x−)2\frac{f(x^+) + f(x^-)}{2}. Fejér's theorem: for continuous ff the averages of the partial sums (Cesàro sums) converge to ff uniformly. Parseval's identity a022+∑(an2+bn2)=1π∫−ππf2\frac{a_0^2}{2} + \sum(a_n^2 + b_n^2) = \frac1\pi\int_{-\pi}^{\pi}f^2, applied to f(x)=xf(x) = x, gives Euler's sum again.

06Constructing $\mathbb R$ from $\mathbb Q$

So far completeness was assumed as an axiom. Can the real numbers be built from the rationals alone? Dedekind's idea: every real number is determined by the set of rationals below it.

A Dedekind cut is a set A⊆QA \subseteq \mathbb Q such that: 1) A≠∅A \ne \varnothing, A≠QA \ne \mathbb Q; 2) if r∈Ar \in A and q<rq < r, then q∈Aq \in A (closed downward); 3) AA has no largest element. E.g. 2\sqrt2 corresponds to A={r∈Q:r<0 or r2<2}A = \{r \in \mathbb Q : r < 0 \text{ or } r^2 < 2\}.

R\mathbb R is defined as the set of all cuts: A≤B  ⟺  A⊆BA \le B \iff A \subseteq B, addition A+B={a+b}A + B = \{a + b\}, and multiplication defined case by case on signs. Completeness now becomes a theorem: the supremum of a bounded family of cuts is their union.

Key formulas

  • Triangle inequality for a metric

    d(x,y)≤d(x,z)+d(z,y)d(x,y)\le d(x,z)+d(z,y)
  • Euler's sum

    ∑n=1∞1n2=π26\sum_{n=1}^{\infty}\frac{1}{n^2}=\frac{\pi^2}{6}
  • The Gamma function

    Γ(x)=∫0∞tx−1e−t dt,Γ(x+1)=x Γ(x)\Gamma(x)=\int_0^{\infty}t^{x-1}e^{-t}\,dt,\qquad \Gamma(x+1)=x\,\Gamma(x)
  • Values of the Gamma function

    Γ(n+1)=n!,Γ ⁣(12)=π\Gamma(n+1)=n!,\qquad \Gamma\!\left(\tfrac12\right)=\sqrt\pi
  • Fourier coefficient

    bn=1π∫−ππf(x)sin⁡nx dxb_n=\frac1\pi\int_{-\pi}^{\pi}f(x)\sin nx\,dx
  • Stirling's formula

    n!∼2πn(ne)nn!\sim\sqrt{2\pi n}\left(\frac ne\right)^n

Worked examples

Example 1

Find the Fourier series of f(x)=xf(x) = x on −π<x<π-\pi < x < \pi.

Example 2

Compute Γ(52)\Gamma\left(\frac52\right).