:: wikimiki.org ::
| Category (mathematics) |
Category (mathematics)In mathematics, categories allow one to formalize notions involving abstract structure and processes which preserve structure. Categories appear in virtually every branch of modern mathematics and are a central unifying notion. The study of categories in their own right is known as category theory.
For more extensive motivational background and historical notes, see category theory and the list of category theory topics.
Definition
A category C consists of
- a class ob(C) of objects:
- a class hom(C) of morphisms. Each morphism f has a unique source object a and target object b where a and b are in ob(C). We write f: a → b, and we say "f is a morphism from a to b". We write hom(a, b) (or homC(a, b)) to denote the hom-class of all morphisms from a to b. (Some authors write Mor(a, b).)
- for every three objects a, b and c, a binary operation hom(a, b) × hom(b, c) → hom(a, c) called composition of morphisms; the composition of f : a → b and g : b → c is written as g o f or gf (Some authors write fg.)
such that the following axioms hold:
- (associativity) if f : a → b, g : b → c and h : c → d then h o (g o f) = (h o g) o f, and
- (identity) for every object x, there exists a morphism 1x : x → x called the identity morphism for x, such that for every morphism f : a → b, we have 1b o f = f = f o 1a.
From these axioms, one can prove that there is exactly one identity morphism for every object. Some authors use a slight variation of the definition in which each object is identified with the corresponding identity morphism.
A small category is a category in which both ob(C) and hom(C) are actually sets and not proper classes. A category which is not small is said to be large. A locally small category is a category such that for all objects a and b, the hom-class hom(a, b) is a set. Many important categories in mathematics (such as the category of sets), although not small, are at least locally small.
The morphisms of a category are sometimes called arrows due to the influence of commutative diagrams.
Examples
Each category is presented in terms of its objects, its morphisms, and its composition of morphisms.
- The category Set of all sets together with functions between sets, where composition is the usual function composition (The following are subcategories of Set, obtained by adding some type of structure onto a set, by requiring that morphisms are functions which respect this added structure, and where morphism composition is simply ordinary function composition.)
- The category Ord of all preordered sets with monotonic functions
- The category Mag consisting of all magmas with their homomorphisms
- The category Med consisting of all medial magmas with their homomorphisms
- The category Grp consisting of all groups with their group homomorphisms
- The category Ab consisting of all abelian groups with their group homomorphisms
- The category VectK of all vector spaces over the field K (which is held fixed) with their K-linear maps
- The category Top of all topological spaces with continuous functions
- The category Met of all metric spaces with short maps
- The category Uni of all uniform spaces with uniformly continuous functions
- The category Cat of all small categories with functors
- Any preordered set (P, ≤) forms a small category, where the objects are the members of P, the morphisms are arrows pointing from x to y when x ≤ y (The composition law is forced, because there is at most one morphism from any object to another.)
- Any monoid forms a small category with a single object x. (Here, x is any fixed set.) The morphisms from x to x are precisely the elements of the monoid, and the categorical composition of morphisms is given by the monoid operation. In fact, one may view categories as generalizations of monoids; several definitions and theorems about monoids may be generalized for categories.
- Any directed graph generates a small category: the objects are the vertices of the graph and the morphisms are the paths in the graph. Composition of morphisms is concatenation of paths. This is called the free category generated by the graph.
- If I is a set, the discrete category on I is the small category which has the elements of I as objects and only the identity morphisms as morphisms. Again, the composition law is forced.)
- Any category C can itself be considered as a new category in a different way: the objects are the same as those in the original category but the arrows are those of the original category reversed. This is called the dual or opposite category and is denoted Cop.
- If C and D are categories, one can form the product category C × D: the objects are pairs consisting of one object from C and one from D, and the morphisms are also pairs, consisting of one morphism in C and one in D. Such pairs can be composed componentwise.
Types of morphisms
A morphism f : a → b is called
- a monomorphism (or monic) if fg1 = fg2 implies g1 = g2 for all morphisms g1, g2 : x → a.
- an epimorphism (or epic) if g1f = g2f implies g1 = g2 for all morphisms g1, g2 : b → x.
- a bimorphism if it is both a monomorphism and a epimorphism.
- an isomorphism if it has an inverse, i.e. if there exists a morphism g : b → a with fg = 1b and gf = 1a.
- an endomorphism if a = b. The class of endomorphisms of a is denoted end(a).
- an automorphism if f is both an endomorphism and an isomorphism. The class of automorphisms of a is denoted aut(a).
Relations among morphisms (such as fg = h) can most conveniently be represented with commutative diagrams, where the objects are represented as points and the morphisms as arrows.
Types of categories
- In many categories, the hom-sets hom(a, b) are not just sets but actually abelian groups, and the composition of morphisms is compatible with these group structures; i.e. is bilinear. Such a category is called preadditive. If, furthermore, the category has all finite products and coproducts, it is called an additive category. If all morphisms have a kernel and a cokernel, and all epimorphism are cokernels and all monomorphisms are kernels, then we speak of an abelian category. A typical example of an abelian category is the category of abelian groups.
- A category is called complete if all limits exist in it. The categories of sets, abelian groups and topological spaces are complete.
- A category is called cartesian closed if it has finite direct products and a morphism defined on a finite product can always be represented by a morphism defined on just one of the factors.
- A topos is a certain type of cartesian closed category in which all of mathematics can be formulated (just like classically all of mathematics is formulated in the category of sets). A topos can also be used to represent a logical theory.
- A groupoid is a category in which every morphism is an isomorphism. Groupoids are generalizations of groups, group actions and equivalence relations.
References
- Adámek, Jiří, Herrlich, Horst, & Strecker, George E. (1990). [http://katmat.math.uni-bremen.de/acc/acc.pdf Abstract and Concrete Categories]. Originally publ. John Wiley & Sons. ISBN 0-471-60922-6. (now free on-line edition)
- Asperti, Andrea, & Longo, Giuseppe (1991). [ftp://ftp.di.ens.fr/pub/users/longo/CategTypesStructures/book.pdf Categories, Types and Structures]. Originally publ. M.I.T. Press.
- Barr, Michael, & Wells, Charles (2002). [http://www.cwru.edu/artsci/math/wells/pub/ttt.html Toposes, Triples and Theories]. (revised and corrected free online version of Grundlehren der mathematischen Wissenschaften (278). Springer-Verlag,1983)
- Borceux, Francis (1994). Handbook of Categorical Algebra.. Vols. 50-52 of Encyclopedia of Mathematics and its Applications. Cambridge: Cambridge University Press.
- Lawvere, William, & Schanuel, Steve. (1997). Conceptual Mathematics: A First Introduction to Categories. Cambridge: Cambridge University Press.
- Mac Lane, Saunders (1998). Categories for the Working Mathematician (2nd ed.). Graduate Texts in Mathematics 5. Springer. ISBN 0-387-98403-8.
External links
- [http://plato.stanford.edu/entries/category-theory/ "Category Theory" in Stanford Encyclopedia of Philosophy]
- [http://www.mta.ca/~cat-dist/categories.html Homepage of the Categories mailing list], with extensive list of resources
- [http://us.geocities.com/alex_stef/mylist.html Category Theory section of Alexandre Stefanov's list of free online mathematics resources]
- [http://ex-code.com/b2evolution/index.php/math/2005/08/12/p49 Discussion about alternative definitions of category with multiple sources and destinations for each morphism]
Category:Category theory
Mathematics
Mathematics is often defined as the study of topics such as quantity, structure, space, and change. Another view, held by many mathematicians, is that mathematics is the body of knowledge justified by deductive reasoning, starting from axioms and definitions.
Practical mathematics, in nearly every society, is used for such purposes as accounting, measuring land, or predicting astronomical events. Mathematical discovery or research often involves discovering and cataloging patterns, without regard for application. The remarkable fact that the "purest" mathematics often turns out to have practical applications is what Eugene Wigner has called "the unreasonable effectiveness of mathematics." Today, the natural sciences, engineering, economics, and medicine depend heavily on new mathematical discoveries.
The word "mathematics" comes from the Greek μάθημα (máthema) meaning "science, knowledge, or learning" and μαθηματικός (mathematikós) meaning "fond of learning". It is often abbreviated maths in Commonwealth English and math in North American English.
History
:Main article: History of mathematics
The evolution of mathematics might be seen to be an ever-increasing series of abstractions, or alternatively an expansion of subject matter. The first abstraction was probably that of numbers. The realization that two apples and two oranges do have something in common, namely that they fill the hands of exactly one person, was a breakthrough in human thought.
In addition to recognizing how to count concrete objects, prehistoric peoples also recognized how to count abstract quantities, like time -- days, seasons, years. Arithmetic (e.g. addition, subtraction, multiplication and division), naturally followed. Monolithic monuments testify to a knowledge of geometry.
Further steps need writing or some other system for recording numbers such as tallies or the knotted strings called khipu used by the Inca empire to store numerical data. Numeral systems have been many and diverse.
Historically, the major disciplines within mathematics arose, from the start of recorded history, out of the need to do calculations on taxation and commerce, to understand the relationships among numbers, to measure land, and to predict astronomical events. These needs can be roughly related to the broad subdivision of mathematics, into the studies of quantity, structure, space, and change.
Mathematics since has been much extended, and there has been a fruitful interaction between mathematics and science, to the benefit of both.
Mathematical discoveries have been made throughout history and continue to be made today.
Inspiration, pure and applied mathematics, and aesthetics
Mathematics arises wherever there are difficult problems that involve quantity, structure, space, or change. At first these were found in commerce, land measurement and later astronomy; nowadays, all sciences suggest problems studied by mathematicians, and many problems arise within mathematics itself. Newton invented infinitesimal calculus and Feynman his Feynman path integral using a combination of reasoning and physical insight, and today's string theory also inspires new mathematics. Some mathematics is only relevant in the area that inspired it, and is applied to solve further problems in that area. But often mathematics inspired by one area proves useful in many areas, and joins the general stock of mathematical concepts.
As in most areas of study, the explosion of knowledge in the scientific age has led to specialization in mathematics. One major distinction is between pure mathematics and applied mathematics. Within applied mathematics, two major areas have split off and become disciplines in their own right, statistics and computer science.
Many mathematicians talk about the elegance of mathematics, its intrinsic aesthetics and inner beauty. Simplicity and generality are valued. There is beauty also in a clever proof, such as Euclid's proof that there are infinitely many prime numbers, and in a numerical method that speeds calculation, such as the fast Fourier transform. G. H. Hardy in "A Mathematicians Apology" expressed the belief that these esthetic considerations are, in themselves, sufficient to justify the study of pure mathematics. Main article: Mathematical beauty.
Notation, language, and rigor
Mathematical writing is not easily accessible to the layperson. A Brief History of Time, Stephen Hawking's 1988 bestseller, contained a single mathematical equation. This was the author's compromise with the publisher's advice, that each equation would halve the sales.
The reasons for the inaccessibility even of carefully-expressed mathematics can be partially explained. Contemporary mathematicians strive to be as clear as possible in the things they say and especially in the things they write (this they have in common with lawyers). They refer to rigor. To accomplish rigor, mathematicians have extended natural language. There is precisely-defined vocabulary for referring to mathematical objects, and stating certain common relations. There is an accompanying mathematical notation which, like musical notation, has a definite content and also has a strict grammar (under the influence of computer science, more often now called syntax). Some of the terms used in mathematics are also common outside mathematics, such as ring, group and category; but are not such that one can infer the meanings. Some are specific to mathematics, such as homotopy and Hilbert space. It was said that Henri Poincaré was only elected to the Académie Française so that he could tell them how to define automorphe in their dictionary.
Rigor is fundamentally a matter of mathematical proof. Mathematicians want their theorems to follow mechanically from axioms by means of formal axiomatic reasoning. This is to avoid mistaken 'theorems', based on fallible intuitions; of which plenty of examples have occurred in the history of the subject (for example, in mathematical analysis).
Axioms in traditional thought were 'self-evident truths', but that conception turns out not to be workable in pushing the mathematical boundaries. At a formal level, an axiom is just a string of symbols, which has an intrinsic meaning only in the context of all derivable formulas of an axiomatic system. It was the goal of Hilbert's program to put all of mathematics on a firm axiomatic basis, but according to Gödel's incompleteness theorem every (strong enough) axiom system has undecidable formulas; and so a final axiomatization of mathematics is unavailable. Nonetheless mathematics is often imagined to be (as far as its formal content) nothing but set theory in some axiomatization, in the sense that every mathematical statement or proof could be cast into formulas within set theory.
Is mathematics a science?
Carl Friedrich Gauss referred to mathematics as the Queen of the Sciences. The mathematician-physicist Leon M. Lederman has quipped: "The physicists defer only to mathematicians, and the mathematicians defer only to God (though you may be hard pressed to find a mathematician that modest)."
If one considers science to be strictly about the physical world, then mathematics, or at least pure mathematics, is not a science. An alternative view is that certain scientific fields (such as theoretical physics) are mathematics with axioms that are intended to correspond to reality. In fact, the theoretical physicist, J. M. Ziman, proposed that science is public knowledge and thus includes mathematics. [http://info.med.yale.edu/therarad/summers/ziman.htm]
In any case, mathematics shares much in common with many fields in the physical sciences, notably
the exploration of the logical consequences of assumptions. Intuition and experimentation also play a role in the formulation of conjectures in both mathematics and the (other) sciences.
Overview of fields of mathematics
As noted above, the major disciplines within mathematics first arose out of the need to do calculations in commerce, to understand the relationships between numbers, to measure land, and to predict astronomical events. These four needs can be roughly related to the broad subdivision of mathematics into the study of quantity, structure, space, and change (i.e. arithmetic, algebra, geometry and analysis). In addition to these main concerns, there are also subdivisions dedicated to exploring links from the heart of mathematics to other fields: to logic, to set theory (foundations) and to the empirical mathematics of the various sciences (applied mathematics).
The study of quantity starts with numbers, first the familiar natural numbers and integers and their arithmetical operations, which are characterized in arithmetic. The deeper properties of whole numbers are studied in number theory.
The study of structure began with investigations of Pythagorean triples. Neolithic monuments on the British Isles are constructed using Pythagorean triples. Eventually, this led to the invention of more abstract numbers, such as the square root of two. The deeper structural properties of numbers are studied in abstract algebra and the investigation of groups, rings, fields and other abstract number systems. Included is the important concept of vectors, generalized to vector spaces and studied in linear algebra. The study of vectors combines three of the fundamental areas of mathematics, quantity, structure, and space.
The study of space originates with geometry, beginning with Euclidean geometry. Trigonometry combines space and number. The modern study of space generalizes these ideas to include higher-dimensional geometry, non-Euclidean geometries (which play a central role in general relativity) and topology. Quantity and space both play a role in analytic geometry, differential geometry, and algebraic geometry. Within differential geometry are the concepts of fiber bundles, calculus on manifolds. Within algebraic geometry is the description of geometric objects as solution sets of polynomal equations, combining the concepts of quantity and space, and also the study of topological groups, which combine structure and space. Lie groups are used to study space, structure, and change. Topology in all its many ramifications may be the greatest growth area in 20th century mathematics.
Understanding and describing change is a common theme in the natural sciences, and calculus was developed as a most useful tool. The central concept used to describe a changing quantity is that of a function. Many problems lead quite naturally to relations between a quantity and its rate of change, and the methods of differential equations. The numbers used to represent continuous quantities are the real numbers, and the detailed study of their properties and the properties of real-valued functions is known as real analysis. These have been generalized, with the inclusion of the square root of negative one, to the complex numbers, which are studied in complex analysis. Functional analysis focuses attention on (typically infinite-dimensional) spaces of functions. One of many applications of functional analysis is quantum mechanics. Many phenomena in nature can be described by dynamical systems; chaos theory makes precise the ways in which many of these systems exhibit unpredictable yet still deterministic behavior.
Beyond quantity, structure, space, and change are areas of pure mathematics that can be approached only by deductive reasoning. In order to clarify the foundations of mathematics, the fields of mathematical logic and set theory were developed. Mathematical logic, which divides into recursion theory, model theory, and proof theory, is now closely linked to computer science. When electronic computers were first conceived, several essential theoretical concepts in computer science were shaped by mathematicians, leading to the fields of computability theory, computational complexity theory, and information theory. Many of those topics are now investigated in theoretical computer science. Discrete mathematics is the common name for the fields of mathematics most generally useful in computer science.
An important field in applied mathematics is statistics, which uses probability theory as a tool and allows the description, analysis, and prediction of phenomena where chance plays a part. It is used in all the sciences. Numerical analysis investigates methods for using computers to efficiently solve a broad range of mathematical problems that are typically beyond human capacity, and taking rounding errors or other sources of error into account to obtain credible answers.
Major themes in mathematics
An alphabetical and subclassified list of mathematical topics is available. The following list of themes and links gives just one possible view. For a fuller treatment, see Areas of mathematics or the list of lists of mathematical topics.
Quantity
This starts from explicit measurements of sizes of numbers or sets, or ways to find such measurements.
:
:Number – Natural number – Integers – Rational numbers – Real numbers – Complex numbers – Hypercomplex numbers – Quaternions – Octonions – Sedenions – Hyperreal numbers – Surreal numbers – Ordinal numbers – Cardinal numbers – p-adic numbers – Integer sequences – Mathematical constants – Number names – Infinity – Base
Structure
:Pinning down ideas of size, symmetry, and mathematical structure.
:
:Abstract algebra – Number theory – Algebraic geometry – Group theory – Monoids – Analysis – Topology – Linear algebra – Graph theory – Universal algebra – Category theory – Order theory – Measure theory
Space
:A more visual approach to mathematics.
:
:Topology – Geometry – Trigonometry – Algebraic geometry – Differential geometry – Differential topology – Algebraic topology – Linear algebra – Fractal geometry
Change
:Ways to express and handle change in mathematical functions, and changes between numbers.
:
:Arithmetic – Calculus – Vector calculus – Analysis – Differential equations – Dynamical systems – Chaos theory – List of functions
Foundations and methods
:Approaches to understanding the nature of mathematics.
:philosophy of mathematics – mathematical intuitionism – mathematical constructivism – foundations of mathematics – set theory – symbolic logic – model theory – category theory – Logic – reverse mathematics – table of mathematical symbols
Discrete mathematics
:Discrete mathematics involves techniques that apply to objects that can only take on specific, separated values.
:
:Combinatorics – Naive set theory – Theory of computation– Cryptography – Graph theory
Applied mathematics
:Applied mathematics uses the full knowledge of mathematics to solve real-world problems.
:Mathematical physics – Mechanics – Fluid mechanics – Numerical analysis – Optimization – Probability – Statistics – Mathematical economics – Financial mathematics – Game theory – Mathematical biology – Cryptography – Information theory
Important theorems
:These theorems have interested mathematicians and non-mathematicians alike.
:See list of theorems for more
:Pythagorean theorem – Fermat's last theorem – Gödel's incompleteness theorems – Fundamental theorem of arithmetic – Fundamental theorem of algebra – Fundamental theorem of calculus – Cantor's diagonal argument – Four color theorem – Zorn's lemma – Euler's identity – classification theorems of surfaces – Gauss-Bonnet theorem – Quadratic reciprocity – Riemann-Roch theorem.
Important conjectures
See list of conjectures for more
:These are some of the major unsolved problems in mathematics.
:Goldbach's conjecture – Twin Prime Conjecture – Riemann hypothesis – Poincaré conjecture – Collatz conjecture – P=NP? – open Hilbert problems.
History and the world of mathematicians
See also list of mathematics history topics
:History of mathematics – Timeline of mathematics – Mathematicians – Fields medal – Abel Prize – Millennium Prize Problems (Clay Math Prize) – International Mathematical Union – Mathematics competitions – Lateral thinking – Mathematical abilities and gender issues
Mathematics and other fields
:Mathematics and architecture – Mathematics and education – Mathematics of musical scales
Common misconceptions
Mathematics is not a closed intellectual system, in which everything has already been worked out. There is no shortage of open problems.
Pseudomathematics is a form of mathematics-like activity undertaken outside academia, and occasionally by mathematicians themselves. It often consists of determined attacks on famous questions, consisting of proof-attempts made in an isolated way (that is, long papers not supported by previously published theory). The relationship to generally-accepted mathematics is similar to that between pseudoscience and real science. The misconceptions involved are normally based on:
- misunderstanding of the implications of mathematical rigour;
- attempts to circumvent the usual criteria for publication of mathematical papers in a learned journal after peer review, with assumptions of bias;
- lack of familiarity with, and therefore underestimation of, the existing literature.
The case of Kurt Heegner's work shows that the mathematical establishment is neither infallible, nor unwilling to admit error in assessing 'amateur' work. And like astronomy, mathematics owes much to amateur contributors such as Fermat and Mersenne.
Mathematics is not accountancy. Although arithmetic computation is crucial to accountants, their main concern is to verify that computations are correct through a system of doublechecks. Advances in abstract mathematics are mostly irrelevant to the efficiency of concrete bookkeeping, but the use of computers clearly does matter.
Mathematics is not numerology. Numerology uses modular arithmetic to reduce names and dates down to numbers, but assigns emotions or traits to these numbers intuitively or on the basis of traditions.
Mathematical concepts and theorems need not correspond to anything in the physical world. In the case of geometry, for example, it is not relevant to mathematics to know whether points and lines exist in any physical sense, as geometry starts from axioms and postulates about abstract entities called "points" and "lines" that we feed into the system. While these axioms are derived from our perceptions and experience, they are not dependent on them. And yet, mathematics is extremely useful for solving real-world problems. It is this fact that led Eugene Wigner to write an essay on The Unreasonable Effectiveness of Mathematics in the Natural Sciences.
Mathematics is not about unrestricted theorem proving, any more than literature is about the construction of grammatically correct sentences. However, theorems are elements of formal theories, and in some cases computers can generate proofs of these theorems more or less automatically, by means of automated theorem provers. These techniques have proven useful in formal verification of programs and hardware designs. However, they are unlikely to generate (in the near term, at least) mathematics with any widely recognized aesthetic value.
See also
- Mathematical game
- Mathematical problem
- Mathematical puzzle
- Puzzle
Bibliography
- Benson, Donald C., The Moment Of Proof: Mathematical Epiphanies (1999).
- Courant, R. and H. Robbins, What Is Mathematics? (1941);
- Davis, Philip J. and Hersh, Reuben, The Mathematical Experience. Birkhäuser, Boston, Mass., 1980. A gentle introduction to the world of mathematics.
- Boyer, Carl B., History of Mathematics, Wiley, 2nd edition 1998 available, 1st edition 1968 . A concise history of mathematics from the Concept of Number to contemporary Mathematics.
- Gullberg, Jan, Mathematics--From the Birth of Numbers. W.W. Norton, 1996. An encyclopedic overview of mathematics presented in clear, simple language.
- Hazewinkel, Michiel (ed.), Encyclopaedia of Mathematics. Kluwer Academic Publishers 2000. A translated and expanded version of a Soviet math encyclopedia, in ten (expensive) volumes, the most complete and authoritative work available. Also in paperback and on CD-ROM.
- Kline, M., Mathematical Thought from Ancient to Modern Times (1973).
- Pappas, Theoni, The Joy Of Mathematics (1989).
External links
- [http://www.cut-the-knot.org/ Interactive Mathematics Miscellany and Puzzles] — A collection of articles on various math topics, with interactive Java illustrations at cut-the-knot
- Rusin, Dave: [http://www.math-atlas.org/ The Mathematical Atlas]. A guided tour through the various branches of modern mathematics.
- Stefanov, Alexandre: [http://us.geocities.com/alex_stef/mylist.html Textbooks in Mathematics]. A list of free online textbooks and lecture notes in mathematics.
- Weisstein, Eric et al.: [http://www.mathworld.com/ MathWorld: World of Mathematics]. An online encyclopedia of mathematics.
- Polyanin, Andrei: [http://eqworld.ipmnet.ru/ EqWorld: The World of Mathematical Equations]. An online resource focusing on algebraic, ordinary differential, partial differential (mathematical physics), integral, and other mathematical equations.
- A mathematical thesaurus maintained by the [http://nrich.maths.org/ NRICH] project at the University of Cambridge (UK), [http://thesaurus.maths.org/ Connecting Mathematics]
- [http://planetmath.org/ Planet Math]. An online math encyclopedia under construction, focusing on modern mathematics. Uses the GFDL, allowing article exchange with Wikipedia. Uses TeX markup.
- [http://www.mathforge.net/ Mathforge]. A news-blog with topics ranging from popular mathematics to popular physics to computer science and education.
- [http://www.youngmath.net/concerns Young Mathematicians Network (YMN)]. A math-blog "Serving the Community of Young Mathematicians". Topics include: Math News, Grad and Undergrad Life, Job Search, Career, Work & Family, Teaching, Research, Misc...
- [http://metamath.org/ Metamath]. A site and a language, that formalize math from its foundations.
- [http://world.std.com/~reinhold/dir/mathmovies.html Math in the Movies]. A guide to major motion pictures with scenes of real mathematics
- [http://math.cofc.edu/faculty/kasman/MATHFICT/default.html Mathematics in fiction]. Links to works of fiction that refer to mathematics or mathematicians.
- [http://www.mathhelpforum.com/math-help Math Help Forum]. A forum, for math help, math discussion and debate.
- [http://www.sosmath.com/CBB S.O.S. Mathematics Cyberboard] a math help forum which incorporates a LaTeX extension, making it easier for members to write and display math formulae.
- [http://www-history.mcs.st-and.ac.uk/~history/ Mathematician Bibliography]. Extensive history and quotes from all famous mathematicians.
- [http://www.physicsmathforums.com/ Physics Math Forums]
-
Category:School subjects
fiu-vro:Matõmaatiga
zh-min-nan:Sò·-ha̍k
ko:수학
ms:Matematik
ja:数学
simple:Mathematics
th:คณิตศาสตร์
Category theoryCategory theory is a mathematical theory that deals in an abstract way with mathematical structures and relationships between them. It is half-jokingly known as "generalized abstract nonsense". Categories appear in most branches of mathematics, in some areas of theoretical computer science and mathematical physics, and have been a unifying notion. Categories were first introduced by Samuel Eilenberg and Saunders Mac Lane in 1945, in connection with algebraic topology.
See list of category theory topics for a breakdown of relevant articles.
Background
The study of categories is an attempt to capture what is commonly found in various classes of related mathematical structures.
Consider the following example. The class Grp of groups consists of all objects having a "group structure". More precisely, Grp consists of all sets G endowed with a binary operation satisfying a certain set of axioms. One can proceed to prove theorems about groups by making logical deductions from the set of axioms. For example, it is immediately proved from the axioms that the identity element of a group is unique.
Instead of focusing merely on the individual objects (groups) possessing a given structure, as mathematical theories have traditionally done, category theory emphasizes the morphisms — the structure-preserving processes — between these objects. It turns out that by studying these morphisms, we are able to learn far more about the structure of the objects than by simply focusing on the structures alone. In the example of groups, the morphisms are the group homomorphisms. A group homomorphism between two groups "preserves the group structure" in a very precise way — it is a "process" taking one group to another, in a way that carries along information about the structure of the first group into the second group. The study of group homomorphisms then provides a powerful tool for studying general properties of groups and consequences of the group axioms.
A similar type of investigation occurs in many mathematical theories. A category is an axiomatic formulation of this idea of relating mathematical structures to the structure-preserving processes between them. A systematic study of categories then allows us to prove general results about any class of mathematical structures and their processes which satisfy the axioms of a category.
A category is itself a type of mathematical structure, so we can look for processes which preserve this structure in some sense. Such a process is called a functor, and it associates to every object of one category an object of another category, and to every morphism in the first category a morphism in the second. By studying categories and functors, we are not just studying a class of mathematical structures and the morphisms between them, we are studying the relationships between various classes of mathematical structure.
Many mathematical theories attempt to study a particular type of structure by relating the structure to another simpler, better understood structure. For example, this is the central underlying theme of algebraic topology — very difficult topological questions can be translated into algebraic questions which are much easier to solve. Certain "natural constructions", such as the fundamental group of a topological space, can be expressed as functors in this way. Different such constructions are often "naturally related", and this leads to the concept of natural transformation, a way to "map" one functor to another. Throughout mathematics, one encounters "natural isomorphisms", things that are (essentially) the same in a "canonical way". Many important constructions in mathematics can be studied in this context.
Historical notes
Categories, functors and natural transformations were introduced by Samuel Eilenberg and Saunders Mac Lane in 1945. Initially, the notions were applied in topology, especially algebraic topology, as an important part of the transition from homology (an intuitive and geometric concept) to homology theory, an axiomatic approach. It has been claimed, for example by or on behalf of Stanislaw Ulam, that comparable ideas were current in the later 1930s in the Polish school. These ideas were in some ways a continuation of the contributions of Emmy Noether in formalizing abstract processes in the first half of the 20th-century. Noether realised that in order to understand a type of mathematical structure, one really needs to understand the processes preserving this structure. Eilenberg and Mac Lane gave an axiomatic formalization of this relation between structures and the processes preserving them.
Eilenberg/Mac Lane have said that their goal was to understand natural transformations; in order to do that, functors had to be defined; and to define functors one needed categories.
The subsequent development of the theory was powered first by the computational needs of homological algebra; and then by the axiomatic needs of algebraic geometry, the field most resistant to the Russell-Whitehead view of united foundations. General category theory—an updated universal algebra with many new features allowing for semantic flexibility and higher-order logic—came later; it is now applied throughout mathematics.
Special categories called topoi can even serve as an alternative to axiomatic set theory as the foundation of mathematics. These broadly-based foundational applications of category theory are contentious; but they have been worked out in quite some detail, as a commentary on or basis for constructive mathematics. One can say, in particular, that axiomatic set theory still hasn't been replaced by the category-theoretic commentary on it, in the everyday usage of mathematicians. The idea of bringing category theory into earlier, undergraduate teaching (signified by the difference between the Birkhoff-Mac Lane and later Mac Lane-Birkhoff abstract algebra texts) has hit noticeable opposition.
Categorical logic is now a well-defined field based on type theory for intuitionistic logics, with application to the theory of functional programming and domain theory, all in a setting of a cartesian closed category as non-syntactic description of a lambda calculus. At the very least, the use of category theory language allows one to clarify what exactly these related areas have in common (in an abstract sense).
Categories, objects, and morphisms
Main articles: category, morphism
A category C consists of
- a class ob(C) of objects:
- a class hom(C) of morphisms. Each morphism f has a unique source object a and target object b. We write f: a → b, and we say "f is a morphism from a to b". We write hom(a, b) [or Hom(a, b), or homC(a, b)] to denote the hom-class of all morphisms from a to b. (Some authors write Mor(a, b) or C(a, b).)
- for every three objects a, b and c, a binary operation hom(a, b) × hom(b, c) → hom(a, c) called composition of morphisms; the composition of f : a → b and g : b → c is written as g ○ f or gf (Some authors write fg.)
such that the following axioms hold:
- (associativity) if f : a → b, g : b → c and h : c → d then h ○ (g ○ f) = (h ○ g) ○ f, and
- (identity) for every object x, there exists a morphism 1x : x → x called the identity morphism for x, such that for every morphism f : a → b, we have 1b ○ f = f = f ○ 1a.
From these axioms, one can prove that there is exactly one identity morphism for every object. Some authors use a slight variation of the definition in which each object is identified with the corresponding identity morphism.
Relations among morphisms (such as fg = h) can most conveniently be represented with commutative diagrams, where the objects are represented as points and the morphisms as arrows. Indeed, the morphisms of a category are sometimes called arrows due to the influence of commutative diagrams.
Types of morphisms
A morphism f : a → b is called
- a monomorphism (or monic) if fg1 = fg2 implies g1 = g2 for all morphisms g1, g2 : x → a.
- an epimorphism (or epic) if g1f = g2f implies g1 = g2 for all morphisms g1, g2 : b → x.
- an isomorphism if there exists a morphism g : b → a with fg = 1b and gf = 1a.
- an endomorphism if a = b. The class of endomorphisms of a is denoted end(a).
- an automorphism if f is both an endomorphism and an isomorphism. The class of automorphisms of a is denoted aut(a).
Note that a morphism which is both epic and monic is not necessarily an isomorphism! For example, in the category consisting of two objects A and B, the identity morphisms, and a single morphism f from A to B, f is both epic and monic but is not an isomorphism.
Functors
Main article: functor
Functors are structure-preserving maps between categories. They can be thought of as morphisms in the category of all (small) categories.
A (covariant) functor F from the category C to the category D
- associates to each object x in C an object F(x) in D;
- associates to each morphism f : x → y a morphism F(f) : F(x) → F(y)
such that the following two properties hold:
- F(1x) = 1F(x) for every object x in C.
- F(g ○ f) = F(g) ○ F(f) for all morphisms f : x → y and g : y → z.
A contravariant functor F from C to D is a functor that "turns morphisms around" ("reverses all the arrows"). Specifically, F is contravariant if whenever f : x → y is a morphism in C, then F(f) : F(y) → F(x). The quickest way to define a contravariant functor is as a covariant functor from the opposite category Cop to D.
Natural transformations and isomorphisms
Main article: natural transformation
A natural transformation is a relation between two functors. Functors often describe "natural constructions" and natural transformations then describe "natural homomorphisms" between two such constructions. Sometimes two quite different constructions yield "the same" result; this is expressed by a natural isomorphism between the two functors.
If F and G are (covariant) functors between the categories C and D, then a natural transformation from F to G associates to every object x in C a morphism ηx : F(x) → G(x) in D such that for every morphism f : x → y in C, we have ηy ○ F(f) = G(f) ○ ηx; this means that the following diagram is commutative:
commutative
The two functors F and G are called naturally isomorphic if there exists a natural transformation from F to G such that ηx is an isomorphism for every object x in C.
Universal constructions, limits, and colimits
Main articles: universal property, limit (category theory)
Using the language of category theory, many areas of mathematical study can be cast into appropriate categories, such as the categories of all sets, groups, topologies, and so on. These categories surely have some objects that are "special" in a certain way, such as the empty set or the product of two topologies. Yet, in the definition of a category, objects are considered to be atomic; i.e. we do not know, whether an object A is a set, a topology, or any other abstract concept. Hence, the challenge is to define special objects without referring to the internal structure of these objects. But how can we define the empty set without referring to elements, or the product topology without referring to open sets?
The solution is to characterize these objects in terms of their relations to other objects, as given by the morphisms of the respective categories. Thus the task is to find universal properties that uniquely determine the objects of interest. Indeed, it turns out that numerous important constructions can be described in a purely categorical way. The central concept which is needed for this purpose is called categorical limit, and can be dualized to yield the notion of a colimit.
Equivalent categories
Main articles: equivalence of categories, isomorphism of categories
It is a natural question to ask, under which conditions two categories can be considered to be "essentially the same", in the sense that theorems about one category can readily be transformed into theorems about the other category. The major tool one employs to describe such a situation is called equivalence of categories. It is given by appropriate functors between two categories. Categorical equivalence has found numerous applications in mathematics.
Further concepts and results
The definitions of categories and functors provide only the very basics of categorical algebra. Additional important topics are listed below. Although there are strong interrelations between all of these topics, the given order can be considered as a guideline for further reading.
- The functor category DC has as objects the functors from C to D and as morphisms the natural transformations of such functors. The Yoneda lemma is one of the most famous basic results of category theory; it describes representable functors in functor categories.
- Duality: Every statement, theorem, or definition in category theory has a dual which is essentially obtained by "reversing all the arrows". If one statement is true in a category C then its dual will be true in the dual category Cop. This duality, which is transparent at the level of category theory, is often obscured in applications and can lead to surprising relationships.
- Adjoint functors: A functor can be left (or right) adjoint to another functor that maps in the opposite direction. Such a pair of adjoint functors typically arises from a construction defined by a universal property; it can be seen as a more abstract and powerful view on universal properties.
Higher-dimensional categories
Many of the above concepts, especially equivalence of categories, adjoint functor pairs, and functor categories, can be situated into the context of higher-dimensional categories. Briefly, if we consider a morphism between two objects as a "process taking us from one object to another", then higher-dimensional categories allow us to profitably generalise this by considering "higher-dimensional processes".
For example, (strict) 2-category is a category together with "morphisms between morphisms", i.e. processes which allow us to transform one morphism into another. We can then "compose" these "bimorphisms" both horizontally and vertically, and we require a 2-dimensional "exchange law" to hold, relating the two composition laws. In this context, the standard example is Cat, the 2-category of all (small) categories, and in this example, bimorphisms of morphisms are simply natural transformations of morphisms in the usual sense. Another basic example is to consider a 2-category with a single object—these are essentially monoidal categories.
This process can be extended for all natural numbers n, and these are called n-categories. There is even a notion of ω-category corresponding to the ordinal number ω. For a conversational introduction to these ideas, see [http://math.ucr.edu/home/baez/week73.html John Baez: The Tale of n-categories].
See also
- List of category theory topics
- Important publications in category theory
- Glossary of category theory
References
- Adámek, Jiří, Herrlich, Horst, & Strecker, George E. (1990). [http://www.math.uni-bremen.de/~dmb/acc.pdf Abstract and Concrete Categories]. Originally publ. John Wiley & Sons. ISBN 0-471-60922-6. (now free on-line edition)
- Barr, Michael, & Wells, Charles (2002). [http://www.cwru.edu/artsci/math/wells/pub/ttt.html Toposes, Triples and Theories]. (revised and corrected free online version of Grundlehren der mathematischen Wissenschaften (278). Springer-Verlag,1983)
- Borceux, Francis (1994). Handbook of Categorical Algebra.. Vols. 50-52 of Encyclopedia of Mathematics and its Applications. Cambridge: Cambridge University Press.
- Lawvere, William, & Schanuel, Steve. (1997). Conceptual Mathematics: A First Introduction to Categories. Cambridge: Cambridge University Press.
- Mac Lane, Saunders (1998). Categories for the Working Mathematician (2nd ed.). Graduate Texts in Mathematics 5. Springer. ISBN 0-387-98403-8.
External links
- [http://plato.stanford.edu/entries/category-theory/ "Category Theory" in Stanford Encyclopedia of Philosophy]
- [http://www.mta.ca/~cat-dist/categories.html Homepage of the Categories mailing list], with extensive list of resources
- [http://us.geocities.com/alex_stef/mylist.html Category Theory section of Alexandre Stefanov's list of free online mathematics resources]
- [http://ex-code.com/b2evolution/index.php/math/2005/08/12/p49 Discussion about alternative definitions of category with multiple sources and destinations for each morphism]
-
ja:圏論
List of category theory topicsThis is a list of category theory topics, by Wikipedia page.
Specific categories
- Category of sets
- Concrete category
- Category of vector spaces
- Category of graded vector spaces
- Category of topological spaces
- Category of metric spaces
- Category of preordered sets
- Category of groups
- Category of abelian groups
- Category of commutative rings
- Category of magmas
- Category of medial magmas
Objects
- Initial object
- Terminal object
- Zero object
- Subobject
- Group object
- Magma object
- Natural number object
- Exponential object
- Zero morphism
- Normal morphism
- Dual (category theory)
- Groupoid
- Image (category theory)
- Coimage
- Commutative diagram
- Cartesian morphism
- Slice category
- Isomorphism of categories
- Natural transformation
- Equivalence of categories
- Subcategory
- Faithful functor
- Full functor
- Forgetful functor
- Yoneda lemma
- Representable functor
- Functor category
- Adjoint functors
- Galois connection
- Pontryagin duality
- Affine scheme
- Monad (category theory)
- Comonad
- Combinatorial species
- Exact functor
- Derived functor
- Enriched functor
- Kan extension of a functor
Limits
- Limit (category theory)
- Product (category theory)
- Equalizer
- Kernel (category theory)
- Pullback, fiber product
- Inverse limit
- Pro-finite group
- Colimit
- Coproduct
- Coequalizer
- Cokernel
- Pushout (category theory)
- Direct limit
- Biproduct
- Direct sum
Additive structure
- Preadditive category
- Additive category
- Pre-Abelian category
- Abelian category
- Exact sequence
- Exact functor
- Snake lemma
- Nine lemma
- Five lemma
- Short five lemma
- Mitchell's embedding theorem
- Injective cogenerator
- Derived category
- Triangulated category
- Model category
- Identity object
- Semigroupoid
- Comma category
- Localization of a category
- Enriched category
- Bicategory
- Sheaf
- Gluing axiom
- Descent (category theory)
- Grothendieck topology
- Introduction to topos theory
- Subobject classifier
- Pointless topology
- Heyting algebra
See also: abstract nonsense, homological algebra
Category:Mathematical lists Category theory
Category:Category theory
Commutative diagramIn mathematics, especially the many applications of category theory, a commutative diagram is a diagram of objects and morphisms such that, when picking two objects, one can follow any path through the diagram and obtain the same result by composition.
For example, the first isomorphism theorem is a commutative triangle as follows:
image:FirstIsomDiag.png
Since f = h o φ, the left diagram is commutative; and since φ = k o f, so is the right diagram.
image:FourCommDiag.png
Similarly, the square above is commutative if y o w = z o x.
Commutativity makes sense for a polygon of any finite number of sides (including just 1 or 2), and a diagram is commutative if every polygonal subdiagram is commutative.
Category:Homological algebra
Category:Category theory
Category:Diagrams
Function (mathematics)In mathematics, a function is a relation, such that each element of a set (the domain) is associated with a unique element of another (possibly the same) set (the codomain, not to be confused with the range). The concept of a function is fundamental to virtually every branch of mathematics and every quantitative science.
The terms function, mapping, map and transformation are usually used synonymously. The term operation is frequently used for binary functions; functions whose domain is a set of functions, or a vector space, are often called operators (see also operator (programming)).
Intuitive introduction
Essentially, a function is a "rule" or procedure that assigns an "output" value to each given "input" value. The following are examples of functions:
- In a group of people, each person has a favorite colour—from the set of red, orange, yellow, green, cyan, blue, indigo, or violet. Here, the input is the person, and the output is one of the 8 colours. The favorite colour is a function of the person. For example, John has favorite colour red, while Kim has favorite colour violet. Note that more than one person may be associated with a given colour (e.g., John and Kim may both like red), but one person cannot have more or less than one favorite color.
- A stone is dropped from different stories of a tall building. The dropped stone may take 2 seconds to fall from the second story, and 4 seconds to fall from the 8th story. Here, the input is the story, and the output is the number of seconds. The relevant function describes the relationship between the time it takes the stone to reach the ground and the story. (See acceleration)
The "rule" defining a function can be specified by a formula, a relationship, or simply a table listing the outputs against inputs. The most important feature of a function is that it is consistent, or deterministic, always producing the same output from a given input. In this way, a function may be thought of as a mechanism or "machine" (a "black box") consistently converting a given valid input into its unique associated output. In certain technical contexts, the input is often called the argument of the function, and the output the value of the function.
A very common type of function occurs when the argument (input) and the value (output) are both numbers, the functional relationship is expressed by a formula, and the value (output) of the function is obtained by direct substitution of the argument into the formula. Consider for example
:
which for any number x, assigns to x the associated value the square of x.
A straightforward generalization is to allow functions depending on several arguments. For instance,
:
is a function which takes the input, two expressions x and y, and assigns to it its product (output), xy. It might seem that this is not really a function as we described above, because this "rule" depends on two inputs. However, if we think of the two inputs together as a single pair (x, y), then we can interpret g as a function -- the argument (unified single input) is the ordered pair (x, y), and the function value (output) is xy.
Such functions whose input consists of ordered pairs are called "binary" or "2-ary".
In the sciences, we often encounter functions that are not given by (known) formulas. Consider for instance the temperature distribution on earth over time: this is a function which takes location and time as arguments and gives as output value the temperature at the indicated location at the indicated moment in time.
We have seen that the intuitive notion of function is not limited to computations using single numbers and not even limited to computations; the mathematical notion of function is still more general and is not limited to situations involving numbers. Rather, a function links a "domain" (set of inputs) to a "codomain" (set of possible outputs) in such a way that every element of the domain is associated to precisely one element of the codomain. Functions are abstractly defined as certain relations, as will be seen below. Because of this generality, the function concept is fundamental to virtually every branch of mathematics and the quantitative sciences.
History
As a mathematical term, "function" was coined by Leibniz in 1694, to describe a quantity related to a curve, such as a curve's slope or a specific point of a curve. The functions Leibniz considered are today called differentiable functions, and they are the type of function most frequently encountered by nonmathematicians. For this type of function, one can talk about limits and derivatives; both are measurements of the change of output values associated to a change of input values, and these measurements are the basis of calculus.
The word function was later used by Euler during the mid-18th century to describe an expression or formula involving various arguments, e.g. f(x) = sin(x) + x3.
During the 19th century, mathematicians started to formalize all the different branches of mathematics. Weierstrass advocated building calculus on arithmetic rather than on geometry, which favoured Euler's definition over Leibniz's (see arithmetization of analysis).
By broadening the definition of functions, mathematicians were then able to study "strange" mathematical objects such as continuous functions that are nowhere differentiable. These functions were first thought to be only theoretical curiosities, and they were collectively called "monsters" as late as the turn of the 20th century. However, powerful techniques from functional analysis have shown that these functions are in some sense "more common" than differentiable functions. Such functions have since been applied to the modeling of physical phenomena such as Brownian motion.
Towards the end of the 19th century, mathematicians started trying to formalize all of mathematics using set theory, and they sought to define every mathematical object as a set. Dirichlet and Lobachevsky independently and almost simultaneously gave the modern "formal" definition of function (see formal definition below).
In this definition, a function is a special case of a relation. In most cases of practical interest, however, the differences between the modern definition and Euler's definition are negligible.
The notion of function as a rule for computing, rather than a special kind of relation, has been formalized in mathematical logic and theoretical computer science by means of several systems, including the lambda calculus, the theory of recursive functions and the Turing machine.
Formal definition
Formally a function f from a set X to a set Y, written f : X → Y, is an ordered triple (X, Y, G(f)), where G(f) is a subset of the cartesian product X × Y, such that for each x in X, there is a unique y in Y such that the ordered pair (x, y) is in G(f). X is called the domain of f, Y is called the codomain of F, and G(f) is called the graph of f. For each "input value" x in the domain, the corresponding unique "output value" y in the codomain is denoted by f(x).
Equivalently a function f can be defined as a relation between X and Y which satisfies:
# f is total, or entire: for all x in X, there exists a y in Y such that x f y (x is f-related to y), i.e. for each input value, there is at least one output value in Y.
# f is many-to-one, or functional: if x f y and x f z, then y = z. i.e., many input values can be related to one output value, but one input value cannot be related to many output values.
A relation between X and Y that satisfies condition (1) is a multivalued function. Every function is a multivalued function, but not every multivalued function is a function. A relation between X and Y that satisfies condition (2) is a partial function. Every function is a partial function, but not every partial function is a function. In this encyclopedia, the term "function" will mean a relation satisfying both conditions (1) and (2), unless otherwise stated.
Consider the following three examples:
| image:notMap1.png | This relation is total but not many-to-one; the element 3 in X is related to two elements b and c in Y. Therefore, this is a multivalued function, but not a function. |
| image:notMap2.png | This relation is many-to-one but not total; the element 1 in X is not related to any element of Y. Therefore, this is a partial function, but not a function. | |
| image:mathmap2.png | This relation is both total and many-to-one, and so it is a function from X to Y. Note that the emphasis is on "-to-one" as "many" may actually mean "one". The function can be given explicitly by specifying its graph G(f) = or as
: | | | |