Cantor’s diagonal argument builds a subset of A that cannot be the output of any element under a proposed map from A to its power set. The contradiction hinges on whether an element belongs to its own image—a small detail with a big result for set theory.

Multiple Choice

In Cantor’s diagonal argument, which statement best describes why the diagonal set S is a problem for surjectivity?

The main idea is that Cantor’s diagonal set S is a subset of A that cannot appear as the image of any element under a supposed surjection f: A → P(A). S is built as a subset of A, so S ∈ P(A). If f were onto, there would be some a ∈ A with f(a) = S. By construction of S, a ∈ S exactly when a ∉ f(a). But if f(a) = S, this becomes a ∈ S exactly when a ∉ S, which is a contradiction. Therefore no such a exists, and S is not in the image of f. That shows S is in P(A) but not in Im(f). Consequently, surjectivity fails.

A set can be too large to list, even when every item on the list seems to have a place. Cantor’s diagonal argument makes this surprising idea precise. It shows that no function from a set (A) onto its power set (\mathcal{P}(A)) can capture every subset of (A). The key is a carefully constructed set that belongs to the power set but cannot be produced by the function.

That set is called the diagonal set. Its definition looks simple, yet it exposes a contradiction at the heart of any supposed surjection. To see why, it helps to slow down and look at what the function claims to do.

First, what does “onto” mean?

The power set (\mathcal{P}(A)) contains every subset of (A). If (A={x,y}), for instance, then

[

\mathcal{P}(A)={\varnothing,{x},{y},{x,y}}.

]

A function (f:A\to\mathcal{P}(A)) assigns a subset of (A) to each element of (A). For a small set such as ({x,y}), we could picture the function as a short list:

[

x\mapsto f(x), \qquad y\mapsto f(y).

]

A function is surjective, or onto, if every member of its target set appears as an output. Here, that would mean every subset of (A) equals (f(a)) for at least one (a\in A).

So a surjection from (A) to (\mathcal{P}(A)) would amount to a complete catalogue of all subsets of (A), with each element of (A) serving as an address for one subset. Cantor’s argument asks whether such a catalogue can exist—not just for a tiny set, but for any set at all.

The diagonal set: a set built to differ

Suppose, for the sake of argument, that (f:A\to\mathcal{P}(A)) is onto. Each (a\in A) is assigned a subset (f(a)) of (A). We now define a new set (S) by this rule:

[

S={a\in A: a\notin f(a)}.

]

In plain language, put an element (a) into (S) when (a) is not a member of the subset assigned to (a).

This definition checks each element against its own assigned subset. That self-comparison is the diagonal move. It resembles reading the diagonal entries of a table and reversing them: where an element appears in its assigned subset, leave it out of (S); where it does not appear, put it in.

Because every member of (S) comes from (A), we know that (S\subseteq A). That fact matters. The power set (\mathcal{P}(A)) consists of all subsets of (A), so

[

S\in\mathcal{P}(A).

]

The new set is not outside the function’s target. It belongs to the very collection the function is supposed to reach.

Why no element can map to (S)

If (f) were onto, every subset of (A) would be an output. Since (S) is a subset of (A), there should be some (a\in A) such that

[

f(a)=S.

]

Now apply the definition of (S) to that same element (a). By construction,

[

a\in S \quad\text{if and only if}\quad a\notin f(a).

]

But if (f(a)=S), then (a\notin f(a)) means (a\notin S). So the statement becomes

[

a\in S \quad\text{if and only if}\quad a\notin S.

]

That cannot be true. An element cannot both belong and fail to belong to the same set in this way. The supposed element (a) does not exist, which means there is no (a\in A) with (f(a)=S). In the usual notation,

[

S\notin\operatorname{Im}(f),

]

where (\operatorname{Im}(f)), or the image of (f), is the collection of its outputs.

This is the heart of the argument: (S) is in (\mathcal{P}(A)), but it is not in the image of (f). So the image misses at least one member of the target. The function cannot be surjective.

A table makes the idea easier to picture

Imagine listing elements of (A) down the rows and subsets (f(a)) across the same list. For each element (a), mark whether (a) appears in its assigned subset (f(a)). The diagonal consists of those self-membership checks: does the row’s element appear in the subset assigned to that very row?

The set (S) flips each diagonal entry. If (a) appears in (f(a)), it is excluded from (S). If it does not appear, it is included. Therefore (S) differs from (f(a)) at least at the membership check for (a), no matter which row you inspect.

That last point is easy to overlook. (S) is not merely a subset someone forgot to list by accident. It is designed to disagree with every listed subset at a specific place. Each candidate output (f(a)) is defeated by its own row.

For finite sets, we can see the basic size issue without this machinery. A set with (n) elements has (2^n) subsets, which is more than (n) whenever (n) is positive. Cantor’s argument carries the underlying idea into the setting of infinite sets, where counting elements no longer works as simply. The diagonal construction does the job without needing to assign a familiar finite number to an infinite collection.

The role of the contradiction

There is a subtle but important distinction here. The argument does not show that (S) is somehow an invalid subset. Quite the opposite: (S\in\mathcal{P}(A)) because it is built from elements of (A). The problem is that (S) is absent from the function’s image.

This distinction keeps the logic tidy:

  • (S\subseteq A), so (S\in\mathcal{P}(A)).

  • No element (a\in A) satisfies (f(a)=S), so (S\notin\operatorname{Im}(f)).

  • Therefore (\operatorname{Im}(f)\neq\mathcal{P}(A)), and (f) is not onto.

The proof begins by assuming a surjection exists, then constructs an element of the target that the function cannot reach. That contradiction shows the assumption must be false. Thus, there is no surjection from (A) onto (\mathcal{P}(A)).

Why this small construction has a long reach

Cantor’s result is more than a clever trick about subsets. It shows that the power set of any set has strictly greater cardinality than the set itself. In symbols,

[

|A|<|\mathcal{P}(A)|.

]

For finite sets, the comparison is familiar: (n<2^n). Cantor’s theorem says the same kind of growth continues even when (A) is infinite. There is no “largest” set in this sense, because taking the power set always produces a collection that cannot be matched onto by the original set.

The diagonal idea also appears in other areas of mathematics and computing. It is closely related to arguments about infinite decimals, computability, and limits on formal systems. The details differ, but the shape is recognizable: assume a complete list exists, then construct an item that changes or avoids the diagonal entry and so escapes that list.

What makes the method memorable is its balance of simplicity and force. The definition of (S) takes one line. The conclusion reshapes how we think about infinity. And the crucial fact stays crisp: the diagonal set belongs to the power set, yet it is not an output of the supposed surjection. That gap is exactly where the contradiction lives.