# Algebraic Structure

An algebraic structure or an algebraic system is a non-empty set together with one or more binary operations on that set. Algebraic structures whose binary operations satisfy particularly important properties are groupoids, semigroups, monoids, groups, rings, fields, modules and so on.

## Groupoid

A groupoid is an algebraic structure consisting of a non-empty set *G* and a binary operation *o* on *G*. The pair (*G*, *o*) is called groupoid.

The set of real numbers with the binary operation of addition is a groupoid.

## Semigroup

If (*G*, *o*) is a groupoid and if the associative rule (a*o*b)*o*c = a*o*(b*o*c) holds for all a, b, c ∈ *G*, then (*G*, *o*) is called a semigroup.

An element *e* of a groupoid (*G*, *o*) is called an **identity element** if *eo*a = a*oe* = a for all a ∈ *G*. If there is an identity element in a groupoid then it is unique.

## Monoid

A semigroup with identity element is called a monoid.

Example 01 |

The set of all n x n matrices under the operation of matrix multiplication is a monoid. Here the identity element is the unit matrix of order n.

Let (*G*, *o*) be a monoid. An element a’ ∈ *G* is called an **inverse** of the element a ∈ *G *if a*o*a’ = a’*o*a = *e* (the identity element of *G*). The inverse of the element a ∈ *G* is denoted by a^{-1}.

## Group

A monoid in which every element has an inverse is called group.

Example 02 |

The set of all n x n matrices under the operation of matrix multiplication is not a group since not every n x n matrix has its multiplicative inverse, but if *G* is the set of all n x n nonsingular matrices, then *G* forms a group under the operation of matrix multiplication.;