3

Incredibly, I haven't been able to find a good entry online comparing these two mathematical structures. Their relative familiarity doesn't make their boundaries less fuzzy. Here is a coarse attempt:

From Wikipedia,

In mathematics, a function is a relation between a set of inputs and a set of permissible outputs with the property that each input is related to exactly one output.

A homomorphism is a structure-preserving map between two algebraic structures of the same type (such as two groups, two rings, or two vector spaces).

Based solely on these definitions it would seem that:

  1. A function is injective (?) - this sounds incorrect. Yet, from general use, it would seem that both functions and homomorphisms can be injective or surjective, bijective, or neither.

  2. Functions seem more limited in their algebraic structure, while the maps in homomorphisms can be defined more broadly.

  3. Homomorphisms seem to encompass relations between a broader range of algebraic structures.

  4. The property of homomorphisms $\varphi(a\circ b)=\varphi(a)\circ\varphi(b)$ is not necessarily a characteristic of functions.

  • Are you sure a function has to be injective? – Harry Alli Feb 02 '18 at 06:02
  • I do not see why you could reason that function have to be injective accodring to his definition. All that was said, is there do not exist two mappings for the same input.
  • – ty. Feb 02 '18 at 06:08
  • @Harry Alli No, this is not what I meant. In the Wikipedia definition, it reads, "with the property that each input is related to exactly one output." This would seem to indicate that if $f(a)=f(b) \implies a=b,$ but that doesn't seem to be the case: there are injective and non-injective functions... – Antoni Parellada Feb 02 '18 at 06:08
  • 2
    That does not indicate that. You are interpreting it as each output is related to exactly one input, the converse of the Wikipedian statement, which is not true – Harry Alli Feb 02 '18 at 06:14
  • @ Harry Alli Yes, I see it now. Thank you. – Antoni Parellada Feb 02 '18 at 06:15
  • No worries, this is always confusing at first :) – Harry Alli Feb 02 '18 at 06:16
  • 2
    All homomorphisms are functions, but not all functions are homomorphisms. In particular, homomorphisms, by definition, must be functions between algebraic structures, and moreover they must satisfy the multiplicative criterion, i.e. $\phi(ab) = \phi(a)\phi(b)$. Functions in general are defined on sets, and algebraic structures are special kinds of sets. Lastly, functions in general don't have to be "multiplicative". This is to say, homomorphisms are functions with those two extra stipulations. – Kaj Hansen Feb 02 '18 at 06:45