Let $B, C$ be $A$-algebras, where $A$ is a commutative ring, i.e. $B, C$ are rings and we have ring homomorphisms $f:A\rightarrow B, g:A \rightarrow C$. Since both $B, C$ are $A$-modules, we define $D=B \otimes_A C$. Now, D can be turned into a ring by defining multiplication $D \times D \rightarrow D$ by $(b \otimes c, b' \otimes c') \mapsto bb' \otimes cc'$. See for example "Intoduction to Commutative Algebra" by Atiyah and MacDonald, p. 30.
To turn $D$ into an $A$-algebra we need a ring homomorphism $A \rightarrow D$. One possibility is $\alpha \mapsto f(\alpha) \mapsto f(\alpha) \otimes 1_C$. It is mentioned in Atiyah in p. 31 that the map $\alpha \mapsto f(\alpha) \otimes g(\alpha)$ is a ring homomorphism $A \rightarrow D$. However, it seems to me that this map does not preserve addition, since $\alpha+\alpha' \mapsto f(\alpha+\alpha') \otimes g(\alpha+\alpha')$ and the latter quantity is not equal (seemingly) to $f(\alpha) \otimes g(\alpha) + f(\alpha') \otimes g(\alpha')$.
Am i missing something or is this a typo?