encyclopegia.org

Well-defined expression

In mathematics, a well-defined expression or unambiguous expression is an expression whose definition assigns it a unique interpretation or value.[src] Otherwise, the expression is said to be not well defined, ill-defined or ambiguous.[src] 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.[src] 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).[src] The term well-defined can also be used to indicate that a logical expression is unambiguous or uncontradictory.[src] A function that is not well defined is not the same as a function that is undefined.[src] For example, if f(x)=\frac{1}{x} , 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 .[src]

In mathematics, a well-defined expression or unambiguous expression is an expression whose definition assigns it a unique interpretation or value.[src] Otherwise, the expression is said to be not well defined, ill-defined or ambiguous.[src] 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.[src] 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).[src] The term well-defined can also be used to indicate that a logical expression is unambiguous or uncontradictory.[src] A function that is not well defined is not the same as a function that is undefined.[src] For example, if f(x)=\frac{1}{x} , 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 .[src] ==Example== Let A_0,A_1 be sets, let A = A_0 \cup A_1 and "define" f: A \rightarrow \{0,1\} as f(a)=0 if a \in A_0 and f(a)=1 if a \in A_1 .[src] Then f is well defined if A_0 \cap A_1 = \emptyset\![src] .[src] For example, if A_0:=\{2,4\} and A_1:=\{3,5\} , then f(a) would be well defined and equal to \operatorname{mod}(a,2) .[src] However, if A_0 \cap A_1 \neq \emptyset , then f would not be well defined because f(a) is "ambiguous" for a \in A_0 \cap A_1 .[src] 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.[src] As a result, the latter f is not well defined and thus not a function.[src] =="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: {{ordered list | The definition of the binary relation.[src] In the example: f := \bigl\{(a,i) \mid i \in \{0,1\} \wedge a \in A_i \bigr\}, (which so far is nothing but a certain subset of the Cartesian product A \times \{0,1\} .) | The assertion.[src] The binary relation f is a function; in the example: f: A \rightarrow \{0,1\}.[src] }} 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.[src] That is, f is a function if and only if A_0 \cap A_1 = \emptyset , in which case f – as a function – is well defined.[src] On the other hand, if A_0 \cap A_1 \neq \emptyset , then for an a \in A_0 \cap A_1 , we would have that (a,0) \in f and (a,1) \in f , which makes the binary relation f not functional (as defined in ) and thus not well defined as a function.[src] 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.[src] Despite these subtle logical problems, it is quite common to use the term definition (without apostrophes) for "definitions" of this kind, for three reasons: It provides a handy shorthand of the two-step approach.[src] The relevant mathematical reasoning (i.e., step 2) is the same in both cases.[src] In mathematical texts, the assertion is "up to 100%" true.[src] ==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.[src] This is sometimes unavoidable when the arguments are cosets and when the equation refers to coset representatives.[src] The result of a function application must then not depend on the choice of representative.[src] ===Functions with one argument=== For example, consider the following function: \begin{matrix} f : & \Z/8\Z & \to & \Z/4\Z\\ & \overline{n}_8 & \mapsto & \overline{n}_4, \end{matrix} where n\in\Z, m\in \{4,8\} and \Z/m\Z are the integers modulo m and \overline{n}_m denotes the congruence class of n mod m.[src] N.B.: \overline{n}_4 is a reference to the element n \in \overline{n}_8 , and \overline{n}_8 is the argument of f .[src] The function f is well defined, because: n \equiv n' \bmod 8 \; \Leftrightarrow \; 8 \text{ divides } (n-n') \Rightarrow \; 4 \text{ divides } (n-n') \; \Leftrightarrow \; n \equiv n' \bmod 4.[src] As a counter example, the converse definition: \begin{matrix} g : & \Z/4\Z & \to & \Z/8\Z\\ & \overline{n}_4 & \mapsto & \overline{n}_8, \end{matrix} does not lead to a well-defined function, since e.g.[src] \overline{1}_4 equals \overline{5}_4 in \Z/4\Z , but the first would be mapped by g to \overline{1}_8 , while the second would be mapped to \overline{5}_8 , and \overline{1}_8 and \overline{5}_8 are unequal in \Z/8\Z .[src] ===Operations=== In particular, the term well-defined is used with respect to (binary) operations on cosets.[src] 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.[src] For example, addition on the integers modulo some n can be defined naturally in terms of integer addition.[src] [a]\oplus[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.[src] Therefore, [a]\oplus[b] = [a+kn]\oplus[b] = [(a+kn)+b] = [(a+b)+kn] = [a+b]; similar holds for any representative of [b] , thereby making [a+b] the same, irrespective of the choice of representative.[src] ==Well-defined notation== For real numbers, the product a \times b \times c is unambiguous because (a \times b)\times c = a \times (b \times c) ; hence the notation is said to be well defined.[src] 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.[src] 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".[src] 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.[src] Unlike with functions, notational ambiguities can be overcome by means of additional definitions (e.g., rules of precedence, associativity of the operator).[src] 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) .[src] In the programming language APL there is only one rule: from right to left – but parentheses first.[src] ==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.[src] ==See also== Definitionism Existence Pathological (mathematics) Uniqueness Uniqueness quantification Undefined Well-formed formula ==References== ===Notes=== ===Sources=== Contemporary Abstract Algebra, Joseph A.[src] Gallian, 6th Edition, Houghlin Mifflin, 2006, .[src] Algebra: Chapter 0, Paolo Aluffi, .[src] Page 16.[src] Abstract Algebra, Dummit and Foote, 3rd edition, .[src] Page 1.[src]

58 sentences · 58 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Well-defined expression." encyclopegia.org, 2026, https://encyclopegia.org/wiki/well-defined-expression. Accessed 26 November 2026.

Chicago

"Well-defined expression." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/well-defined-expression.

APA

encyclopegia.org. (2026). Well-defined expression. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/well-defined-expression

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

20-Pipe Well

stub · references available

Homer Defined

stub · references available

Samaritan woman at the well

stub · references available

oil well

stub · references available

Microsoft Expression Blend

stub · references available

user-defined function

stub · references available

well-formed formula

stub · references available

well drainage

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1352691715 · 0.5 · snapshot enwiki-001352691715

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.