Partial function
In mathematics, a partial function from a set to a set is a function from a subset of (possibly the whole itself) to . The subset , that is, the domain of viewed as a function, is called the domain of definition or natural domain of . If equals , that is, if is defined on every element in , then is said to be a total function. In other words, a partial function is a binary relation over two sets that associates to every element of the first set at most one element of the second set; it is thus a univalent relation. This generalizes the concept of a (total) function by not requiring every element of the first set to be associated to an element of the second set. A partial function is often used when its exact domain of definition is not known, or is difficult to specify. However, even when the exact domain of definition is known, partial functions are often used for simplicity or brevity. This is the case in calculus, where, for example, the quotient of two functions is a partial...
In mathematics, a partial function from a set to a set is a function from a subset of (possibly the whole itself) to . The subset , that is, the domain of viewed as a function, is called the domain of definition or natural domain of . If equals , that is, if is defined on every element in , then is said to be a total function. In other words, a partial function is a binary relation over two sets that associates to every element of the first set at most one element of the second set; it is thus a univalent relation. This generalizes the concept of a (total) function by not requiring every element of the first set to be associated to an element of the second set. A partial function is often used when its exact domain of definition is not known, or is difficult to specify. However, even when the exact domain of definition is known, partial functions are often used for simplicity or brevity. This is the case in calculus, where, for example, the quotient of two functions is a partial function whose domain of definition cannot contain the zeros of the denominator; in this context, a partial function is generally simply called a . In computability theory, a general recursive function is a partial function from the integers to the integers; no algorithm can exist for deciding whether an arbitrary such function is in fact total. When arrow notation is used for functions, a partial function f from X to Y is sometimes written as f : X \rightharpoonup Y, f : X \nrightarrow Y, or f : X \hookrightarrow Y. However, there is no general convention, and the latter notation is more commonly used for inclusion maps or embeddings. Specifically, for a partial function f : X \rightharpoonup Y, and any x \in X, one has either: f(x) = y \in Y (it is a single element in ), or f(x) is undefined. For example, if f is the square root function restricted to the integers defined by: then f(n) is only defined if n is a perfect square (that is, 0, 1, 4, 9, 16, \ldots ). So f(25) = 5 but f(26) is undefined. [X \rightharpoonup Y] = \bigcup_{D \subseteq X} [D \to Y], the latter also written as \bigcup_{D\subseteq{X}} Y^D. In finite case, its cardinality is |[X \rightharpoonup Y]| = (|Y| + 1)^ , because any partial function can be extended to a function by any fixed value c not contained in Y, so that the codomain is Y \cup \{ c \}, an operation which is injective (unique and invertible by restriction). f(x,y) = x - y. It is defined only when x \geq y. In category theory, when considering the operation of morphism composition in concrete categories, the composition operation \circ \;:\; \hom(C) \times \hom(C) \to \hom(C) is a total function if and only if \operatorname{ob}(C) has one element. The reason for this is that two morphisms f : X \to Y and g : U \to V can only be composed as g \circ f if Y = U, that is, the codomain of f must equal the domain of g. The category of sets and partial functions is equivalent to but not isomorphic with the category of pointed sets and point-preserving maps. One textbook notes that "This formal completion of sets and partial maps by adding “improper,” “infinite” elements was reinvented many times, in particular, in topology (one-point compactification) and in theoretical computer science." The category of sets and partial bijections is equivalent to its dual. It is the prototypical inverse category.
References
- ^ Garrett Birkhoff & Thomas Bartee (1970) Modern Applied Algebra , page 13, McGraw-Hill Book Company Wikipedia revision 1374575911, retrieved 2026-11-22 · 1795302000.0
- ^ Francis Borceux (1994). Handbook of Categorical Algebra: Volume 2, Categories and Structures . Cambridge University Press. p. 289. ISBN 978-0-521-44179-7 . Wikipedia revision 1374575911, retrieved 2026-11-22 · 1795302000.0
- ^ a b Alfred Hoblitzelle Clifford; G. B. Preston (1967). The Algebraic Theory of Semigroups. Volume II . American Mathematical Soc. p. xii. ISBN 978-0-8218-0272-4 . Wikipedia revision 1374575911, retrieved 2026-11-22 · 1795302000.0
- ^ Olexandr Ganyushkin; Volodymyr Mazorchuk (2008). Classical Finite Transformation Semigroups: An Introduction . Springer Science & Business Media. pp. 16 and 24. ISBN 978-1-84800-281-4 . Wikipedia revision 1374575911, retrieved 2026-11-22 · 1795302000.0
- ^ Marco Grandis (2012). Homological Algebra: The Interplay of Homology with Distributive Lattices and Orthodox Semigroups . World Scientific. p. 55. ISBN 978-981-4407-06-9 . Wikipedia revision 1374575911, retrieved 2026-11-22 · 1795302000.0
- ^ a b Peter M. Higgins (1992). Techniques of semigroup theory . Oxford University Press, Incorporated. p. 4. ISBN 978-0-19-853577-5 . Wikipedia revision 1374575911, retrieved 2026-11-22 · 1795302000.0
- ^ a b Christopher Hollings (2014). Mathematics across the Iron Curtain: A History of the Algebraic Theory of Semigroups . American Mathematical Society. p. 251. ISBN 978-1-4704-1493-1 . Wikipedia revision 1374575911, retrieved 2026-11-22 · 1795302000.0
- ^ Neal Koblitz; B. Zilber; Yu. I. Manin (2009). A Course in Mathematical Logic for Mathematicians . Springer Science & Business Media. p. 290. ISBN 978-1-4419-0615-1 . Wikipedia revision 1374575911, retrieved 2026-11-22 · 1795302000.0
- ^ Lutz Schröder (2001). "Categories: a free tour". In Jürgen Koslowski and Austin Melton (ed.). Categorical Perspectives . Springer Science & Business Media. p. 10. ISBN 978-0-8176-4186-3 . Wikipedia revision 1374575911, retrieved 2026-11-22 · 1795302000.0
- ^ Peter Burmeister (1993). "Partial algebras – an introductory survey". In Ivo G. Rosenberg; Gert Sabidussi (eds.). Algebras and Orders . Springer Science & Business Media. ISBN 978-0-7923-2143-9 . Wikipedia revision 1374575911, retrieved 2026-11-22 · 1795302000.0
- Christopher Hollings. Mathematics across the Iron Curtain: A History of the Algebraic Theory of Semigroups . 2014. · 1789167600.0
- Francis Borceux. Handbook of Categorical Algebra: Volume 2, Categories and Structures . Cambridge . 1994. · 1789167600.0
- Marco Grandis. Homological Algebra: The Interplay of Homology with Distributive Lattices and Orthodox Semigroups . · 1789167600.0
- The Algebraic Theory of Semigroups. Volume II . 1967. · 1789167600.0
- Classical Finite Transformation Semigroups: An Introduction . · 1789167600.0
Cite this
"Partial function". 1789243635. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1374575911