Functions
Functions
Definition
Let A, B be nonempty sets. A relation f ⊆ A × B is called a partial
function from A to B iff it satisfies the function condition
(a, b) ∈ f ∧ (a, c) ∈ f → b = c
Definition
A partial function f : A → B is called a total function iff every element
in A is assigned an element in B, i.e., ∀a ∈ A ∃b ∈ B (a, b) ∈ f .
Definition
A function f : A → B is injective (“one-to-one”) iff f (a) = f (b) → a = b.
Then f is called an injection.
Definition
A function f : A → B is surjective (“onto”) iff ∀b ∈ B ∃a ∈ A f (a) = b.
Then f is called a surjection.
Definition
Let f : A → B and g : B → C. The composition function f ◦ g is defined
by f ◦ g : A → C with f ◦ g(a) = f (g(a)).
f (0) = 0! = 1
and
f (n) = n! = 1 · 2 · · · · · (n − 1) · n
C(X ) := X ∪ {a1 + · · · + ak | a1 , . . . , ak ∈ X }
C(X ) := X ∪ {a1 + · · · + ak | a1 , . . . , ak ∈ X }