Definition. algebra [ca-0016]

Let \(R\) be a commutative ring with identity. An algebra \(A\) over \(R\) is an associative ring with identity, equipped with a ring homomorphism \(\mathit {1} : R \to _{+*} A\) and a scalar multiplication \(\bullet : R \to A \to A\), such that for every \(r \in R\) and \(x \in A\), \[ \mathit {1}(r) * x = x * \mathit {1}(r), \qquad r \bullet x = \mathit {1}(r) * x. \] The ring homomorphism preserves the identity; multiplication in \(A\) need not be commutative.

This is the central-map convention of [stacks2017stacks, Section 22.2, Tag 09JF]. It is equivalent to the module formulation in [jadczyk2019notes, Definition 1.6, p. 4]; see the comparison.