ArticleslgStudy

science

Monad (category theory)

Monad (category theory) 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 Monad (category theory) rather than just read about it. In short: In category theory, a branch of mathematics, a monad is a triple ( T , η , μ ) {\displaystyle (T,\eta ,\mu )} consisting of a functor T from a category to itself and two natural transformations η , μ {\displaystyle \eta ,\mu } that satisfy versions of the associativity and unitality axioms. Equivalently, a monad is a monoid in the category of endofunctors of some fixed category (an endofunctor is a functor mapping a…

Monad (category theory) — main illustration
Monad (category theory) — illustration

Key takeaways

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

Reference excerpt

In category theory, a branch of mathematics, a monad is a triple ( T , η , μ ) {\displaystyle (T,\eta ,\mu )} consisting of a functor T from a category to itself and two natural transformations η , μ {\displaystyle \eta ,\mu } that satisfy versions of the associativity and unitality axioms. Equivalently, a monad is a monoid in the category of endofunctors of some fixed category (an endofunctor is a functor mapping a category to itself). For example, if F , G {\displaystyle F,G} are functors adjoint to each other, then T = G ∘ F {\displaystyle T=G\circ F} together with η , μ {\displaystyle \eta ,\mu } determined by the adjoint relation is a monad. According to mathematician John Baez, a monad can be considered at least in two ways:

A monad as a generalized monoid; this is clear since a monad is a monoid in a certain category, A monad as a tool for studying algebraic gadgets; for example, a group can be described by a certain monad. Monads are used in the theory of pairs of adjoint functors, and they generalize closure operators on partially ordered sets to arbitrary categories. Monads are also useful in the theory of datatypes, the denotational semantics of imperative programming languages, and in functional programming languages, allowing languages without mutable state to do things such as simulate for-loops; see Monad (functional programming). A monad is also called, especially in old literature, a triple, triad, standard construction and fundamental construction.

Introduction and definition A monad is a certain type of endofunctor. For example, if F {\displaystyle F} and G {\displaystyle G} are a pair of adjoint functors, with F {\displaystyle F} left adjoint to G {\displaystyle G} , then the composition G ∘ F {\displaystyle G\circ F} is a monad. If F {\displaystyle F} and G {\displaystyle G} are inverse to each other, the corresponding monad is the identity functor. In general, adjunctions are not equivalences—they relate categories of different natures. The monad theory matters as part of the effort to capture what it is that adjunctions 'preserve'. The other half of the theory, of what can be learned likewise from consideration of F ∘ G {\displaystyle F\circ G} , is discussed under the dual theory of comonads.

Formal definition Throughout this article, C {\displaystyle C} denotes a category. A monad on C {\displaystyle C} consists of an endofunctor T : C → C {\displaystyle T\colon C\to C} together with two natural transformations: η : 1 C → T {\displaystyle \eta \colon 1_{C}\to T} (where 1 C {\displaystyle 1_{C}} denotes the identity functor on C {\displaystyle C} ) and μ : T 2 → T {\displaystyle \mu \colon T^{2}\to T} (where T 2 {\displaystyle T^{2}} is the functor T ∘ T {\displaystyle T\circ T} from C {\displaystyle C} to C {\displaystyle C} ). These are required to fulfill the following conditions (sometimes called coherence conditions):

μ ∘ T μ = μ ∘ μ T {\displaystyle \mu \circ T\mu =\mu \circ \mu T} (as natural transformations T 3 → T {\displaystyle T^{3}\to T} ); here T μ {\displaystyle T\mu } and μ T {\displaystyle \mu T} are formed by "horizontal composition".

μ ∘ T η = μ ∘ η T = 1 T {\displaystyle \mu \circ T\eta =\mu \circ \eta T=1_{T}} (as natural transformations T → T {\displaystyle T\to T} ; here 1 T {\displaystyle 1_{T}} denotes the identity transformation from T {\displaystyle T} to T {\displaystyle T} ). We can rewrite these conditions using the following commutative diagrams:

See the article on natural transformations for the explanation of the notations T μ {\displaystyle T\mu } and μ T {\displaystyle \mu T} , or see below the commutative diagrams not using these notions:

… excerpt ends here. Continue reading the full article.

Illustrations

Monad (category theory) illustration
Monad (category theory) illustration
Monad (category theory) illustration
Monad (category theory) illustration
Monad (category theory) illustration

Worked examples

Example 1 — a first encounter with Monad (category theory)

Start with the simplest possible case. Write down what Monad (category theory) 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 Monad (category theory) 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 Monad (category theory) 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 Monad (category theory)

In research
Monad (category theory) 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 Monad (category theory) 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
Monad (category theory) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Adjoint functors, Category theory, so understanding it makes those chapters shorter.
In everyday life
Look for Monad (category theory) 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 “Monad (category theory)” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Monad (category theory) in 20 minutes

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

Frequently asked questions

What is Monad (category theory) in simple terms?

In category theory, a branch of mathematics, a monad is a triple ( T , η , μ ) {\displaystyle (T,\eta ,\mu )} consisting of a functor T from a category to itself and two natural transformations η , μ {\displaystyle \eta ,\mu } that satisfy versions of the associativity and unitality axioms. Equival…

Why does Monad (category theory) 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 Monad (category theory)?

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 Monad (category theory).

Tags

  • Adjoint functors
  • Category theory

Keep exploring