The math optional, made finite. Daily Practice

Properties of Continuous Functions on Compact Sets

At a Glance

Why This Chapter Matters

This is a T4 atom with a single appearance (2017, 10 marks). The questions are typically short — either prove the Extreme Value Theorem, apply the Intermediate Value Theorem to locate a root, or show that a continuous function on [a,b][a,b] is bounded. The results themselves are classical theorems most candidates know by name; UPSC tests whether you can write a clean, self-contained argument.

Minimum Theory

Compact subsets of R\mathbb{R} (Heine-Borel). A subset KRK \subseteq \mathbb{R} is compact if and only if it is closed and bounded.

Theorem 1 (Extreme Value Theorem). If f:[a,b]Rf:[a,b]\to\mathbb{R} is continuous, then ff attains its maximum and minimum on [a,b][a,b]; i.e., there exist c,d[a,b]c, d \in [a,b] such that

f(c)f(x)f(d)for all x[a,b].f(c) \leq f(x) \leq f(d) \quad \text{for all } x \in [a,b].

Proof idea. ff is bounded because [a,b][a,b] is compact and continuous images of compact sets are compact (hence bounded). Let M=sup[a,b]fM = \sup_{[a,b]} f. There exists a sequence xn[a,b]x_n \in [a,b] with f(xn)Mf(x_n) \to M. By Bolzano-Weierstrass, (xn)(x_n) has a subsequence xnkc[a,b]x_{n_k} \to c \in [a,b]. By continuity, f(c)=Mf(c) = M.

Theorem 2 (Intermediate Value Theorem). If f:[a,b]Rf:[a,b]\to\mathbb{R} is continuous and f(a)<γ<f(b)f(a) < \gamma < f(b) (or f(b)<γ<f(a)f(b) < \gamma < f(a)), then there exists c(a,b)c \in (a,b) with f(c)=γf(c) = \gamma.

Corollary. f([a,b])f([a,b]) is a closed bounded interval [m,M][m, M].

Theorem 3 (Uniform continuity on compact sets). If f:[a,b]Rf:[a,b]\to\mathbb{R} is continuous, then ff is uniformly continuous on [a,b][a,b]; i.e., for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 (depending only on ε\varepsilon, not on xx) such that

xy<δ    f(x)f(y)<εfor all x,y[a,b].|x - y| < \delta \;\Rightarrow\; |f(x) - f(y)| < \varepsilon \quad \text{for all } x, y \in [a,b].

Theorem 4 (Compactness is preserved). If KRK \subseteq \mathbb{R} is compact and f:KRf:K\to\mathbb{R} is continuous, then f(K)f(K) is compact.

IVT application — locating roots. To show g(x)=0g(x) = 0 has a solution in (a,b)(a,b): compute g(a)g(a) and g(b)g(b); if they have opposite signs, IVT guarantees a root.

Question Archetypes

ArchetypeRecognition
extreme-value”Prove ff is bounded and attains its bounds on [a,b][a,b].“
ivt-root”Show the equation f(x)=0f(x) = 0 (or f(x)=cf(x) = c) has a solution in (a,b)(a,b).“
compact-image”Prove the image of a compact set under a continuous function is compact.”

ivt-root (1 question(s); 2017)

Recognition Cues

Solution Template

  1. Verify ff is continuous on [a,b][a,b].
  2. Compute or estimate f(a)f(a) and f(b)f(b).
  3. Show f(a)f(a) and f(b)f(b) have opposite signs (or one is zero).
  4. Apply IVT: there exists c(a,b)c \in (a,b) with f(c)=0f(c) = 0.
  5. If uniqueness is needed, argue monotonicity.

Worked Example

2017 Paper 2, 2017-P2-Q3c (10 marks)

Let f:[0,1][0,1]f:[0,1]\to[0,1] be a continuous function. Prove that ff has a fixed point, i.e., there exists c[0,1]c \in [0,1] such that f(c)=cf(c) = c.

Proof.

Define g:[0,1]Rg:[0,1]\to\mathbb{R} by g(x)=f(x)xg(x) = f(x) - x.

Continuity. Since ff is continuous on [0,1][0,1] and xxx \mapsto x is continuous, gg is continuous on [0,1][0,1].

Sign check at endpoints. Since f:[0,1][0,1]f:[0,1]\to[0,1], we have f(0)0f(0) \geq 0, so

g(0)=f(0)0=f(0)0.g(0) = f(0) - 0 = f(0) \geq 0.

Similarly f(1)1f(1) \leq 1, so

g(1)=f(1)10.g(1) = f(1) - 1 \leq 0.

Case 1. If g(0)=0g(0) = 0, take c=0c = 0; if g(1)=0g(1) = 0, take c=1c = 1. Done.

Case 2. If g(0)>0g(0) > 0 and g(1)<0g(1) < 0, then by the Intermediate Value Theorem (which applies since gg is continuous on the closed interval [0,1][0,1] and g(1)<0<g(0)g(1) < 0 < g(0)), there exists c(0,1)c \in (0,1) such that g(c)=0g(c) = 0, i.e., f(c)=cf(c) = c.

In every case, ff has a fixed point in [0,1][0,1].

f(c)=c for some c[0,1].  \boxed{f(c) = c \text{ for some } c \in [0,1].}\;\blacksquare

Common Traps

Marks-Aware Writing

At 10 marks (Section A), be precise but not verbose. The expected structure is: define gg, establish continuity (1 sentence), compute g(0)g(0) and g(1)g(1) with reasoning, handle boundary cases, apply IVT, conclude. This should fill about half a page. Avoid lengthy preliminaries about compactness theory — the question tests IVT application directly.

Practice Set

Only one historical question on this atom (shown above).

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.