Contents
Well-defined expression
In mathematics, a well-defined expression or unambiguous expression is an expression whose definition assigns it a unique interpretation or value. Otherwise, the expression is said to be not well defined, ill defined or ambiguous. A function is well defined if it gives the same result when the representation of the input is changed without changing the value of the input. For instance, if f takes real numbers as input, and if f(0.5) does not equal f(1/2) then f is not well defined (and thus not a function). The term well-defined can also be used to indicate that a logical expression is unambiguous or uncontradictory. A function that is not well defined is not the same as a function that is undefined. For example, if, then even though f(0) is undefined, this does not mean that the function is not well defined; rather, 0 is not in the domain of f.
Example
Let A_0,A_1 be sets, let and "define" as f(a)=0 if a \in A_0 and f(a)=1 if a \in A_1. Then f is well defined if. For example, if and, then f(a) would be well defined and equal to Modulo operation. However, if, then f would not be well defined because f(a) is "ambiguous" for. For example, if A_0:={2} and A_1:={2}, then f(2) would have to be both 0 and 1, which makes it ambiguous. As a result, the latter f is not well defined and thus not a function.
"Definition" as anticipation of definition
In order to avoid the quotation marks around "define" in the previous simple example, the "definition" of f could be broken down into two logical steps:
- The definition of the binary relation. In the example: (which so far is nothing but a certain subset of the Cartesian product .)
- The assertion. The binary relation f is a function; in the example: While the definition in step 1 is formulated with the freedom of any definition and is certainly effective (without the need to classify it as "well defined"), the assertion in step 2 has to be proven. That is, f is a function if and only if, in which case f – as a function – is well defined. On the other hand, if, then for an , we would have that (a,0) \in f and (a,1) \in f, which makes the binary relation f not functional (as defined in Binary relation) and thus not well defined as a function. Colloquially, the "function" f is also called ambiguous at point a (although there is per definitionem never an "ambiguous function"), and the original "definition" is pointless. Despite these subtle logical problems, it is quite common to use the term definition (without apostrophes) for "definitions" of this kind, for three reasons:
Independence of representative
Questions regarding the well-definedness of a function often arise when the defining equation of a function refers not only to the arguments themselves, but also to elements of the arguments, serving as representatives. This is sometimes unavoidable when the arguments are cosets and when the equation refers to coset representatives. The result of a function application must then not depend on the choice of representative.
Functions with one argument
For example, consider the following function: where and \Z/m\Z are the integers modulo m and denotes the congruence class of n mod m. N.B.: is a reference to the element, and is the argument of f. The function f is well defined, because: As a counter example, the converse definition: does not lead to a well-defined function, since e.g. equals in \Z/4\Z, but the first would be mapped by g to, while the second would be mapped to , and and are unequal in \Z/8\Z.
Operations
In particular, the term well-defined is used with respect to (binary) operations on cosets. In this case, one can view the operation as a function of two variables, and the property of being well-defined is the same as that for a function. For example, addition on the integers modulo some n can be defined naturally in terms of integer addition. The fact that this is well-defined follows from the fact that we can write any representative of [a] as a+kn, where k is an integer. Therefore, similar holds for any representative of [b], thereby making [a+b] the same, irrespective of the choice of representative.
Well-defined notation
For real numbers, the product is unambiguous because ; hence the notation is said to be well defined. This property, also known as associativity of multiplication, guarantees the result does not depend on the sequence of multiplications; therefore, a specification of the sequence can be omitted. The subtraction operation is non-associative; despite that, there is a convention that a-b-c is shorthand for (a-b)-c, thus it is considered "well-defined". On the other hand, Division is non-associative, and in the case of a/b/c, parenthesization conventions are not well established; therefore, this expression is often considered ill-defined. Unlike with functions, notational ambiguities can be overcome by means of additional definitions (e.g., rules of precedence, associativity of the operator). For example, in the programming language C, the operator for subtraction is left-to-right-associative, which means that is defined as , and the operator for assignment is right-to-left-associative, which means that is defined as. In the programming language APL there is only one rule: from right to left – but parentheses first.
Other uses of the term
A solution to a partial differential equation is said to be well-defined if it is continuously determined by boundary conditions as those boundary conditions are changed.
Sources
This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.
Wikipedia® is a registered trademark of the
Wikimedia Foundation, Inc.
Bliptext is not
affiliated with or endorsed by Wikipedia or the
Wikimedia Foundation.