well-defined

Suppose you try to define a function $F$ on a partition Π of a set $A$ by specifying its value on an equivalence class $C$ of Π in terms of an element $x \in C$ (a case of synecdoche). For this to work, one must have $F(x) = F(x')$ whenever $x$ is equivalent to $x'$. In that case the function $F$ is said to be well-defined. (See radial concept).

Example 1 Let $\mathbb{Z}_{2}$ be the group of congruence class of integers mod 2, with the class of $n$ denoted by $[n]$. Define $F : \mathbb{Z}_{2} \to \mathbb{Z}_{2}$ by $F[n] = [n^{2}]$. Then $F$ is well-defined (in fact, it is the identity function), because an integer is even if and only if its square is even. If you define $G[n]$ to be the number of primes dividing $n$, then $G$ would not be well-defined, since $G[2] = [1]$, $G[6] = [2]$, and $[2] = [6]$ but $[1] \neq [2]$.

Definition on equivalence classes is perhaps the most common use of “well-defined”, but there are other situations in which it is used as well.

Example 2 Let $\mathbb{P}$ denote the set of all nonempty subsets of the set of nonnegative integers. Define $F : \mathbb{P} \to \mathbb{Z}$ by: $F(A)$ is the smallest element of $A$. Since the nonnegative integers are well-ordered, $F$ is well-defined. This is a case where there might have been doubt that the value exists, rather than worry about whether it is ambiguous.

Example 3 Conway defined a sequence on the positive integers by $a(1) = a(2) = 1$ and

$$a(n) = a(a(n-1)) + a(n - a(n-1))$$

for $n \geq 3$. This is well-defined because one can show by induction that $a(n) < n$ for $n \geq 3$ (otherwise the term $a(n - a(n-1))$ could cause trouble). This example comes from [Mallows, 1991].

See radial concept and literalist.

Variations Many authors omit the hyphen in “well-defined”.

Citations: (20), (165).

Pages 274–275 of the book (PDF).