Sketch of WHY (first principles): Continuity gives a local δx at each point. The balls (x−δx/2,x+δx/2) cover [a,b]. Compactness extracts a finite subcover. Take the minimum of finitely many δ's (a Lebesgue-number argument) — a positive number δ that works everywhere. On R (not compact) the inf of infinitely many shrinking δ's can be 0, which is why x2 fails.
Pointwise vs uniform — what is the single structural difference?
Quantifier order: pointwise allows δ=δ(ε,x0) (chosen after the point); uniform requires δ=δ(ε) (one δ for all points).
Write the uniform continuity definition.
∀ε>0∃δ>0∀x,y∈A:∣x−y∣<δ⇒∣f(x)−f(y)∣<ε.
Why is x2 not uniformly continuous on R?
∣x2−y2∣=∣x+y∣∣x−y∣; the amplifier ∣x+y∣ is unbounded, so no fixed δ keeps the output gap <ε everywhere.
State Heine–Cantor.
Continuous on a compact set (closed & bounded [a,b]) ⇒ uniformly continuous there.
Why does compactness give uniform continuity?
Local δ-balls cover; finite subcover; take the minimum δ>0 (Lebesgue number). On non-compact sets the inf can be 0.
Lipschitz ⇒ uniform continuity: what δ works?
δ=ε/L, since ∣f(x)−f(y)∣≤L∣x−y∣<ε.
Give a uniformly continuous function with unbounded derivative.
x on [0,∞); use ∣x−y∣≤∣x−y∣, take δ=ε2.
Why does continuity fail to give uniform continuity on (0,1)?
(0,1) isn't closed/compact; e.g. 1/x blows up near 0, forcing δ→0.
Recall Feynman: explain to a 12-year-old
Imagine drawing a graph and a rule: "if two dots are closer than δ sideways, they're closer than ε up–down." Ordinary continuity lets you use a different sideways-rule in each region of the page — tiny steps where the curve is steep, big steps where it's flat. Uniform continuity says: I can pick one sideways-rule that works on the whole page at once. For a steep-forever curve like x2, the curve gets so steep far out that no single rule survives — so it's continuous but not uniformly so. On a closed, finite stretch the curve can't get infinitely steep, so one rule always exists.
Dekho, pointwise continuity aur uniform continuity ka asli farq sirf ek cheez hai — quantifier ka order, yaani δ kis cheez pe depend karta hai. Pointwise me har point x0 ke liye apna alag δ choose kar sakte ho: jahan curve steep hai wahan chhota δ, jahan flat hai wahan bada δ. Uniform me condition strong hai — ek hi δ poore domain ke liye kaam karna chahiye, before kisi point ko dekhe.
Iska best example x2 hai. ∣x2−y2∣=∣x+y∣∣x−y∣. Yahan ∣x+y∣ ek "amplifier" hai. R pe jaise jaise x bada hota hai, same input gap se output gap bohot bada ho jata hai. Isliye koi fixed δ kaam nahi karta — woh continuous hai par uniformly continuous nahi. Lekin agar tum [0,5] jaisa closed-bounded (compact) interval lo, to ∣x+y∣≤10 bound ho jata hai, aur δ=ε/10 sabke liye chal jata hai. Yahi Heine–Cantor theorem kehta hai: compact set pe continuity automatically uniform ban jati hai.
Do common galtiyan yaad rakho. Pehli: "continuous everywhere means uniformly continuous" — galat, kyunki unbounded domain pe δ shrink karke 0 ho sakta hai. Doosri: "(0,1) bounded hai to bas ho gaya" — nahi, (0,1) closed nahi hai, isliye 1/x wahan continuous hai par uniformly continuous nahi (zero ke paas blow up). Aur ek surprise: x ka derivative 0 ke paas infinite hai phir bhi woh uniformly continuous hai (δ=ε2 lo) — matlab Lipschitz hona sufficient hai, necessary nahi. Mantra: "Uniform = ONE delta for everyone."