Math 2.0

definition

Restriction of a function

Definition

Let f ⁣:A→Bf \colon A \to B be a function and let SS be a subset of AA. The restriction of ff to SS is the function f∣S ⁣:S→Bf|_S \colon S \to B with f∣S(s)=f(s)f|_S(s) = f(s) for each s∈Ss \in S.

Remarks

The graph of f∣Sf|_S is {(s,f(s))∣s∈S}\{(s, f(s)) \mid s \in S\}, a subset of the graph of ff. The function ff is an extension of f∣Sf|_S. Example: x↦x2x \mapsto x^2 on R\mathbb{R} is not injective, but its restriction to [0,∞)[0, \infty) is injective.

Explanations

L1 human

To restrict a function, you keep its rule and allow fewer inputs. Restrictions often make a function injective, so that it has an inverse on a smaller domain.

What this node needs for W2
  • edge instance_of in: one example (0 of 1)
  • edge not_instance_of in: one non-example that fails one clause (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What depends on this

6 nodes use this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/Restriction_(mathematics), lead section