Example of a group: ⟨Q,+

The rational numbers with addition form a group. The inverse function is taking the opposite.