Well-defined

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.[1] 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).[2] The term well-defined can also be used to indicate that a logical expression is unambiguous or uncontradictory.[3]

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.

## Contents

* 1 Example
* 2 "Definition" as anticipation of definition
* 3 Independence of representative
* 3.1 Functions with one argument
* 3.2 Operations
* 4 Well-defined notation
* 5 Other uses of the term
* 6 See also
* 7 References
* 7.1 Notes
* 7.2 Sources

## Example

Let A0,A1 be sets, let A=A0∪A1 and "define" f:A->{0,1} as f(a)=0 if a∈A0 and f(a)=1 if a∈A1.

Then f is well-defined if A0∩A1=∅. For example, if A0:={2,4}and A1:={3,5}, then f(a)would be well-defined and equal to mod⁡(a,2).

However, if A0∩A1≠∅, then f would not be well-defined because f(a) is "ambiguous" for a∈A0∩A1. For example, if A0:={2} and A1:={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 apostrophes around "define" in the previous simple example, the "definition" of f could be broken down into two simple logical steps:

1. The definition of the binary relation: In the example

f:={(a,i)∣i∈{0,1}∧a∈Ai},
(which so far is nothing but a certain subset of the Cartesian product A×{0,1}.)
2. The assertion: The binary relation f is a function; in the example

f:A->{0,1}.

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,

is a function if and only if

A0∩A1=∅

, in which case

— as a function — is well-defined. On the other hand, if

A0∩A1≠∅

, then for an

a∈A0∩A1

, we would have that

(a,0)∈f

and

(a,1)∈f

, which makes the binary relation

not functional (as defined in Binary relation) and thus not well-defined as a function. Colloquially, the "function"

is also called ambiguous at point

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

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

### Functions with one argument

For example, consider the following function

f:ℤ/8ℤ->ℤ/4ℤn‾8↦n‾4,

where n∈ℤ,m∈{4,8} and ℤ/mℤ are the integers modulo m and n‾m denotes the congruence class of n mod m.

N.B.: n‾4 is a reference to the element n∈n‾8, and n‾8 is the argument of f.

The function f is well-defined, because

n≡n′mod8⇔8 divides (n−n′)⇒4 divides (n−n′)⇔n≡n′mod4.

As a counter example, the converse definition

g:ℤ/4ℤ->ℤ/8ℤn‾4↦n‾8,

does not lead to a well-defined function, since e.g. 1‾4 equals 5‾4 in ℤ/4ℤ, but the first would be mapped by g to 1‾8, while the second would be mapped to 5‾8, and 1‾8 and 5‾8 are unequal in ℤ/8ℤ.

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

[a]⊕[b]=[a+b]

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,

[a]⊕[b]=[a+kn]⊕[b]=[(a+kn)+b]=[(a+b)+kn]=[a+b];

and similarly for any representative of [b], thereby making [a+b] the same irrespective of the choice of representative.[3]

## Well-defined notation

For real numbers, the product a×b×c is unambiguous because (a×b)×c=a×(b×c) (and hence the notation is said to be well-defined).[1] 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 a−b−c is shorthand for (a−b)−c, thus it is "well-defined".

Division is also non-associative. However, in the case of a/b/c, 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)`.[4] 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 determined by the boundary conditions in a continuous way as the boundary conditions are changed.[1]

## See also

* Equivalence relation § Well-definedness under an equivalence relation
* Definitionism
* Existence
* Uniqueness
* Uniqueness quantification
* Undefined

## References

### Notes

1. ↑ 1.0 1.1 1.2 Weisstein, Eric W.. "Well-Defined". From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Well-Defined.html.
2. ↑ Joseph J. Rotman, The Theory of Groups: an Introduction, p. 287 "... a function is "single-valued," or, as we prefer to say ... a function is well defined.", Allyn and Bacon, 1965.
3. ↑ 3.0 3.1 "The Definitive Glossary of Higher Mathematical Jargon" (in en-US). 2019-08-01. https://mathvault.ca/math-glossary/.
4. ↑ "Operator Precedence and Associativity in C" (in en-US). 2014-02-07. https://www.geeksforgeeks.org/operator-precedence-and-associativity-in-c/.

### Sources

* Contemporary Abstract Algebra, Joseph A. Gallian, 6th Edition, Houghlin Mifflin, 2006, ISBN 0-618-51471-6.
* Algebra: Chapter 0, Paolo Aluffi, ISBN 978-0821847817. Page 16.
* Abstract Algebra, Dummit and Foote, 3rd edition, ISBN 978-0471433347. Page 1.

0.00

(0 votes)

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Well-defined&oldid=198078"