In the mathematical field of analysis, Dini's theorem says that if a monotone sequence of continuous functions converges pointwise on a compact space and if the limit function is also continuous, then the convergence is uniform. The theorem is named after Ulisse Dini.
Formal statement If X is a compact topological space, and (fn)n∈ℕ is a monotonically increasing sequence (meaning fn(x)≤fn+1(x) for all n∈ℕ and x∈X) of continuous real-valued functions on X which converges pointwise to a continuous function f:X→ℝ, then the convergence is uniform. The same conclusion holds if (fn)n∈ℕ is monotonically decreasing instead of increasing. This is one of the few situations in mathematics where pointwise convergence implies uniform convergence; the key is the greater control implied by the monotonicity. The limit function must be continuous, since a uniform limit of continuous functions is necessarily continuous. The continuity of the limit function cannot be inferred from the other hypothesis (consider xn in [0,1].)
Proof Let ε>0 be given. For each n∈ℕ, let gn=f−fn, and let En be the set of those x∈X such that gn(x)<ε. Each gn is continuous, and so each En is open (because each En is the preimage of the open set (−∞,ε) under gn, a continuous function). Since (fn)n∈ℕ is monotonically increasing, (gn)n∈ℕ is monotonically decreasing, it follows that the sequence En is ascending (i.e. En⊂En+1 for all n∈ℕ). Since (fn)n∈ℕ converges pointwise to f, it follows that the collection (En)n∈ℕ is an open cover of X. By compactness, there is a finite subcover, and since En are ascending the largest of these is a cover too. Thus we obtain that there is some positive integer N such that EN=X. That is, if n>N and x is a point in X, then |f(x)−fn(x)|<ε, as desired.
Notes
References Bartle, Robert G. and Sherbert Donald R.(2000) “Introduction to Real Analysis, Third Edition” Wiley. p 238. – Presents a proof using gauges. Edwards, Charles Henry (1994) [1973]. Advanced Calculus of Several Variables. Mineola, New York: Dover Publications. ISBN 978-0-486-68336-2. Graves, Lawrence Murray (2009) [1946]. The theory of functions of real variables. Mineola, New York: Dover Publications. ISBN 978-0-486-47434-2. Friedman, Avner (2007) [1971]. Advanced calculus. Mineola, New York: Dover Publications. ISBN 978-0-486-45795-6. Jost, Jürgen (2005) Postmodern Analysis, Third Edition, Springer. See Theorem 12.1 on page 157 for the monotone increasing case. Rudin, Walter R. (1976) Principles of Mathematical Analysis, Third Edition, McGraw–Hill. See Theorem 7.13 on page 150 for the monotone decreasing case. Thomson, Brian S.; Bruckner, Judith B.; Bruckner, Andrew M. (2008) [2001]. Elementary Real Analysis. ClassicalRealAnalysis.com. ISBN 978-1-4348-4367-8.