Chapter 9 Sets, Inequalities and Functions
In the first semester we have been generating sequences of numbers, for instance, using the Newton-Raphson method for solving non-linear equations (Chapter 2) , or using the rectangle rule for integration (Chapter 3). In this section we will say what real numbers are as limits of these sequences, where we will need to formally define limit. Once we know what real numbers are we will discuss ordering of these numbers with and the arithmetic of inequalities. The notes here are based on the book An Introduction to Mathematical Analysi by my old lecturer at Manchester John Reade. This book can be found for free at http://www.mathstudio.co.uk/sequences.htm.
9.1 Sets
This section is a revision of set notation. Suppose is a set of objects (need not be numbers).
- Membership: We denote membership of the set is a member of , by . If is not a member we write . For example Toyota, Ford, Renault, Peugeot a set of brands of car. Then Ford , but Mercedes . For a numerical example, let . Then , but . We have introduced the notation is true.
-
Relations and operations: We have the following ways of operating with sets:
- Subset: If and are sets, ( is a subset of ) if implies . Another way of writing this is to use the universal quantifier ‘for all’. Using this we can write ;
- Union: If and are sets, ;
- Intersection: If and are sets, ;
- Set difference: If and are sets, .
- Cardinality or size: If a set is finite, then the number of elements in the set is called its cardinality or size. We denote the cardinality of a set using . This idea can be expanded to sets such as or even , but this will not be covered in this module.
In addition to the universal quantifier we have the existential quantifier . We use this to say that at least one element of a set exists which satisfies some property. For instance such that .
This is a nice Youtube video which discusses elementary set thoery.
9.2 Ordered sets
The sets all satisfy the following ordering axioms. We use the sign (less than) for the ordering. Let denote one of these sets.- Trichotomy (total order): If either , or ;
- Transitivity: If , and , then ;
-
Compatability: If and then ;
- if then ,
- and (ii) if then .
We use the sign than for convenience: means that . We use the signs and to mean is less than or equal to and is greater than or equal to respectively.
We also have the following field axioms which you will immediately see are needed for us to do a lot of the arithmetic calculutions and algebra we have become accustomed to. Let us use the notation to refer to any sets which satisfy these axioms.
- Additive identity: such that ;
- Additive inverse: such that ;
- Additive associativity: If the ;
- Additive commutativity: If then ;
- Multiplicative identity: such that ;
- Multiplicative inverse: such that ;
- Multiplicative associativity: If then ;
- Multiplicative commutativity: If then ;
- Distributivity: If then ;
- .
In this video Tom will explain about these rules, and use them to prove some other results.
Example 9.1 Solve the following inequality for :
Solution: Adding -4 to both sides (compatibility) we have Adding to both sides (compatibility) then gives Multiplying both sides by -1 ((ii) in multiplicative part of compatibility) gives We can check this by trying e.g. as this is part of our solution set.Here is video on solving linear inequalities.
Proposition 9.1 Let with . Then if and only if .
Proof: We will break the proof into a number of steps. First we will show that if then . We will do this by splitting into three cases:- If then the proposition is trivial.
- If then by the compatability law (multiplying by ) , and (multiplying by ) . Hence and by the transitive law.
-
If then by the compatability law (multiplying by ) and (multiplying by which we recall is negative) . Hence and by the transitive law.
Now we need to show that if then . This will then show that if then . This style of proof is .
A very similar argument shows that if then , and if then . This shows that if then by the trichotomy law.
Of course, the result is obvious from the picture above, but we need to learn how to justify the obvious rigorously from our axioms.
Example 9.2 Solve the equation for .
Solution: We will use a very useful technique called completing the square. We write Hence so that Using Proposition 9.3 we see that and adding 3 to both sides we get our final result . We check this by putting and seeing that . Alternatively, if we put we have and if ,In this video they solve the quadrtic inequality by factorising the quadratic. This is a good idea if the quadratic factorises easily, otherwise the completing the square method might be better.
Example 9.3 Prove that for This equation is called the arithmetic -geometric mean inequality.
Solution: Since ,
9.2.1 Test yourself
9.3 The Modulus Function and Triangle Inequalities
One of the most important functions in analysis is
Definition 9.2 (Modulus, Absolute Value or Distance Function) Here is a picture of it:
The modulus function is defined by
Here is a picture of it:
Theorem 9.1 (Triangle Inequality) For all
Proof: Squaring the left hand side of the equation above
Using Proposition~9.1 we arrive at the desired result.
Corollary 9.1 (Reverse Triangle Inequality) For all
Proof: Since we have, using the triangle inequality, so that On the other hand , so again using the triangle inequality, we have since . Therefore If , and if , . ThusHere is a video about the triangle inequality.
This second video talks about the inequality in two dimensions and gives the inequality its name. Enjoy the music.
9.3.1 Test yourself
9.4 Bounds on Sets of Numbers
In this section we talk about bounded sets. Not only is this useful in its own right, but it also gives us the machinery we need to use to define the real numbers.
Theorem 9.2 Every finite set in has a maximum and a minimum.
Proof: We prove this by induction on the size of the set. So let us assume that all sets with points have a maximum and a minimum, and let . Let . Then, using the inductive hypothesis, because is finite and of size , it has a maximum and a minimum . Now, by the trichotomy axiom, either or . In the former case , and in the latter case . Hence has a maximum. The argument for is similar. To begin the induction it is clear that if has only one element then .Here is a video about bounds on sets.
9.4.1 Test yourself
9.5 The Uper Bound Axiom and Real Numbers
There are a number of ways one could introduce an axiom which would can specify the real numbers. We will add one more axiom to all of the field axioms we listed in Section~9.1
The Upper Bound Axiom: Every non-empty subset of which is bounded above has a supremum in .
Theorem 9.3 is a real number.
Proof: In order to prove this we need to show that there is a number such that and is the supremum of some set of real numbers.
Let . Then is bounded above and therefore has a supremum . We will now show that . For suppose and consider the number where is a positive integer. Then
Since , if i.e. then which means that and so is not the supremum. This is a contradiction, so that .
On the other hand, suppose . In the same spirit as above we now consider the number . Then
Since , if i.e. then which means that and so is an upper bound, but it is less than . This is a contradiction, so that .
Hence .The following video talks about the completeness axiom, which we have called the upper bound axiom.
9.6 Functions
In this section we look at the definition of functions, their composition and the inverse of a function.
- The domain for , . Then .
- If , then and .
- If , then and

In order to construct inverses of functions i.e. to come back from where we have gone, we need for the inverse function to know where to go back to, so one point in the range cannot come from two different points in the domain. This property of functions is defined below.

Example 9.9 The function is one to one, since implies Now, . Hence which means .
On the other hand is not one to one as .Here is a nice video about one to one functions.
Example 9.10 Let . Find the inverse function of .
Let , i.e. Cross multpilying we have Getting the the ’s on one side we have Dividing gives The inverse function is .9.7 Challenge yourself
- Prove that
- Can you use the upper bound axiom to prove that any set with a lower bound has an infimum (a greatest lower bound)?
- Show that .
- Can you prove that and are real numbers?
- Prove the Inverse Function Theorem~9.4.