Tutorials › Real Analysis › Topology Proof Synthesis

Connectedness · Tutorial 329 of 1000

Topology Proof Synthesis

Learn how to assemble earlier topological results into precise arguments about level crossings and functions that stay uniformly away from zero.

Intermediate 10 min read

What You'll Learn

  • Organize a proof by assigning distinct roles to compactness, connectedness, and continuity
  • Prove that a continuous function has a first crossing of an intermediate level on a closed interval
  • Use a compact level set to identify the earliest point where a crossing occurs
  • Derive a uniform positive lower bound for a continuous function that never vanishes on a compact connected set
  • Recognize why compactness and connectedness cannot be used interchangeably
  • Apply proof-synthesis steps to functions with one or several level crossings

From Individual Theorems to a Proof Strategy

Earlier in the course, compactness and connectedness supplied different kinds of information. Compactness can ensure that a nonempty closed subset of a compact set has a minimum, while connectedness rules out gaps in a set or in the image of a continuous function. Continuity links the domain to its image and makes level sets closed. A topology proof often succeeds by assigning each hypothesis its own job rather than trying to use all the hypotheses in the same way.

This tutorial develops two conclusions by putting those roles together. The first is a first-crossing principle: if a continuous function starts below a level and ends above it, then there is a first point where it reaches that level, and the function stays below the level before that point. The second is a uniform sign margin: a continuous function on a nonempty compact connected set that never vanishes has one sign everywhere and stays a positive distance from zero.

A First-Crossing Principle

The Intermediate Value Theorem guarantees that an intermediate level is reached. That alone does not identify where the first crossing occurs. To do so, collect all crossing points into a level set. Continuity makes this set closed, and compactness then ensures that it has a least point.

Theorem: Let \(a<b\), let \(f:[a,b]\to\mathbb{R}\) be continuous, and suppose \(f(a)<c<f(b)\). Define \(L=\{x\in[a,b]:f(x)=c\}\). Then \(L\) is nonempty and compact, so it has a minimum \(r\). Moreover, \(f(r)=c\), and \(f(x)<c\) for every \(x\in[a,r)\).

Proof. Since \(f(a)<c<f(b)\), the Intermediate Value Theorem gives some \(x\in[a,b]\) such that \(f(x)=c\). Thus \(L\ne\varnothing\). The singleton \(\{c\}\) is closed in \(\mathbb{R}\), and continuity implies that \(L=f^{-1}(\{c\})\) is closed relative to \([a,b]\). The interval \([a,b]\) is compact, so \(L\), being a closed subset of a compact set, is compact. The Extreme Value Theorem applied to the identity function on \(L\) shows that \(L\) has a minimum \(r\). By the definition of \(L\), \(f(r)=c\).

We now show that \(f(x)<c\) whenever \(a\leq x<r\). Fix such an \(x\). If \(f(x)=c\), then \(x\in L\), contradicting the minimality of \(r\), since \(x<r\). If \(f(x)>c\), then \(f(a)<c<f(x)\), so the Intermediate Value Theorem applied on \([a,x]\) gives some \(z\in[a,x]\) with \(f(z)=c\). Since \(z\leq x<r\), this again contradicts the minimality of \(r\). The only remaining possibility is \(f(x)<c\). This proves the claim. \(\square\)

The proof uses a sequence of distinct tools. The Intermediate Value Theorem creates at least one crossing. Continuity makes the complete set of crossings closed. Compactness gives that set a least point. Finally, the Intermediate Value Theorem rules out the possibility that the function had risen above the level earlier. The first crossing is not chosen by guesswork; it is obtained as the minimum of a well-structured set.

Worked Example: Finding the First Crossing Exactly

Let \(f(x)=(x+1)^2\) on \([-1,2]\), and take \(c=1\). We have \(f(-1)=0<1\) and \(f(2)=9>1\), so the first-crossing theorem applies. To identify the crossing points, solve \((x+1)^2=1\). This gives \(x+1=1\) or \(x+1=-1\), hence \(x=0\) or \(x=-2\). Only \(x=0\) belongs to \([-1,2]\), so \(L=\{0\}\) and its minimum is \(r=0\). For every \(x\in[-1,0)\), we have \(0\leq x+1<1\), and therefore \(f(x)=(x+1)^2<1\). At the first crossing, \(f(0)=1\).

When There Is More Than One Crossing

The word “first” matters: the theorem does not claim that the level is reached only once. A continuous function can cross a level repeatedly and still have a well-defined first crossing. The compactness argument selects the earliest point in the whole level set, not a unique point in that set.

Worked Example: Three Crossings and the First One

Define \(f:[0,3]\to\mathbb{R}\) by \(f(x)=2x\) for \(0\leq x\leq1\), \(f(x)=4-2x\) for \(1\leq x\leq2\), and \(f(x)=2x-4\) for \(2\leq x\leq3\). The formulas agree at the joining points: at \(x=1\), the first two give \(2\), and at \(x=2\), the second and third give \(0\). Thus \(f\) is continuous. Also \(f(0)=0<1<2=f(3)\).

On the first piece, \(f(x)=1\) means \(2x=1\), so \(x=1/2\). On the second piece, \(4-2x=1\) gives \(x=3/2\). On the third piece, \(2x-4=1\) gives \(x=5/2\). All three points lie in their stated pieces, so \(L=\{1/2,3/2,5/2\}\), and the first crossing is \(r=1/2\). In particular, \(f(x)=2x<1\) for \(0\leq x<1/2\). The theorem identifies the first crossing without requiring the level set to contain only one point.

A Uniform Margin from Zero

A second proof-synthesis result turns a qualitative statement into a quantitative one. The Nonvanishing Continuous Function Has Constant Sign Theorem says that a continuous function on a connected set that never equals zero has one sign throughout the set. On a compact set, the Positive Continuous Functions on Compact Sets Have a Positive Minimum Theorem can strengthen this: the absolute value cannot merely be positive point by point; it has a positive lower bound that works at every point.

Theorem: Let \(K\subseteq\mathbb{R}\) be nonempty, compact, and connected, and let \(f:K\to\mathbb{R}\) be continuous. If \(f(x)\ne0\) for every \(x\in K\), then there is a number \(\delta>0\) such that either \(f(x)\geq\delta\) for every \(x\in K\), or \(f(x)\leq-\delta\) for every \(x\in K\).

Proof. By the Nonvanishing Continuous Function Has Constant Sign Theorem, either \(f(x)>0\) for every \(x\in K\), or \(f(x)<0\) for every \(x\in K\). Define \(g:K\to\mathbb{R}\) by \(g(x)=|f(x)|\). The function \(g\) is continuous because \(f\) and the absolute-value function are continuous. The hypothesis \(f(x)\ne0\) gives \(g(x)>0\) for every \(x\in K\). Since \(K\) is nonempty and compact, the Positive Continuous Functions on Compact Sets Have a Positive Minimum Theorem gives a number \(\delta>0\) such that \(g(x)\geq\delta\) for all \(x\in K\). If \(f\) is positive everywhere, then \(|f(x)|=f(x)\), so \(f(x)\geq\delta\). If \(f\) is negative everywhere, then \(|f(x)|=-f(x)\), so \(-f(x)\geq\delta\), or \(f(x)\leq-\delta\). These are the two asserted alternatives. \(\square\)

The roles of the hypotheses are visible in the proof. Connectedness gives a single sign; compactness supplies one positive lower bound for the magnitude. A pointwise claim \(f(x)\ne0\) does not by itself provide such a uniform bound on a noncompact domain. For instance, \(f(x)=x\) is positive on \((0,1)\), but no \(\delta>0\) satisfies \(x\geq\delta\) for every \(x\in(0,1)\).

Worked Example: A Positive Margin on a Compact Interval

Let \(K=[-2,3]\) and \(f(x)=(x-1)^2+2\). For every \(x\in K\), \((x-1)^2\geq0\), so \(f(x)\geq2\). At \(x=1\), which belongs to \(K\), we have \(f(1)=(1-1)^2+2=2\). Thus the minimum of \(|f|\) on \(K\) is exactly \(2\), and the theorem holds with \(\delta=2\): \(f(x)\geq2\) for every \(x\in K\). The connectedness conclusion is consistent with the fact that \(f\) is positive throughout; compactness ensures that the lower bound is attained and is strictly positive.

A Reusable Synthesis Method

These arguments illustrate a practical way to organize proofs that involve topology. First identify the object whose existence or extremal position is needed. Then make a set of candidates, prove it is nonempty, and establish the closure and compactness needed to extract an extremum. Use connectedness when the conclusion concerns gaps or a change of sign. Continuity is the link that makes preimages of closed sets closed and supports intermediate values.

1
Translate the target into a set.
For a crossing problem, form \(L=\{x:f(x)=c\}\). For a sign-margin problem, consider \(g=|f|\).
2
Establish that the set or function has the needed structure.
Use the Intermediate Value Theorem for nonemptiness of a crossing set, and continuity to show that a level set is closed. Check that the relevant domain is compact.
3
Extract the extremum.
Compactness allows a nonempty closed crossing set to have a minimum, or a positive continuous function to have a positive minimum.
4
Use connectedness or order to finish.
Apply the Intermediate Value Theorem to rule out an earlier crossing, or use constant sign to select the correct uniform inequality.

A common mistake is to invoke compactness when the argument actually needs connectedness, or to invoke connectedness when an extremum is required. A compact set can have gaps, so compactness alone cannot force a function to take every intermediate value. A connected set need not be compact, so connectedness alone cannot guarantee that a positive function stays a fixed distance from zero. Naming the precise job of each hypothesis both clarifies the proof and helps reveal when a claim is too strong.

There is also an important boundary issue in first-crossing arguments. The assumption \(f(a)<c<f(b)\) places the endpoint values strictly on opposite sides of the level, ensuring a crossing by the Intermediate Value Theorem. If an endpoint already has value \(c\), that endpoint may itself be the first crossing; if the endpoint values do not lie on opposite sides, a crossing need not exist. In each situation, the level set must be examined under the actual hypotheses rather than inferred from the picture.

Check Your Understanding

For each question, identify which established result supplies the crucial step.

  1. In the first-crossing theorem, why is the set \(L=\{x\in[a,b]:f(x)=c\}\) nonempty?
  2. Why does continuity make \(L\) closed relative to \([a,b]\), and where is compactness used after that?
  3. In the three-crossing example, why does the first-crossing theorem not imply that \(f(x)=1\) has only one solution?
  4. For the uniform sign-margin theorem, which conclusion comes from connectedness, and which comes from compactness?
  5. Give a continuous positive function on a noncompact interval that has no positive uniform lower bound.