ArticleslgStudy

mathematics

Groupoid

Groupoid is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Groupoid rather than just read about it. In short: In mathematics, especially in category theory and homotopy theory, a groupoid (less often Brandt groupoid or virtual group) generalises the notion of group in several equivalent ways. A groupoid can be seen as a: Group with a partial function replacing the binary operation; Category in which every morphism is invertible.

Key takeaways

  • Groupoid belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Groupoid to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Groupoid from memory before moving on to harder problems.

Reference excerpt

In mathematics, especially in category theory and homotopy theory, a groupoid (less often Brandt groupoid or virtual group) generalises the notion of group in several equivalent ways. A groupoid can be seen as a:

Group with a partial function replacing the binary operation; Category in which every morphism is invertible. A category of this sort can be viewed as augmented with a unary operation on the morphisms, called inverse by analogy with group theory. A groupoid where there is only one object is a usual group. In the presence of dependent typing, a category in general can be viewed as a typed monoid, and similarly, a groupoid can be viewed as simply a typed group. The morphisms take one from one object to another, and form a dependent family of types, thus morphisms might be typed ⁠g:A→B⁠, ⁠h:B→C⁠, say. Composition is then a total function: ⁠∘:(B→C)→(A→B)→(A→C)⁠, so that ⁠h∘g:A→C⁠. Special cases include:

Setoid: a set that comes with an equivalence relation, G-set: a set equipped with an action of a group ⁠G⁠. Groupoids are often used to reason about geometrical objects such as manifolds. Heinrich Brandt (1927) introduced groupoids implicitly via Brandt semigroups.

Definitions

Algebraic A groupoid can be viewed as an algebraic structure consisting of a set with a binary partial function. Precisely, it is a non-empty set G with a unary operation ⁠−1:G→G⁠, and a partial function ⁠∗:G×G⇀G⁠. Here ∗ is not a binary operation because it is not necessarily defined for all pairs of elements of ⁠G⁠. The precise conditions under which ∗ is defined are not articulated here and vary by situation. The operations ∗ and ⁠−1⁠ have the following axiomatic properties: For all ⁠a⁠, ⁠b⁠, and c in ⁠G⁠,

Associativity: If a∗b and b∗c are defined, then (a∗b)∗c and a∗(b∗c) are defined and are equal. Conversely, if one of (a∗b)∗c or a∗(b∗c) is defined, then they are both defined (and they are equal to each other), and a∗b and b∗c are also defined. Inverse: a−1∗a and a∗a−1 are always defined. Identity: If a∗b is defined, then ⁠a∗b∗b−1=a⁠, and ⁠a−1∗a∗b=b⁠. (The previous two axioms already show that these expressions are defined and unambiguous.) Two convenient properties follow from these axioms:

⁠(a−1)−1=a⁠, If a∗b is defined, then ⁠(a∗b)−1=b−1∗a−1⁠.

Category-theoretic A groupoid is a small category in which every morphism is an isomorphism, i.e., invertible. More explicitly, a groupoid G is a set G0 of objects with

for each pair of objects ⁠x⁠ and ⁠y⁠, a (possibly empty) set ⁠G(x,y)⁠ of morphisms (or arrows) from ⁠x⁠ to ⁠y⁠; we write ⁠f:x→y⁠ to indicate that ⁠f⁠ is an element of ⁠G(x,y)⁠; for each triple of objects ⁠x⁠, ⁠y⁠, and ⁠z⁠, a function compx,y,z:G(y,z)×G(x,y)→G(x,z) (g,f)↦gf that is associative. That is, for every four objects ⁠x⁠, ⁠y⁠, ⁠z⁠, ⁠w⁠ and functions ⁠f:x→y,g:y→z,h:z→w⁠ h(gf)=(hg)f for every object ⁠x⁠, a designated element idx of ⁠G(x,x)⁠ satisfying, for any morphism ⁠f:x→y⁠ ⁠f idx=f⁠ and ⁠idy f=f⁠; for each pair of objects ⁠x⁠, ⁠y⁠, a function inv:G(x,y)→G(y,x):f↦f−1 satisfying, for any ⁠f:x→y⁠: ff−1=idy and ⁠f−1f=idx⁠. If the requirement that inverses exist is removed while keeping everything else, this is then the definition of a category. Thus, a groupoid is a category in which every morphism has an inverse. If ⁠f⁠ is an element of ⁠G(x,y)⁠, then ⁠x⁠ is called the source of ⁠f⁠, written ⁠s(f)⁠, and ⁠y⁠ is called the target of ⁠f⁠, written ⁠t(f)⁠. A groupoid ⁠G⁠ is sometimes denoted as ⁠G1⇉G0⁠, where G1 is the set of all morphisms, and the two arrows G1→G0 represent the source and the target. More generally, one can consider a groupoid object in an arbitrary category admitting finite fiber products.

Comparing the definitions The algebraic and category-theoretic definitions are equivalent, as we now show. Given a groupoid in the category-theoretic sense, let ⁠G⁠ be the disjoint union of all of the sets ⁠G(x,y)⁠ (i.e. the sets of morphisms from ⁠x⁠ to ⁠y⁠). Then comp and inv become partial operations on ⁠G⁠, and inv will in fact be defined everywhere. We define ⁠∗⁠ to be comp and ⁠−1⁠ to be ⁠inv⁠, which gives a groupoid in the algebraic sense. Explicit reference to ⁠G0⁠ (and hence to ⁠id⁠) can be dropped. Conversely, given a groupoid ⁠G⁠ in the algebraic sense, define an equivalence relation ∼ on its elements by a∼b iff ⁠a∗a−1=b∗b−1⁠. Let ⁠G0⁠ be the set of equivalence classes of ⁠∼⁠, i.e. ⁠G0:=G/∼⁠. Denote ⁠a∗a−1⁠ by 1x if a∈G with ⁠x∈G0⁠. Now define G(x,y) as the set of all elements ⁠f⁠ such that 1x∗f∗1y exists. Given f∈G(x,y) and ⁠g∈G(y,z)⁠, their composite is defined as ⁠gf:=f∗g∈G(x,z)⁠. To see that this is well defined, observe that since (1x∗f)∗1y and 1y∗(g∗1z) exist, so does ⁠(1x∗f∗1y)∗(g∗1z)=f∗g⁠. The identity morphism on ⁠x⁠ is then ⁠1x⁠, and the category-theoretic inverse of ⁠f⁠ is ⁠f−1⁠. Sets in the definitions above may be replaced with classes, as is generally the case in category theory.

Vertex groups and orbits Given a groupoid ⁠G⁠, the vertex groups or isotropy groups or object groups in ⁠G⁠ are the subsets of the form ⁠G(x,x)⁠, where ⁠x⁠ is any object of ⁠G⁠. It follows easily from the axioms above that these are indeed groups, as every pair of elements is composable and inverses are in the same vertex group. The orbit of a groupoid ⁠G⁠ at a point x∈X is given by the set s(t−1(x))⊆X containing every point that can be joined to ⁠x⁠ by a morphism in ⁠G⁠. If two points x and y are in the same orbits, their vertex groups G(x) and G(y) are isomorphic: if f is any morphism from x to ⁠y⁠, then the isomorphism is given by the mapping ⁠g→fgf−1⁠. Orbits form a partition of the set ⁠X⁠, and a groupoid is called transitive if it has only one orbit (equivalently, if it is connected as a category). In that case, all the vertex groups are isomorphic (on the other hand, this is not a sufficient condition for transitivity; see the section below for counterexamples).

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Groupoid

Start with the simplest possible case. Write down what Groupoid claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Groupoid before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Groupoid ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Groupoid

In research
Groupoid appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Groupoid in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Groupoid is common in secondary-school and first-year university syllabi. It links to neighbouring topics Algebraic structures, Category theory, Homotopy theory, so understanding it makes those chapters shorter.
In everyday life
Look for Groupoid outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Groupoid” →

How to study Groupoid in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Groupoid means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Groupoid out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Groupoid in simple terms?

In mathematics, especially in category theory and homotopy theory, a groupoid (less often Brandt groupoid or virtual group) generalises the notion of group in several equivalent ways. A groupoid can be seen as a: Group with a partial function replacing the binary operation; Category in which every…

Why does Groupoid matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Groupoid?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Groupoid.

Tags

  • Algebraic structures
  • Category theory
  • Homotopy theory

Keep exploring