Constructive and Nonconstructive Existence Proofs
Learn two ways to prove something exists, by building it or by showing it cannot be missing, with worked examples of each.
Key takeaways
- A constructive proof exhibits an object or a guaranteed procedure for finding it, and then verifies that it has the required property.
- A nonconstructive proof shows that the nonexistence of the object is impossible, or that existence follows from counting, continuity, or probability.
- Verification is part of a construction: naming a candidate proves nothing until you check every condition.
- Some mathematicians, called constructivists, accept only the first kind, and their objection concerns a specific rule of logic.
An existence proof shows that at least one object with a stated property exists. A constructive proof does this by handing you the object, or a method that is guaranteed to produce it. A nonconstructive proof shows that the object must exist without telling you which one it is.
Both are valid in ordinary mathematics. They differ in what you walk away with. After a constructive proof you can point at an example. After a nonconstructive one you know that searching is not hopeless, but you may have no idea where to look.
What an existence claim asks for
A statement such as "there exists an even prime" has the form "there exists x such that P(x)". Here P(x) stands for whatever property x is supposed to have. To prove it, you need only one successful x. You do not need to find all of them, and you do not need to find the smallest or nicest one.
That makes existence claims the mirror image of universal claims, which say something about every object in a collection. If the difference is unfamiliar, the guide to for all and there exists spells it out.
The simplest existence proof is a single line: "2 is prime and even." It names a witness, which is the usual word for an object that makes the statement true, and the check is immediate.
A construction with real content
Claim: for every positive integer n, there exist n consecutive integers that are all composite. A composite integer is one greater than 1 that is not prime.
You could search for such runs by hand, but a construction settles all values of n at once. Let m = (n + 1)!, the product of all integers from 1 to n + 1. Now look at the n numbers
m + 2, m + 3, m + 4, ..., m + (n + 1) Take any one of them, m + k, where k runs from 2 to n + 1. Because k is one of the factors of (n + 1)!, k divides m. It also divides itself, so it divides m + k. Since 1 < k < m + k, the number m + k has a proper divisor and is composite.
For n = 5 you get m = 720 and the run 722, 723, 724, 725, 726, divisible by 2, 3, 4, 5 and 6 respectively. It is not the first such run, since 24 through 28 are also all composite. The proof never promised the smallest answer. It promised an answer, for every n, with a reason attached.
Three routes to existence without a witness
Nonconstructive proofs tend to rely on a handful of tools.
The first is contradiction. You assume no object with the property exists, derive something impossible, and conclude that one does.
The second is counting. The pigeonhole principle says that if you place more objects than you have boxes, some box holds at least two. Among any 13 people, two share a birth month. You learn nothing about which two or which month. In the same way, among any n + 1 integers, two leave the same remainder on division by n, so their difference is a multiple of n.
The third is continuity. The intermediate value theorem says that a function continuous on a closed interval takes every value between its values at the endpoints. Let f(x) = x⁵ + x − 1. Then f(0) = −1 and f(1) = 1, so some x between 0 and 1 satisfies f(x) = 0. The theorem does not name that x.
The famous irrational power example
Can an irrational number raised to an irrational power be rational? An irrational number is a real number that is not a ratio of two integers. This proof assumes you already know that √2 is irrational.
Consider the number √2 raised to the power √2. There are two possibilities.
Case 1: √2^√2 is rational.
Then a = √2 and b = √2 already work.
Case 2: √2^√2 is irrational.
Let a = √2^√2 and b = √2.
a^b = √2^(√2 · √2) = √2² = 2, which is rational. In either case suitable numbers a and b exist. Yet the argument never says which case holds. It is a perfect specimen of a nonconstructive proof. (A deeper result, the Gelfond–Schneider theorem, shows that √2^√2 is in fact irrational, so case 2 is the true one, but the short proof does not need that.)
A construction is also available. Take a = √2 and b = log₂ 9, the base 2 logarithm of 9. Then a^b = 2^(½ · log₂ 9) = 2^(log₂ 3) = 3. To finish, check that b is irrational: if log₂ 9 = p/q with positive integers p and q, then 2^p = 9^q, which is impossible because the left side is even and the right side is odd.
Counting infinities and random choices
Some of the most striking existence proofs compare sizes. A transcendental number is one that is not a root of any nonzero polynomial with integer coefficients. The numbers that are roots of such polynomials can be listed in a sequence, while the real numbers cannot. So transcendental numbers exist, and in a precise sense almost all reals are transcendental. The idea of a collection that can be listed is explained in countable infinity.
This argument, due to Cantor in 1874, is often called nonconstructive, though the label needs care: if you write out the list explicitly, Cantor's method can be used to compute a number missing from it. Liouville had already exhibited specific transcendental numbers some decades earlier.
Probability gives another route. Color each line joining 6 points either red or blue by tossing a fair coin. A given set of 4 points has 6 lines, all one color with probability 2 × (1/2)⁶ = 1/32. There are 15 such sets, so the expected number of one-colored sets is 15/32, which is less than 1. Some coloring must therefore have none. This is the heart of the probabilistic method, which Erdős used with great effect.
Turning existence into a search
A nonconstructive proof can sometimes be upgraded. In the polynomial example, bisection traps the root: test the midpoint and keep the half where the sign changes.
f(0.5) ≈ −0.469 negative, so the root is in (0.5, 1)
f(0.75) ≈ −0.013 negative, so the root is in (0.75, 1)
f(0.875) ≈ 0.388 positive, so the root is in (0.75, 0.875) Each step halves the interval, so you can locate the root as accurately as you like. For a finite problem, such as the 6-point coloring, you can in principle try all possibilities. For large cases that becomes useless in practice: the number of colorings grows far faster than any computer can follow.
That gap matters. Knowing that something exists and being able to produce it efficiently are separate achievements, and much work in computer science lives between them.
Why some mathematicians object
Look again at case 1 and case 2 above. The argument uses the law of excluded middle, the principle that every statement is either true or false, so one of the two cases must hold. Brouwer and the intuitionist school argued that asserting "A or B" should require a way to determine which. Under that standard the first √2 proof is not acceptable, while the logarithm proof is.
Intuitionistic logic makes this precise. Its proofs of existence always carry computational information, which is one reason it matters to the designers of proof-checking software. Most working mathematicians use excluded middle freely, while still preferring a construction when they can find one, because it usually explains more.
Which kind should you look for
Start by trying small cases. If a witness shows up and you can describe it for every case, a constructive proof is within reach, and it is usually the most informative thing you can offer. To prove that between any two rational numbers a < b there is another rational, just name the average (a + b)/2 and check that it is rational and lies strictly between them.
If no pattern appears, ask what forces the object to exist. A shortage of boxes suggests pigeonhole. A quantity that starts below a target and ends above it suggests continuity, provided it cannot jump. A claim that something goes on forever, such as the endless supply of primes, often yields to contradiction.
Also read the question's wording. "Show that there exists" accepts either kind of proof. "Find", "give an example" or "describe an algorithm" asks for a construction, and a pure existence argument will not answer it, however correct it is.
How to write each kind
For a constructive proof, follow this pattern:
- State the object clearly: "Let x = ..."
- Check that x belongs to the required set (an integer, a positive real, and so on).
- Verify the property, step by step.
You do not need to explain how you guessed x. The scratch work that led you there can stay on scratch paper.
For a nonconstructive proof, say which principle is doing the work, such as pigeonhole or the intermediate value theorem, and check its hypotheses. For the intermediate value theorem, that means confirming continuity on the whole closed interval. Without it the conclusion can fail: g(x) = 1/x changes sign between −1 and 1 but never equals 0.
A frequent mistake is to prove that if an object exists, it must have a certain form, and then stop. That narrows the candidates without showing any of them works. Existence still needs a check or a principle. The companion question, whether there is only one such object, calls for a separate argument covered in how to prove uniqueness.