8. Midterm 1 and Uniform Continuity

Connectedness

Connectedness in Real Analysis

students, this lesson introduces connectedness, one of the most important ideas for understanding how sets behave in real analysis. The big picture is simple: connected sets have no “breaks” or “gaps” ✨. This idea helps explain why some intervals behave nicely, why continuous functions cannot “jump over” values, and how connectedness fits into the larger study of Midterm 1 and Uniform Continuity.

Why Connectedness Matters

In everyday language, something connected is all in one piece. A sidewalk with a crack may still be connected if you can walk across it without leaving the path, but two separate islands are not connected by land. In real analysis, the idea is more precise. A set is connected if it cannot be split into two nonempty separated pieces.

This matters because connectedness gives structure to the real number line and to functions defined on it. For example, intervals like $[a,b]$ are connected, while a set like $(0,1)\cup(2,3)$ is not. This difference is crucial when studying continuous functions, because continuous images of connected sets remain connected. That fact leads directly to the Intermediate Value Theorem, which says that if a continuous function takes two values, it must take every value in between.

For students, the main goal is to recognize connectedness as a way of detecting whether a set has a “split” or not, and to use that idea in proofs and examples 📘.

The Main Idea: No Gaps, No Separation

To define connectedness formally, we start with the idea of separating a set. Suppose $A$ is a subset of $\mathbb{R}$. We say $A$ is disconnected if there exist two sets $U$ and $V$ such that:

  • $A\subseteq U\cup V$,
  • $A\cap U$ and $A\cap V$ are both nonempty,
  • $(A\cap U)\cap (A\cap V)=\varnothing$,
  • and the pieces are separated in the relative topology sense.

In more intuitive terms, $A$ is disconnected if it can be split into two parts that do not touch each other inside the set.

A more practical way to think about connectedness in $\mathbb{R}$ is this: intervals are connected, and sets that contain gaps are usually not connected. For instance, $[0,1]$ is connected, but $[0,1)\cup(1,2]$ is not, because the point $1$ is missing and creates a break.

A common result in real analysis is that a subset of $\mathbb{R}$ is connected if and only if it is an interval. This includes open intervals like $(a,b)$, closed intervals like $[a,b]$, half-open intervals like $[a,b)$, rays like $(a,\infty)$, and single points. Each of these is “one piece” in the real line.

Think of a train track 🚆. If the track is a single continuous line, you can move along it without jumping. If there is a missing section, then the track is no longer connected. Intervals behave like the first case.

Examples and Nonexamples

Let’s look at concrete examples.

Example 1: $[0,2]$

The interval $[0,2]$ is connected. There is no place inside the set where it breaks into two separate nonempty pieces. If you pick any two numbers in $[0,2]$, every number between them is also in $[0,2]$.

Example 2: $(0,1)\cup(2,3)$

This set is not connected. There is a gap between $1$ and $2$. You can split the set into $(0,1)$ and $(2,3)$, and these two parts are separate.

Example 3: $\{0\}\cup(1,2)$

This is also disconnected. Even though $\{0\}$ is just one point, it stands apart from the interval $(1,2)$.

Example 4: $\mathbb{Q}$ in $\mathbb{R}$

The rational numbers are not connected as a subset of $\mathbb{R}$. Even though they are dense, they have many “holes” when viewed inside the real line. For connectedness, density alone is not enough.

Example 5: $\mathbb{R}$

The entire real line is connected. There is nowhere to split it into two separated nonempty parts.

A helpful test in $\mathbb{R}$ is the interval property: if a set contains two points $x<y$, then it must contain every point between them. If it does, then it is an interval, and therefore connected.

Connectedness and Continuous Functions

Connectedness becomes very powerful when combined with continuity. A central theorem says:

If $f$ is continuous and $A$ is connected, then $f(A)$ is connected.

This means continuous functions cannot break a connected set into disconnected pieces. The idea is easy to visualize. If you draw a continuous curve without lifting your pencil ✏️, the path cannot suddenly jump apart.

This theorem leads to the Intermediate Value Theorem. Suppose $f$ is continuous on $[a,b]$, and suppose $f(a)<k<f(b)$ or $f(b)<k<f(a)$. Since $[a,b]$ is connected and $f([a,b])$ is connected, the output set must be an interval. Therefore every value between $f(a)$ and $f(b)$ appears somewhere in $[a,b]$.

For example, if $f(x)=x^3-2x+1$ is continuous on $[0,2]$, then $f(0)=1$ and $f(2)=5$. Since $3$ lies between $1$ and $5$, there must be some $c\in[0,2]$ such that $f(c)=3$. Connectedness is part of the reason this conclusion is guaranteed.

This is one way connectedness fits into the broader Midterm 1 and Uniform Continuity topic. Uniform continuity controls how function values change across the domain, while connectedness controls whether a set can be split into separate pieces. Together, these ideas help explain why continuous functions behave predictably on intervals.

How to Reason About Connectedness in Proofs

When students is asked to prove a set is connected or disconnected, the most useful strategy depends on the setting.

To show a set is connected

If the set is a subset of $\mathbb{R}$, try to show it is an interval. One standard approach is to verify the interval property: whenever $x<y$ are in the set, every $t$ with $x<t<y$ is also in the set.

Another approach is to use a known theorem. If a set is the continuous image of a connected set, then it is connected. For example, if $g:[a,b]\to\mathbb{R}$ is continuous, then $g([a,b])$ is connected.

To show a set is disconnected

Try to split it into two separated nonempty parts. For subsets of $\mathbb{R}$, look for a gap. If the set can be written as a union of two nonempty open pieces in the subspace topology, then it is disconnected.

For example, the set $(-\infty,0)\cup(0,\infty)$ is disconnected because it is the union of two nonempty separated sets, and the missing point $0$ creates the break.

A useful intuition is to ask: can I move continuously from one point to another while staying inside the set? If the answer is no because of a gap, the set is not connected.

Connection to Midterm 1 and Uniform Continuity

Connectedness is often studied alongside continuity and uniform continuity because all three ideas describe how functions and sets behave without sudden breaks.

  • Continuity tells us that small changes in input near a point produce small changes in output.
  • Uniform continuity strengthens this by making the control work across the entire domain with one choice of $\delta$ for every point.
  • Connectedness describes the shape of the domain or range: whether it is all in one piece.

These ideas meet in important theorems. A continuous function on a connected domain has a connected image. On an interval, this means the image is also an interval. This is why continuous functions often preserve the “no gaps” structure of real analysis.

For Midterm 1, connectedness may appear in proofs, theorem statements, or examples involving intervals and continuous functions. It is especially relevant when explaining why the image of $[a,b]$ under a continuous function must be an interval, which is a stronger and more useful conclusion than simply saying the image is bounded or open.

Common Misunderstandings

One common mistake is to think that a connected set must be “large” or “filled in.” That is not true. A single point like $\{5\}$ is connected because it cannot be split into two nonempty parts.

Another mistake is to confuse connectedness with convexity. In $\mathbb{R}$, every interval is convex and connected, but in higher dimensions these are different ideas. A set can be connected without being convex.

A third mistake is to think that many pieces that are close together must be connected. Distance alone does not decide connectedness. What matters is whether the set has a separation or gap. For example, $\{1/n:n\in\mathbb{N}\}\cup\{0\}$ is not connected as a subset of $\mathbb{R}$, even though the points accumulate near $0$.

Conclusion

Connectedness is the real-analysis way of saying “one piece, no gap” 🧠. In $\mathbb{R}$, connected sets are exactly intervals, so this idea is easy to recognize in many problems. Connectedness becomes especially important when paired with continuity, because continuous images of connected sets remain connected. That fact supports major results like the Intermediate Value Theorem and helps explain why continuous functions on intervals behave so predictably.

For students, the key takeaway is that connectedness is not just a definition to memorize. It is a tool for understanding the structure of sets and the behavior of continuous functions. It fits naturally into Midterm 1 and Uniform Continuity because it bridges set structure, continuity, and theorem-based reasoning.

Study Notes

  • A set is connected if it cannot be split into two separated nonempty parts.
  • In $\mathbb{R}$, a set is connected if and only if it is an interval.
  • Examples of connected sets: $[a,b]$, $(a,b)$, $(a,\infty)$, $\mathbb{R}$, and single points.
  • Examples of disconnected sets: $(0,1)\cup(2,3)$, $\{0\}\cup(1,2)$, and $(-\infty,0)\cup(0,\infty)$.
  • If $f$ is continuous and $A$ is connected, then $f(A)$ is connected.
  • This theorem helps explain the Intermediate Value Theorem.
  • To show a set is connected in $\mathbb{R}$, try proving it is an interval.
  • To show a set is disconnected, look for a gap or a separation.
  • Connectedness is related to continuity and uniform continuity, but it describes the shape of a set rather than how fast a function changes.
  • Remember the big idea: connected means “one piece” ✨.

Practice Quiz

5 questions to test your understanding

Connectedness — Real Analysis | A-Warded