In algebra, a unit (or invertible element) in a ring is something that can be multiplied by another element to give 1, the ring’s multiplicative identity.
If an element u in a ring R has another element v in R such that:
uv=vu=1
then u is a unit, and v is its multiplicative inverse. All the units in R together form a group under multiplication, called the group of units, written as R×, R∗, U(R), or E(R).
Sometimes the word unit just means the identity element 1, but to avoid confusion, “rings with identity” or “rings with unity” are usually specified.
A local ring is one where the set of non-units forms a single maximal ideal.
In a finite field R, the unit group R× is always cyclic with order ∣R∣−1.
Every ring homomorphism maps units to units, so taking the group of units is a functor from rings to groups.
In a commutative ring, two elements r and s are associates if r=us for some unit u.
This forms an equivalence relation, meaning the ring can be partitioned into classes of elements that differ only by multiplication by units.
Example: In Z, 6 and -6 are associates because -1 is a unit.