ArticleslgStudy

science

Functor

Functor 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 Functor rather than just read about it. In short: In mathematics, specifically category theory, a functor is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) are associated to topological spaces, and maps between these algebraic objects are associated to continuous maps between spaces.

Functor — main illustration
Functor — illustration

Key takeaways

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

Reference excerpt

In mathematics, specifically category theory, a functor is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) are associated to topological spaces, and maps between these algebraic objects are associated to continuous maps between spaces. Nowadays, functors are used throughout modern mathematics to relate various categories. Thus, functors are important in every area of mathematics where category theory is applied. The words category and functor were borrowed by mathematicians from the philosophers Aristotle and Rudolf Carnap, respectively. Carnap used functor in a linguistic context; see function word.

Definition

Let C and D be categories. A functor F from C to D is a mapping that:

associates each object X in C to an object F(X) in D, associates each morphism f:X→Y in C to a morphism F(f):F(X)→F(Y) in D such that the following two conditions hold: F(idX)=idF(X) for every object X in C, F(g∘f)=F(g)∘F(f) for all morphisms f:X→Y and g:Y→Z in C. That is, functors must preserve identity morphisms and composition of morphisms.

Covariance and contravariance

There are many constructions in mathematics that would be functors, except that they "turn morphisms around" and "reverse composition". We then define a contravariant functor F from C to D as a mapping that

associates each object X in C with an object F(X) in D, associates each morphism f:X→Y in C with a morphism F(f):F(Y)→F(X) in D such that the following two conditions hold: F(idX)=idF(X) for every object X in C, F(g∘f)=F(f)∘F(g) for all morphisms f:X→Y and g:Y→Z in C. Variance of functors (composite):

The composite of two functors of the same variance: Covariant∘Covariant→Covariant Contravariant∘Contravariant→Covariant The composite of two functors of opposite variance: Covariant∘Contravariant→Contravariant Contravariant∘Covariant→Contravariant We see that ({Covariant,Contravariant},∘)≅ℤ/2ℤ. Note that contravariant functors reverse the direction of composition. Ordinary functors are also called covariant functors in order to distinguish them from contravariant ones. Note that one can also define a contravariant functor as a covariant functor on the opposite category Cop. Some authors prefer to write all expressions covariantly. That is, instead of saying F:C→D is a contravariant functor, they simply write F:Cop→D (or sometimes F:C→Dop) and call it a functor. Contravariant functors are also occasionally called cofunctors. There is a convention which refers to "vectors"—i.e., vector fields, elements of the space of sections Γ(TM) of a tangent bundle TM—as "contravariant" and to "covectors"—i.e., 1-forms, elements of the space of sections Γ(T∗M) of a cotangent bundle T∗M—as "covariant". This terminology originates in physics, and its rationale has to do with the position of the indices ("upstairs" and "downstairs") in expressions such as x′i=Λjixj for 𝐱′=𝜦𝐱, or ω'i=Λijωj for 𝝎′=𝝎𝜦𝖳. In this formalism it is observed that the coordinate transformation symbol Λij (representing the matrix 𝜦𝖳) acts on the "covector coordinates" "in the same way" as on the basis vectors: 𝐞i=Λij𝐞j—whereas it acts "in the opposite way" on the "vector coordinates" (but "in the same way" as on the basis covectors: 𝐞i=Λji𝐞j). This terminology is contrary to the one used in category theory because it is the covectors that have pullbacks in general and are thus contravariant, whereas vectors in general are covariant since they can be pushed forward. See also covariance and contravariance of vectors.

Opposite functor Every functor F:C→D induces the opposite functor Fop:Cop→Dop, where Cop and Dop are the opposite categories to C and D. By definition, Fop maps objects and morphisms in the identical way as does F. Since Cop does not coincide with C as a category, and similarly for D, Fop is distinguished from F. For example, when composing F:C0→C1 with G:C1op→C2, one should use either G∘Fop or Gop∘F. Note that (Fop)op=F.

Bifunctors and multifunctors

A bifunctor (also known as a binary functor) is a functor whose domain is a product category. For example, the Hom functor is of the type Cop×C→𝐒𝐞𝐭. It can be seen as a functor in two arguments; it is contravariant in one argument, covariant in the other. A multifunctor is a generalization of the functor concept to n variables. So, for example, a bifunctor is a multifunctor with n=2.

Properties Two important consequences of the functor axioms are:

F transforms each commutative diagram in C into a commutative diagram in D; if f is an isomorphism in C, then F(f) is an isomorphism in D. One can compose functors, i.e. if F is a functor from A to B and G is a functor from B to C then one can form the composite functor G∘F from A to C. Composition of functors is associative where defined. Identity of composition of functors is the identity functor. This shows that functors can be considered as morphisms in categories of categories, for example in the category of small categories. A small category with a single object is the same thing as a monoid: the morphisms of a one-object category can be thought of as elements of the monoid, and composition in the category is thought of as the monoid operation. Functors between one-object categories correspond to monoid homomorphisms. So in a sense, functors between arbitrary categories are a kind of generalization of monoid homomorphisms to categories with more than one object.

… excerpt ends here. Continue reading the full article.

Illustrations

Functor: Functor F must preserve the composition of morphisms g and f
Functor F must preserve the composition of morphisms g and f

Worked examples

Example 1 — a first encounter with Functor

Start with the simplest possible case. Write down what Functor 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 Functor 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 Functor 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 Functor

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

How to study Functor in 20 minutes

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

Frequently asked questions

What is Functor in simple terms?

In mathematics, specifically category theory, a functor is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) are associated to topological spaces, and maps between these algebraic objects are associated to con…

Why does Functor 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 Functor?

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 Functor.

Tags

  • Functors

Keep exploring