ring
A ring is a set together with two binary operations, denoted and , such that
- 1.
and for all (associative law)
- 2.
for all (commutative law)
- 3.
There exists an element such that for all (additive identity)
- 4.
For all , there exists such that (additive inverse)
- 5.
and for all (distributive law)
Equivalently, a ring is an abelian group together with a second binary operation such that is associative and distributes over . Additive inverses are unique, and one can define subtraction in any ring using the formula where is the additive inverse of .
We say has a multiplicative identity if there exists an element such that for all . Alternatively, one may say that is a ring with unity, a unital ring, or a unitary ring. Oftentimes an author will adopt the convention that all rings have a multiplicative identity. If does have a multiplicative identity, then a multiplicative inverse of an element is an element such that . An element of that has a multiplicative inverse is called a unit of .
A ring is commutative if for all .