Hubbry Logo
Restriction (mathematics)Restriction (mathematics)Main
Open search
Restriction (mathematics)
Community hub
Restriction (mathematics)
logo
8 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Restriction (mathematics)
Restriction (mathematics)
from Wikipedia
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

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

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]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
In mathematics, the restriction of a function refers to the process of limiting a function's domain to a proper subset while preserving its mapping behavior on that subset, resulting in a new function defined only on the chosen domain. Formally, given a function f:XYf: X \to Y and a subset AXA \subseteq X, the restriction of ff to AA, denoted fAf|_A or fAf \upharpoonright A, is the function fA:AYf|_A: A \to Y such that fA(x)=f(x)f|_A(x) = f(x) for all xAx \in A. This construction ensures that the graph of the restricted function is the subset of the original graph consisting of pairs (x,f(x))(x, f(x)) where xAx \in A. Restrictions inherit several important properties from the original function. For instance, if ff is injective (one-to-one) on AA, then so is fAf|_A; similarly, continuity is preserved under restriction, meaning the restriction of a continuous function to a subset is continuous relative to the subspace topology. Restrictions are transitive: if ABXA \subseteq B \subseteq X, then (fB)A=fA(f|_B)|_A = f|_A. Additionally, the preimage under the restriction satisfies (fA)1(B)=Af1(B)(f|_A)^{-1}(B) = A \cap f^{-1}(B) for any BYB \subseteq Y. A classic example is the function f:RRf: \mathbb{R} \to \mathbb{R} defined by f(x)=x2f(x) = x^2, which is not injective on all reals but becomes injective when restricted to the non-negative reals [0,)[0, \infty), allowing an inverse given by the square root function. Another illustration is the absolute value function f:ZZf: \mathbb{Z} \to \mathbb{Z} by f(z)=zf(z) = |z|, whose restriction to the natural numbers N\mathbb{N} coincides with the identity function on N\mathbb{N}. Beyond basic function theory, restrictions play key roles in advanced areas. In topology, the pasting lemma uses restrictions to continuous functions on subsets to establish continuity on their union under certain conditions. In algebra and database theory, they appear in selection operators that filter relations based on predicates. More abstractly, in sheaf theory, restrictions generalize to morphisms between sections over open sets in topological spaces, forming the foundation for coherent structures in algebraic geometry. The factorial function, for example, can be viewed as the restriction of the gamma function to positive integers.

Restriction of Functions

Formal Definition

In mathematics, the restriction of a function is a fundamental operation that limits the domain of the function to a specified subset while preserving its values on that subset. Formally, given sets EE and FF, and a function f:EFf: E \to F that is total on EE (meaning it assigns a unique output in FF to every element of EE), the restriction of ff to a subset AEA \subseteq E is the function fA:AFf|_A: A \to F defined by fA(x)=f(x)f|_A(x) = f(x) for all xAx \in A. The notation for restriction commonly employs the vertical bar subscript, as in fAf|_A, though alternatives such as fAf \restriction_A or fAf \upharpoonright A are also used in some texts; regardless of the symbol, the codomain of the restricted function remains FF unless explicitly modified. This construction assumes that EE and FF are arbitrary sets and that ff is well-defined on the entire domain EE, ensuring the restriction is itself a total function on AA.

Examples

A classic example of function restriction is the squaring function f(x)=x2f(x) = x^2, originally defined on the domain R\mathbb{R} with codomain R\mathbb{R}. This function is neither injective nor surjective over R\mathbb{R}, as f(1)=f(1)=1f(-1) = f(1) = 1 and negative values are missed in the image. Restricting the domain to the non-negative reals [0,)[0, \infty) yields f[0,):[0,)[0,)f|_{[0, \infty)}: [0, \infty) \to [0, \infty), which is now bijective, as it is strictly increasing and onto its image. In analytic contexts, the factorial function on positive integers N\mathbb{N} arises as a restriction of the gamma function Γ(z)\Gamma(z), defined for complex zz with positive real part via the integral Γ(z)=0tz1etdt\Gamma(z) = \int_0^\infty t^{z-1} e^{-t} \, dt. Specifically, Γ(n+1)=n!\Gamma(n+1) = n! for nNn \in \mathbb{N}, providing a continuous interpolation of the discrete factorial values. For trigonometric functions, consider the sine function sinx\sin x on R\mathbb{R}, which is periodic and thus not injective. Restricting the domain to [π/2,π/2][-\pi/2, \pi/2] produces sin[π/2,π/2]:[π/2,π/2][1,1]\sin|_{[-\pi/2, \pi/2]}: [-\pi/2, \pi/2] \to [-1, 1], a bijective mapping essential for defining the principal branch of the inverse sine. In general, selecting appropriate domain subsets via restriction can transform a function's properties, such as rendering it monotonic where it was not originally; for instance, the squaring function gains strict monotonicity on [0,)[0, \infty) despite decreasing on (,0](-\infty, 0].

Properties

The restriction operation satisfies certain identity and transitivity properties. Specifically, for a function f:EFf: E \to F, the restriction to the entire domain EE yields the original function, i.e., fE=ff|_E = f. Furthermore, successive restrictions are equivalent to a single restriction: if BAEB \subseteq A \subseteq E, then (fA)B=fB(f|_A)|_B = f|_B. Restriction preserves several key algebraic and analytic properties of functions. If f:EFf: E \to F is injective, then its restriction fA:AFf|_A: A \to F to any subset AEA \subseteq E is also injective, since distinct elements in AA map to distinct elements in FF by the original injectivity. Similarly, if ff is continuous (in the topological sense), the restriction to a subspace AA is continuous relative to the subspace topology on AA. For real-valued functions, if ff is differentiable on an open set ERE \subseteq \mathbb{R}, then fAf|_A is differentiable at interior points of AEA \subseteq E, with the derivative matching that of ff. Monotonicity is also preserved: if ff is monotone on EE, its restriction to AEA \subseteq E remains monotone on AA. However, surjectivity is not generally preserved under restriction. While fAf|_A is surjective onto its image f(A)Ff(A) \subseteq F, it may fail to be surjective onto the full codomain FF unless f(A)=Ff(A) = F. Regarding composition, the restriction of a composite function aligns with the composition of restrictions under compatible domains. For functions f:EGf: E \to G and g:GFg: G \to F with AEA \subseteq E, the restriction satisfies (gf)A=gf(A)(fA)(g \circ f)|_A = g|_{f(A)} \circ (f|_A).

Extensions of Functions

Definition

In mathematics, particularly in set theory and topology, an extension of a function f:AFf: A \to F is a function f~:EF\tilde{f}: E \to F defined on a superset EAE \supseteq A such that the restriction of f~\tilde{f} to AA coincides with ff, i.e., f~A=f\tilde{f}|_A = f. This operation serves as the inverse process to restricting a function's domain, enlarging it while preserving the original mapping on the initial domain. Such extensions are not unique in general, since the values of f~\tilde{f} on EAE \setminus A may be defined arbitrarily within the codomain FF, subject only to the consistency requirement on AA. However, uniqueness or existence can hold under additional conditions; for instance, in topology, the Tietze extension theorem guarantees the existence of a continuous extension f~:XR\tilde{f}: X \to \mathbb{R} for a continuous f:ARf: A \to \mathbb{R}, where AA is a closed subspace of a normal topological space XX. This theorem extends to bounded real-valued functions with range preserved in a closed interval [a,b][a, b]. Partial extensions refer to cases where the enlargement of the domain maintains specific properties of the original function, such as continuity or differentiability. For continuous functions on closed subsets of normal spaces, the Tietze theorem ensures such a continuous partial extension exists to the entire space.

Relation to Restrictions

In the theory of function extensions, compatibility with restrictions is fundamental. Every restriction of a function to a subset of its domain admits trivial extensions to a larger domain; for instance, one can define the function to take a constant value on the complement of the subset while agreeing with the original on the subset. Such extensions always exist for arbitrary functions, as the values on the complement can be chosen freely without additional constraints. However, non-trivial extensions that preserve properties like continuity depend on the extendability of the restricted function. For continuous functions on closed subsets of normal topological spaces, the Tietze extension theorem ensures the existence of a continuous extension to the entire space. The relation between extensions and restrictions also appears in iterative processes, where successive restrictions to subsets followed by extensions can recover the original function under suitable conditions. For example, for any function f:[0,1]2Rf: [0,1]^2 \to \mathbb{R}, there exists a c-dense set D[0,1]2D \subset [0,1]^2 such that the restriction fDf|_D is separately continuous, and this restriction admits an extension hh to [0,1]×[0,1][0,1] \times [0,1] that is quasi-continuous and agrees with ff on a set containing DD, thereby approximating or recovering key behaviors of the original ff. This iterative interplay highlights how restrictions can be used to simplify analysis while extensions allow reconstruction, provided the function satisfies properties like separate continuity on dense subsets. A illustrative example of the challenges in extending restrictions while preserving functional properties is the square root function x\sqrt{x}
Add your contribution
Related Hubs
User Avatar
No comments yet.