A homomorphism is a function between algebraic structures that preserves the operations. If and are magmas, a homomorphism satisfies for all . The operation in the source becomes the operation in the target. The structure is carried across.
For richer structures, the homomorphism must preserve all the operations and distinguished elements. A monoid homomorphism preserves the binary operation and the identity element. A group homomorphism preserves the operation, identity, and inverses. A ring homomorphism preserves addition, multiplication, and both identity elements. A lattice homomorphism preserves meet and join. Each algebraic structure defines what “preserving the structure” means, and the homomorphism is the function that does it.
A homomorphism that is also a bijection is an isomorphism — it establishes that two structures are algebraically identical. A homomorphism from a structure to itself is an endomorphism. A bijective endomorphism is an automorphism. The kernel of a homomorphism — the set of elements mapped to the identity — encodes what information the homomorphism discards. The first isomorphism theorem says the image is isomorphic to the quotient of the source by the kernel. This is one of the most important structural results in algebra: every homomorphism factors as a surjection onto the image followed by an injection into the target.
Homomorphisms are the morphisms of algebraic categories. The category Grp has groups as objects and group homomorphisms as morphisms. The category Ring has rings as objects and ring homomorphisms as morphisms. A functor between categories is a higher-level homomorphism — it preserves composition and identity morphisms, just as a homomorphism preserves the binary operation and identity element. The pattern repeats: at every level, the structure-preserving maps are what matter.