Submitted Successfully!
To reward your contribution, here is a gift for you: A free trial for our video production service.
Thank you for your contribution! You can also upload a video entry or images related to this topic.
Version Summary Created by Modification Content Size Created at Operation
1 handwiki -- 1344 2022-12-01 01:40:57

Video Upload Options

Do you have a full video?

Confirm

Are you sure to Delete?
Cite
If you have any further questions, please contact Encyclopedia Editorial Office.
HandWiki. Well-Defined. Encyclopedia. Available online: https://encyclopedia.pub/entry/37517 (accessed on 13 April 2024).
HandWiki. Well-Defined. Encyclopedia. Available at: https://encyclopedia.pub/entry/37517. Accessed April 13, 2024.
HandWiki. "Well-Defined" Encyclopedia, https://encyclopedia.pub/entry/37517 (accessed April 13, 2024).
HandWiki. (2022, December 01). Well-Defined. In Encyclopedia. https://encyclopedia.pub/entry/37517
HandWiki. "Well-Defined." Encyclopedia. Web. 01 December, 2022.
Well-Defined
Edit

In mathematics, an expression is called well-defined or unambiguous if its 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 f(x) = 1/x, then the fact that f(0) is undefined does not mean that the f is not well-defined — but that 0 is simply not in the domain of f.

real numbers well-defined f0.5

1. Example

Let [math]\displaystyle{ A_0,A_1 }[/math] be sets, let [math]\displaystyle{ A = A_0 \cup A_1 }[/math] and "define" [math]\displaystyle{ f: A \rightarrow \{0,1\} }[/math] as [math]\displaystyle{ f(a)=0 }[/math] if [math]\displaystyle{ a \in A_0 }[/math] and [math]\displaystyle{ f(a)=1 }[/math] if [math]\displaystyle{ a \in A_1 }[/math].

Then [math]\displaystyle{ f }[/math] is well-defined if [math]\displaystyle{ A_0 \cap A_1 = \emptyset\! }[/math]. For example, if [math]\displaystyle{ A_0:=\{2,4\} }[/math]and [math]\displaystyle{ A_1:=\{3,5\} }[/math], then [math]\displaystyle{ f(a) }[/math]would be well-defined and equal to [math]\displaystyle{ \operatorname{mod}(a,2) }[/math].

However, if [math]\displaystyle{ A_0 \cap A_1 \neq \emptyset }[/math], then [math]\displaystyle{ f }[/math] would not be well-defined because [math]\displaystyle{ f(a) }[/math] is "ambiguous" for [math]\displaystyle{ a \in A_0 \cap A_1 }[/math]. For example, if [math]\displaystyle{ A_0:=\{2\} }[/math] and [math]\displaystyle{ A_1:=\{2\} }[/math], then [math]\displaystyle{ f(2) }[/math] would have to be both 0 and 1, which makes it ambiguous. As a result, the latter [math]\displaystyle{ f }[/math] is not well-defined and thus not a function.

2. "Definition" as Anticipation of Definition

In order to avoid the apostrophes around "define" in the previous simple example, the "definition" of [math]\displaystyle{ f }[/math] could be broken down into two simple logical steps:

  1. The definition of the binary relation: In the example
    [math]\displaystyle{ f := \bigl\{(a,i) \mid i \in \{0,1\} \wedge a \in A_i \bigr\} }[/math],
    (which so far is nothing but a certain subset of the Cartesian product [math]\displaystyle{ A \times \{0,1\} }[/math].)
  2. The assertion: The binary relation [math]\displaystyle{ f }[/math] is a function; in the example
    [math]\displaystyle{ f: A \rightarrow \{0,1\} }[/math].

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 proved. That is, [math]\displaystyle{ f }[/math] is a function if and only if [math]\displaystyle{ A_0 \cap A_1 = \emptyset }[/math], in which case [math]\displaystyle{ f }[/math]— as a function — is well-defined. On the other hand, if [math]\displaystyle{ A_0 \cap A_1 \neq \emptyset }[/math], then for an [math]\displaystyle{ a \in A_0 \cap A_1 }[/math], we would have that [math]\displaystyle{ (a,0) \in f }[/math] and [math]\displaystyle{ (a,1) \in f }[/math], which makes the binary relation [math]\displaystyle{ f }[/math] not functional (as defined in Binary relation) and thus not well-defined as a function. Colloquially, the "function" [math]\displaystyle{ f }[/math] is also called ambiguous at point [math]\displaystyle{ a }[/math] (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 anticipatorily use the term definition (without apostrophes) for "definitions" of this kind — for three reasons:

  1. It provides a handy shorthand of the two-step approach.
  2. The relevant mathematical reasoning (i.e., step 2) is the same in both cases.
  3. In mathematical texts, the assertion is "up to 100%" true.

3. Independence of Representative

The question of well-definedness of a function classically arises when the defining equation of a function does not (only) refer to the arguments themselves, but (also) to elements of the arguments, serving as representatives. This is sometimes unavoidable when the arguments are cosets and the equation refers to coset representatives. The result of a function application must then not depend on the choice of reprentative.

3.1. Functions with One Argument

For example, consider the following function

[math]\displaystyle{ \begin{matrix} f : & \Z/8\Z & \to & \Z/4\Z\\ & \overline{n}_8 & \mapsto & \overline{n}_4, \end{matrix} }[/math]

where [math]\displaystyle{ n\in\Z, m\in \{4,8\} }[/math] and [math]\displaystyle{ \Z/m\Z }[/math] are the integers modulo m and [math]\displaystyle{ \overline{n}_m }[/math] denotes the congruence class of n mod m.

N.B.: [math]\displaystyle{ \overline{n}_4 }[/math] is a reference to the element [math]\displaystyle{ n \in \overline{n}_8 }[/math], and [math]\displaystyle{ \overline{n}_8 }[/math] is the argument of [math]\displaystyle{ f }[/math].

The function [math]\displaystyle{ f }[/math] is well-defined, because

[math]\displaystyle{ n \equiv n' \bmod 8 \; \Leftrightarrow \; 8 \text{ divides } (n-n') \Rightarrow \; 4 \text{ divides } (n-n') \; \Leftrightarrow \; n \equiv n' \bmod 4. }[/math]

As a counter example, the converse definition

[math]\displaystyle{ \begin{matrix} g : & \Z/4\Z & \to & \Z/8\Z\\ & \overline{n}_4 & \mapsto & \overline{n}_8, \end{matrix} }[/math]

does not lead to a well-defined function, since e.g. [math]\displaystyle{ \overline{1}_4 }[/math] equals [math]\displaystyle{ \overline{5}_4 }[/math] in [math]\displaystyle{ \Z/4\Z }[/math], but the first would be mapped by [math]\displaystyle{ g }[/math] to [math]\displaystyle{ \overline{1}_8 }[/math], while the second would be mapped to [math]\displaystyle{ \overline{5}_8 }[/math], and [math]\displaystyle{ \overline{1}_8 }[/math] and [math]\displaystyle{ \overline{5}_8 }[/math] are unequal in [math]\displaystyle{ \Z/8\Z }[/math].

3.2. 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.

[math]\displaystyle{ [a]\oplus[b] = [a+b] }[/math]

The fact that this is well-defined follows from the fact that we can write any representative of [math]\displaystyle{ [a] }[/math] as [math]\displaystyle{ a+kn }[/math], where [math]\displaystyle{ k }[/math] is an integer. Therefore,

[math]\displaystyle{ [a]\oplus[b] = [a+kn]\oplus[b] = [(a+kn)+b] = [(a+b)+kn] = [a+b]; }[/math]

and similarly for any representative of [math]\displaystyle{ [b] }[/math], thereby making [math]\displaystyle{ [a+b] }[/math] the same irrespective of the choice of representative.[1]

4. Well-defined Notation

For real numbers, the product [math]\displaystyle{ a \times b \times c }[/math] is unambiguous because [math]\displaystyle{ (a \times b)\times c = a \times (b \times c) }[/math] (and hence the notation is said to be well-defined).[2] This property, also known as associativity of multiplication, guarantees that the result does not depend on the sequence of multiplications, so that a specification of the sequence can be omitted.

The subtraction operation, on the other hand, is not associative. However, there is a convention that [math]\displaystyle{ a-b-c }[/math] is shorthand for [math]\displaystyle{ (a-b)-c }[/math], thus it is "well-defined".

Division is also non-associative. However, in the case of [math]\displaystyle{ a/b/c }[/math], parenthezation conventions are not so well established, so this expression is often considered ill-defined.

Unlike with functions, the notational ambiguities can be overcome more or less easily 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 a-b-c is defined as (a-b)-c, and the operator = for assignment is right-to-left-associative, which means that a=b=c is defined as a=(b=c).[3] In the programming language APL there is only one rule: from right to left — but parentheses first.

5. Other Uses of the Term

A solution to a partial differential equation is said to be well-defined if it is determined by the boundary conditions in a continuous way as the boundary conditions are changed.[2]

References

  1. "The Definitive Glossary of Higher Mathematical Jargon" (in en-US). 2019-08-01. https://mathvault.ca/math-glossary/. 
  2. Weisstein, Eric W.. "Well-Defined". From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Well-Defined.html. 
  3. "Operator Precedence and Associativity in C" (in en-US). 2014-02-07. https://www.geeksforgeeks.org/operator-precedence-and-associativity-in-c/. 
More
Information
Subjects: Others
Contributor MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to https://encyclopedia.pub/register :
View Times: 8.1K
Entry Collection: HandWiki
Revision: 1 time (View History)
Update Date: 01 Dec 2022
1000/1000