Lably
Skip to content

Well-defined expression

Expression whose definition assigns it a unique interpretation

  • 4 min read
  • 5 chapters

Related on Lably

Through Mathematics, Expression (mathematics) and Domain of a function

A function that is not well defined is not the same as a function that is undefined. For example, if f(x)=1x, 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.

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.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Basics