Get AI summaries of any video or article — Sign up free
Real Analysis Live - Problem Solving - Continuous Functions (Problems here: https://tbsom.de/live) thumbnail

Real Analysis Live - Problem Solving - Continuous Functions (Problems here: https://tbsom.de/live)

4 min read

Based on The Bright Side of Mathematics's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.

TL;DR

Continuity at a point can be proved by sequences: for any x_n→x0, continuity requires f(x_n)→f(x0).

Briefing

A piecewise “rational vs. irrational” function can look wildly discontinuous everywhere—yet still be continuous at a single point. The stream’s first problem uses the sequence definition of continuity to prove that the function f(x)=x for rational x, and f(x)=0 for irrational x is continuous at x=0. The key move is to take an arbitrary sequence (x_n)→0 and show f(x_n)→f(0)=0. Because each x_n is either rational (then f(x_n)=x_n) or irrational (then f(x_n)=0), the absolute difference |f(x_n)−f(0)| is always ≤|x_n|, which goes to 0 by construction. That inequality works uniformly across all possible sequences, including those that mix rationals and irrationals infinitely often—so the “jumps” shrink to nothing at the origin.

The session then escalates to a parameter-fitting continuity problem. A new piecewise function is defined using three formulas on (-∞,-2], [-2,4], and [4,∞): a quartic x^4−4 on the left, a linear ax+b in the middle, and √x on the right. Continuity on the open intervals is automatic because polynomials, linear functions, and √x are continuous there; the only possible failures occur at the “gluing points” x=-2 and x=4. Continuity at x=-2 forces the middle line’s right-limit value to match the quartic’s value: (-2)^4−4=12 must equal -2a+b. Continuity at x=4 forces 4a+b to match √4=2. Solving the resulting 2×2 linear system yields a=-5/3 and b=26/3, producing a function continuous across all real x.

Next comes a classic existence proof: any continuous function f:[0,1]→[0,1] has at least one fixed point. The argument uses geometry and the Intermediate Value Theorem by defining g(x)=f(x)−x. Since g is continuous and g(0)=f(0)−0≥0 while g(1)=f(1)−1≤0, the IVT guarantees some x̃ with g(x̃)=0, i.e., f(x̃)=x̃. The stream stresses that existence is guaranteed, not uniqueness—multiple intersections (hence multiple fixed points) are possible.

A counterexample shows what breaks when the domain is no longer compact: on ℝ, a function like f(x)=x+1 has no fixed point because f(x)=x would imply 1=0. The final segments shift from continuity definitions to stronger notions and limits: an ε–δ continuity exercise is handled by explicitly choosing δ in terms of ε, then a pointwise-limit example demonstrates that pointwise convergence of continuous functions can fail to preserve continuity (the limit function has a jump at 0). The session closes with Lipschitz continuity: if |f(x)−f(y)|≤L|x−y| for all x,y, then continuity follows immediately by choosing δ=ε/L (with a brief note on the L=0 case, which forces f to be constant). The throughline is consistent: continuity is controlled either by sequences, ε–δ estimates, or inequalities strong enough to prevent “jumps,” and the exact definition dictates the proof strategy.

Cornell Notes

The stream shows how to prove continuity using multiple equivalent frameworks and how continuity can fail under weaker convergence. First, a “rational/irrational” piecewise function is discontinuous everywhere except at x=0; continuity at 0 follows from the sequence definition because |f(x_n)−f(0)|≤|x_n| for any sequence x_n→0. Second, a parameterized piecewise function is made continuous by matching values at the only candidate points where jumps can occur (x=-2 and x=4), reducing the task to solving a 2×2 linear system for a and b. Third, any continuous f:[0,1]→[0,1] must have a fixed point, proved via the Intermediate Value Theorem applied to g(x)=f(x)−x. Finally, pointwise limits of continuous functions need not be continuous, while Lipschitz continuity guarantees continuity via an explicit ε–δ choice.

Why does the rational/irrational function become continuous at x=0 even though it has “jumps” everywhere else?

Continuity at x=0 is proved with sequences: take any x_n→0. Then f(0)=0, and for each n either x_n is rational (so f(x_n)=x_n) or irrational (so f(x_n)=0). In both cases, |f(x_n)−f(0)|=|f(x_n)| is ≤|x_n|, which goes to 0. Since this holds for an arbitrary convergent sequence, f(x_n)→f(0), so f is continuous at 0.

In the parameter problem with three piecewise formulas, why is it enough to check continuity only at x=-2 and x=4?

Each piece is continuous on its own open interval: x^4−4 is continuous on (-∞,-2), ax+b is continuous on (-2,4), and √x is continuous on (4,∞). A piecewise function can only fail continuity where the definition changes—at the “gluing points” x=-2 and x=4. So continuity on all of ℝ reduces to matching left/right limits at those two points.

How do the continuity conditions at x=-2 and x=4 translate into a linear system for a and b?

At x=-2, the left piece gives (-2)^4−4=16−4=12, so continuity requires -2a+b=12. At x=4, the right piece gives √4=2, so continuity requires 4a+b=2. Solving these two equations yields a=-5/3 and b=26/3.

How does the fixed-point theorem for continuous f:[0,1]→[0,1] work using the Intermediate Value Theorem?

Define g(x)=f(x)−x. Then g is continuous. Because f maps into [0,1], g(0)=f(0)−0≥0 and g(1)=f(1)−1≤0. Since g takes opposite signs (or hits 0) at the endpoints, the IVT guarantees some x̃∈[0,1] with g(x̃)=0, meaning f(x̃)=x̃.

Why does pointwise convergence of continuous functions not guarantee continuity of the limit?

The stream’s example shows continuous functions f_n converge pointwise to a limit with a jump at 0. Even though each f_n is continuous everywhere, the pointwise limit can change behavior at a specific point (here, x=0), so the limit function fails the continuity test at that point. The lesson: pointwise limits are too weak; uniform limits preserve continuity.

Why does Lipschitz continuity imply ε–δ continuity, and what δ is chosen?

If |f(x)−f(y)|≤L|x−y| for all x,y, then for continuity at x0 one wants |f(x)−f(x0)|<ε whenever |x−x0|<δ. Using the Lipschitz inequality gives |f(x)−f(x0)|≤L|x−x0|. Choosing δ=ε/L (for L>0) ensures L|x−x0|<ε. If L=0, the inequality forces f to be constant, which is continuous.

Review Questions

  1. For the rational/irrational function, what inequality involving |f(x_n)−f(0)| and |x_n| makes the sequence proof work?
  2. In the piecewise parameter problem, what are the two equations you get from continuity at x=-2 and x=4, and how do they determine a and b?
  3. What function g(x) is used to apply the Intermediate Value Theorem to prove existence of a fixed point on [0,1], and why do g(0) and g(1) have opposite signs?

Key Points

  1. 1

    Continuity at a point can be proved by sequences: for any x_n→x0, continuity requires f(x_n)→f(x0).

  2. 2

    A piecewise function only needs continuity checks at points where the formula changes; on open intervals, continuity follows from the continuity of each piece.

  3. 3

    Matching continuity at glue points turns into equations by equating the left/right limiting values of the adjacent formulas.

  4. 4

    A continuous map f:[0,1]→[0,1] must have a fixed point; defining g(x)=f(x)−x reduces the claim to the Intermediate Value Theorem.

  5. 5

    Pointwise limits of continuous functions can be discontinuous; uniform convergence is the stronger condition that preserves continuity.

  6. 6

    ε–δ proofs require choosing δ as a function of ε (and sometimes of the point x0) so the output error stays below ε.

  7. 7

    Lipschitz continuity implies ε–δ continuity directly via |f(x)−f(x0)|≤L|x−x0| and the choice δ=ε/L (for L>0).

Highlights

A function with dense “rational/irrational” oscillations can still be continuous at a single point: at x=0, |f(x_n)−f(0)|≤|x_n| kills the apparent jumps.
Continuity of a three-part piecewise function reduces to solving a 2×2 linear system by enforcing equality at x=-2 and x=4.
The fixed-point theorem on [0,1] is a one-line IVT application once g(x)=f(x)−x is defined.
Pointwise convergence does not preserve continuity: continuous f_n can converge to a limit with a jump.
Lipschitz continuity is a “strong” form of continuity with an explicit δ choice: δ=ε/L.

Topics

Mentioned