Nepedia
Back to Discover
Fluent Reader
🔢

Functor

math Maturity 11-13 Next article →

Math has many different parts that sometimes seem to live in separate worlds.

Commutative diagram for morphism
Commutative diagram for morphism

A tool called a functor helps connect these worlds. In math, a collection of related things is called a category. A functor is a special way to map one category to another. It does not just move the individual objects from one group to another. It also moves the paths between those objects, which mathematicians call morphisms. This allows experts to see how one area of math relates to a completely different area.

To be a true functor, the mapping must follow very strict rules. First, it must associate every object in the first category with an object in the second. Second, it must associate every morphism in the first category with a morphism in the second. The functor must also preserve the identity morphism for every object. It must also preserve the composition of morphisms. This means if two paths join together in the first category, their new versions must join together the same way in the second category.

Commutative diagram of a functor
Commutative diagram of a functor

There are different ways these mappings can behave. Most functors are called covariant, meaning they move things in the same direction. However, some functors are called contravariant, which means they turn the morphisms around. These contravariant functors reverse the direction of composition. Some people also call these cofunctors. In physics, the words covariant and contravariant are used to describe how vectors and covectors act. This terminology comes from how indices are placed in math expressions.

Functors have been used in many important ways throughout history. They were first considered in a field called algebraic topology. In that field, mathematicians used functors to link algebraic objects to topological spaces. For example, a fundamental group can be linked to a space. The words category and functor actually come from the world of philosophy. The word category was borrowed from Aristotle. The word functor was borrowed from the philosopher Rudolf Carnap. Carnap used the word in a way that related to language.

Today, functors are used in almost every part of modern mathematics. They can be very simple or quite complex. A constant functor maps everything to one single fixed object. A forgetful functor is a type that takes a complex structure and turns it into a simpler one. For example, it might take a group and turn it into a basic set. This helps mathematicians see the underlying parts of an idea. There are even bifunctors that work with two different arguments at once.

Commutative diagram for morphism
Commutative diagram for morphism
Commutative diagram of a functor
Commutative diagram of a functor
415 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Commutative_diagram_for_morphism.svg
Commutative_diagram_for_morphism.svg
File:Commutative_diagram_of_a_functor.svg
Commutative_diagram_of_a_functor.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.