How to Prove That Something Is Unique
Three reliable ways to show there is at most one object with a property, with worked examples from algebra, analysis and arithmetic.
Key takeaways
- "Exactly one" means at least one (existence) and at most one (uniqueness), and the two halves are proved separately.
- The standard method takes two objects x and y with the property and deduces x = y, without assuming they differ.
- You can also prove uniqueness by deriving the only possible candidate, or by showing that a function can hit a value only once.
- Many results are unique only "up to" something, such as the order of factors, and the statement must say so.
To prove that something is unique, suppose that two objects both have the property, then show that they must be the same object. That single move handles most uniqueness proofs you will meet.
Notice what it does not do. It never shows that such an object exists. A complete proof of "there is exactly one" has two halves, existence and uniqueness, and each needs its own argument.
What exactly one means
Mathematicians sometimes write ∃! x P(x), read as "there exists a unique x such that P of x". Unpacked, it says two things:
Existence: there is some x with P(x).
Uniqueness: for all x and y, if P(x) and P(y), then x = y. The second line is satisfied automatically when nothing has the property. "There is at most one integer whose square is 2" is true, because there is none. So uniqueness alone is a weaker claim than it sounds.
Proving the halves in either order is fine. Uniqueness is often easier, and it can guide the search for existence: while showing that any solution must look a certain way, you frequently discover what the solution is. For more on the existence half, see constructive and nonconstructive existence proofs.
The two-candidates method
Claim: an operation has at most one identity element. An identity for an operation ∗ is an element e such that e ∗ a = a and a ∗ e = a for every a.
Suppose e and f are both identities.
e ∗ f = f because e is an identity
e ∗ f = e because f is an identity
Therefore e = f. The proof is three lines, and it covers addition of integers, multiplication of matrices, composition of functions and every other operation at once.
The style is worth copying. You introduce two names, e and f, and you give each only the properties in the hypothesis. You do not say "suppose there are two different identities" unless you intend to reach a contradiction. If e and f are simply any two identities, the conclusion e = f follows directly.
Inverses work similarly when the operation is associative, meaning that grouping does not matter. If b and c are both inverses of a, with identity e, then b = b ∗ e = b ∗ (a ∗ c) = (b ∗ a) ∗ c = e ∗ c = c. Each equals sign uses one stated fact.
Solving until only one answer remains
A second method starts from an unknown solution and works toward a formula for it.
Claim: if a ≠ 0, the equation ax + b = c has exactly one real solution.
Uniqueness: suppose x satisfies ax + b = c. Subtract b to get ax = c − b. Divide by a, which is allowed because a ≠ 0, to get x = (c − b)/a. So any solution must be this number.
Existence: substitute it back. a · (c − b)/a + b = c − b + b = c. It works.
The two paragraphs look like the same algebra run in opposite directions, and in this case they are. In general they are not. If a step such as squaring both sides cannot be reversed, the first paragraph can produce candidates that fail, and the substitution check is what exposes them. When a = 0, the claim itself breaks: the equation has no solutions if b ≠ c and infinitely many if b = c.
Uniqueness from order and monotonicity
Inequalities give a third tool. A function is strictly increasing if a larger input always gives a larger output. Such a function cannot take the same value twice, because two different inputs x < y have outputs f(x) < f(y).
Consider x³ + x − 1 = 0. The function f(x) = x³ + x − 1 has derivative 3x² + 1, which is positive everywhere, so f is strictly increasing. It therefore has at most one real root. For existence, f(0) = −1 and f(1) = 1, and f is continuous, so there is a root between 0 and 1. Together these show there is exactly one real root, although neither argument writes it down.
The same idea shows that a nonnegative number has at most one nonnegative square root. If x² = y² with x, y ≥ 0, then (x − y)(x + y) = 0. Either x = y, or x + y = 0, and the second forces x = y = 0. Drop the condition "nonnegative" and uniqueness is lost, since 3 and −3 both square to 9.
Limits can only go one way
Here is a uniqueness proof from analysis. A sequence a₁, a₂, a₃, ... converges to L if, for every ε > 0, all terms beyond some point lie within ε of L. Claim: a sequence cannot converge to two different numbers.
Suppose it converges to both L and M, and suppose L ≠ M. Choose ε = |L − M|/2, which is positive. Beyond some index the terms are within ε of L, and beyond some other index they are within ε of M. Pick a term aₙ past both. By the triangle inequality,
|L − M| ≤ |L − aₙ| + |aₙ − M| < ε + ε = |L − M| This says |L − M| < |L − M|, which is impossible. So L = M.
This version uses proof by contradiction, because the assumption L ≠ M is what makes ε positive. If you want to practice this style of reasoning, the guide to structuring epsilon arguments goes further.
Quotient and remainder
The division algorithm says that for integers a and b with b > 0, there are unique integers q and r with a = bq + r and 0 ≤ r < b.
For uniqueness, suppose a = bq + r and a = bs + t, where both r and t lie from 0 up to, but not including, b. Subtracting gives
b(q − s) = t − r The right side lies strictly between −b and b, because two numbers in that range differ by less than b. The left side is a multiple of b. The only multiple of b strictly between −b and b is 0. So t = r, and then b(q − s) = 0 gives q = s.
The condition 0 ≤ r < b carries the whole proof. Without it, 17 = 5 · 3 + 2 = 5 · 2 + 7, and nothing is unique. When a uniqueness claim fails, look first for a missing restriction of this kind.
Unique up to what
Often the honest statement is that objects are unique except for a harmless kind of change. Every integer greater than 1 factors into primes, and the factorization is unique up to the order of the factors: 12 = 2 · 2 · 3 = 3 · 2 · 2. The proof is more subtle than the examples above, as explained in why prime factorization is unique.
Antiderivatives are unique up to adding a constant, on an interval. Initial conditions remove that freedom. Suppose y satisfies y′ = y on the whole real line with y(0) = 1. Set g(x) = y(x) e^(−x). Then g′(x) = y′(x) e^(−x) − y(x) e^(−x) = 0, so g is constant, and g(0) = 1. Hence y(x) = eˣ is the only solution. Broader results of this type appear in existence and uniqueness for differential equations.
Why uniqueness is worth proving
Uniqueness is what lets you give something a name. The notation √a, "the identity matrix" and "the limit of the sequence" all contain a hidden claim that there is only one object being referred to. If two different numbers could both be the limit, writing "lim aₙ" would be meaningless, and equations involving it could lead to nonsense.
It also turns identification into an easy job. Once you know a problem has only one solution, any method of finding a solution is acceptable, including a lucky guess. Guess a formula, check that it satisfies the conditions, and you are finished, because nothing else could. In the differential equation above, noticing that eˣ works is enough once uniqueness is in hand.
Finally, it is a source of identities. If two expressions that look quite different both satisfy conditions that only one object can satisfy, the expressions are equal. You might show that two functions both equal 1 at 0 and both equal their own derivative everywhere, and conclude that they are the same function without ever transforming one formula into the other.
Mistakes to watch for
- Checking one solution and declaring victory. Verifying that x = 3 solves an equation says nothing about other solutions.
- Assuming the two candidates are built the same way. Writing both as the output of your construction only shows that your recipe gives one result. The second candidate must be arbitrary.
- Canceling without checking. From ax = ay you may conclude x = y for real numbers only when a ≠ 0. In arithmetic with remainders, 2 · 1 and 2 · 4 are equal mod 6, yet 1 and 4 are not.
- Forgetting the domain. The equation x² = 4 has a unique solution among positive reals and two among all reals.
Before you finish, reread your proof and ask where each hypothesis was used. If one was never used, either the theorem is stronger than stated or your argument has a gap.