Lebl-Basic-Analysis-I · Problem 3.3.4

Continuous Functions

Mathematics · extreme-and-intermediate-value-theorems

Problem

Let f(x):={sin⁡(1/x)if x≠0,0if x=0.f(x) := \begin{cases} \sin(1/x) & \text{if } x \neq 0, \\ 0 & \text{if } x = 0. \end{cases} Show that ff has the intermediate value property. That is, whenever a<ba < b, if there exists a yy such that f(a)<y<f(b)f(a) < y < f(b) or f(a)>y>f(b)f(a) > y > f(b), then there exists a c∈(a,b)c \in (a, b) such that f(c)=yf(c) = y.
Intuitive explanation

The intermediate value property doesn't require continuity everywhere—it only requires that you can't "jump over" a target value. The key insight is to split the interval at x=0x = 0 and handle it carefully: on any subinterval away from zero, ff is continuous and IVP holds automatically; when zero lies between aa and bb, sin⁡(1/x)\sin(1/x) oscillates wildly near zero but stays bounded in [−1,1][-1, 1], so you can find the target value either in (a,0)(a, 0) or (0,b)(0, b) by continuity, or argue directly using the oscillation's density.

Intuitive explanation

The intermediate value property doesn't require continuity everywhere—it only requires that you can't "jump over" a target value. The key insight is to split the interval at x=0x = 0 and handle it carefully: on any subinterval away from zero, ff is continuous and IVP holds automatically; when zero lies between aa and bb, sin⁡(1/x)\sin(1/x) oscillates wildly near zero but stays bounded in [−1,1][-1, 1], so you can find the target value either in (a,0)(a, 0) or (0,b)(0, b) by continuity, or argue directly using the oscillation's density.

Related theory

Browse the problem library