Give the definition of homomorphism. Let G and H be graphs
Let πΊ and π» be graphs. Suppose that π is a function from π(πΊ) into π(π»). We say that
π is a homomorphism if and only if, for all π’, π£ β π(πΊ), if {π’, π£} β πΈ(πΊ), then
{π(π’), π(π£)} β πΈ(π»).
Explain homomorphism in simple terms
A homomorphism is a function that sends every edge of
πΊ to an edge of
π»
What is the identity function?
a function that sends every element to itself, meaning
id(π₯)=π₯ for all π₯ in the set
What is the identity function on V(G)?
πdβπ(πΊ) : V(G)βV(G)
idβ(V(G)β)(v) = v
a vertex of G is inputed and the output is the same vertex
What is injectivity?
A function is injective if no two elements from the domain are allowed to map to the same element in the codomain
Example:
aβ1, bβ2, cβ3 is injective.
aβ1, bβ1 is not injective.
What is surjectivity?
A function is surjective if every element in the target set is used at least once as an output.
Nothing in the target set is left out.
Example:
If the outputs are {1,2,3} and the target set is {1,2,3}, the function is surjective.
If 3 is never used, it is not surjective.
What is bijectivity?
A function is bijective if it is both injective and surjective.
Every input has its own unique output, and every output is used exactly once.
Think: βPerfect matchingβ between the two sets.
Example:
aβ1, bβ2, cβ3 is bijective.