LESSWRONG
LW

Wikitags

Well-defined

Edited by Patrick Stevens last updated 7th Aug 2016

"Well-defined" is a slightly fuzzy word in mathematics. Broadly, an object is said to be "well-defined" if it has been given a definition that is completely unambiguous, can be executed without regard to any arbitrary choices the mathematician might make, or generally is crisply defined.

(The Wikipedia page on well-definedness contains many examples for those who are more comfortable with mathematical notation.)

Specific instances

Functions

One of the most common uses of the phrase "well-defined" is when talking about . A function is well-defined if it really is a bona fide function. This usually manifests itself as the following:

Whenever x=y, we have f(x)=f(y): that is, the output of the function doesn't depend on how we specify the input to the function, only on the input itself.

This property is often pretty easy to check. For instance, the function from to itself given by n↦n+1 is "obviously" well-defined: it's trivially obvious that if n=m then f(n)=f(m).

However, sometimes it is not so easy. The function N→N given by "take the number of prime factors" is not obviously well-defined, because it could in principle be the case that some number n is equal to both p1p2p3 and q1q2 for some primes p1,p2,p3,q1,q2; then our putative function might plausibly attempt to output either 3 or 2 on the same natural number input n, so the function would not be well-defined. (It turns out that there is a non-trivial theorem, the , guaranteeing that this function is in fact well-defined.)

Well-definedness in this context comes up very often when we are attempting to take a . The fact that we can take the quotient of a X by an ∼ is tantamount to saying:

The function X→X∼, given by x↦[x] the equivalence class of X, is well-defined.


Another, different, way a function could fail to be well-defined is if we tried to take the function N→N given by n↦n−5. This function is unambiguous, but it's not well-defined, because on the input 2 it tries to output −3, which is not in the specified .

Parents:
3
3
functions
quotient
set
codomain
Discussion0
Discussion0
N
Fundamental Theorem of Arithmetic
equivalence relation
Mathematics