# Associative algebra

In mathematics, an associative algebra is an algebraic structure with compatible operations of addition, multiplication, and a scalar multiplication by elements in some field. 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 fixed commutative ring. An associative R-algebra is an additive abelian group A which has the structure of both a ring and an R-module in such a way that the scalar multiplication satisfies
for all rR and x, yA. Furthermore, A is assumed to be unital, which is to say it contains an element 1 such that
for all xA. Note that such an element 1 must be unique.
In other words, A is an R-module together with an R-bilinear map A × AA, called the multiplication, and the multiplicative identity, such that the multiplication is associative:
for all x, y, and z in A. If one drops the requirement for the associativity, then one obtains a non-associative algebra.
If A itself is commutative then it is called a commutative R-algebra.

### 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. 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 corresponds to a unique R-linear map
The associativity then refers to the identity:

### 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 whose image lies in the center of A, we can make A an R-algebra by defining
for all rR and xA. If A is an R-algebra, taking x = 1, the same formula in turn defines a ring homomorphism 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.
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 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

A homomorphism between two R-algebras is an R-linear ring homomorphism. Explicitly, is an associative algebra homomorphism if
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 -algebra in the same way.
• Given an R-module M, the endomorphism ring of M, denoted EndR is an R-algebra by defining = r·φ.
• 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.
• The square n-by-n matrices with entries from the field K form an associative algebra over K. In particular, the 2 × 2 real matrices form an associative algebra useful in plane mapping.
• The complex numbers form a 2-dimensional associative algebra over the real numbers.
• The quaternions form a 4-dimensional associative algebra over the reals.
• The polynomials with real coefficients form an associative algebra over the reals.
• Every polynomial ring R is a commutative R-algebra. In fact, this is the free commutative R-algebra on the set.
• 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 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.
• The following ring is used in the theory of λ-rings. Given a commutative ring A, let 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, such that determined by this condition and the ring axioms. The additive identity is 1 and the multiplicative identity is. Then has a canonical structure of a -algebra given by the ring homomorphism

### 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 groups.
• If G is an algebraic group, then the coordinate ring of G is the Hopf algebra A corresponding to G. Many structures of G translate to those of A.

### Analysis

• Given any Banach space X, the continuous linear operators A : XX form an associative algebra ; this is a Banach algebra.
• Given any topological space X, the continuous real- or complex-valued functions on X form a real or complex associative algebra; here the functions are added and multiplied pointwise.
• The set of semimartingales defined on the filtered probability space forms a ring under stochastic integration.
• The Weyl algebra
• An Azumaya algebra

### Geometry and combinatorics

• The Clifford algebras, which are useful in geometry and physics.
• Incidence algebras of locally finite partially ordered sets are associative algebras considered in combinatorics.

## 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 = 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 RZ A can be given the structure of an R-algebra by defining r · =. The functor which sends A to RZ A is left adjoint to the functor which sends an R-algebra to its underlying ring. See also: Change of rings.

## Separable algebra

Let A be an algebra over a commutative ring R. Then the algebra A is a right module over with the action. Then, by definition, A is said to separable if the multiplication map splits as an -linear map, where is an -module by. Equivalently,
is separable if it is a projective module over ; thus, the -projective dimension of A, sometimes called the bidimension of A, measures the failure of separability.

## Coalgebras

An associative algebra over K is given by a K-vector space A endowed with a bilinear map A × AA having two inputs and one output, as well as a morphism KA identifying the scalar multiples of the multiplicative identity. If the bilinear map A × AA is reinterpreted as a linear map AAA, then we can view an associative algebra over K as a K-vector space A endowed with two morphisms 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

A representation of an algebra A is an algebra homomorphism ρ : A → End from A to the endomorphism algebra of some vector space V. The property of ρ being an algebra homomorphism means that ρ preserves the multiplicative operation = ρρ, and that ρ sends the unit of A to the unit of End.
If A and B are two algebras, and ρ : A → End and τ : B → End are two representations, then there is a representation A B → End of the tensor product algebra A B on the vector space V 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, 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 and. One might try to form a tensor product representation according to how it acts on the product vector space, so that
However, such a map would not be linear, since one would have
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
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, which allows not only to define the tensor product of two representations, but also the Hom module of two representations.

### Motivation for a Lie algebra

One can try to be more clever in defining a tensor product. Consider, for example,
so that the action on the tensor product space is given by
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:
But, in general, this does not equal
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.