ArticleslgStudy

science

Category of relations

Category of relations is a science 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 Category of relations rather than just read about it. In short: In mathematics, the category Rel has the class of sets as objects and binary relations as morphisms. A morphism (or arrow) R : A → B in this category is a relation between the sets A and B, so R ⊆ A × B.

Category of relations — main illustration
Category of relations — illustration

Key takeaways

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

Reference excerpt

In mathematics, the category Rel has the class of sets as objects and binary relations as morphisms. A morphism (or arrow) R : A → B in this category is a relation between the sets A and B, so R ⊆ A × B. The composition of two relations R: A → B and S: B → C is given by (a,c)∈S∘R⟺for some b∈B,(a,b)∈R and (b,c)∈S. Rel has also been called the "category of correspondences of sets".

Properties The category Rel has the category of sets Set as a (wide) subcategory, where the arrow f : X → Y in Set corresponds to the relation F ⊆ X × Y defined by (x, y) ∈ F ⇔ f(x) = y. A morphism in Rel is a relation, and the corresponding morphism in the opposite category to Rel has arrows reversed, so it is the converse relation. Thus Rel contains its opposite and is self-dual. The involution represented by taking the converse relation provides the dagger to make Rel a dagger category. The category has two functors into itself given by the hom functor: A binary relation R ⊆ A × B and its transpose RT ⊆ B × A may be composed either as R RT or as RT R. The first composition results in a homogeneous relation on A and the second is on B. Since the images of these hom functors are in Rel itself, in this case hom is an internal hom functor. With its internal hom functor, Rel is a closed category, and furthermore a dagger compact category. The category Rel can be obtained from the category Set as the Kleisli category for the monad whose functor corresponds to power set, interpreted as a covariant functor. Perhaps a bit surprising at first sight is the fact that product in Rel is given by the disjoint union (rather than the cartesian product as it is in Set), and so is the coproduct. Rel is monoidal closed, if one defines both the monoidal product A ⊗ B and the internal hom A ⇒ B by the cartesian product of sets. It is also a monoidal category if one defines the monoidal product by the disjoint union of sets. The category Rel was the prototype for the algebraic structure called an allegory by Peter J. Freyd and Andre Scedrov in 1990. Starting with a regular category and a functor F: A → B, they note properties of the induced functor Rel(A,B) → Rel(FA, FB). For instance, it preserves composition, conversion, and intersection. Such properties are then used to provide axioms for an allegory.

Relations as objects David Rydeheard and Rod Burstall consider Rel to have objects that are homogeneous relations. For example, A is a set and R ⊆ A × A is a binary relation on A. The morphisms of this category are functions between sets that preserve a relation: Say S ⊆ B × B is a second relation and f: A → B is a function such that xRy⟹f(x)Sf(y), then f is a morphism. The same idea is advanced by Adamek, Herrlich and Strecker, where they designate the objects (A, R) and (B, S), set and relation.

Notes

References

Illustrations

Category of relations illustration
Category of relations illustration

Worked examples

Example 1 — a first encounter with Category of relations

Start with the simplest possible case. Write down what Category of relations claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, 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 Category of relations 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 Category of relations 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 Category of relations

In research
Category of relations appears in science 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 Category of relations 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
Category of relations is common in secondary-school and first-year university syllabi. It links to neighbouring topics Binary relations, Categories in category theory, Monoidal categories, so understanding it makes those chapters shorter.
In everyday life
Look for Category of relations 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 “Category of relations” →

How to study Category of relations in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Category of relations 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 Category of relations out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Category of relations in simple terms?

In mathematics, the category Rel has the class of sets as objects and binary relations as morphisms. A morphism (or arrow) R : A → B in this category is a relation between the sets A and B, so R ⊆ A × B.

Why does Category of relations matter?

Because it connects several science 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 Category of relations?

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 Category of relations.

Tags

  • Binary relations
  • Categories in category theory
  • Monoidal categories

Keep exploring