Math ClubMath Club
v1 · padrão canônico

Lesson 43 — Continuity of Functions

Continuity at a point, on an interval. Types of discontinuity. Weierstrass and Intermediate Value theorems.

Used in: 2.º ano EM · Equiv. Math II japonês §2 · Equiv. Klasse 11 alemã — Differentialrechnung Vorbereitung · Equiv. H2 Math singapurense §2.1

f is continuous at a    limxaf(x)=f(a)f \text{ is continuous at } a \iff \lim_{x \to a} f(x) = f(a)
Choose your door

Rigorous notation, full derivation, hypotheses

Definitions and theorems

Direct ε-δ form

ff continuous at aa     \iff \eps>0,δ>0:xa<δf(x)f(a)<\eps\forall \eps > 0, \exists \delta > 0 : |x - a| < \delta \Rightarrow |f(x) - f(a)| < \eps.

(Note: here we may have xa=0|x - a| = 0, that is, x=ax = a, since f(a)f(a)=0<\eps|f(a) - f(a)| = 0 < \eps trivially.)

Types of discontinuity

TypeCharacterization
Removablelim\lim exists, but f(a)\neq f(a) or f(a)f(a) undefined
JumpOne-sided limits exist but differ
Essential (infinite)At least one one-sided is ±\pm\infty
OscillatoryOne-sided limits do not exist (oscillates)

Intermediate Value Theorem (IVT)

If fC([a,b])f \in C([a, b]) and kk is between f(a)f(a) and f(b)f(b), then c(a,b):f(c)=k\exists c \in (a, b) : f(c) = k.

Weierstrass theorem (extrema)

If fC([a,b])f \in C([a, b]) (closed and bounded interval), then ff attains a maximum and minimum on [a,b][a, b].

Uniform continuity

ff is uniformly continuous on II if \eps,δ\forall \eps, \exists \delta (the same δ\delta for every xx) such that xy<δf(x)f(y)<\eps|x - y| < \delta \Rightarrow |f(x) - f(y)| < \eps.

Heine-Cantor: fC([a,b])f \in C([a, b])ff uniformly continuous.

Operations preserving continuity

  • Sum, product, quotient (denom. 0\neq 0).
  • Composition: fgf \circ g continuous if gg continuous at aa and ff at g(a)g(a).
  • max(f,g)\max(f, g), min(f,g)\min(f, g), f|f|.

Exercise list

40 exercises · 10 with worked solution (25%)

Application 25Understanding 4Modeling 7Challenge 2Proof 2
  1. Ex. 43.1ApplicationAnswer key
    f(x)=(x24)/(x2)f(x) = (x^2 - 4)/(x - 2) continuous at x=2x = 2? (Ans: No — removable.)
  2. Ex. 43.2Application
    f(x)=1/xf(x) = 1/x continuous at x=0x = 0? Type of discontinuity?
  3. Ex. 43.3Application
    f(x)=xf(x) = \lfloor x \rfloor continuous at x=3x = 3? And at x=2.5x = 2.5?
  4. Ex. 43.4ApplicationAnswer key
    Define f(2)f(2) such that (x24)/(x2)(x^2 - 4)/(x - 2) becomes continuous. (Ans: f(2)=4f(2) = 4.)
  5. Ex. 43.5Application
    f(x)={x+1x<0x2x0f(x) = \begin{cases} x + 1 & x < 0 \\ x^2 & x \geq 0 \end{cases} — continuous at x=0x = 0? (Ans: No.)
  6. Ex. 43.6Application
    Find aa such that f(x)={x2x1ax+1x>1f(x) = \begin{cases} x^2 & x \leq 1 \\ ax + 1 & x > 1 \end{cases} is continuous. (Ans: a=0a = 0.)
  7. Ex. 43.7ApplicationAnswer key
    f(x)=sin(1/x)f(x) = \sin(1/x) has what type of discontinuity at 0? (Ans: oscillatory.)
  8. Ex. 43.8Application
    Show that f(x)=tanxf(x) = \tan x is discontinuous at π/2\pi/2.
  9. Ex. 43.9ApplicationAnswer key
    f(x)=exf(x) = e^x — where is it continuous? (Ans: R\mathbb{R}.)
  10. Ex. 43.10Application
    f(x)=lnxf(x) = \ln x — domain? Where is it continuous?
  11. Ex. 43.11Application
    f(x)=xsin(1/x)f(x) = x \sin(1/x) extended with f(0)=0f(0) = 0 — continuous at 0? (Ans: Yes — squeeze.)
  12. Ex. 43.12Application
    f(x)={sinx/xx01x=0f(x) = \begin{cases} \sin x / x & x \neq 0 \\ 1 & x = 0 \end{cases} — continuous at 0? (Ans: Yes.)
  13. Ex. 43.13Application
    Find a,ba, b for f(x)={x2+ax<1bx+3x1f(x) = \begin{cases} x^2 + a & x < 1 \\ bx + 3 & x \geq 1 \end{cases} continuous. (Family a+1=b+3a + 1 = b + 3, so a=b+2a = b + 2.)
  14. Ex. 43.14Application
    f(x)=(x31)/(x1)f(x) = (x^3 - 1)/(x - 1) — define f(1)f(1) to be continuous.
  15. Ex. 43.15Application
    f(x)=(sinx)/xf(x) = (\sin x)/x — domain? Can it be continuously extended at 0?
  16. Ex. 43.16Application
    IVT: show that x3x1=0x^3 - x - 1 = 0 has a root in (1,2)(1, 2).
  17. Ex. 43.17ApplicationAnswer key
    x3+2x5=0x^3 + 2x - 5 = 0 has a root in [1,2][1, 2]? Use IVT.
  18. Ex. 43.18ApplicationAnswer key
    Show that cosx=x\cos x = x has a solution in (0,π/2)(0, \pi/2).
  19. Ex. 43.19ApplicationAnswer key
    Show that ex=3xe^x = 3 - x has a solution in (0,1)(0, 1).
  20. Ex. 43.20ApplicationAnswer key
    Show that an odd-degree polynomial has at least one real root.
  21. Ex. 43.21Application
    Is there c[0,π]c \in [0, \pi] with sinc=c/π\sin c = c/\pi? Use IVT.
  22. Ex. 43.22Application
    f(x)=x4+x3f(x) = x^4 + x - 3. How many real roots? Use IVT + sign analysis.
  23. Ex. 43.23Application
    Show that lnx=ex\ln x = e^{-x} has a solution in (1,e)(1, e).
  24. Ex. 43.24Application
    ff continuous on [0,1][0, 1] with f(0)=1,f(1)=0f(0) = 1, f(1) = 0. Is there cc with f(c)=cf(c) = c? (Ans: Yes — IVT on f(x)xf(x) - x.)
  25. Ex. 43.25Application
    ff continuous on [0,1][0, 1] with f(0)=f(1)f(0) = f(1). Is there cc with f(c)=f(c+1/2)f(c) = f(c + 1/2) in [0,1/2][0, 1/2]?
  26. Ex. 43.26Modeling
    In control, system with continuous transfer function on jωj\omega — interpret Bode plot as continuity.
  27. Ex. 43.27Modeling
    In finance, option price is continuous in parameters (Black-Scholes Lesson). Verify for S,K,T,r,σS, K, T, r, \sigma.
  28. Ex. 43.28Modeling
    Position s(t)s(t) continuous, but velocity s(t)s'(t) may have jumps (shocks). Give an example.
  29. Ex. 43.29Modeling
    In RL, continuous policy π(s)\pi(s) → deterministic gradient works. Discontinuous policy → needs softmax.
  30. Ex. 43.30Modeling
    Transfer function H(s)=1/(s2+2s+5)H(s) = 1/(s^2 + 2s + 5). Where is it continuous? Poles?
  31. Ex. 43.31Modeling
    In robotics, serial manipulator: gripper position is continuous in joints (forward kinematics). Show via composition.
  32. Ex. 43.32Modeling
    Square signal: u(t)=1u(t) = 1 if t\lfloor t \rfloor even, 0 otherwise. Discontinuity points?
  33. Ex. 43.33Understanding
    Show that sum and product of continuous functions are continuous.
  34. Ex. 43.34UnderstandingAnswer key
    Show that if ff is continuous and f(a)>0f(a) > 0, there exists a neighborhood where f>0f > 0 (sign preservation).
  35. Ex. 43.35Understanding
    Show that f|f| is continuous if ff is continuous.
  36. Ex. 43.36Understanding
    Show that composition of continuous functions is continuous.
  37. Ex. 43.37Challenge
    Dirichlet function f(x)=1f(x) = 1 if xQx \in \mathbb{Q}, 00 otherwise. Where is it continuous? (Ans: nowhere.)
  38. Ex. 43.38ChallengeAnswer key
    Thomae's function (continuous at the irrationals, discontinuous at the rationals). Sketch the proof.
  39. Ex. 43.39Proof
    Prove IVT using completeness of R\mathbb{R} (sup of the set where f<kf < k).
  40. Ex. 43.40Proof
    Prove Weierstrass: fC([a,b])f \in C([a, b]) attains max and min. (Use bounded sequence + Bolzano-Weierstrass.)

Sources

Updated on 2026-04-30 · Author(s): Clube da Matemática

Found an error? Open an issue on GitHub or submit a PR — open source forever.