# Means To No End

The arithmetic mean is perhaps one of the oldest mathematical ideas, intimately tied to fairness in mutual endeavor. The arithmetic mean answers the question “what payout would we have gotten if we all got the same payout”, or in other words, which makes

true? Most people are familiar with the arithmetic mean, and a few math nerds might know about the geometric or harmonic means. But what is a *mean*, in general?

In general, we might think of a mean as a way of turning many things into one thing. But we shouldn’t be led to prematurely coneptualize our ensembles as sets. In this post, I would like to work out some of the consequences of the following idea:

**Idea:** A *mean* is a way of representing some aspect of a complicated figure in terms the same aspect of a simpler figure.

## Definition of a Mean

We can formalize the above idea as follows

**Definition:** Let be way to collapse the shape onto the shape . Denote by the induced restriction map. Let be some aspect of -shaped figures in .

Given a figure of shape , an *-mean* for is a figure of shape which has the same aspect of :

A *mean function*, or just a mean for short, is an assignment of a mean to each -shaped figure,

Usually, we are interested in means for which is a single point.

**Examples:** For all the following,

- Let , a finite set. Then an -shaped element of is a set of natural numbers. Let be the sum, .

There is a unique mean , and it is defined by

or, solving,

So the arithmetic mean is a mean as we’ve defined it.

- If we change the aspect above to be the product, we get the geometric mean. If we change it to be the reciprocal of the sum of the reciprocals, we get the harmonic mean.
- If we work in a continuous category, and let be a compact subspace of (a body) and be an ambient space. Suppose we have a mass distribution , and let

be the total mass of a body . Then a mean for this assigns to each body the position of its center of mass.

**Observation:** If is a mean for the aspect , and is any transformation of that aspect, then is a mean for as well. If this transformation is a monomorphism, then any -mean is a mean for ; if , then .

## When do Means Exist?

Let’s look a bit more closely about the calculation of the arithmetic mean. We noted that

and then we noted that multiplying by is an isomorphism of . The mean was then given by summing up (taking the aspect of the figure) and then multiplying by the inverse of . We can break this observation up into three parts.

**Lemma:** If

- is a monomorphism, then means are unique,
- is a split epimorphism by , then is a mean, and
- is an isomorphism by , then is the unique mean and it splits .

*proof:* We prove these claims in turn.

- Suppose that is mono, and let and be means. Then and so by monomorphicity.
- Suppose that is split epi by . Then , so that .
- If is iso by , then is a mean and since is then mono, it is unique. Furthermore, so that splits .

That last property is perhaps useful to single out as a desired characteristic of means. Lacking a better name, I’ll call such a mean *normal*.

**Definition:** A mean is *normal* if .

In a category with an epi-mono factorization system, we can factor any aspect into with mono and epi. Since is mono, the means correspond to the means. So, in this case, we can always assume our aspects are epi.

## Perfect Means

A perfect mean is a mean which loses no information. In other words, a perfect mean is a mean for the thing itself, and not just some aspect of it.

**Definition:** A perfect mean is a mean for . Equivalently, a perfect mean is a section of .

We can expand the criterion for perfect means a bit.

**Lemma:** If is mono and is a mean, then is a perfect mean. If is also normal, then is an inverse of .

*proof:* If is a mean, then , so if is mono, then . For to be normal is precisely .

Intuitively, the existence of a perfect mean should impose strong conditions on the relationship between , , and ; if allows a lot of movement, then this must mean that and are very similar, and if and are very different, this must mean is very rigid. We can prove a beginning result to this end.

**Lemma:** Let and . Then admits a perfect mean if and only if it is subterminal.

*Proof:* We note that in this case, is mono. Therefore, it has a section if and only if it is iso. But an object is subterminal if and only if it is isomorphic to its cartesian square.

In other words, if you can perfectly average two things, then you had at most one thing.

## Next Time

In the next post on the topic of means, I hope to look into what happens if you turn the intuition around. The idea of a mean was to express an aspect of a complicated figure in terms of the same aspect of a simpler figure. What if we tried to express an aspect of a simple figure in terms of the same aspect of a more complicated figure?