Skip to main content

Well-defined









Well-defined


From Wikipedia, the free encyclopedia

Jump to navigation
Jump to search



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 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 is also used to indicate whether a logical statement is unambiguous.


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 f(0) is undefined, but this has nothing to do with the question of whether f(x) = 1/x is well-defined. It is; 0 is simply not in the domain of the function.




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[edit]


Let A0,A1{displaystyle A_{0},A_{1}}A_{0},A_{1} be sets, let A=A0∪A1{displaystyle A=A_{0}cup A_{1}}{displaystyle A=A_{0}cup A_{1}} and "define" f:A→{0,1}{displaystyle f:Arightarrow {0,1}}f:Arightarrow {0,1} as f(a)=0{displaystyle f(a)=0}f(a)=0 if a∈A0{displaystyle ain A_{0}}ain A_{0} and f(a)=1{displaystyle f(a)=1}f(a)=1 if a∈A1{displaystyle ain A_{1}}ain A_{1}.


Then f{displaystyle f}f is well-defined if A0∩A1=∅{displaystyle A_{0}cap A_{1}=emptyset }A_{0}cap A_{1}=emptyset . This is e. g. the case when A0:={2,4},A1:={3,5}{displaystyle A_{0}:={2,4},A_{1}:={3,5}}A_{0}:={2,4},A_{1}:={3,5} (then f(a) happens to be mod⁡(a,2){displaystyle operatorname {mod} (a,2)}operatorname {mod} (a,2)).


If however A0∩A1≠{displaystyle A_{0}cap A_{1}neq emptyset }A_{0}cap A_{1}neq emptyset then f{displaystyle f}f is not well-defined because f(a){displaystyle f(a)}f(a) is "ambiguous" for a∈A0∩A1{displaystyle ain A_{0}cap A_{1}}ain A_{0}cap A_{1}. This is e. g. the case when A0:={2}{displaystyle A_{0}:={2}}A_{0}:={2} and A1:={2}{displaystyle A_{1}:={2}}A_{1}:={2}. Indeed, A0∩A1={2}∋2{displaystyle A_{0}cap A_{1}={2}ni 2}{displaystyle A_{0}cap A_{1}={2}ni 2} and f(2) would have to be 0 as well as 1, which is impossible. Therefore, the latter f is not well-defined and thus not a function.



"Definition" as anticipation of definition[edit]


In order to avoid the apostrophes around "define" in the previous simple example, the "definition" of f{displaystyle f}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}{displaystyle f:={bigl {}(a,i)mid iin {0,1}wedge ain A_{i}{bigr }}}f:={bigl {}(a,i)mid iin {0,1}wedge ain A_{i}{bigr }},

    (which so far is nothing but a certain subset of the Cartesian product {0,1}{displaystyle Atimes {0,1}}Atimes {0,1}.)


  2. The assertion: The binary relation f{displaystyle f}f is a function; in the example

    f:A→{0,1}{displaystyle f:Arightarrow {0,1}}f:Arightarrow {0,1}.




Whereas 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: If and only if A0∩A1=∅{displaystyle A_{0}cap A_{1}=emptyset }A_{0}cap A_{1}=emptyset , we get a function f{displaystyle f}f, and the f{displaystyle f}f of "definition" is well-defined (as a function).

On the other hand: if A0∩A1≠{displaystyle A_{0}cap A_{1}neq emptyset }A_{0}cap A_{1}neq emptyset then for an a∈A0∩A1{displaystyle ain A_{0}cap A_{1}}ain A_{0}cap A_{1} there is both, (a,0)∈f{displaystyle (a,0)in f}(a,0)in f and (a,1)∈f{displaystyle (a,1)in f}(a,1)in f, and the binary relation f{displaystyle f}f is 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}f is called ambiguous at point a{displaystyle a}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 anticipatorily use the term definition (without apostrophes) for "definitions" of this kind, firstly because it is sort of a short-hand of the two-step approach, secondly because the relevant mathematical reasoning (step 2.) is the same in both cases, and finally because 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. This is sometimes unavoidable when the arguments are cosets and the equation refers to coset representatives.



Functions with one argument[edit]


For example, consider the following function


f:Z/8Z→Z/4Zn¯8↦4,{displaystyle {begin{matrix}f:&mathbb {Z} /8mathbb {Z} &to &mathbb {Z} /4mathbb {Z} \&{overline {n}}_{8}&mapsto &{overline {n}}_{4},end{matrix}}}{begin{matrix}f:&mathbb {Z} /8mathbb {Z} &to &mathbb {Z} /4mathbb {Z} \&{overline {n}}_{8}&mapsto &{overline {n}}_{4},end{matrix}}

where n∈Z,m∈{4,8}{displaystyle nin mathbb {Z} ,min {4,8}}nin mathbb {Z} ,min {4,8} and Z/mZ{displaystyle mathbb {Z} /mmathbb {Z} }mathbb {Z} /mmathbb {Z} are the integers modulo m and m{displaystyle {overline {n}}_{m}}{overline {n}}_{m} denotes the congruence class of n mod m.


N.B.: 4{displaystyle {overline {n}}_{4}}{overline {n}}_{4} is a reference to the element n∈8{displaystyle nin {overline {n}}_{8}}nin {overline {n}}_{8}, and 8{displaystyle {overline {n}}_{8}}{overline {n}}_{8} is the argument of f.


The function f is well-defined, because


n≡n′mod⁡8⇔8∣(n−n′)⇔2⋅4∣(n−n′)⇒4∣(n−n′)⇔n≡n′mod⁡4.{displaystyle nequiv n'operatorname {mod} 8;Leftrightarrow ;8mid (n-n');Leftrightarrow ;2cdot 4mid (n-n');Rightarrow ;4mid (n-n');Leftrightarrow ;nequiv n'operatorname {mod} 4.}nequiv n'operatorname {mod} 8;Leftrightarrow ;8mid (n-n');Leftrightarrow ;2cdot 4mid (n-n');Rightarrow ;4mid (n-n');Leftrightarrow ;nequiv n'operatorname {mod} 4.


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]}[a]oplus [b]=[a+b]

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


[a+kn]⊕[b]=[(a+kn)+b]=[(a+b)+kn]=[a+b]=[a]⊕[b];{displaystyle [a+kn]oplus [b]=[(a+kn)+b]=[(a+b)+kn]=[a+b]=[a]oplus [b];}{displaystyle [a+kn]oplus [b]=[(a+kn)+b]=[(a+b)+kn]=[a+b]=[a]oplus [b];}

and similarly for any representative of [b]{displaystyle [b]}[b].



Well-defined notation[edit]


For real numbers, the product c{displaystyle atimes btimes c}atimes btimes c is unambiguous because (a×b)×c=a×(b×c){displaystyle (atimes b)times c=atimes (btimes c)}(atimes b)times c=atimes (btimes c). (Therefore, the notation is said to be well-defined.[1]) Because of this property of the operation (here ×{displaystyle times }times ), which is known as associativity, the result does not depend on the sequence of multiplications, so that a specification of the sequence can be omitted.


The subtraction operation, {displaystyle -}-, is not associative. However, there is a convention (or definition) in that the {displaystyle -}- operation is understood as addition of the opposite, thus a−b−c{displaystyle a-b-c}a-b-c is the same as a+(−b)+(−c){displaystyle a+(-b)+(-c)}a+(-b)+(-c), and is called "well-defined".


Division is also non-associative. However, in the case of a/b/c{displaystyle a/b/c}a/b/c the convention /b:=∗b−1{displaystyle /b:=*b^{-1}}/b:=*b^{-1} is not so well established, so this expression is considered ill-defined.


Unlike with functions, the notational ambiguities can be overcome more or less easily by means of additional definitions, i. e. rules of precedence, and/or associativity of the operators. In the programming language C e. g. 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). 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]



  • Equivalence relation § Well-definedness under an equivalence relation

  • Definitionism

  • Existence

  • Uniqueness

  • Uniqueness quantification

  • Undefined



References[edit]



Notes[edit]





  1. ^ abc Weisstein, Eric W. "Well-Defined". From MathWorld--A Wolfram Web Resource. Retrieved 2 January 2013..mw-parser-output cite.citation{font-style:inherit}.mw-parser-output q{quotes:"""""""'""'"}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-limited a,.mw-parser-output .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}


  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.




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&oldid=844554198"





Navigation menu

























(window.RLQ=window.RLQ||).push(function(){mw.config.set({"wgPageParseReport":{"limitreport":{"cputime":"0.192","walltime":"0.485","ppvisitednodes":{"value":993,"limit":1000000},"ppgeneratednodes":{"value":0,"limit":1500000},"postexpandincludesize":{"value":5871,"limit":2097152},"templateargumentsize":{"value":698,"limit":2097152},"expansiondepth":{"value":12,"limit":40},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":10009,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 169.241 1 -total"," 43.29% 73.271 1 Template:Reflist"," 35.67% 60.376 1 Template:Cite_web"," 28.97% 49.025 3 Template:Isbn"," 16.33% 27.640 1 Template:Other_uses"," 10.98% 18.589 3 Template:Catalog_lookup_link"," 5.49% 9.295 3 Template:Error-small"," 4.42% 7.486 9 Template:Yesno-no"," 3.80% 6.437 1 Template:Ordered_list"," 3.29% 5.572 1 Template:Multi-section_link"]},"scribunto":{"limitreport-timeusage":{"value":"0.055","limit":"10.000"},"limitreport-memusage":{"value":2194113,"limit":52428800}},"cachereport":{"origin":"mw1252","timestamp":"20181123205925","ttl":1900800,"transientcontent":false}}});mw.config.set({"wgBackendResponseTime":96,"wgHostname":"mw1266"});});

Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Lugert, Oklahoma