fbpx
Wikipedia

Restriction (mathematics)

In mathematics, the restriction of a function is a new function, denoted or obtained by choosing a smaller domain for the original function The function is then said to extend

The function with domain does not have an inverse function. If we restrict to the non-negative real numbers, then it does have an inverse function, known as the square root of

Formal definition edit

Let   be a function from a set   to a set   If a set   is a subset of   then the restriction of   to   is the function[1]

 
given by   for   Informally, the restriction of   to   is the same function as   but is only defined on  .

If the function   is thought of as a relation   on the Cartesian product   then the restriction of   to   can be represented by its graph,

 

where the pairs   represent ordered pairs in the graph  

Extensions edit

A function   is said to be an extension of another function   if whenever   is in the domain of   then   is also in the domain of   and   That is, if   and  

A linear extension (respectively, continuous extension, etc.) of a function   is an extension of   that is also a linear map (respectively, a continuous map, etc.).

Examples edit

  1. The restriction of the non-injective function  to the domain   is the injection 
  2. The factorial function is the restriction of the gamma function to the positive integers, with the argument shifted by one:  

Properties of restrictions edit

  • Restricting a function   to its entire domain   gives back the original function, that is,  
  • Restricting a function twice is the same as restricting it once, that is, if   then  
  • The restriction of the identity function on a set   to a subset   of   is just the inclusion map from   into  [2]
  • The restriction of a continuous function is continuous.[3][4]

Applications edit

Inverse functions edit

For a function to have an inverse, it must be one-to-one. If a function   is not one-to-one, it may be possible to define a partial inverse of   by restricting the domain. For example, the function

 
defined on the whole of   is not one-to-one since   for any   However, the function becomes one-to-one if we restrict to the domain   in which case
 

(If we instead restrict to the domain   then the inverse is the negative of the square root of  ) Alternatively, there is no need to restrict the domain if we allow the inverse to be a multivalued function.

Selection operators edit

In relational algebra, a selection (sometimes called a restriction to avoid confusion with SQL's use of SELECT) is a unary operation written as   or   where:

  •   and   are attribute names,
  •   is a binary operation in the set  
  •   is a value constant,
  •   is a relation.

The selection   selects all those tuples in   for which   holds between the   and the   attribute.

The selection   selects all those tuples in   for which   holds between the   attribute and the value  

Thus, the selection operator restricts to a subset of the entire database.

The pasting lemma edit

The pasting lemma is a result in topology that relates the continuity of a function with the continuity of its restrictions to subsets.

Let   be two closed subsets (or two open subsets) of a topological space   such that   and let   also be a topological space. If   is continuous when restricted to both   and   then   is continuous.

This result allows one to take two continuous functions defined on closed (or open) subsets of a topological space and create a new one.

Sheaves edit

Sheaves provide a way of generalizing restrictions to objects besides functions.

In sheaf theory, one assigns an object   in a category to each open set   of a topological space, and requires that the objects satisfy certain conditions. The most important condition is that there are restriction morphisms between every pair of objects associated to nested open sets; that is, if   then there is a morphism   satisfying the following properties, which are designed to mimic the restriction of a function:

  • For every open set   of   the restriction morphism   is the identity morphism on  
  • If we have three open sets   then the composite  
  • (Locality) If   is an open covering of an open set   and if   are such that   for each set   of the covering, then  ; and
  • (Gluing) If   is an open covering of an open set   and if for each   a section   is given such that for each pair   of the covering sets the restrictions of   and   agree on the overlaps:   then there is a section   such that   for each  

The collection of all such objects is called a sheaf. If only the first two properties are satisfied, it is a pre-sheaf.

Left- and right-restriction edit

More generally, the restriction (or domain restriction or left-restriction)   of a binary relation   between   and   may be defined as a relation having domain   codomain   and graph   Similarly, one can define a right-restriction or range restriction   Indeed, one could define a restriction to  -ary relations, as well as to subsets understood as relations, such as ones of the Cartesian product   for binary relations. These cases do not fit into the scheme of sheaves.[clarification needed]

Anti-restriction edit

The domain anti-restriction (or domain subtraction) of a function or binary relation   (with domain   and codomain  ) by a set   may be defined as  ; it removes all elements of   from the domain   It is sometimes denoted   ⩤  [5] Similarly, the range anti-restriction (or range subtraction) of a function or binary relation   by a set   is defined as  ; it removes all elements of   from the codomain   It is sometimes denoted   ⩥  

See also edit

References edit

  1. ^ Stoll, Robert (1974). Sets, Logic and Axiomatic Theories (2nd ed.). San Francisco: W. H. Freeman and Company. pp. [36]. ISBN 0-7167-0457-9.
  2. ^ Halmos, Paul (1960). Naive Set Theory. Princeton, NJ: D. Van Nostrand. Reprinted by Springer-Verlag, New York, 1974. ISBN 0-387-90092-6 (Springer-Verlag edition). Reprinted by Martino Fine Books, 2011. ISBN 978-1-61427-131-4 (Paperback edition).
  3. ^ Munkres, James R. (2000). Topology (2nd ed.). Upper Saddle River: Prentice Hall. ISBN 0-13-181629-2.
  4. ^ Adams, Colin Conrad; Franzosa, Robert David (2008). Introduction to Topology: Pure and Applied. Pearson Prentice Hall. ISBN 978-0-13-184869-6.
  5. ^ Dunne, S. and Stoddart, Bill Unifying Theories of Programming: First International Symposium, UTP 2006, Walworth Castle, County Durham, UK, February 5–7, 2006, Revised Selected ... Computer Science and General Issues). Springer (2006)

restriction, mathematics, other, uses, restriction, disambiguation, mathematics, restriction, function, displaystyle, function, denoted, displaystyle, vert, displaystyle, upharpoonright, obtained, choosing, smaller, domain, displaystyle, original, function, di. For other uses see Restriction disambiguation In mathematics the restriction of a function f displaystyle f is a new function denoted f A displaystyle f vert A or f A displaystyle f upharpoonright A obtained by choosing a smaller domain A displaystyle A for the original function f displaystyle f The function f displaystyle f is then said to extend f A displaystyle f vert A The function x 2 displaystyle x 2 with domain R displaystyle mathbb R does not have an inverse function If we restrict x 2 displaystyle x 2 to the non negative real numbers then it does have an inverse function known as the square root of x displaystyle x Contents 1 Formal definition 1 1 Extensions 2 Examples 3 Properties of restrictions 4 Applications 4 1 Inverse functions 4 2 Selection operators 4 3 The pasting lemma 4 4 Sheaves 5 Left and right restriction 6 Anti restriction 7 See also 8 ReferencesFormal definition editLet f E F displaystyle f E to F nbsp be a function from a set E displaystyle E nbsp to a set F displaystyle F nbsp If a set A displaystyle A nbsp is a subset of E displaystyle E nbsp then the restriction off displaystyle f nbsp toA displaystyle A nbsp is the function 1 f A A F displaystyle f A A to F nbsp given by f A x f x displaystyle f A x f x nbsp for x A displaystyle x in A nbsp Informally the restriction of f displaystyle f nbsp to A displaystyle A nbsp is the same function as f displaystyle f nbsp but is only defined on A displaystyle A nbsp If the function f displaystyle f nbsp is thought of as a relation x f x displaystyle x f x nbsp on the Cartesian product E F displaystyle E times F nbsp then the restriction of f displaystyle f nbsp to A displaystyle A nbsp can be represented by its graph G f A x f x G f x A G f A F displaystyle G f A x f x in G f x in A G f cap A times F nbsp where the pairs x f x displaystyle x f x nbsp represent ordered pairs in the graph G displaystyle G nbsp Extensions edit A function F displaystyle F nbsp is said to be an extension of another function f displaystyle f nbsp if whenever x displaystyle x nbsp is in the domain of f displaystyle f nbsp then x displaystyle x nbsp is also in the domain of F displaystyle F nbsp and f x F x displaystyle f x F x nbsp That is if domain f domain F displaystyle operatorname domain f subseteq operatorname domain F nbsp and F domain f f displaystyle F big vert operatorname domain f f nbsp A linear extension respectively continuous extension etc of a function f displaystyle f nbsp is an extension of f displaystyle f nbsp that is also a linear map respectively a continuous map etc Examples editThe restriction of the non injective functionf R R x x 2 displaystyle f mathbb R to mathbb R x mapsto x 2 nbsp to the domain R 0 displaystyle mathbb R 0 infty nbsp is the injectionf R R x x 2 displaystyle f mathbb R to mathbb R x mapsto x 2 nbsp The factorial function is the restriction of the gamma function to the positive integers with the argument shifted by one G Z n n 1 displaystyle Gamma mathbb Z n n 1 nbsp Properties of restrictions editRestricting a function f X Y displaystyle f X rightarrow Y nbsp to its entire domain X displaystyle X nbsp gives back the original function that is f X f displaystyle f X f nbsp Restricting a function twice is the same as restricting it once that is if A B dom f displaystyle A subseteq B subseteq operatorname dom f nbsp then f B A f A displaystyle left f B right A f A nbsp The restriction of the identity function on a set X displaystyle X nbsp to a subset A displaystyle A nbsp of X displaystyle X nbsp is just the inclusion map from A displaystyle A nbsp into X displaystyle X nbsp 2 The restriction of a continuous function is continuous 3 4 Applications editInverse functions edit Main article Inverse function For a function to have an inverse it must be one to one If a function f displaystyle f nbsp is not one to one it may be possible to define a partial inverse of f displaystyle f nbsp by restricting the domain For example the functionf x x 2 displaystyle f x x 2 nbsp defined on the whole of R displaystyle mathbb R nbsp is not one to one since x 2 x 2 displaystyle x 2 x 2 nbsp for any x R displaystyle x in mathbb R nbsp However the function becomes one to one if we restrict to the domain R 0 0 displaystyle mathbb R geq 0 0 infty nbsp in which case f 1 y y displaystyle f 1 y sqrt y nbsp If we instead restrict to the domain 0 displaystyle infty 0 nbsp then the inverse is the negative of the square root of y displaystyle y nbsp Alternatively there is no need to restrict the domain if we allow the inverse to be a multivalued function Selection operators edit Main article Selection relational algebra In relational algebra a selection sometimes called a restriction to avoid confusion with SQL s use of SELECT is a unary operation written as s a 8 b R displaystyle sigma a theta b R nbsp or s a 8 v R displaystyle sigma a theta v R nbsp where a displaystyle a nbsp and b displaystyle b nbsp are attribute names 8 displaystyle theta nbsp is a binary operation in the set lt gt displaystyle lt leq neq geq gt nbsp v displaystyle v nbsp is a value constant R displaystyle R nbsp is a relation The selection s a 8 b R displaystyle sigma a theta b R nbsp selects all those tuples in R displaystyle R nbsp for which 8 displaystyle theta nbsp holds between the a displaystyle a nbsp and the b displaystyle b nbsp attribute The selection s a 8 v R displaystyle sigma a theta v R nbsp selects all those tuples in R displaystyle R nbsp for which 8 displaystyle theta nbsp holds between the a displaystyle a nbsp attribute and the value v displaystyle v nbsp Thus the selection operator restricts to a subset of the entire database The pasting lemma edit Main article Pasting lemma The pasting lemma is a result in topology that relates the continuity of a function with the continuity of its restrictions to subsets Let X Y displaystyle X Y nbsp be two closed subsets or two open subsets of a topological space A displaystyle A nbsp such that A X Y displaystyle A X cup Y nbsp and let B displaystyle B nbsp also be a topological space If f A B displaystyle f A to B nbsp is continuous when restricted to both X displaystyle X nbsp and Y displaystyle Y nbsp then f displaystyle f nbsp is continuous This result allows one to take two continuous functions defined on closed or open subsets of a topological space and create a new one Sheaves edit Main article Sheaf theory Sheaves provide a way of generalizing restrictions to objects besides functions In sheaf theory one assigns an object F U displaystyle F U nbsp in a category to each open set U displaystyle U nbsp of a topological space and requires that the objects satisfy certain conditions The most important condition is that there are restriction morphisms between every pair of objects associated to nested open sets that is if V U displaystyle V subseteq U nbsp then there is a morphism res V U F U F V displaystyle operatorname res V U F U to F V nbsp satisfying the following properties which are designed to mimic the restriction of a function For every open set U displaystyle U nbsp of X displaystyle X nbsp the restriction morphism res U U F U F U displaystyle operatorname res U U F U to F U nbsp is the identity morphism on F U displaystyle F U nbsp If we have three open sets W V U displaystyle W subseteq V subseteq U nbsp then the composite res W V res V U res W U displaystyle operatorname res W V circ operatorname res V U operatorname res W U nbsp Locality If U i displaystyle left U i right nbsp is an open covering of an open set U displaystyle U nbsp and if s t F U displaystyle s t in F U nbsp are such that s U i t U i displaystyle s big vert U i t big vert U i nbsp for each set U i displaystyle U i nbsp of the covering then s t displaystyle s t nbsp and Gluing If U i displaystyle left U i right nbsp is an open covering of an open set U displaystyle U nbsp and if for each i displaystyle i nbsp a section x i F U i displaystyle x i in F left U i right nbsp is given such that for each pair U i U j displaystyle U i U j nbsp of the covering sets the restrictions of s i displaystyle s i nbsp and s j displaystyle s j nbsp agree on the overlaps s i U i U j s j U i U j displaystyle s i big vert U i cap U j s j big vert U i cap U j nbsp then there is a section s F U displaystyle s in F U nbsp such that s U i s i displaystyle s big vert U i s i nbsp for each i displaystyle i nbsp The collection of all such objects is called a sheaf If only the first two properties are satisfied it is a pre sheaf Left and right restriction editMore generally the restriction or domain restriction or left restriction A R displaystyle A triangleleft R nbsp of a binary relation R displaystyle R nbsp between E displaystyle E nbsp and F displaystyle F nbsp may be defined as a relation having domain A displaystyle A nbsp codomain F displaystyle F nbsp and graph G A R x y F R x A displaystyle G A triangleleft R x y in F R x in A nbsp Similarly one can define a right restriction or range restriction R B displaystyle R triangleright B nbsp Indeed one could define a restriction to n displaystyle n nbsp ary relations as well as to subsets understood as relations such as ones of the Cartesian product E F displaystyle E times F nbsp for binary relations These cases do not fit into the scheme of sheaves clarification needed Anti restriction editThe domain anti restriction or domain subtraction of a function or binary relation R displaystyle R nbsp with domain E displaystyle E nbsp and codomain F displaystyle F nbsp by a set A displaystyle A nbsp may be defined as E A R displaystyle E setminus A triangleleft R nbsp it removes all elements of A displaystyle A nbsp from the domain E displaystyle E nbsp It is sometimes denoted A displaystyle A nbsp R displaystyle R nbsp 5 Similarly the range anti restriction or range subtraction of a function or binary relation R displaystyle R nbsp by a set B displaystyle B nbsp is defined as R F B displaystyle R triangleright F setminus B nbsp it removes all elements of B displaystyle B nbsp from the codomain F displaystyle F nbsp It is sometimes denoted R displaystyle R nbsp B displaystyle B nbsp See also editConstraint Condition of an optimization problem which the solution must satisfy Deformation retract Continuous position preserving mapping from a topological space into a subspacePages displaying short descriptions of redirect targets Local property property which occurs on sufficiently small or arbitrarily small neighborhoods of pointsPages displaying wikidata descriptions as a fallback Function mathematics Restriction and extension Binary relation Restriction Relational algebra Selection s References edit Stoll Robert 1974 Sets Logic and Axiomatic Theories 2nd ed San Francisco W H Freeman and Company pp 36 ISBN 0 7167 0457 9 Halmos Paul 1960 Naive Set Theory Princeton NJ D Van Nostrand Reprinted by Springer Verlag New York 1974 ISBN 0 387 90092 6 Springer Verlag edition Reprinted by Martino Fine Books 2011 ISBN 978 1 61427 131 4 Paperback edition Munkres James R 2000 Topology 2nd ed Upper Saddle River Prentice Hall ISBN 0 13 181629 2 Adams Colin Conrad Franzosa Robert David 2008 Introduction to Topology Pure and Applied Pearson Prentice Hall ISBN 978 0 13 184869 6 Dunne S and Stoddart Bill Unifying Theories of Programming First International Symposium UTP 2006 Walworth Castle County Durham UK February 5 7 2006 Revised Selected Computer Science and General Issues Springer 2006 Retrieved from https en wikipedia org w index php title Restriction mathematics amp oldid 1201675729, 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.