September 22, 2026 · Lecture · LibreTimes
Algebra 1. Lecture 1
What algebra studies — algebraic structures. Groups (definition, examples, additive notation, uniqueness of the identity and of inverses), rings (variants of the axioms, rings with and without identity), fields and division rings, vector spaces and modules, algebras over a field. The symmetric group — permutations, non-commutativity, two-row notation, cycles and transpositions, decomposition into transpositions, disjoint permutations commute, decomposition into disjoint cycles and its uniqueness, powers, inversions, parity and the sign of a permutation, multiplying by a transposition changes the sign.
What algebra is
We are going to study algebra. Everyone knows from school that algebra is whatever is not geometry, but we will understand what we are doing a little differently. Historically, algebra is the science of solving all kinds of equations. Over time it turned out that to study the solutions of equations one needs additional structures that seem to have no direct connection with equations. When Galois and Abel proved that the equation of degree five is not solvable in radicals – that you cannot take an arbitrary quintic with real coefficients and write an explicit formula for its roots using only roots of some degree of something – it turned out that this fact follows directly from the theory of so-called groups. That will come much later and, most likely, not within this course, but once you have studied some algebraic things it is not very hard to do.
What is an algebraic structure? Roughly speaking, a set with some operations on it satisfying some properties. People notice that many objects have very similar properties, and it is natural to put them into one class, study the class as a whole, and only then apply the results to particular objects. The most basic algebraic structure, in my opinion, is the group.
Groups
Definition (Group). A group is an arbitrary set (from the first letter of the word "group") with one binary operation (it takes two elements of the group, in order, and produces a third element from them), traditionally called multiplication, , , with the following properties:
- associativity: for all : brackets can be moved around;
- there is a distinguished element (the identity, or neutral element) such that for every ;
- for every there is an inverse element such that .
If in addition 4. for all , that is, the order of multiplication does not matter, then the group is called abelian.
In an abstract group we will omit the multiplication sign and write instead of , just as at school. The symbol means "there exists", means "for all".
Remark (uniqueness). The identity and the inverse are uniquely determined; the same goes for the identity and inverses in a ring and in a field, discussed below. Suppose a group has two elements , with the property of the identity. Multiply them: . On the one hand, is an identity, so multiplying by it does not change the second element: . On the other hand, is an identity: . Altogether . The same with inverses: let and both be inverse to ; compute in two ways. Bracketing it as we get ; bracketing it as (which we may do by associativity) we get . They are equal. So if you have proved that some element has the property of an inverse, then it is the inverse.
One more remark about groups in general: if , then
that is, the elements in reverse order and to the power minus one. If you multiply by this element, everything cancels: with , then with , and so on, and you get the identity.
Example (groups).
- The integers under addition, . Here the role of the multiplication of the abstract group is played by addition: adding integers gives integers, addition is associative, there is a zero that changes nothing, and every number has an opposite. Under multiplication is of course not a group: almost nothing has an inverse, least of all zero: you cannot divide by zero anywhere at all.
- The rationals under addition and the nonzero rationals under multiplication . The symbol standardly denotes without zero: zero cannot stay, since you cannot divide by it, and once it is thrown out everything becomes fine.
- The same for the reals: and .
- The isometries of the plane under composition: a composition of isometries is an isometry, the inverse of an isometry is an isometry, the identity map is the identity element, and associativity holds by the very definition of composition.
- More generally, all bijections of some set onto itself, again under composition. Or, the other way round, not all isometries of the plane but some of them: the symmetries of polygons, of polyhedra and so on.
- For those who have read about it: linear groups of matrices: (invertible matrices under multiplication), (with determinant one), and the like.
- An important special case of example 5, when , is the group . Today we will study it in great detail.
Remark (additive notation). In several examples the role of the operation is played by addition. This happens so often that, besides the multiplicative notation, which always works, there is an additive one: the operation is written , the identity , the inverse . This is done only for abelian groups. In the group of isometries of the plane nobody ever writes a plus sign: the operation is non-commutative, and isometries composed in different orders give different compositions.
Rings
The next structure in importance and frequency is the ring. Here the terminology varies; first the more common version, then the variations.
Definition (Ring). A ring is a set (from "ring") with two binary operations, addition and multiplication , such that:
1–4. is an abelian group under addition: ; ; there is a with ; for every there is a with ; 5. both distributive laws: and ; 6. multiplication is associative: .
Since addition is denoted by a plus, it has to be abelian, as already said. In additive notation the inverse element is , not . From now on I will not write that all elements lie in the ring – only where it is not obvious which element lies where.
Where there is definitely no disagreement: both distributive laws must hold in a ring. In most cases a ring is assumed to be associative by default; objects satisfying the first five axioms but not the sixth are called non-associative rings, but there are sources where associativity is not part of the basic set of axioms, and then a ring satisfying the sixth axiom is called associative. If in addition
- , that is, the factors can be swapped,
the ring is called commutative (not "abelian"). If
- there is an identity such that for every ,
one says it is a ring with identity (a ring with one). It can happen that only holds; then the ring has a left identity. If only , a right one. In English-language literature a ring is usually anything satisfying the first six axioms and also having an identity; a ring without identity is then called a rng – a ring with the i, that is, the identity, thrown out – which cannot even be pronounced properly. In short, each time one has to check separately which rings are meant; in a book on commutative algebra there is always an identity by default and multiplication is commutative, and this is said at the very beginning.
Example (rings).
- The integers are the most basic example: you can add and multiply.
- , , and for those who know them, the complex numbers .
- A little more interesting: , the set of remainders on division by . Remainders can be added and multiplied, and all the axioms hold.
- Matrices of size , for those who know what they are (we will discuss this later): they can be added and multiplied. This is an example of a non-commutative ring, but one with identity.
- A ring without identity: , the even numbers. They can be added and multiplied and stay even, but one is odd and is not there.
Fields and division rings
In rings addition is as good as it gets: you can not only add but also subtract. Division, though, is far from always possible. Fields are rings in which you can divide.
Definition (Field). A field is a set with two operations, addition and multiplication, satisfying ten axioms:
1–4. is an abelian group under addition (commutativity, associativity, zero, the opposite element ); 5–8. the analogous axioms for multiplication: ; ; there is a with , the analogue of zero for multiplication (the second equality need not be written, commutativity is already given); for every there is an with ; 9. distributivity : it connects addition with multiplication, brackets can be expanded; 10. .
In the eighth axiom "" is essential: you cannot divide by zero anywhere, while all nonzero elements are invertible and you may safely divide by them. The tenth axiom looks strange. What is it for? To have at least two elements: it is not hard to show – anyone can do it at leisure, or there will be such a problem – that if and all the other axioms hold, the field has exactly one element. In itself there is nothing wrong with that, but all of linear algebra over such a "field" works completely differently from how it works over normal ones, and in a great many theorems one would have to say "let be a field other than this one". It is simpler to say at once that this is not a field and not clutter your head.
Definition (Division ring). A division ring (skew field) is a ring with identity in which all nonzero elements are invertible under multiplication. Roughly speaking, a field without commutativity of multiplication.
Example (fields and division rings).
- , , .
- for a prime : modulo a prime there is division as well.
- Rational fractions, that is, rational functions over some field, ratios of polynomials; not necessarily in one variable, in ten as well: real-valued rational functions of the variables also form a field. The other examples are for later.
- At the current level we cannot exhibit many division rings; from school, probably not a single one. The best-known example is the quaternions; most likely we will not consider them.
Vector spaces and modules
Definition (Vector space). A vector space over a field is a set with two operations: addition and multiplication by a scalar (the input is not two vectors but a number and a vector), such that:
1–4. is an abelian group under addition: ; ; there is a zero vector with ; for every there is a with ; 5. : multiplying first by one number and then by another is the same as multiplying at once by their product; 6. ; 7. ; 8. .
Vectors are more commonly denoted by the letters . A whole science is built around this notion: linear algebra.
Example (vector spaces).
- The simplest example is the space with a single element, zero: it can be added to itself any number of times and multiplied by any number, and you get it back.
- A field over itself: everything written in the axioms is part of the field axioms.
- More generally, any field over a subfield – a subset of the field with the same operations that is itself a field: , . But is not a subfield: it is not a field.
- Free vectors in the Euclidean plane. What is a vector? A segment with a chosen beginning and end; at school we learned to identify vectors, saying that one equals another, and after that to add them and multiply them by numbers. The set of classes of vectors that can be moved anywhere satisfies all the axioms.
- Polynomials over a field .
- For there are plenty of examples from analysis: continuous, differentiable, smooth functions defined on one and the same set (functions on and on cannot be added, but on one interval they can), the spaces and the like. And a great many more examples from differential equations.
Remark (modules). In this definition all that was required of the field was to add and multiply its elements; there is no division anywhere. So why take a field and not a ring? For a ring the notion also makes sense, it just has another name: a module – "a vector space over a ring". The precise definition is an exercise: think about which axioms are needed. We will need modules very actively literally three lectures from now.
Algebras
The last structure that will come up in the course.
Definition (Algebra over a field). An algebra over a field is a vector space over with one additional structure: a multiplication of elements of the algebra itself, such that
- and for ;
- for , : compatibility with multiplication by elements of the field.
In one sentence: the multiplication is bilinear, linear in each argument; you can expand brackets and pull out factors. The field is usually not a subset of ; sometimes it can be identified with a subset – if the algebra has an identity, the element of the field corresponds to , and in this sense the field embeds in the algebra – but in general this need not be so.
Example (algebras). A field over itself is trivial and uninteresting. There are two interesting basic examples: polynomials, which can be multiplied not only by numbers but also by each other; and, for connoisseurs, the matrix algebra – matrices can not only be added and multiplied by numbers, but also multiplied together.
That was the introduction to what algebra does: it studies structures like these. Of course, not all of them were listed, but, in my view, the most important ones, those that will keep coming up in the course. Now to groups specifically; we will spend the next several classes on them.
The symmetric group
Definition (Permutation). A permutation (in Russian, both подстановка and перестановка) is a bijection of the set of the first natural numbers onto itself:
Permutations form a group under composition, the symmetric group .
The two Russian terms are synonyms; I slightly prefer подстановка ("substitution"), out of a linguistic feeling that a substitution is the rule that sends something somewhere, while a перестановка ("rearrangement") is the result of applying that rule. I will denote permutations by Greek letters.
Why this is a group: a composition of bijections of a set onto itself is again such a map; the inverse is defined and is a bijection; the identity permutation, which sends every element to itself, is the identity element: if you first rearrange nothing and then rearrange, you get the second permutation, and vice versa.
Is this group commutative? Take , let swap and , and swap and . Since the operation is composition of maps, a product is read from right to left: in first is applied, then . Then : , , . And : , , . Already from the first element one sees that they act differently. So is non-abelian for .
Writing permutations
A permutation can be drawn as a diagram with arrows, but that is inconvenient. The first way is a table: on top, the numbers from to in some order; under each, where it goes:
There are many ways to write it: the top row can be rearranged arbitrarily; usually it is put in increasing order, why reinvent the wheel. But sometimes it is convenient, on the contrary, to put the bottom row in increasing order and the top row however it comes out. For example, the inverse permutation is easy to get in this notation: if sent to , then sends to – you just swap the rows.
How to multiply in these terms:
goes to , and to , so ; ; ; . The standard multiplication, very simple.
Cycles and transpositions
Definition (Cycle). A permutation is called a cycle if there are elements such that
and every different from all the stays in place: . Such a permutation is written ; the number is the length of the cycle. A cycle of length two is called a transposition.
We see this notation and understand at once: the first goes to the second, the second to the third, …, the -th to the first, the rest stay in place. So and in the example above. A transposition swaps two elements and leaves the rest alone.
What is good about transpositions? They generate the whole group.
Theorem (Decomposition into transpositions). Every element of is a product of transpositions.
The idea: any rearrangement can be achieved by swapping two elements at a time; this is sorting. First swap so that the last element gets where it should, then the second to last, and so on.
Proof. Let us do it the other way round: take a permutation and turn it into the identity using transpositions. Let send , …, . If , nothing needs to be done with this column, and we go on to the next one. If not, multiply on the left by the transposition . What have we achieved? Before, went to , and the transposition sends back to : in the permutation the element goes to . How acts on the first elements we do not know exactly – it has changed something there – but for sure. Next we look at : if it differs from , we multiply by , after which the last two elements go to themselves. Proceeding in this way we get
for some transpositions . A transposition is its own inverse: swap two elements, then swap the same two again, as if nothing had been done. Therefore, multiplying the equality on the left by , we kill on the left and it appears on the right; then , and so on:
The theorem says nothing about the uniqueness of such a decomposition: every permutation has infinitely many different decompositions into transpositions.
Disjoint permutations
There is another decomposition, into cycles, and that one is almost unique.
Definition (Disjoint permutations). The moved elements of a permutation are those that do not go to themselves. Permutations and are called disjoint (independent) if their sets of moved elements do not intersect.
The group is non-abelian, and very much so. But disjoint permutations always commute.
Lemma (Disjoint permutations commute). If and are disjoint, then .
Proof. These are two maps; to prove that they are equal it is enough to check that they send each element to the same place: for every . We go through the cases.
is fixed by both. Then both and leave in place; both compositions give .
is fixed by and moved by . On the left: does not change , then moves it to ; altogether . On the right: first , and then ; about what does with we know nothing yet. Let us show that is fixed by . The element is certainly moved by : sends to , and if were fixed, then would also go to – two different elements () would go to one, while a permutation is a bijection. So is moved by , and then it cannot be moved by : by disjointness their moved elements are completely different. Thus – they agree.
is moved by and fixed by : exactly the same.
is moved by both: this cannot happen, by disjointness.
The converse is false: commuting permutations need not be disjoint: commutes with and with .
Decomposition into disjoint cycles
Theorem (Decomposition into disjoint cycles). Every permutation can be written as a product of disjoint cycles, uniquely up to the order of the factors.
The proviso about the order is needed: as we have just seen, disjoint cycles can be rearranged in any way, and the product does not depend on it. (Another reason why I prefer the word подстановка: otherwise the Russian statement would contain перестановка twice.) Besides, cycles can be written in different ways: is the same as , the only difference is which element the walk starts from; this does not affect the permutation, and we will not fix it. Finally, cycles of one element are not written – they have no effect, and if they were written, uniqueness would fail.
Proof. Existence. We construct the decomposition. Look at the element . If it is fixed, move on. Suppose goes to ; write it after the one. The permutation also sends the element somewhere – to ; then , and so on. Sooner or later we will certainly loop: the set is finite, and eventually there is a repetition. The repetition can only be the one: if some element were mapped to, say, , then both and that element would go to it – and this is a bijection. So the loop can only close at one, and we have constructed the cycle .
Then we take the first element not yet written down, say . If it goes to itself, we skip it; otherwise we build the cycle . Again by finiteness we must come to an element already written down; we cannot land in the first cycle – that contradicts bijectivity, something already goes there – nor in an element of the new cycle other than ; so only in . In this way at some point we go through all the elements: each either belongs to one of the cycles constructed or is fixed and not needed. By construction the cycles do not intersect – they are disjoint – and their product is : if an element belongs to a cycle, the next one in the cycle is by definition of it, and if it does not, it is fixed.
Uniqueness. Let be two decompositions into disjoint cycles ( and may differ). Take an element . If , then belongs to no cycle of either decomposition. If is moved, the first decomposition has a cycle containing , and it looks like this: , then , then , and so on. But exactly the same cycle must be in the second decomposition too. We cancel equal cycles and pass to the remaining ones – by induction everything cancels.
A rather trivial statement, but a very useful one.
Example (a random permutation).
One goes to , to , to , to , to , to , to , to : , for some reason a single cycle. What is the probability of that? There are permutations in total: where the first element goes can be chosen in ways, where the second goes in ways, and so on. Cycles of length containing all the elements: one can be sent to any of the others, that one to any of the remaining ones, …, and the last one must go to one; altogether . The probability is , here .
Powers
Why do we need decompositions into disjoint cycles? One reason: raising a permutation to a power becomes very easy. In an arbitrary group is, generally speaking, false: on the left we have ( times), on the right first times , then times , and nothing implies that one equals the other. But if and commute, the factors can be rearranged so that all the 's are on the left and all the 's on the right, and the equality holds. Disjoint cycles commute, so if is a decomposition into disjoint cycles, then
And raising cycles to powers is a pleasure. A cycle of length to the -th power is the identity permutation: we apply it times, each time shifting the elements along the cycle by one; if you rotate a regular -gon times by one vertex, it comes back onto itself. So the powers , , … are the identity too, and to raise a cycle to a large power you divide by its length with remainder and raise it to the power of the remainder.
Is it true that a power of a cycle is again a single cycle of the same length? No:
, , and similarly , . When raised to a power, cycles sometimes break up into disjoint cycles, but that is not a problem: the task has still become much simpler – instead of checking a thousand times where everything goes, you decompose into disjoint cycles once and see what happened to each of them.
Rotating the square by clockwise is the cycle on the vertices. Rotating twice means applying the central symmetry: it swaps and , and , two disjoint cycles.
The parity of a permutation
One more crucial property of permutations: their parity. Write in the standard form, with top row .
Definition (Inversion, parity, sign). An inversion of a permutation is a pair of numbers such that : a correctly ordered pair becomes incorrectly ordered after the permutation: the larger number stands to the left of the smaller one in the bottom row. The parity of a permutation is the parity of the number of its inversions. The sign of a permutation is
plus for even and minus for odd; comes from the word sign, and both notations are standard.
(This is not a "derangement": a derangement is a permutation none of whose elements goes to itself.)
Theorem (Multiplying by a transposition changes the sign). Let be a transposition. Then the parities and the signs of the permutations and are different.
In other words, if you swap two elements in the bottom row, the sign changes.
Proof. Let swap and , : in the element goes to , goes to , and all the others go where they went before. Let us see what happened to the inversions – where they disappeared, where they appeared, where nothing changed. For a pair we check whether there is an inversion in and in .
-
Neither nor equals or . does not touch their images: an inversion, if there was one, stays; if there was none, none appears. The number of such inversions does not change.
-
, . If there was an inversion, it disappears after the swap; if there was none, one appears. The number of inversions changes by .
-
, . If there was an inversion in the pair , that is, , then after the swap the same inequality gives an inversion in the pair , and vice versa: the inversions with and with trade places, and no inversion goes to no inversion. The number of inversions does not change.
-
, . The same: the inversions with and with trade roles, the number does not change.
-
, the other element of the pair is or . Look at how lies relative to and . If is greater than both, then both before and after the swap there is exactly one inversion among the pairs and – the number does not change; if it is smaller than both – similarly, again exactly one. If is squeezed between them – say, – then before the swap these three elements were in order and there were no inversions in the pairs with , and afterwards two appear at once; in the opposite case two disappear. Altogether, for each such the number changes by or by .
Adding up: one and some number of 's and zeros give an odd number. The numbers of inversions of and differ by an odd number, the parity has changed, the sign has changed.
Theorem (Corollary). An even permutation is a product of an even number of transpositions, an odd one of an odd number. The product of two even permutations is even, of two odd ones even, of an even and an odd one, in either order, odd.
Proof. The identity permutation has exactly zero inversions; it is even. Each multiplication by a transposition changes the parity: after an odd number of transpositions we get an odd permutation, after an even number an even one. Hence the second statement: the product of two even permutations is a product of an even number of transpositions, and likewise in the other cases. Parity behaves exactly as with addition of numbers: the sum of evens is even, the sum of odds is even, of an even and an odd, odd.
No comments yet
Be the first to share your thoughts.