fbpx
Wikipedia

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.[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 takes real numbers as input, and if does not equal then 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.

A function that is not well defined is not the same as a function that is undefined. For example, if , then even though is undefined does not mean that the function is not well defined – but simply that 0 is not in the domain of .

Example edit

Let   be sets, let   and "define"   as   if   and   if  .

Then   is well defined if  . For example, if   and  , then   would be well defined and equal to  .

However, if  , then   would not be well defined because   is "ambiguous" for  . For example, if   and  , then   would have to be both 0 and 1, which makes it ambiguous. As a result, the latter   is not well defined and thus not a function.

"Definition" as anticipation of definition edit

In order to avoid the quotation marks around "define" in the previous simple example, the "definition" of   could be broken down into two simple logical steps:

  1. The definition of the binary relation: In the example
     
    (which so far is nothing but a certain subset of the Cartesian product  .)
  2. The assertion: The binary relation   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 proved. That is,   is a function if and only if  , in which case   – as a function – is well defined. On the other hand, if  , then for an  , we would have that   and  , which makes the binary relation   not functional (as defined in Binary relation#Special types of binary relations) 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 edit

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

Functions with one argument edit

For example, consider the following function

 

where   and   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  .

The function   is well defined, because

 

As a counter example, the converse definition

 

does not lead to a well defined function, since e.g.   equals   in  , but the first would be mapped by   to  , while the second would be mapped to  , and   and   are unequal in  .

Operations edit

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   as  , where   is an integer. Therefore,

 

and similarly for any representative of  , thereby making   the same irrespective of the choice of representative.

Well-defined notation edit

For real numbers, the product   is unambiguous because   (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   is shorthand for  , thus it is "well defined".

Division is also non-associative. However, in the case of  , parenthesization 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.

Other uses of the term edit

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 edit

References edit

Notes edit

  1. ^ a b c Weisstein, Eric W. "Well-Defined". From MathWorld – A Wolfram Web Resource. Retrieved 2 January 2013.
  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. ^ "Operator Precedence and Associativity in C". GeeksforGeeks. 2014-02-07. Retrieved 2019-10-18.

Sources edit

well, defined, expression, other, uses, definition, disambiguation, mathematics, well, defined, expression, unambiguous, expression, expression, whose, definition, assigns, unique, interpretation, value, otherwise, expression, said, well, defined, defined, amb. For other uses see Definition disambiguation 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 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 displaystyle f takes real numbers as input and if f 0 5 displaystyle f 0 5 does not equal f 1 2 displaystyle f 1 2 then f displaystyle 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 A function that is not well defined is not the same as a function that is undefined For example if f x 1 x displaystyle f x frac 1 x then even though f 0 displaystyle f 0 is undefined does not mean that the function is not well defined but simply that 0 is not in the domain of f displaystyle 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 SourcesExample editLet A 0 A 1 displaystyle A 0 A 1 nbsp be sets let A A 0 A 1 displaystyle A A 0 cup A 1 nbsp and define f A 0 1 displaystyle f A rightarrow 0 1 nbsp as f a 0 displaystyle f a 0 nbsp if a A 0 displaystyle a in A 0 nbsp and f a 1 displaystyle f a 1 nbsp if a A 1 displaystyle a in A 1 nbsp Then f displaystyle f nbsp is well defined if A 0 A 1 displaystyle A 0 cap A 1 emptyset nbsp For example if A 0 2 4 displaystyle A 0 2 4 nbsp and A 1 3 5 displaystyle A 1 3 5 nbsp then f a displaystyle f a nbsp would be well defined and equal to mod a 2 displaystyle operatorname mod a 2 nbsp However if A 0 A 1 displaystyle A 0 cap A 1 neq emptyset nbsp then f displaystyle f nbsp would not be well defined because f a displaystyle f a nbsp is ambiguous for a A 0 A 1 displaystyle a in A 0 cap A 1 nbsp For example if A 0 2 displaystyle A 0 2 nbsp and A 1 2 displaystyle A 1 2 nbsp then f 2 displaystyle f 2 nbsp would have to be both 0 and 1 which makes it ambiguous As a result the latter f displaystyle f nbsp is not well defined and thus not a function Definition as anticipation of definition editIn order to avoid the quotation marks around define in the previous simple example the definition of f displaystyle f nbsp could be broken down into two simple logical steps The definition of the binary relation In the example f a i i 0 1 a A i displaystyle f bigl a i mid i in 0 1 wedge a in A i bigr nbsp which so far is nothing but a certain subset of the Cartesian product A 0 1 displaystyle A times 0 1 nbsp The assertion The binary relation f displaystyle f nbsp is a function in the example f A 0 1 displaystyle f A rightarrow 0 1 nbsp 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 f displaystyle f nbsp is a function if and only if A 0 A 1 displaystyle A 0 cap A 1 emptyset nbsp in which case f displaystyle f nbsp as a function is well defined On the other hand if A 0 A 1 displaystyle A 0 cap A 1 neq emptyset nbsp then for an a A 0 A 1 displaystyle a in A 0 cap A 1 nbsp we would have that a 0 f displaystyle a 0 in f nbsp and a 1 f displaystyle a 1 in f nbsp which makes the binary relation f displaystyle f nbsp not functional as defined in Binary relation Special types of binary relations and thus not well defined as a function Colloquially the function f displaystyle f nbsp is also called ambiguous at point a displaystyle a nbsp 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 It provides a handy shorthand of the two step approach The relevant mathematical reasoning i e step 2 is the same in both cases In mathematical texts the assertion is up to 100 true Independence of representative editThe 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 representative Functions with one argument edit For example consider the following function f Z 8 Z Z 4 Z n 8 n 4 displaystyle begin matrix f amp mathbb Z 8 mathbb Z amp to amp mathbb Z 4 mathbb Z amp overline n 8 amp mapsto amp overline n 4 end matrix nbsp where n Z m 4 8 displaystyle n in mathbb Z m in 4 8 nbsp and Z m Z displaystyle mathbb Z m mathbb Z nbsp are the integers modulo m and n m displaystyle overline n m nbsp denotes the congruence class of n mod m N B n 4 displaystyle overline n 4 nbsp is a reference to the element n n 8 displaystyle n in overline n 8 nbsp and n 8 displaystyle overline n 8 nbsp is the argument of f displaystyle f nbsp The function f displaystyle f nbsp is well defined because n n mod 8 8 divides n n 4 divides n n n n mod 4 displaystyle n equiv n bmod 8 Leftrightarrow 8 text divides n n Rightarrow 4 text divides n n Leftrightarrow n equiv n bmod 4 nbsp As a counter example the converse definition g Z 4 Z Z 8 Z n 4 n 8 displaystyle begin matrix g amp mathbb Z 4 mathbb Z amp to amp mathbb Z 8 mathbb Z amp overline n 4 amp mapsto amp overline n 8 end matrix nbsp does not lead to a well defined function since e g 1 4 displaystyle overline 1 4 nbsp equals 5 4 displaystyle overline 5 4 nbsp in Z 4 Z displaystyle mathbb Z 4 mathbb Z nbsp but the first would be mapped by g displaystyle g nbsp to 1 8 displaystyle overline 1 8 nbsp while the second would be mapped to 5 8 displaystyle overline 5 8 nbsp and 1 8 displaystyle overline 1 8 nbsp and 5 8 displaystyle overline 5 8 nbsp are unequal in Z 8 Z displaystyle mathbb Z 8 mathbb Z nbsp Operations edit 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 displaystyle a oplus b a b nbsp The fact that this is well defined follows from the fact that we can write any representative of a displaystyle a nbsp as a k n displaystyle a kn nbsp where k displaystyle k nbsp is an integer Therefore a b a k n b a k n b a b k n a b displaystyle a oplus b a kn oplus b a kn b a b kn a b nbsp and similarly for any representative of b displaystyle b nbsp thereby making a b displaystyle a b nbsp the same irrespective of the choice of representative Well defined notation editFor real numbers the product a b c displaystyle a times b times c nbsp is unambiguous because a b c a b c displaystyle a times b times c a times b times c nbsp 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 displaystyle a b c nbsp is shorthand for a b c displaystyle a b c nbsp thus it is well defined Division is also non associative However in the case of a b c displaystyle a b c nbsp parenthesization 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 Other uses of the term editA 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 editEquivalence relation Well definedness under an equivalence relation Definitionism Existence Uniqueness Uniqueness quantification Undefined Well formed formulaReferences editNotes edit a b c Weisstein Eric W Well Defined From MathWorld A Wolfram Web Resource Retrieved 2 January 2013 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 Operator Precedence and Associativity in C GeeksforGeeks 2014 02 07 Retrieved 2019 10 18 Sources edit 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 Retrieved from https en wikipedia org w index php title Well defined expression amp oldid 1135082671, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.