There are two primary ways to think about groups, either as a generalization of “combination”-style operations (e.g. addition or multiplication, which combine two numbers to form another number), or in terms of symmetries. I will briefly describe both of these approaches below.

Combinations

A group 𝐺 must have a combination operation that satisfies the following properties:

  1. Closure: for two elements 𝑎,𝑏𝐺, 𝑎𝑏 is also in 𝐺.
  2. Associativity: for 𝑎,𝑏,𝑐𝐺, (𝑎𝑏)𝑐=𝑎(𝑏𝑐).
  3. Identity element: there exists 𝑒𝐺 such that 𝑔𝐺,𝑒𝑔=𝑔𝑒=𝑔.
  4. Inverse element: for all 𝑔𝐺, there exists an element 𝑔1𝐺 such that 𝑔1𝑔=𝑔𝑔1=𝑒.

Some basic examples of groups:

  • The set of integers equipped with the operation + (addition). The identity element is 0, and the inverse of 𝑥 is 𝑥.
  • The set of integers under mod 𝑛 (𝑛) equipped with +.
  • 𝑝 equipped with ×, where 𝑝 is a prime (but NOT arbitrary 𝑛 or , since an inverse element does not always exist).
  • The set of 𝑛-dimensional real vectors equipped with vector addition.
  • The set of invertible 𝑛×𝑛 real matrices equipped with matrix multiplication, also known as the general linear group or GL(𝑛,).

Symmetries

One may also think of a group in the context of an object 𝑂, then define a group 𝐺 as the set of transformations that leave 𝑂 unchanged.

For instance, let 𝑂 be an equilateral triangle. Then, the following transformations will leave 𝑂 unchanged:

  • Rotation by 0, 120, or 240 degrees.
  • Reflection across any of the triangle’s three altitudes.

Before we move on, we should clarify what exactly it means for two transformations to be different. Why should we consider 0 and 360 the same but 0 and 240 different, when both leave the triangle unchanged? In other words, how can we “see” the difference?

One easy fix is to number the triangle’s vertices 1, 2, 3 in clockwise order. Then, one may verify that each of the six operations listed above are distinct. One may then note that these are the only six distinct transformations, as there can only be at most 3! ways to rearrange the vertices.

Considering the same problem but on a square, these are the eight possible transformations constituting the group 𝐷4:

Image from Wikipedia.

Note that this is less than the 4! total ways of rearranging vertices arbitrarily.