Bialgebra

In mathematics, a bialgebra over a field "K" is a vector space over "K" which is both a unital associative algebra and a counital coassociative coalgebra. The algebraic and coalgebraic structures are made compatible with a few more axioms. Specifically, the comultiplication and the counit are both unital algebra homomorphisms, or equivalently, the multiplication and the unit of the algebra both are coalgebra morphisms. (These statements are equivalent since they are expressed by the same commutative diagrams.)
Similar bialgebras are related by bialgebra homomorphisms. A bialgebra homomorphism is a linear map that is both an algebra and a coalgebra homomorphism.
As reflected in the symmetry of the commutative diagrams, the definition of bialgebra is self-dual, so if one can define a dual of "B" (which is always possible if "B" is finite-dimensional), then it is automatically a bialgebra.
Formal definition.
("B", ∇, η, Δ, ε) is a bialgebra over "K" if it has the following properties: 
Coassociativity and counit.
The "K"-linear map Δ: "B" → "B" ⊗ "B" is coassociative if formula_1.
The "K"-linear map ε: "B" → "K" is a counit if formula_2.
Coassociativity and counit are expressed by the commutativity of the following two diagrams (they are the duals of the diagrams expressing associativity and unit of an algebra):
Compatibility conditions.
The four commutative diagrams can be read either as "comultiplication and counit are homomorphisms of algebras" or, equivalently, "multiplication and unit are homomorphisms of coalgebras".
These statements are meaningful once we explain the natural structures of algebra and coalgebra in all the vector spaces involved besides "B": ("K", ∇0, η0) is a unital associative algebra in an obvious way and ("B" ⊗ "B", ∇2, η2) is a unital associative algebra with unit and multiplication
so that formula_5 or, omitting ∇ and writing multiplication as juxtaposition, formula_6;
similarly, ("K", Δ0, ε0) is a coalgebra in an obvious way and "B" ⊗ "B" is a coalgebra with counit and comultiplication
Then, diagrams 1 and 3 say that Δ: "B" → "B" ⊗ "B" is a homomorphism of unital (associative) algebras ("B", ∇, η) and ("B" ⊗ "B", ∇2, η2)
diagrams 2 and 4 say that ε: "B" → "K" is a homomorphism of unital (associative) algebras ("B", ∇, η) and ("K", ∇0, η0):
Equivalently, diagrams 1 and 2 say that ∇: "B" ⊗ "B" → "B" is a homomorphism of (counital coassociative) coalgebras ("B" ⊗ "B", Δ2, ε2) and ("B", Δ, ε):
diagrams 3 and 4 say that η: "K" → "B" is a homomorphism of (counital coassociative) coalgebras ("K", Δ0, ε0) and ("B", Δ, ε):
where 
Examples.
Group bialgebra.
An example of a bialgebra is the set of functions from a group "G" (or more generally, any monoid) to formula_18, which we may represent as a vector space formula_19 consisting of linear combinations of standard basis vectors e"g" for each "g" ∈ "G", which may represent a probability distribution over "G" in the case of vectors whose coefficients are all non-negative and sum to 1. An example of suitable comultiplication operators and counits which yield a counital coalgebra are
which represents making a copy of a random variable (which we extend to all formula_19 by linearity), and
(again extended linearly to all of formula_23) which represents "tracing out" a random variable — "i.e.," forgetting the value of a random variable (represented by a single tensor factor) to obtain a marginal distribution on the remaining variables (the remaining tensor factors). 
Given the interpretation of (Δ,ε) in terms of probability distributions as above, the bialgebra consistency conditions amount to constraints on (∇,η) as follows:
A pair (∇,η) which satisfy these constraints are the convolution operator
again extended to all formula_25 by linearity; this produces a normalized probability distribution from a distribution on two random variables, and has as a unit the delta-distribution formula_26 where "i" ∈ "G" denotes the identity element of the group "G".
Other examples.
Other examples of bialgebras include the tensor algebra, which can be made into a bialgebra by adding the appropriate comultiplication and counit; these are worked out in detail in that article.
Bialgebras can often be extended to Hopf algebras, if an appropriate antipode can be found. Thus, all Hopf algebras are examples of bialgebras. Similar structures with different compatibility between the product and comultiplication, or different types of multiplication and comultiplication, include Lie bialgebras and Frobenius algebras. Additional examples are given in the article on coalgebras.