# Category: undergrad number theory

# Notes II: Sets and Functions: problems and solutions

Let , let , let . Then,

I. The main properties of the first set mapping are:

1a) ,

1b)

1c)

1d)

Answer I:

1a: obvious by definition of f(A) or f.

1b: obvious by definition of f

1c: Let so that for some one i we have . That is, . Reversing the arguments, we get the other subset relation. So that . The image of the union is the union of images.

1d: Let so that belongs to each . So that LHS is clearly a subset of .

II) Now, we want to verify the following useful/famous relations of the second set mapping:

2a) ,

2b)

2c)

2d)

2e)

Answer 2a: obvious from definition.

Answer 2b: obvious from definition.

Answer 2c: Let belong to at least one so that for some i. In other words,

Answer 2d:

TPT: .

Let .

Hence, .

Hence, , where U is the universal set

Hence,

Hence,

Hence,

Hence,

Hence, . Hence,

Reversing the arguments proves the other subset inequality.

Hence, . QED.

More Problems :

A) Two mappings and are said to be equal (and we write them as f=g) if for every x in X. Let f, g, and h be any three mappings of a non-empty set X into itself, and now prove that the multiplication of mappings is associative in the sense that .

Solution A:

Let , , and be any three mappings of X into itself. Let and let . Now, we know that . So that now we want to find assuming .

Now, on the other hand, means just as in LHS. QED.

B) Let X be a non-empty set. The identity mapping on X is the mapping of X onto itlsef defined by for every x. Then, sends each element of the set X to itself; that is, leaves fixed each element of X. Prove that for any mapping f of X into itself. If f is one-to-one onto, so that its inverse exists, show that . Prove further that is the only mapping of X into itself which has this property; that is, show that if g is a mapping of X into itself such that , then . Hint: , or

B(i) TPT: for any mapping f of X into itself. Proof: Consider and such that . Hence, . Now, on the other also. QED.

B(ii): Let f be one-to-one onto such that . Hence, exists. Also, . Let . Hence, by definition and because is also one-to-one and onto, . Hence, clearly, . QED.

B(iii) : Prove that such a is unique.

Solution to B(iii): Let there be another function g such that . Also, we have . Use the hint ! ðŸ™‚ QED.

Question C:

Let X and Y be non-empty sets and f a mapping of X into Y. Prove the following: (i) f is one-to-one if and only if there exists a mapping g of Y into X such that (ii) f is onto if and only if there exists a mapping h of Y into X such that .

Solution C(i) : Given such that if , then . Now, we want a mapping such that . Let us construct a g such that and . Then, . Similarly, . Here, we have assumed that and . So, knowing f to be one-to-one, we can explicitly construct a mapping g such that and . QED. On the other hand, let it be given that X and Y are two non-empty sets, that and such that . That is, if some , then we have . That is, . This forces, if , then . Now, if there be an element , it will force . Hence, different inputs give rise to different outputs and so f is one-to-one. QED.

Solution C(ii) : Given and f is onto, that is, . We want to show a function such that . Since , with X as domain, Y as codomain equal to range, f is one-to-one, onto. So . QED.

Question D:

Let X be a non-empty set and f a mapping of X into itself. Show f is one-to-one onto if and only there exists a mapping g of X into itself such that . If there exists a mapping g with the property, then there is one and only one such mapping. Why?

Solution D: From previous question, C we are done.

Question E:

Let X be a non-empty set, and let f and g be one-to-one mappings of X onto itself. Show that fg is also a one-to-one mapping of X onto itself and that .

HW. Hint: consider the action of the functions on each element.

Question F:

Let X and Y be non-empty sets and f a mapping of X into Y. If A and B are, respectively, subsets of X and Y, prove the following:

(a) , and is true for all B if and only if f is onto.

(b) , and is true for all A if and only if f is one-to-one.

(c) is true for all and if and only if f is one-to-one.

(d) is true for all A if and only if f is onto.

(e) If f is onto — so that, is true for all A — then, is true for all A if and only if f is also one-to-one.

Solution Fa: Put , so that f is onto. To prove the other subset relationship, simply reverse the arguments.

Solution Fb:

We need to apply the definition that different inputs give rise to different outputs.

;

ðŸ˜¦ I hope to blog later)

:

Solution Fc:

It certainly implies that .

:

(I hope to blog later).

Solution Fd:

Given that and and . Then, is , that is, , that is , that is, . Put , then f is onto. Now, , that is, . This implies . To prove the other subset relationship, simply reverse the arguments. QED.

Regards,

Nalin Pithwa.

# Notes II: Sets and Functions:

Reference I : Topology and Modern Analysis, G F Simmons, Tata McGraw Hill.

III. Functions:

Many kinds of functions occur in topology in a wide variety of situations. In our work, we shall need the full power of the general concept of a function, and since, its modern meaning is much broader and deeper than its elementary meaning, we discuss this concept in considerable detail and develop its main abstract properties.

Let us begin with a brief inspection of some simple examples. Consider the elementary function

of the real variable x. What do we have in mind when we call this a function and say that y is a function of x? In a nutshell, we are drawing attention to the fact that each real number x has a specific real number y linked to it, which can be calculated according to the rule (or law of correspondence) given by the formula. We have here a process which applied to a real number x does something to it (squares it) to produce another number y (the square of x). Similarly,

and

are two other simple functions of the real variable x, and each is given by a rule in the form of an algebraic expression which specifies the exact manner in which the value of y depends on the value of x.

The rules for the functions we have just mentioned are expressed by formulas. In general, this is possible for functions of a very simple kind or for those which are sufficiently important to deserve a special symbol of their own. Consider for instance the function of the real variable x defined as follows: for each real number x, write x as an infinite decimal (using the scheme of decimal expansion in which infinite chains of 9s are avoided — in which for example, 1/4 is represented as 0.250000….rather than by 0.24999….); then, let y be the 59th digit after the decimal point. There is of course no standard formula for this but nevertheless it is a perfectly respectable function whose rule is given by a verbal description. On the other hand, the function of the real variable x is so important that its rule, though fully as complicated as the one just defined is assigned the special symbol **sin.** When discussing functions in general, we work to allow for all sorts of rules and to talk about them all at once, so we simply employ non-committal notations like , , and so on.

Each of the functions mentioned above is defined for all real numbers x. The example shows that this restriction is much too severe, for this function is defined only for non zero values of x. Similarly, is defined only for positive values of x and only for values of x in the interval . Whatever our conception of a function may be, it should certainly be broad enough to include examples like these, which are defined only for some values of the real variable x.

In real analysis, the notion of function is introduced in the following way. Let X be any non-empty set of real numbers. We say that a ** function** is defined on X if the rule f associates a definite real number y with each real number x in X. The specific nature of the rule f is totally irrelevant to the concept of a function. The set X is called the domain of the given function, and the set Y of all the values it assumes is called its range. If we speak of complex numbers here instead of real numbers, we have the notion of function as it is used in complex analysis.

This point of view towards functions is actually more general than is needed for aims of analysis, but it isn’t nearly general enough for our purposes. The sets X and Y above were taken to be sets of numbers. If we now remove even this restriction and allow X and Y to be completely arbitrary non-empty sets, then we arrive at the most inclusive concept of a function. By way of illustration, suppose that X is the set of all squares in a plane and that Y is the set of all circles in the same plane. We can define a function by requiring that the rule f associate with each square x that circle y which is inscribed in it. In general, there is no need at all for either X or Y to be a set of numbers. All that is really necessary for a function is two non-empty sets X and Y and a rule f which is meaningful and unambiguous in assigning to each element x in X a specific element y in Y.

With these preliminary descriptive remarks, we now turn to the rather abstract but very precise ideas they are intended to motivate.

A ** function **consists of three objects: two non-empty sets X and Y (which may be equal but need not be) and a rule f which assigns to each element x in X a single fully determined element y in Y. The y which corresponds in this way to a given x is usually written f(x), and is called the image of x under the rule f, or the value of f at the element x. (It is fun to draw some figures here). This notation is supposed to be suggestive of the idea that the rule f takes the element x and does something to it to produce the element . The rule f is often called a

**or**

*mapping***or**

*transformation***to amplify this concept of it. We then think of f as mapping x’s to y’s, or transforming x’s to y’s, or operating on x’s to produce y’s. The set X is called the**

*operator***of the function, and the set of all f(x)’s for all x’s in X is called its**

*domain***A function whose range consists of just one element is called a**

*range.*

*constant function.*We often denote by the function with rule f, domain X and range contained in Y. This notation is useful because the essential parts of the function are displayed in a manner which emphasizes that it is a composite object, the central thing being the rule or mapping f. You can try drawing a figure depicting a convenient way of picturing this function. (these notes don’t have my diagrams from the reference book) On the left, X and Y are different sets, and on the right they are equal — in which case we usually refer to f as a mapping of X into itself. If it is clear that from the context what the sets X and Y are, or if there is no real need to specify them explicitly, it is common practice to identify the function with the rule f, and to speak of f alone as if it were the function under consideration (without mentioning the sets X and Y).

It sometimes happens that two perfectly definite sets X and Y are under discussion and that a mapping of X into Y arises which has no natural symbol attached to it. If there is no necessity to invent a symbol for this mapping and if it is quite clear what the mapping is, it is often convenient to designate it by . Accordingly, the function mentioned in the beginning of this section can be written as or where y is understood to be the square of x.

A function f is called an ** extension **of a function g (and g is called a

**of f) if the domain of f contains the domain of g and for each x in the domain of y.**

*restriction*Most of mathematical analysis, both classical and modern, deals with functions whose values are real numbers or complex numbers. This is also true of those parts of topology which are concerned with the foundations of analysis. If the range of a function consists of real numbers, we call it a ** real function**, similarly, a

**is one whose range consists of complex numbers. Obviously, every real function is also complex. We lay very heavy emphasis on real and coomplex functions through out our work.**

*complex function*As a matter of usage, we generally prefer to reserve the term ** function **for real or complex functions and to speak of

**when dealing with functions whose values are not necessarily numbers.**

*mappings*Consider a mapping . When we call f a mapping of X ** into **Y, we mean to suggest by this that the elements f(x) — as x varies over all the elements of X — need not fill up Y; but if it definitely does happen that the range of f equals Y, or if we specifically want to assume this, then we call f a mapping of X

**Y. If two different elements in X always have different images under f, then we call f a**

*onto***mapping of X into Y. If is both onto and one-to-one, then we can define its**

*one=to-one***as follows: for each y in Y, we find that unique element x in X such that 9 x exists and is unique since f is onto and one-to-one); we then define x to be . The equation is the result of solving for x in just the same way as is the result of solving for x. Figure 7 illustrates the concept of the inverse of a mapping.**

*inverse mapping*If f is a one-to-one mapping of X onto Y, it will sometimes be convenient to subordinate the conception of f as a mapping sending x’s over to y’s and to emphasize its role as a link between x’s an y’s. Each x has linked to it (or has corresponding to it) exactly one . When we focus our attention on this aspect of a mapping which is one-to-one onto correspondence between X and Y, and is a one-to-one correspondence between Y and X.

Now, consider an arbitrary mapping . The mapping f which sends each element of X over to an element of Y induces the following important ** set mappings. **If A is a subset of X, then the

**f(A) is the subset of Y defined by**

*image*and the second set mappings pull each B back to its corresponding . It is often essential for us to know how these set mappings behave with respect to set inclusion and operations on sets. We develop most of their significant features in the following two paragraphs.

The main properties of the first set mapping are:

….call these relations I.

The reader should convince himself of the truth of these statements. For instance, to prove (i) we would have to prove first that is a subset of , and second that is a subset of . A proof of the first of these set inclusions might run as follows: an element in is the image of some element in , therefore, it is the image of an element in some , therefore it is some and so finally it is in . The irregularities and gaps which the reader will notice in the above statements are essential features of this set mapping. For example, the image of an intersection need not equal the intersection of the images, because two disjoint sets can easily have images which are not disjoint. Furthermore, without special assumpitions (see Problem 6), nothing can be said about the relation between and .

The second set mapping is much better behaved. Its properties are satisfyingly complete, and can be stated as follows:

and ;

….(2)

….(3)

….(4)

Again, the reader should verify each of these statements for himself.

We discuss one more concept in this section, that of the ** multiplication **or

**If and**

*composition of mappings.*then these two functions can be put together to form a single function defined by . One of the most important tools of calculus (the chain rule) explains how to differentiate functions of this kind. This manner of multiplying functions together is of basic importance for us as well, and we formulate it in general as follows. We define the product of these mappings, denoted by by . In words, an element x in X is taken by f to the element f(x) in Y,and then g maps f(x) to g(f(x)) in Z. Figure 8 is a picture of this process. We observe that the two mappings involved here are not entirely arbitrary, for the set Y which contains the range of the first equals the domain of the second. More generally, the product of two mappings is meaningful whenever the range of the first is contained in the domain of the second. We have regarded f as the first mapping and y as the second, and in forming their product gf, their symbols have gotten turned around. This is a rather unpleasant phenomenon, for which we blame the occasional perversity of mathematical symbols. Perhaps it will help the reader to keep this straight in his mind if he will remember to read the product gf from right to left: first apply f, then g.

Problems:

To be continued next blog.

Regards,

Nalin Pithwa

# Notes I: Sets and Functions: Solutions

# Notes I: Sets and Functions

Reference 1: Topology and Modern Analysis, G F Simmons, Tata McGraw Hill Publication.

There are certain logical difficulties which arise in the foundations of set theory (see Problem 1). We avoid these difficulties by assuming that each discussion in which a number of sets are involved takes place in the context of a single fixed set. This set is called the universal set. It is denoted by U in this section and the next, and every set mentioned is assumed to contain elements of U. In later chapters, there will always be on the one hand, a given space within which we work, and this will serve without further comment as our universal set. It is often convenient to have available in U a set containing no elements whatsoever; we call this the empty set and denote it by the symbol . A set is said to be finite if it is empty or consists of n elements for some positive integer n; otherwise, it is said to be infinite.

The relation is called set inclusion. The following are the properties of set inclusion (it is an equivalence relation):

i) for every A;

ii) and imply .

iii) and imply .

It is quite important to observe that (i) and (ii) above can be combined into a single statement that and . This remark contains a useful principle of proof, namely, that the only way to show that two sets are equal apart from merely inspecting them, is to show that each is a subset of the other.

Problems:

- Perhaps, the most famous of the logical difficulties referred to in the theory of sets is Russell’s paradox. To explain what this is, we begin by observing that a set can easily have elements which are themselves sets., e.g., . This means the possibility that a set might well contain itself as one of its elements. We call such a set an abnormal set, and any set which does not have itself as an element we call a normal set. Most sets are notmal,, and if we suspect that abnormal sets are in some way undesirable, we might try to to confine our attention to the set N of all normal sets. Someone is now sure to ask, is N itself normal or abnormal? It is evidently one or the other, as it cannot be both. Show that if N is normal, it must be abnormal. Proof 1: Set N is the set of all normal sets. Clearly, it contains itself, so it is abnormal. Part II: Show that if N is abnormal, then it is normal. Part 2 proof: As N is abnormal, it contains itself as an element. Set N is the set of all normal sets, so it does not contain itself. So, it is normal. We see in this way that each of our two alternatives is self-contradictory, and it seems to be the assumption that such a set N exists which has brought us to this impasse. For further discussion of these matters, refer to Fraenkel’s Abstract Set Theory. Russell’s own account of the discovery can also be found.
- The symbol we have used for set inclusion is similar to that used for the familiar order relation on the real line: if x and y are real numbers, means that is non negative. The order relation on the real line has all the properties mentioned in the text: (a) for every x (b) and means , and (c) and means . It also has an additional property: (d) For any x and y, either or . Property d says that any two real numbers are comparable with respect to the relation in question, and it leads us to call the order relation on the real line as a total (or linear) order relation. Show by an example that this property is not possessed by set inclusion. It is for this reason that set inclusion is called a partial order relation. Answer: Disjoint sets.
- (a) Let U be the single element set . There are two subsets, the empty set and itself. If A and B are arbitrary subsets of U, there are four possible relations of the form . Count the number of true relations amongst these. Answer: , a true relation; , which is not a true relation; , which is a true relation; , which is debatable. (3b) Let U be the set . There are four subsets, namely, , , and . If A and B are arbitrary subsets of U, there are 16 possible relations of the form . Count the number of true ones: Answer: , , , , , , . So, there are 7 such true relations out of 16. (3c) Now, let U be the set . There are 8 subsets, namely, , , , , , , , . There are 64 possible relations of the form . Count the number of true ones. Answer: , , , , , , , , , , , , , , , . And, also, except and , each is a subset of itself. Thus, there are such 30 true relations. (3d) Let U be the set for an arbitrary positive integer n. How many subsets are there ? Answer: subsets. How many possible relations of the form ? Answer: , that is, possible pairings. Can you make an informed guess as to how many of these are true? Answer (trial 1): The empty set is paired with each of the remaining so these give pairings; each set which is not U and can be paired with U as a superset, so these give pairings; except and , each subset is a subset of itself, so these are total possibilities; each two element subset can be paired with 3-element subsets containing the original two elements and one more, and there are such cases; each two element subset can be paired with 4-element subsets out of which two elements are original and two are chosen out of the remaining , that is, there are pairings; …continuing in this way, we get the following final answer:

II. The Algebra of Sets:

In this section, we consider several useful ways in which sets can be combined with one another, and we develop the chief properties of these operations of combination.

As we emphasized above, all the sets we mention in this section are assumed to be subsets of our universal set U. U is the frame of reference, or the universe, for our present discussion. In our later work, the frame of reference in a particular context will naturally depend on what ideas we happen to be considering. If we find ourselves studying sets of real numbers, then U is the set R of real numbers. If we wish to study sets of complex numbers, then we take U to be the set C of all complex numbers. We sometimes want to narrow the frame of reference and to consider (for instance) only subsets of the closed unit interval , or of the closed unit disc and in these cases we choose U accordingly. Generally speaking, the universal set U is at out disposal, and we are free to select it to fit the needs of the moment. For the present, however, U is to be regarded as a fixed but arbitrary set. This generally allows us to apply the ideas we develop below to any situation which arises in out later work.

It is extremely helpful to the imagination to have a geometric picture available in terms of which we can visualize sets and operations on sets. A convenient way to accomplish this is to represent U by a rectangular area in a plane, and the elements which make up U by the points of this area. Sets can then be pictured by areas within this rectangle, and diagrams can be drawn which illustrate operations on sets and relations between them. For instance, if A and B are sets, then Figure 1 represents the circumstance that A is a subset of B (we think of each set as consisting of all points within the corresponding closed curve). Diagrammatic thought of this kind is admittedly loose and imprecise; nevertheless, the reader will find it invaluable. No mathematics, however, abstract it may appear, is ever carried on without the help of mental images of some kind, and these are often nebulous, personal and difficult to describe.

The first operation we discuss in the algebra of sets is that of forming unions. The union of two sets A and B, written , is defined to be the set of all elements which are in either A or B (including those which are in both). is formed by lumping together the elements of A and those of B and regarding them as constituting a single set. In Figure 2, is indicated by the shaded area. The above can also be expressed symbolically:

.

The operation of forming union is commutative and associative:

and .

It has the following additional properties: , , and .

We also note that so set inclusion can be expressed in terms of this operation.

Our next operation is that of forming intersections. The intersection of two sets A and B, written is the set of all elements which are in both A and B. In symbols, .

is the common part of the sets A and B. In Figure 3, is represented by the shaded area. If is non-empty, we express this by saying that A intersects B. If, on the other hand, it happens that A and B have no common part, or equivalently, that , then we say that A does not intersect B, or that A and B are disjoint and a class of sets in which all pairs of distinct sets are disjoint is called a disjoint class of sets. The operation of forming intersection is also commutative and associative:

and .

It has the further properties that

, , and , and since

,

We see that set inclusion can also be expressed in terms of forming intersections.

We have now defined two of the fundamental operations on sets and we have seen how each is related to set inclusion. The next obvious step is to see how they are related to one another. The facts here are given by the distributive laws:

and

These properties depend only on simple logic applied to the meaning of symbols involved. For instance, the first of the two distributive laws says that and element is in A and B or C precisely when it is in A and B or A and C. We can convince ourselves of the validity of these laws by drawing pictures (Venn Diagrams). The second distributive law is illustrated in Figure 4 where is formed on the left by shading and on the right by cross shading. A moment’s consideration by the reader ought to convince him that one gets the same sets in both cases.

The last of our major operations on sets is the formation of complements. The complement of a set A, denoted by is the set of all elements not in A. Since the only elements we are considering are those which make up U, it goes without saying — but it ought to be said that consists of all elements of U which are not in A. Symbolically:

Figure 5 in which is shaded indicates this operation. The operation of forming complements has the following obvious properties:

.

Further, it is related to set inclusion by , and to the formation of unions and intersections by

.

In words, the above laws, called De Morgan’s Laws, can be beautifully related as: The complement of union of two sets is the intersection of the complements; the complement of the intersection of two sets is the union of the complements.

Or, in yet other words, the first De Morgan law says: an element is not in either of the two sets precisely when it is outside of both; and the second De Morgan law can be expressed as: an element is not in both sets precisely when it is outside of one or the other.

The operations of forming unions and intersections are primarily binary operations, that is, each is a process which applies to a pair of sets and yields a third. We have emphasized this by our use of parentheses to indicate the order in which the operations are to be performed, as in , where the parentheses direct us first to unite and , and then to unite the result of this with . Associativity makes it possible to dispense with parentheses in an expression like this and to write where we understand that these sets are to be united in any order and the order in which we do it is irrelevant (that is, all possible different orders yield the same result). Similar remarks apply to . Furthermore, if is any finite class of sets, then we can form

in much the same way without any ambiguity of meaning whatever. In order to shorten the notation, we let be the set of subscripts which index the sets under consideration. I is called the index set. We then compress the symbols for the union and intersection just mentioned to and . For the sake of both brevity and clarity, these sets are often written and .

These extensions of our ideas and notation don[‘t reach nearly far enough. It is often necessary to form unions and intersections of large (really large!) classes of sets. Let be an entirely arbitrary class of sets indexed by a set I of subscripts. Then,

.

And,

define their unions and intersections.

As above, we usually abbreviate these notations in and and if the class consists of a sequence of sets, that is, if , then their unions and intersections are often written in the form and . Observe that we did not require the class to be non-empty. If it does happen that the class is empty, then the above definitions give (remembering that all sets under consideration are subsets of U) and . The second of these facts amounts to the following statement: if we require of an element that it belongs to each set of the class, but there be no set present in the class, then every element satisfies this requirement. (We call this as the school of “vacuous logic” in theory of sets.) Note that if we had not made the explicit assumption that all sets under consideration are to be considered as subsets of U, we would not be able to fix a meaning to the intersection of an empty class of sets. A moments reflection makes it clear that the De Morgan equations are valid for arbitrary unions and intersections: (we can write a little proof also; it is easy):

Complement of arbitrary union is intersection of complements.

Complement of arbitrary intersection is union of complements.

**********************

It is instructive to verify the above general De Morgan laws for the case in which the class is empty. We present the answers below:

Consider the first general DeMorgan law: . Now, as , so and hence, the LHS is whereas RHS Is same as LHS. QED.

Now, consider the second generalized De Morgan Law:

, which we want to verify when the class of sets is empty. Consider and so , which is our LHS. Now let us see RHS: which is same as LHS. QED.

**********************

We conclude our treatment of the general theory of sets with a brief discussion of certain special classes of sets which are of considerable importance in topology, logic, and measure theory. We usually denote classes of sets by capital letters in **boldface. **

First some general remarks which will be useful both now and later, especially in connection with topological spaces. We shall often have occasion to speak of *finite unions and finite intersections*, by which we mean unions and intersections of finite classes of sets, and by a finite class of sets we always mean one which is empty or consists of n sets for some positive integer n. If we say that a class of sets **A** is closed under the formation of finite unions, we mean that **A** contains the union of each of its finite subclasses; and since the empty subclass qualifies as a finite subclass of **A** , we see that its union, the empty set, is necessarily an element of **A.** In the same way, a class of sets which is closed under the formation of finite intersections necessarily contains the universal set.

Now, for the special classes of sets mentioned above. For the remainder of this section, we specifically assume that the universal set is non-empty. A *Boolean algebra of sets* is a non-empty class **A **of subsets of U which has the following properties:

(i)

(ii)

(iii) .

Since **A** is assumed to be non-empty, it must contain at least one set A. Then, property iii above shows that also, so that also. Moreover, also. Since the class consisting of only the empty set and the Universal set is also clearly a boolean algebra of sets, these two distinct sets are the only ones which every Boolean algebra of sets must contain. It is equally clear that the class of all subsets of U is also a Boolean algebra of sets. *There are many other less trivial kinds, and their applications are manifold in fields of study as diverse as electronics and statistics.*

Let **A** be a Boolean algebra of sets. It is obvious that if is a non-empty finite sub-class of **A** then

and are both sets in **A**; and since **A **contains both the empty set and the universal set, it is easy to see that **A **is a class of sets which is closed under the formation of finite unions, finite intersections and complements. We now go in the other direction, and let **A** be a class of sets which is closed under the formation of finite unions, finite intersections, and complements. By these assumptions, **A **automatically contains the empty set and the universal set, so it is non-empty and is easily seen to be a Boolean algebra of sets. We conclude from these remarks that Boolean algebras of sets can be described alternatively as classes of sets which are closed under the formation of finite unions, finite intersections, and complements. It should be emphasized once again that when discussing Boolean algebras of sets, we always assume that the universal set is non-empty.

One final comment. We speak of Boolean algebras of sets because there are other kinds of Boolean algebras than those which consist of sets, and we wish to preserve this distinction. We explore this topic further in our Appendix on Boolean algebras.

Problems:

- If and are two classes of sets such that , prove that and .

Answer 1: Recall that a class of sets means a set of sets. By this definition, the following obviously holds: . But, the second claim (I have yet to prove it for myself): .

2. The difference between two sets A and B, denoted by , is the set of all elements in A and not in B, thus . Show that the following holds true:

3. The symmetric difference of two sets A and B, denoted by , is defined by ; it is thus the union of their differences in opposite orders. Prove the following:

….that is, symmetric difference is associative

…that is, symmetric difference is commutative

Distributive law like relation: prove:

4. A ring of sets is a non-empty class **A** of sets such that if A and B are in **A**, then and are also in **A. **Show that **A** must also contain the empty set, , and . Prove that if a non empty class of sets contains the union and difference of any pair of its sets, then it is a ring of sets. Prove that a Boolean algebra of sets is a ring of sets.

5. Show that the class of all finite subsets (including the empty set) of an infinite set is a ring of sets but is not a Boolean algebra of sets.

6. Show that the class of all finite unions of closed open intervals on the real line is a ring of sets but is not a Boolean algebra of sets.

7. Assuming that the universal set U is non-empty, show that Boolean algebras of sets can be described rings of sets which contain U.

Let me host the solutions after a while.

Regards,

Nalin Pithwa

# Mathematical Morsels : IV

The words set and space are often used in loose context to one another. A set is merely an amorphous collection of elements, without coherence or form. When some kind of algebraic or geometric structure is imposed on a set, so that its elements are organized into a systematic whole, then it becomes a space.

# Equivalence relations and partitions: some core basic theorems

Suppose R is an equivalence relation on a set S. For each a in S, let [a] denote the set of elements of S to which a is related under R, that is,

We call [a] the equivalence class of a in S under R. The collection of all such equivalence classes is denoted by S/R, that is, . It is called the quotient set of S by R.

The fundamental property of an equivalence relation and its quotient set is contained in the following theorem:

**Theorem I:**

Let R be an equivalence relation on a set S. Then, the quotient set S/R is a partition of S. Specifically,

(i) For each , we have .

(ii) if and only if .

(iii) If , then [a] and [b] are disjoint.

*Proof of (i):*

Since R is reflexive, for every and therefore .

*Proof of (ii):*

Assume: .

we want to show that . That is, we got to prove, (i) and (ii) .

Let ; then, . But, by hypothesis and so, by transitivity, . Accordingly, . Thus, .

To prove that , we observe that implies, by symmetry, that . Then, by a similar argument, we obtain . Consequently, .

Now, assume .

Then by part (i) of this proof that for each , we have . So, also, here ; hence, .

*Proof of (iii):*

Here, we prove the equivalent contrapositive of the statement (iii), that is:

If then .

if then there exists an element with . Hence, and . By symmetry, , and, by transitivity, . Consequently, by proof (ii), .

The **converse of the above theorem is also true. **That is,

**Theorem II:**

Suppose is a partition of set S. Then, there is an equivalence relation on S such that the set of equivalence classes is the same as the partition .

Specifically, for , the equivalence in Theorem I is defined by if a and b belong to the same cell in P.

Thus, we see that there is a one-one correspondence between the equivalence relations on a set S and the partitions of S.

*Proof of Theorem II:*

Let , define if a and b belong to the same cell in P. We need to show that is reflexive, symmetric and transitive.

(i) Let . Since P is a partition there exists some in P such that . Hence, . Thus, is reflexive.

(ii) Symmetry follows from the fact that if , then .

(iii) Suppose and . Then, and . Therefore, . Since P is a partition, . Thus, and so . Thus, is transitive.

Accordingly, is an equivalence relation on S.

Furthermore,

.

Thus, the equivalence classes under are the same as the cells in the partition P.

More later,

Nalin Pithwa.

# Some more foundation mathematics — notions from set theory: Tutorial problems

It’s a strange way of starting a lecture that I adopt..sometimes…I first give my students quizzes or exams…Here is some foundation mathematics for my deserving students and also, if any of my reader is interested:

**Basic Notions from Set Theory:**

**Reference: Introduction to Analysis, Maxwell Rosenlicht, Dover Publications,
**

Dover Pub, math link: http://store.doverpublications.com/by-subject-mathematics.html

**Exercises:**

**Question 1:**

Let be the set of real numbers and let the symbols have their conventional meanings:

a) Show that

b) List the elements of

c) Show that

**Question 2:**

If A is a subset of the set S, prove that :

2a)

2b)

2c)

2d)

**Question 3:**

Let A, B, C be elements of a set S. Prove the following statements and illustrate them with diagrams:

(a) … a De Morgan law. In words, it can be said that the union of two complements is the complement of the intersection of the two.

(b)

(c) .

**Question 4:**

If A, B, C are sets, then prove that :

i)

ii)

iii)

iv)

**Question 5:**

Let f be a non-empty set and for each , let X be a set. Prove that

(i) for any set B, we have :

(ii) if each is a subset of a given set S, then

**Question 6:**

Prove that if , , and are functions, then

**Question 7:**

Let be a function, let A and B be subsets of X, and let C and D be subsets of Y. Prove that:

(i)

(ii)

(iii)

(iv)

(v)

(vi)

**Question 8:**

(a) Prove that a function f is one-to-one if and only if for all .

(b) Prove that a function f is onto if and only if for all .

Cheers,

Nalin Pithwa

PS: These tutorial problems can be used for IIT JEE Maths, Pre RMO, RMO Maths etc. also.

# Some foundation mathematics

**Well-Ordering Principle:**

Every non-empty set S of non-negative integers contains a least element; that is, there is some integer a in S such that for all b’s belonging to S.

*Because this principle plays a role in many proofs related to foundations of mathematics, let us use it to show that the set of positive integers has what is known as the Archimedean property.*

**Archimedean property:**

If a and b are any positive integers, then there exists a positive integer n such that .

**Proof:**

*By contradiction:*

Assume that the statement of the theorem is not true so that for some a and b, we have for every positive integer n. Then, the set consists entirely of positive integers. By the Well-Ordering Principle, S will possess a least element, say, . Notice that also lies in S; because S contains all integers of this form. Further, we also have contrary to the choice of as the smallest integer in S. This contradiction arose out of original assumption that the Archimedean property did not hold; hence, the proof. **QED.**

**First Principle of Finite Induction:**

Let S be a set of positive integers with the following properties:

a) the integer 1 belongs to S.

b) Whenever the integer k is in S, the next integer is also in S.

Then, S is the set of all positive integers.

**Second Principle of Finite Induction:**

Let S be a set of positive integers with the following properties:

a) the integer 1 belongs to S.

b) If k is a positive integer such that belong to S, then must also be in S.

Then, S is the set of all positive integers.

So, in lighter vein, we assume a set of positive integers is given just as Kronecker had observed: “God created the natural numbers, all the rest is man-made.”

More later,

Nalin Pithwa.