September 22, 2026 · Lecture · LibreTimes
Mathematical Analysis 1. Lecture 1
Contents
- About the course
- Sets
- Two ways to specify a set
- Russell's paradox
- The ordered pair and the Cartesian product
- Functions
- Composition
- Injections, surjections, bijections
- Groups and bijections
- Equinumerosity
- Subsets and two-valued functions
- The Cantor–Bernstein theorem
- Cantor's theorem
- Consequences: why Russell's paradox does not come back
- What comes next
About the course
This course does not replace the basic course of mathematical analysis taught at any mathematics faculty: it has twelve lectures, while the standard course is thirty lectures and thirty seminars. It is a supplement to the basic course, not a replacement for it.
The main learning happens through solving problems. A class goes like this: first the lecture, then the assistants accept problems from the problem sheets, in person only. There are no deadlines for the sheets; you can hand them in throughout the semester, so it is worth thinking about the problems anywhere, not only once a week. Even a problem you have not solved but have thought about does its job: learning the solution after that is not at all the same as learning it straight away. Try not to replace your own thinking with the internet, artificial intelligence or your neighbour; it is roughly the same thing.
Credit for the problem sheets: the bar is set optimistically at of the boxes closed, in practice the boundary slides to –; there must be no empty sheets. Then a written exam at the beginning of December: – problems in four hours; if you have the sheet credit, the exam grade becomes the course grade.
If you cannot attend the lectures, read books.
- V. A. Zorich. Mathematical Analysis, two volumes, you need both. An outstanding textbook; after each chapter there is a selection of problems, and whoever solves them all will know analysis better than many. At the beginning of the first volume there is also a list of the axioms of set theory.
- S. M. Lvovski. Mathematical Analysis – a course given at the Independent University and published as a short, very concise book; with problems and sample IUM exams.
- I. A. Vinogradova, S. N. Olekhnik, V. A. Sadovnichy. Problems and Exercises in Mathematical Analysis – a problem book, an edition after 2017. It differs from other collections in that each chapter is preceded by a brief summary of the theory and worked solutions of the main problems, including hard ones, so you can study from it on your own: read what you need to know, follow the worked solution with pen and paper, then take a similar problem and solve it yourself.
- K. Kuratowski, A. Mostowski. Set Theory – for those interested in how set theory is built from axioms.
Sets
The exposition of analysis, like all of mathematics, rests on the language of set theory, so we start with sets and functions, almost from the very roots.
We do not know what a set is. The words "aggregate", "collection", "assemblage", "a gathering of objects called elements" are just many similar words, not a definition. We will define neither a set nor what can be an element of one. There is a set , there is an element , and there is the symbol .
What we agree on at once: is a statement. In any situation we encounter it must be possible to say whether it is true or false. If we find ourselves in a situation where this cannot be said, it contradicts our original agreement.
Definition (Subset, equality). if for every we have :
if and .
The symbol is non-strict here: inclusion allows equality. If one needs to stress that the sets are not equal, one writes .
Definition (Empty set). The empty set is the set for which the statement is always false, whatever is substituted for .
Whether such a set exists is not a question: in our game it exists. The word "nothing" is understood all-encompassingly. When at school people write "" instead of "there are no roots", this is not a mistake, it is simply a statement that is false for all .
Two ways to specify a set
- Listing: .
- Specifying a property: : there is a statement involving the letter ; if it is true, is in the set, if false, it is not.
We use both ways in everyday life without thinking that these are sets: the list of students in the course is given by listing; "who attends the Independent University? People who love mathematics" is given by specifying a property. Everything seems natural, but difficulties arise on this path at once.
Russell's paradox
This difficulty was realised at the beginning of the twentieth century. Consider the set given by a property:
For those who ask whether ever happens at all: if it never does, so much the better: then the property is always true, and there is no problem with that. A set can perfectly well be an element of another set: say, is a legitimate set given by listing.
Let us ask: is the statement true?
- If it is true, then satisfies the property, that is, .
- If it is false, then , so satisfies the property and must lie in .
We did nothing wrong (we introduced the set in the prescribed way) and landed exactly in the situation we agreed not to land in: we cannot say of the statement whether it is true or false.
The cause of the paradox is universality: we wanted to consider all possible objects , and what "everything in the world" is, is not very clear. You will say: well, we do not need everything in the world, let us take only what is needed. But that is exactly how we define the things we need. The union
has the same form: all possible for which something holds, and it is a priori no safer than the set . And we use unions all the time. With intersection and difference there is no such problem: one can write
running not over all objects but only over the elements of . With the union you cannot wriggle out like that.
It is impossible to overcome this completely. What was done: the situation was reduced to a very small number of "unpleasant" rules, nine or ten axioms of set theory depending on the formulation (their list is at the beginning of Zorich's book). All sets are built according to these axioms. If a paradox comes up in the mathematics we study, one can go back along the chain: if it is not our own mistake, the chain will run into one of the few rules, and it will become clear where universality must be reduced. Whether there are other paradoxes, science does not know: this can be neither proved nor disproved; it is tested by life.
Remark. Of the axioms that genuinely create something "out of nowhere", there are only a few: the axiom of pairing, the axiom of union, the power set axiom (the set of all subsets) and the axiom of infinity. Separating by a property is allowed, but only inside a set that already exists. Below, after the Cantor–Bernstein and Cantor theorems, we will see how this rule saves us from Russell's paradox.
The ordered pair and the Cartesian product
To discuss functions as well as sets, we need one more operation, and for it the notion of an ordered pair. Simply put, it is a collection of two elements where it is said which is first and which is second. But we have just left the set itself undefined, and we do not want to introduce "first" and "second" as well (that is, the numbers and , which we do not have yet). Specialists came up with a way out.
Definition (Kuratowski's ordered pair).
Exercise. Check that if , then and . That is what orderedness consists in: two such sets are equal not only when their contents are the same, but precisely when equals and equals . A good case-by-case exercise for anyone who wants to check whether they understand what "two sets are equal" means.
Definition (Cartesian product).
How should one picture it? It is a table: the 's are laid out along one side, the 's along the other, and the pairs stand in the cells. Anyone who has seen the Cartesian coordinate system in the plane has visualised the Cartesian product of two lines as a plane.
Example (visualising products). A problem calling for a creative approach: any reasonable, natural visualisation will do: a geometric object given by two parameters, one of which runs over the first set and the other over the second.
- Line segment – an infinite strip.
- Line circle – a cylinder.
- Circle circle – a torus.
- A sphere is not a Cartesian product in the natural sense.
If you match sets bijectively (a segment is in bijection with a line), then any continuum will depict anything, so we mean visual interpretations. Behind all these pictures stands one and the same thing, the table.
Functions
The Cartesian product is needed to introduce the second main character of the story. The first character is the set; the second, to which the first semester of analysis is mainly devoted, is the function.
At school (and in the nineteenth century) people said: a function is a rule, a law, a correspondence that assigns to each a unique , denoted . A function comes with its graph
A subset appears in the Cartesian product, but not an arbitrary one. The substantive part of the school phrase is the words "each" and "unique", and in the language of sets it is written like this:
The graph of a function is when above each there is exactly one . A good idea arises: not to multiply words but to say exactly that.
Definition (Function). A function is a subset such that for each there is exactly one for which . The notation is nothing but another way of writing that .
A function as a subset : the vertical line above each point meets exactly once.
This is great from the point of view of the definition: we did not multiply entities, nothing but sets was needed. And it is great from the point of view of understanding: unlike our distant ancestors, for us there is no difference between "the dependence of on ", a formula by which is computed, and a picture with a curve drawn. We pass easily from one to the other, and very often the geometric visualisation matters more than the formula.
Subsets of a Cartesian product are called relations, so a function is also called a functional relation.
Remark (functions of several variables). And where is "one variable" here? Who is has not been said; it can be anything, even . A function of ten variables is a function ; the variables are just an encoding of the point , no more and no less. That is the beauty of the abstract language, often criticised for being detached from examples: having learned the definition of a function once, you know what a function of any number of variables is.
Composition
Introducing an object is not enough; one has to do something with it. The most important operation on functions is composition: a way of making some functions out of others.
Definition (Composition). If and , then the function is defined,
In the language of graphs:
It looks like scholasticism, but it is literally how one builds the graph of a composition by hand: draw the graph of separately and the graph of separately, take , see how changes, and then from this see how changes. Drawing graphs by hand is a useful exercise, although a machine does it better than you: that is how you understand how functions work.
Theorem (Associativity of composition).
Proof. Feed in and unfold the definitions:
The results are the same.
This proof is very clear, but unsatisfactory. Are you not left uneasy that the proof came down to two expressions coinciding letter by letter? One can "prove" a lot of things are "the same" that way. In fact we should have proved that the graph of the left-hand side coincides with the graph of the right-hand side.
Exercise. Carry out the proof in the language of graphs and see where exactly the proof happens. Writing out both sides, you will get two logical formulas with the quantifier "there exists such that …, and there exists such that …", which will look different on the surface: the brackets and quantifiers are placed differently. The moment of proof is checking that rewriting the formula does not change its truth, that is, comparing truth tables.
Remark. The same applies to the rules of operations on sets: De Morgan's laws, distributivity and the rest. Anyone who proved them with Euler circles, or glanced at a rigorous proof in passing, surely remembers the feeling "a strange proof: we wrote the same sentence twice, and it got proved". It could not have been so. At that moment two statements arose, and the truth of one must be honestly derived from the truth of the other. At the initial stage it is useful to do this; it is a bit tedious, so we will not do it on the board; for everyday life the proof above is enough.
Injections, surjections, bijections
There are no functions "on their own"; we always single out subclasses among them.
Definition (Injection, surjection, bijection). A function is called
- an injection if for all , implies ;
- a surjection if for every there is an such that ;
- a bijection if is an injection and a surjection.
This is easy to remember. An injection is an embedding: points do not get glued together, is copied into as it is, all the dots are preserved. A surjection is a covering, a laying over: the images of the points of have covered all of . A bijection is both: the points of and are lined up against each other, "wall against wall". A synonym: one-to-one correspondence. This is our first way of saying that two sets are "the same": one can rehang the labels and get one set from the other.
Why, you might think, invent these notions to burden you? It turns out one cannot do without them.
Theorem (On the inverse function). If is a bijection, then the rule assigning to each the such that is a function from to . This function is denoted , called the inverse, and is a bijection.
Proof. For the inverse correspondence to be a function, we need such an to exist for each (true, since is a surjection) and to be unique (true, since is an injection): cannot "grow" out of two different 's.
Why is a bijection? It cannot glue two 's together: then two 's would grow out of one , while is a function. It is surjective: each has corresponding to it.
Note that every "since" here is in fact "if and only if". If we want to get a function again after reversing all the arrows, injectivity and surjectivity are necessary. The words "function" and "bijection" turn out to be reflections of each other: being a bijection for is the same as being a function for the inverse correspondence; being a function for is the same as being a bijection for the inverse.
Example (inverse functions from school). That is how inverse functions were born at school. is not injective: we kept the injective branch on , which is a bijection onto , and took the inverse: the arithmetic . The sine itself is bad: we kept the piece on , which is a bijection onto , and got the arcsine. A full-fledged inverse function (rather than a "right inverse" or "left inverse" in some tricky sense) is built only for a bijection, because these are synonyms.
Groups and bijections
To realise another role of bijections, we need general algebraic definitions.
Definition (Set with an operation, group). is a set with an operation if a function is given, that is, to a pair of elements an element is functionally assigned, any element at all, even all pairs to one element.
A set with an operation is called a group if
- the operation is associative: ;
- there is an identity : for all ;
- for each there is an inverse : .
Why was the group invented? To solve equations, the very first equation your schoolteacher taught you to solve. To find from , you have to multiply by the inverse of five, rearrange the brackets (associativity), know that gives one and that multiplying by it changes nothing. Strange as it may seem, these are exactly the properties from the definition, and only they: the minimum needed to solve equations.
Example (groups). ; ; the group of motions of the plane, bijective transformations preserving distance, one of the most important groups in geometry; permutations. Very often the elements of a group are perceived as acting on some set: permutations permute elements, motions move the points of the plane. It turns out that one can always think this way; we are coming to that now.
Definition (Subgroup, isomorphism). is a subgroup if is itself a group with respect to the same operation.
Groups and are isomorphic if there is a bijection preserving the operation:
Isomorphic groups differ only in the names of their elements. The symmetry group of the regular triangle and the group of permutations of three elements differ only visually: every symmetry of the triangle is a permutation of its vertices, and that is all.
Example (the group of bijections). The most important example of a group:
with the operation of composition. Composition is associative (proved above); the identity is the identity map , ; each bijection has an inverse, which together with it puts back in place. This group looks exactly like an action: the elements are moved somewhere, then another action is applied, and the operation is the composition of actions. This is an analogue of the group of motions of the plane.
Theorem (On embedding a group into the group of bijections). Every group is isomorphic to a subgroup of the group of bijections .
That is, every group can be thought of as an action on some set, in this case on itself. How can be represented by bijections? Assign to each the shift . In the general case it is done in exactly the same way: the theorem is monumental, and the proof is very simple.
Proof. Assign to an element the map
is a bijection. Injection: if , then multiplying on the left by we cancel and get . Surjection: the equation is solvable: ; that is what a group is for.
The assignment is injective. At which do different and differ? At the identity: , so different 's correspond to maps with different values at the point .
The operation is preserved. We need to compute the composition:
and here the associativity from the definition of a group works for us. The product of elements has gone to the composition of the corresponding maps.
Surjectivity onto all bijections need not and cannot be checked: the image need not be all of . But since the operation is preserved, the image is closed under composition, contains , and together with contains , that is, it is a subgroup, and is an isomorphism onto it.
A simple observation, but it gives another view of the role of bijections: they are interesting not only as a way of comparing sets but also as objects in their own right: they provide a universal group into which any group, however tricky, embeds. This is where we meet algebra, which you are studying in parallel.
Equinumerosity
Let us come back down to earth from the heights, to the story of comparing sets.
Definition (Equinumerosity). is equinumerous with (we write ) if there is a bijection .
Obvious properties:
- : the identity bijection.
- If , then : this is again the inverse function theorem: the inverse of a bijection is a bijection. The original definition is asymmetric (it says from where and to where), and purely formally equinumerosity seems an asymmetric notion; remarkably, it is not.
- If and , then : a composition of bijections is a bijection.
Exercise. A composition of bijections is a bijection. Injection: the first map did not glue anything, different 's went to different 's; the second did not glue anything, different 's went to different 's. Surjection: each has a it came from, and each has an ; so came from that .
Remark. Do not invoke cardinalities in vain. "Equinumerous" is fine. But if you start calculating with cardinals, you must know how to do it: this is again on the edge of axiomatics, and it is very easy to get into trouble over what is meant by this or that word. We will not do it. We always appeal to two given sets: is there a bijection between them or not.
Subsets and two-valued functions
For the set of functions from to the notation is often used. Why exactly a power, and why is the base and the exponent and not the other way round, think about at leisure; it is easy to understand on finite sets. The set of all subsets of is denoted and called the power set. The two here is a shorthand for the set , and it will now become clear why.
Definition (Indicator). The indicator of a subset is the function ,
Theorem. The assignment is a bijection between and .
Proof. Injection: if , there is an element that lies in one set and not in the other; at it one indicator equals and the other . Surjection: any function is an indicator, namely of the set : where equals , the indicator equals , where , it equals , and there are no other values.
Talking about two-valued functions and talking about subsets is one and the same. It is a way of encoding: a subset of a finite set or of the natural numbers is naturally encoded by a sequence of zeros and ones (one if we take the element, zero if not), and it turns out that one can always do this.
Indicators themselves are an extremely useful thing. Using only addition and multiplication (without maxima or absolute values):
In the union the extra one that arises when a point lies in both sets has to be subtracted.
Remark. All the rules of operations on sets are conveniently checked with indicators: instead of logic and comparing truth tables you get an ordinary transformation of an algebraic expression. Anyone who has done combinatorics knows: split everything into sets, write down the indicators, and from there it is arithmetic; no ingenuity is required.
The Cantor–Bernstein theorem
Everything above was a prelude. Now two powerful statements about equinumerous sets, which do not yet take us into any astral heights; naive theorems.
Theorem (Cantor–Bernstein). If is equinumerous with some subset of , and is equinumerous with some subset of , then .
As long as we are in the naive theory and do not use Zermelo's theorem and Zorn's lemma, this is perhaps the most powerful tool for proving that sets are equinumerous. There are many proofs; here we give a less popular and not the simplest one, but they all begin in roughly the same way.
The hypothesis of the theorem: is a bijection of onto , is a bijection of onto .
Proof. Reduction to three nested sets. Let and be bijections, , . Go through both: went onto , and then carried into the subset . Put
and is a bijection of onto . The hypothesis has reduced to a more laconic picture: the set is squeezed between and , and the outer two are equinumerous. It is enough to prove that : then .
What is the problem? The gap : how to squeeze the bigger set into the smaller one, where to put the gap? Every proof, whichever you study, revolves around where to hide this set.
Good sets. Call good if
that is, contains the gap and its own image under . Good sets exist: for example, all of . Put
is good. Every good contains the gap, so the intersection contains the gap too. Further, for every good , so : the image of lies in every good , and hence .
The key equality:
The inclusion is the goodness of . Suppose it is strict: there is not lying in . Then is also good: the gap is still in it, since is not from the gap; and , since . We have a good set strictly smaller than , while is already the smallest, we have intersected all the good ones. A contradiction.
What is special about : it hides the gap. The image lies in and does not meet the gap, so when is applied, exactly the gap disappears from , and only it.
The bijection. Write
Throw out of : the gap and go away, and remains. That is,
Now on we act by the bijection (it takes onto ), and on we act by the identity. The pieces do not intersect and cover everything, so this is a bijection of onto .
Shaded: . The bijection takes onto , and the gap disappears; the unshaded "ring" stays in place.
Remark. The argument bends the brain a little, but it uses neither the natural numbers nor countable infinity; it is a purely set-theoretic and relatively short proof; what saved us was the ability to intersect. Many have seen another, hypnotic proof in which the bijection is iterated and a countable family of rings is drawn, with the core treated separately. A good exercise for those who have seen it: find the set in that picture. It is there.
Cantor's theorem
The second most important theorem, which lets us understand what happens with sets that are not equinumerous. The result is in a sense negative.
Theorem (Cantor). is not equinumerous with .
Since , it does not matter which of them we prove it for: also . Let us go through both proofs; both are short.
Proof. Via two-valued functions. Suppose : to each a function is assigned, and this is a bijection. Construct a new function by the rule
Since takes only the values and , is also a two-valued function. Since there is a bijection, for some . Then for all ; substitute :
and how is that or ? A contradiction.
Three lines, seemingly very simple, but with a trick, with a sleight of hand: this is Cantor's diagonal procedure, highly abstracted, the argument that sequences of zeros and ones are uncountable brought to laconic form.
Proof. In the language of sets. Let be a bijection: to each corresponds a subset . Make the set
A whiff of the beginning of the lecture. This is a subset of , perhaps empty, perhaps all of ; it does not matter. Since is a bijection, for some . Does lie in ? The same problems begin: if it lies there, it does not; if it does not, it does. But this is no longer a paradox, it is a contradiction: there is no such , and so there was no bijection. It is the assumption that is wrong, not the structure of the world.
Which of the two proofs is more intuitively clear, decide for yourselves.
Consequences: why Russell's paradox does not come back
From the Cantor–Bernstein and Cantor theorems one can derive that, if the axioms are followed correctly, problems like Russell's paradox do not arise. Let us trace this.
Theorem. There is no set of all sets.
Proof. Suppose the contrary: is the set of all sets. Then all subsets of are also sets, that is, . An inclusion always gives an injection, the identity map . On the other hand, there is always an injection , . An injection is a bijection onto its image, so by the Cantor–Bernstein theorem , and by Cantor's theorem this is impossible.
The two theorems forbid us to say that "everything in the world" is a set. Fine, you will say, you cannot take everything in the world. In set theory the rule is: separating by a property is allowed, but only inside a set. Was universality the only problem in Russell's paradox? Take some set and try to create the paradox inside it:
How the paradox was built: we check whether lies in .
- If , then and ; there is a smell of burning, a contradiction. So .
- means that the condition " and " fails, that is, or . The second has already been rejected, so remains.
No paradox happened: the possibility appeared that the set we built simply jumped outside . The situation is saved.
Remark. There is no hundred percent certainty that paradoxes will not appear later. But the rules are few: a finite list of axioms, and those that really create sets out of nowhere (pairing, union, power set, infinity) can be counted on the fingers of one hand, and if we follow them, then at least the original paradoxes and all-encompassing objects do not arise.
What comes next
Today we talked about sets, functions, bijections and the two main theorems on equinumerosity, Cantor's and Cantor–Bernstein's. Next time, two more abstract notions: order relations and equivalence relations; more about the natural, integer and rational numbers; and, as the cherry on the cake after the natural numbers, well-ordered sets and transfinite induction, that is, how relatively hard problems of set theory are solved.
No comments yet
Be the first to share your thoughts.