# Mathematical Grouping of Data: Topologies and Categories

### Looking at what areas of pure math could find widespread application and usage.

· Big Data Zone · Opinion
Save
12.53K Views

not that long ago number theory was considered strictly pure math. then came applications to cryptography. now number theory is at the foundation of the online economy.

what are the next areas of pure math to find widespread application? some people are saying algebraic topology and category theory.

[i saw a cartoon to this effect the other day but i can’t find it. if i remember correctly, someone was standing on a hill labeled “algebraic topology” and looking over at hills in the distance labeled with traditional areas of applied math. differential equations, fourier analysis, or things like that. if anybody can find that cartoon, please let me know.]

## algebraic topology

the big idea behind algebraic topology is to turn topological problems, which are hard, into algebraic problems, which are easier. for example, you can associate a group with a space, the fundamental group , by looking at equivalence classes of loops. if two spaces have different fundamental groups, they can’t be topologically equivalent. the converse generally isn’t true: having the same fundamental group does not prove two spaces are equivalent. there’s some loss of information going from topology to algebra, which is a good thing. as long as information you need isn’t lost, you get a simpler problem to work with.

fundamental groups are easy to visualize, but hard to compute. fundamental groups are the lowest dimensional case of homotopy groups, and higher dimensional homotopy groups are even harder to compute. homology groups, on the other hand, are a little harder to visualize but much easier to compute. applied topology, at least at this point, is applied algebraic topology, and more specifically applied homology because homology is practical to compute. people like robert ghrist are using homology to study, among other things, sensor networks. you start with a point cloud, such as the location of sensors, and thicken the points until they fuse into spaces that have interesting homology. this is the basic idea of persistent homology .  you’re looking for homology that persists over some range of thickening. as the amount of thickening increases, you may go through different ranges with different topology. the homology of these spaces tells you something about the structure of the underlying problem. this information might then be used as features in a machine learning algorithm. topological invariants might prove to be useful features for classification or clustering, for example.

most applications of topology that i’ve seen have used persistent homology. but there may be entirely different ways to apply algebraic topology that no one is looking at yet.

## category theory

category theory has been getting a lot of buzz, especially in computer science. one of the first ideas in category theory is to focus on how objects interact with each other, not on their internal structure. this should sound very familiar to computer scientists: focus on interface, not implementation. that suggests that category theory might be useful in computer science. sometimes the connection between category theory and computer science is quite explicit, as in functional programming. haskell, for example, has several ideas from category theory explicit in the language: monads, natural transformations, etc. outside of computer science, applications of category theory are less direct. category theory can guide you to ask the right questions, and to avoid common errors. the mathematical term “category” was borrowed from philosophy for good reason. mathematicians seek to avoid categorical errors, just as aristotle and kant did. i think of category theory as analogous to dimensional analysis in engineering or type checking in software development, a tool for finding and avoiding errors.

i used to be very skeptical of applications of category theory. i’m still skeptical, though not as much. i’ve seen category theory used as a smoke screen, and i’ve seen it put to real use. more about my experience with category theory here .

* * *

topology illustration from barcodes: the persistent topology of data by robert ghrist.

category theory diagram from category theory for scientists by david spivak

Topics:
data structures, categorization, topology

Published at DZone with permission of John Cook, DZone MVB.

Opinions expressed by DZone contributors are their own.

Comments