In mathematics, a ring homomorphism is a structure-preserving function between two rings. More explicitly, if "R" and "S" are rings, then a ring homomorphism is a function that preserves addition, multiplication and multiplicative identity; that is, formula_1 for all "a", "b" in "R". These conditions imply that additive inverses and the additive identity are also preserved. If, in addition, is a bijection, then its inverse −1 is also a ring homomorphism. In this case, is called a ring isomorphism, and the rings "R" and "S" are called "isomorphic". From the standpoint of ring theory, isomorphic rings have exactly the same properties. If "R" and "S" are s, then the corresponding notion is that of a homomorphism, defined as above except without the third condition "f"(1"R") = 1"S". A homomorphism between (unital) rings need not be a ring homomorphism. The composition of two ring homomorphisms is a ring homomorphism. It follows that the rings forms a category with ring homomorphisms as morphisms (see "Category of rings"). In particular, one obtains the notions of ring endomorphism, ring isomorphism, and ring automorphism. Properties. Let be a ring homomorphism. Then, directly from these definitions, one can deduce: Moreover, Category of rings. Monomorphisms and epimorphisms. Injective ring homomorphisms are identical to monomorphisms in the category of rings: If is a monomorphism that is not injective, then it sends some "r"1 and "r"2 to the same element of "S". Consider the two maps "g"1 and "g"2 from Z["x"] to "R" that map "x" to "r"1 and "r"2, respectively; and are identical, but since is a monomorphism this is impossible. However, surjective ring homomorphisms are vastly different from epimorphisms in the category of rings. For example, the inclusion with the identity mapping is a ring epimorphism, but not a surjection. However, every ring epimorphism is also a strong epimorphism, the converse being true in every category.