Definition

where are sets and

A relation satisfies following conditions

is a Domain of is a Codomain of is an Image of a function

Properties

Image and Preimage

Image

is an Image of an element under is an Image of a subset under

Preimage

is a preimage of an element under is a preimage of a subset under

Restriction and Extension

Restriction

where is a function,

is a restriction of to

Extension

The is an extension of a function when is a restriction of

Injective, Surjective, Bijective Function

Injective

Definition

Maps distinct elements of its Domain to distinct elements

Facts

Injective function is an example of an Monomorphism

Link to original

Surjective

Definition

A function is surjective if every element in the function’s codomain is the Image of at least one element of its Domain

Facts

Surjective function is an example of an Epimorphism

If a function is surjective, then

Link to original

Bijective

Definition

A function that is both Injective and Surjective

Every element in the Codomain of the function is mapped to by exactly one element in the Domain of the function

Facts

Bijective function is an example of an Isomomorphism

Link to original

Composition

Let and where the Domain of is the Codomain of

Classes

Facts

Even if the function expression is the same, if the Domain is different, is a different function.

e.g. Let . If , then . On the other hand, if , then

Associative Property:

If both are Injective, then is also Injective

If both are Surjective, then is also Surjective

If is Injective, then is Injective If is Surjective, then is Surjective

is Injective

is Surjective

If is a Injective, then