In mathematics, an associative algebra A is an algebraic structure with compatible operations of addition, multiplication (assumed to be associative), and a scalar multiplication by elements in some field K. The addition and multiplication operations together give A the structure of a ring; the addition and scalar multiplication operations together give A the structure of a vector space over K. In this article we will also use the term K-algebra to mean an associative algebra over the field K. A standard first example of a K-algebra is a ring of square matrices over a field K, with the usual matrix multiplication.

A commutative algebra is an associative algebra that has a commutative multiplication, or, equivalently, an associative algebra that is also a commutative ring.

In this article associative algebras are assumed to have a multiplicative identity, denoted 1; they are sometimes called unital associative algebras for clarification. In some areas of mathematics this assumption is not made, and we will call such structures non-unital associative algebras. We will also assume that all rings are unital, and all ring homomorphisms are unital.

Many authors consider the more general concept of an associative algebra over a commutative ring R, instead of a field: An R-algebra is an R-module with an associative R-bilinear binary operation, which also contains a multiplicative identity. For examples of this concept, if S is any ring with center C, then S is an associative C-algebra.

## Definition

Let R be a commutative ring (so R could be a field). An associative R-algebra (or more simply, an R-algebra) is a ring that is also an R-module in such a way that the two additions (the ring addition and the module addition) are the same operation, and scalar multiplication satisfies

$r\cdot (xy)=(r\cdot x)y=x(r\cdot y)$ for all r in R and x, y in the algebra. (This definition implies that the algebra is unital, since rings are supposed to have a multiplicative identity.)

Equivalently, an associative algebra A is a ring together with a ring homomorphism from R to the center of A. If f is such a homomorphism, the scalar multiplication is $(r,x)\mapsto f(r)x$ (here the multiplication is the ring multiplication); if the scalar multiplication is given, the ring homomorphism is given by $r\mapsto r\cdot 1_{R)$ (See also § From ring homomorphisms below).

Every ring is an associative $\mathbb {Z}$ -algebra, where $\mathbb {Z}$ denotes the ring of the integers.

A commutative algebra is an associative algebra that is also a commutative ring.

### As a monoid object in the category of modules

The definition is equivalent to saying that a unital associative R-algebra is a monoid object in R-Mod (the monoidal category of R-modules). By definition, a ring is a monoid object in the category of abelian groups; thus, the notion of an associative algebra is obtained by replacing the category of abelian groups with the category of modules.

Pushing this idea further, some authors have introduced a "generalized ring" as a monoid object in some other category that behaves like the category of modules. Indeed, this reinterpretation allows one to avoid making an explicit reference to elements of an algebra A. For example, the associativity can be expressed as follows. By the universal property of a tensor product of modules, the multiplication (the R-bilinear map) corresponds to a unique R-linear map

$m:A\otimes _{R}A\to A$ .

The associativity then refers to the identity:

$m\circ ({\operatorname {id} }\otimes m)=m\circ (m\otimes \operatorname {id} ).$ ### From ring homomorphisms

An associative algebra amounts to a ring homomorphism whose image lies in the center. Indeed, starting with a ring A and a ring homomorphism $\eta \colon R\to A$ whose image lies in the center of A, we can make A an R-algebra by defining

$r\cdot x=\eta (r)x$ for all rR and xA. If A is an R-algebra, taking x = 1, the same formula in turn defines a ring homomorphism $\eta \colon R\to A$ whose image lies in the center.

If a ring is commutative then it equals its center, so that a commutative R-algebra can be defined simply as a commutative ring A together with a commutative ring homomorphism $\eta \colon R\to A$ .

The ring homomorphism η appearing in the above is often called a structure map. In the commutative case, one can consider the category whose objects are ring homomorphisms RA; i.e., commutative R-algebras and whose morphisms are ring homomorphisms AA' that are under R; i.e., RAA' is RA' (i.e., the coslice category of the category of commutative rings under R.) The prime spectrum functor Spec then determines an anti-equivalence of this category to the category of affine schemes over Spec R.

How to weaken the commutativity assumption is a subject matter of noncommutative algebraic geometry and, more recently, of derived algebraic geometry. See also: generic matrix ring.

## Algebra homomorphisms

 Main article: algebra homomorphism

A homomorphism between two R-algebras is an R-linear ring homomorphism. Explicitly, $\varphi :A_{1}\to A_{2)$ is an associative algebra homomorphism if

{\begin{aligned}\varphi (r\cdot x)&=r\cdot \varphi (x)\\\varphi (x+y)&=\varphi (x)+\varphi (y)\\\varphi (xy)&=\varphi (x)\varphi (y)\\\varphi (1)&=1\end{aligned)) The class of all R-algebras together with algebra homomorphisms between them form a category, sometimes denoted R-Alg.

The subcategory of commutative R-algebras can be characterized as the coslice category R/CRing where CRing is the category of commutative rings.

## Examples

The most basic example is a ring itself; it is an algebra over its center or any subring lying in the center. In particular, any commutative ring is an algebra over any of its subrings. Other examples abound both from algebra and other fields of mathematics.

### Algebra

• Any ring A can be considered as a Z-algebra. The unique ring homomorphism from Z to A is determined by the fact that it must send 1 to the identity in A. Therefore, rings and Z-algebras are equivalent concepts, in the same way that abelian groups and Z-modules are equivalent.
• Any ring of characteristic n is a (Z/nZ)-algebra in the same way.
• Given an R-module M, the endomorphism ring of M, denoted EndR(M) is an R-algebra by defining (r·φ)(x) = r·φ(x).
• Any ring of matrices with coefficients in a commutative ring R forms an R-algebra under matrix addition and multiplication. This coincides with the previous example when M is a finitely-generated, free R-module.
• In particular, the square n-by-n matrices with entries from the field K form an associative algebra over K.
• The complex numbers form a 2-dimensional commutative algebra over the real numbers.
• The quaternions form a 4-dimensional associative algebra over the reals (but not an algebra over the complex numbers, since the complex numbers are not in the center of the quaternions).
• The polynomials with real coefficients form a commutative algebra over the reals.
• Every polynomial ring R[x1, ..., xn] is a commutative R-algebra. In fact, this is the free commutative R-algebra on the set {x1, ..., xn}.
• The free R-algebra on a set E is an algebra of "polynomials" with coefficients in R and noncommuting indeterminates taken from the set E.
• The tensor algebra of an R-module is naturally an associative R-algebra. The same is true for quotients such as the exterior and symmetric algebras. Categorically speaking, the functor that maps an R-module to its tensor algebra is left adjoint to the functor that sends an R-algebra to its underlying R-module (forgetting the multiplicative structure).
• The following ring is used in the theory of λ-rings. Given a commutative ring A, let $G(A)=1+tA[\![t]\!],$ the set of formal power series with constant term 1. It is an abelian group with the group operation that is the multiplication of power series. It is then a ring with the multiplication, denoted by $\circ$ , such that $(1+at)\circ (1+bt)=1+abt,$ determined by this condition and the ring axioms. The additive identity is 1 and the multiplicative identity is $1+t$ . Then $A$ has a canonical structure of a $G(A)$ -algebra given by the ring homomorphism
${\begin{cases}G(A)\to A\\1+\sum _{i>0}a_{i}t^{i}\mapsto a_{1}\end{cases))$ On the other hand, if A is a λ-ring, then there is a ring homomorphism
${\begin{cases}A\to G(A)\\a\mapsto 1+\sum _{i>0}\lambda ^{i}(a)t^{i}\end{cases))$ giving $G(A)$ a structure of an A-algebra.

### Representation theory

• The universal enveloping algebra of a Lie algebra is an associative algebra that can be used to study the given Lie algebra.
• If G is a group and R is a commutative ring, the set of all functions from G to R with finite support form an R-algebra with the convolution as multiplication. It is called the group algebra of G. The construction is the starting point for the application to the study of (discrete) groups.
• If G is an algebraic group (e.g., semisimple complex Lie group), then the coordinate ring of G is the Hopf algebra A corresponding to G. Many structures of G translate to those of A.
• A quiver algebra (or a path algebra) of a directed graph is the free associative algebra over a field generated by the paths in the graph.

## Constructions

Subalgebras
A subalgebra of an R-algebra A is a subset of A which is both a subring and a submodule of A. That is, it must be closed under addition, ring multiplication, scalar multiplication, and it must contain the identity element of A.
Quotient algebras
Let A be an R-algebra. Any ring-theoretic ideal I in A is automatically an R-module since r · x = (r1A)x. This gives the quotient ring A / I the structure of an R-module and, in fact, an R-algebra. It follows that any ring homomorphic image of A is also an R-algebra.
Direct products
The direct product of a family of R-algebras is the ring-theoretic direct product. This becomes an R-algebra with the obvious scalar multiplication.
Free products
One can form a free product of R-algebras in a manner similar to the free product of groups. The free product is the coproduct in the category of R-algebras.
Tensor products
The tensor product of two R-algebras is also an R-algebra in a natural way. See tensor product of algebras for more details. Given a commutative ring R and any ring A the tensor product R ⊗Z A can be given the structure of an R-algebra by defining r · (s ⊗ a) = (rs ⊗ a). The functor which sends A to R ⊗Z A is left adjoint to the functor which sends an R-algebra to its underlying ring (forgetting the module structure). See also: Change of rings.

## Separable algebra

 Main article: Separable algebra

Let A be an algebra over a commutative ring R. Then the algebra A is a right module over $A^{e}:=A^{op}\otimes _{R}A$ with the action $x\cdot (a\otimes b)=axb$ . Then, by definition, A is said to separable if the multiplication map $A\otimes _{R}A\to A,\,x\otimes y\mapsto xy$ splits as an $A^{e)$ -linear map, where $A\otimes A$ is an $A^{e)$ -module by $(x\otimes y)\cdot (a\otimes b)=ax\otimes yb$ . Equivalently, $A$ is separable if it is a projective module over $A^{e)$ ; thus, the $A^{e)$ -projective dimension of A, sometimes called the bidimension of A, measures the failure of separability.

## Finite-dimensional algebra

Let A be a finite-dimensional algebra over a field k. Then A is an Artinian ring.

### Commutative case

As A is Artinian, if it is commutative, then it is a finite product of Artinian local rings whose residue fields are algebras over the base field k. Now, a reduced Artinian local ring is a field and thus the following are equivalent

1. $A$ is separable.
2. $A\otimes {\overline {k))$ is reduced, where ${\overline {k))$ is some algebraic closure of k.
3. $A\otimes {\overline {k))={\overline {k))^{n)$ for some n.
4. $\dim _{k}A$ is the number of $k$ -algebra homomorphisms $A\to {\overline {k))$ .

### Noncommutative case

Since a simple Artinian ring is a (full) matrix ring over a division ring, if A is a simple algebra, then A is a (full) matrix algebra over a division algebra D over k; i.e., $A=M_{n}(D)$ . More generally, if A is a semisimple algebra, then it is a finite product of matrix algebras (over various division k-algebras), the fact known as the Artin–Wedderburn theorem.

The fact that A is Artinian simplifies the notion of a Jacobson radical; for an Artinian ring, the Jacobson radical of A is the intersection of all (two-sided) maximal ideals (in contrast, in general, a Jacobson radical is the intersection of all left maximal ideals or the intersection of all right maximal ideals.)

The Wedderburn principal theorem states: for a finite-dimensional algebra A with a nilpotent ideal I, if the projective dimension of $A/I$ as an $(A/I)^{e)$ -module is at most one, then the natural surjection $p:A\to A/I$ splits; i.e., $A$ contains a subalgebra $B$ such that $p|_{B}:B{\overset {\sim }{\to ))A/I$ is an isomorphism. Taking I to be the Jacobson radical, the theorem says in particular that the Jacobson radical is complemented by a semisimple algebra. The theorem is an analog of Levi's theorem for Lie algebras.

## Lattices and orders

 Main articles: Lattice (order) and Order (ring theory)

Let R be a Noetherian integral domain with field of fractions K (for example, they can be $\mathbb {Z} ,\mathbb {Q}$ ). A lattice L in a finite-dimensional K-vector space V is a finitely generated R-submodule of V that spans V; in other words, $L\otimes _{R}K=V$ .

Let $A_{K)$ be a finite-dimensional K-algebra. An order in $A_{K)$ is an R-subalgebra that is a lattice. In general, there are a lot fewer orders than lattices; e.g., ${1 \over 2}\mathbb {Z}$ is a lattice in $\mathbb {Q}$ but not an order (since it is not an algebra).

A maximal order is an order that is maximal among all the orders.

## Related concepts

### Coalgebras

 Main article: Coalgebra

An associative algebra over K is given by a K-vector space A endowed with a bilinear map A × A → A having two inputs (multiplicator and multiplicand) and one output (product), as well as a morphism K → A identifying the scalar multiples of the multiplicative identity. If the bilinear map A × A → A is reinterpreted as a linear map (i. e., morphism in the category of K-vector spaces) A ⊗ A → A (by the universal property of the tensor product), then we can view an associative algebra over K as a K-vector space A endowed with two morphisms (one of the form A ⊗ A → A and one of the form K → A) satisfying certain conditions that boil down to the algebra axioms. These two morphisms can be dualized using categorial duality by reversing all arrows in the commutative diagrams that describe the algebra axioms; this defines the structure of a coalgebra.

There is also an abstract notion of F-coalgebra, where F is a functor. This is vaguely related to the notion of coalgebra discussed above.

## Representations

 Main article: Algebra representation

A representation of an algebra A is an algebra homomorphism ρ : A → End(V) from A to the endomorphism algebra of some vector space (or module) V. The property of ρ being an algebra homomorphism means that ρ preserves the multiplicative operation (that is, ρ(xy) = ρ(x)ρ(y) for all x and y in A), and that ρ sends the unit of A to the unit of End(V) (that is, to the identity endomorphism of V).

If A and B are two algebras, and ρ : A → End(V) and τ : B → End(W) are two representations, then there is a (canonical) representation A $\otimes$ B → End(V $\otimes$ W) of the tensor product algebra A $\otimes$ B on the vector space V $\otimes$ W. However, there is no natural way of defining a tensor product of two representations of a single associative algebra in such a way that the result is still a representation of that same algebra (not of its tensor product with itself), without somehow imposing additional conditions. Here, by tensor product of representations, the usual meaning is intended: the result should be a linear representation of the same algebra on the product vector space. Imposing such additional structure typically leads to the idea of a Hopf algebra or a Lie algebra, as demonstrated below.

### Motivation for a Hopf algebra

Consider, for example, two representations $\sigma :A\rightarrow \mathrm {End} (V)$ and $\tau :A\rightarrow \mathrm {End} (W)$ . One might try to form a tensor product representation $\rho :x\mapsto \sigma (x)\otimes \tau (x)$ according to how it acts on the product vector space, so that

$\rho (x)(v\otimes w)=(\sigma (x)(v))\otimes (\tau (x)(w)).$ However, such a map would not be linear, since one would have

$\rho (kx)=\sigma (kx)\otimes \tau (kx)=k\sigma (x)\otimes k\tau (x)=k^{2}(\sigma (x)\otimes \tau (x))=k^{2}\rho (x)$ for kK. One can rescue this attempt and restore linearity by imposing additional structure, by defining an algebra homomorphism Δ: AAA, and defining the tensor product representation as

$\rho =(\sigma \otimes \tau )\circ \Delta .$ Such a homomorphism Δ is called a comultiplication if it satisfies certain axioms. The resulting structure is called a bialgebra. To be consistent with the definitions of the associative algebra, the coalgebra must be co-associative, and, if the algebra is unital, then the co-algebra must be co-unital as well. A Hopf algebra is a bialgebra with an additional piece of structure (the so-called antipode), which allows not only to define the tensor product of two representations, but also the Hom module of two representations (again, similarly to how it is done in the representation theory of groups).

### Motivation for a Lie algebra

One can try to be more clever in defining a tensor product. Consider, for example,

$x\mapsto \rho (x)=\sigma (x)\otimes {\mbox{Id))_{W}+{\mbox{Id))_{V}\otimes \tau (x)$ so that the action on the tensor product space is given by

$\rho (x)(v\otimes w)=(\sigma (x)v)\otimes w+v\otimes (\tau (x)w)$ .

This map is clearly linear in x, and so it does not have the problem of the earlier definition. However, it fails to preserve multiplication:

$\rho (xy)=\sigma (x)\sigma (y)\otimes {\mbox{Id))_{W}+{\mbox{Id))_{V}\otimes \tau (x)\tau (y)$ .

But, in general, this does not equal

$\rho (x)\rho (y)=\sigma (x)\sigma (y)\otimes {\mbox{Id))_{W}+\sigma (x)\otimes \tau (y)+\sigma (y)\otimes \tau (x)+{\mbox{Id))_{V}\otimes \tau (x)\tau (y)$ .

This shows that this definition of a tensor product is too naive; the obvious fix is to define it such that it is antisymmetric, so that the middle two terms cancel. This leads to the concept of a Lie algebra.

## Non-unital algebras

Some authors use the term "associative algebra" to refer to structures which do not necessarily have a multiplicative identity, and hence consider homomorphisms which are not necessarily unital.

One example of a non-unital associative algebra is given by the set of all functions f: RR whose limit as x nears infinity is zero.

Another example is the vector space of continuous periodic functions, together with the convolution product.

1. ^ Editorial note: as it turns, $A^{e)$ is a full matrix ring in interesting cases and it is more conventional to let matrices act from the right.
2. ^ Cohn 2003, § 4.7.
3. ^ To see the equivalence, note a section of $A\otimes _{R}A\to A$ can be used to construct a section of a surjection.
4. ^ Waterhouse 1979, § 6.2.
5. ^ Cohn 2003, Theorem 4.7.5.
6. ^ Artin 1999, Ch. IV, § 1.
• Artin, Michael (1999). "Noncommutative Rings" (PDF).
• Bourbaki, N. (1989). Algebra I. Springer. ISBN 3-540-64243-9.
• Cohn, P.M. (2003). Further Algebra and Applications (2nd ed.). Springer. ISBN 1852336676. Zbl 1006.00001.
• Nathan Jacobson, Structure of Rings
• James Byrnie Shaw (1907) A Synopsis of Linear Associative Algebra, link from Cornell University Historical Math Monographs.
• Ross Street (1998) Quantum Groups: an entrée to modern algebra, an overview of index-free notation.
• Waterhouse, William (1979), Introduction to affine group schemes, Graduate Texts in Mathematics, vol. 66, Berlin, New York: Springer-Verlag, doi:10.1007/978-1-4612-6217-6, ISBN 978-0-387-90421-4, MR 0547117