[Math] How to visualize permutations

abstract-algebragroup-theoryintuitionpermutations

I'm getting a warning that this is a subjective question, and it very well probably is. But nevertheless, it is still a valid question that helps in the studying of mathematics from my point of view. Visualizing math is very important.

I'm studying abstract algebra, reading about permutations, and I'm having a hard time visualizing the group of permutations.

For instance, a permutation is defined as a function on a set, $f:A\to A$, that is 1-1 and onto.

The binary operation on this set is composition of functions, which is associative, has an identity and has an inverse.

Usually, when I hear of functions, I picture $x^2 + 2x + 1$ or $2x + 2$. Is this what I should be thinking of when I think of a collection of permutations? Because I can't help but confuse my mind by just thinking of all the different ways you can arrange the set. How do y'all picture this set?

Best Answer

Saying that $f$ is a bijective function $A\to A$ is very vague and amorphous - it doesn't spell out in any detail what $f$ can look like, and what the set of all such $f$s look like. There are two main issues with thinking of graphs of polynomials functions when one thinks of functions. First, the graph of a function (on an arbitrary set) is not always the best way to think about a function; and second, not all functions have nice explicit formulas defining them (in a sense, "most" of them on an infinite set do not have any specification by symbols). Indeed the set $A$ doesn't necessarily have any algebraic structure at all, it could very easily be a barren set.

Two major ways of thinking about what a permutation looks like are inherent in the main two types of notation: one-line notation and cycle notation. The precursor to one-line notation is two-line notation. The array of values given in Timbuc's answer is an example of two-line notation: the top row is just the numbers $1$ through $n$, and the bottom row tells us where the entries in the above row go to, where they are sent by the given permutation. One-line notation compactifies this by not bothering with the top row, as it is ultimately superfluous.

In order to understand cycle notation one must first know what a cycle is. A cycle is exactly what it sounds like: when a set of numbers (not necessarily the whole set) is cycled through in some order. The notation $(a_1~a_2~\cdots~a_k)$ means $a_1\mapsto a_2$ and $a_2\mapsto a_3$ and so on up to $a_k\mapsto a_1$ (so it wraps around). Two cycles are disjoint if the sets of values they cycle are disjoint - that is, there is no value which is moved by both of them. Every permutation is a product of disjoint cycles (uniquely), and writing it as such a product constitutes what we call cycle notation.

The group of permutations of a set $A$ can be represented by a group of $n\times n$ permutation matrices, where $n=|A|$. A matrix is a permutation matrix if and only if every row and column has precisely one instance of the entry $1$ and the rest of the entries are $0$. Multiplying permutation matrices yields another permutation matrix - namely, the one you'd get if you composed the two permutations and then determined the corresponding permutation matrix.

This is a special case of a group representation. (Note that one can represent other types of algebraic objects, not just groups, and one can have the actions be more than just linear transformations on vector spaces, hence the occasional term "linear" representation.) In my philosophy, any action or representation of a group is not an intrinsic way of viewing what the group is; rather, it gives perspective on what the group can do to other things.

There is a strong colloquial understanding of what a permutation is, which suggests if you have trouble getting a feel for what a permutation intuitively is, as a student of math, you might be getting too snagged on the term "function" or otherwise overthinking things. Indeed, if you ask a lay, non-mathematician what a permutation is, they'd be able to tell you: the reordering of some arrangement, the scrambling of some sequence, the shuffling of some list, or a variant on that theme. Just imagine a shell game but with any number of shells. (The only potential issue with this lazy description is that sets aren't necessarily ordered in a sequence.)

Finally, I want to mention a generalization of permutations, braids. They are represented by (or could be defined as) so-called braid diagrams, which look like this:

$\hskip 2in$ braid

(Source is this webpage which gives further nontechnical explanation of braids. Sometimes braids are written horizontally instead of vertically.) The binary operation with these braids is simply concatenating them, i.e. putting one on top of the other (it is not immediately obvious braids have inverses, but they do). Notice the diagrams keep track of over/under data: it depicts at each crossing which string goes over top or underneath which other string. If you lose this information, and just draw lines crossing plainly, and allow ourselves to "cancel" consecutive crossings of the same two strings, then our diagrams in fact represent permutations. We can think of the ends of the strings down below as a set, and the braid diagrams shuffle them around until they end up in some new arrangement depicted by the ends up top.

Related Question