https://tomcircle.wordpress.com/2020/07/15/useful-summation-technique/#like-20869

# Notes I: Sets and Functions: Solutions

Problem 1:

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

Answer 1:

The first part is clear as the hypothesis says the set of sets is a subset of the set of sets . So, quite clearly . For the second part, we can use the generalized De Morgan’s laws. (Note: if you try to derive it straight, you will prove exactly what is opposite of the required result :-)). For the second part note that . Using the result in the first part, that is, consider and now take the complement of both sides so we get: , that is, . QED.

Problem 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 the following:

(a).

Answer (a): is the set of elements , but not in B. Hence, , simply by definition. Again, if we consider elements in A or B or both, and then take away elements of B, we are just left with elements of A only, but not of B. That is, . QED. ps: A venn diagram may help visualize v well.

(b) TPT: (PS: a Venn diagram can help visualize and perhaps, guide the writing of the proof also).

Let , but . Then, , but , or , or not in both B and C. That is, . By reversing the argument, we get the other subset relationship. Hence, . QED.

(c) TPT: .

Answer (c): Let . That is, and . That is, . That is, , or x could be both in A and C. That is, . Simply reversing the arguments, we get the reverse subset relation. Hence, the two sets are equal. Hence, . QED.

(d) TPT: .

answer (d): let , but . Then, , or , or x is an element of both A and B, but x is not an element of C. Which clearly means, x is an element of A but not C, OR x is an element of B but not C. That is, (upon reversing the arguments, we get the other subset relations. Hence, the two sets are equal). QED.

problem (e): TPT: (once again, note that for set theoretic relations with up to three sets, venn diagrams are helpful to visualize and guide the proofs..)

answer (c): let , but not in . That is, x is an element of A, but not of B, not of C, or not both of B and C. That is, x is an element of A not of B, and x is an element of A not of C. That is, . Reversing the arguments, we get the other subset relationship. Hence, the two sets are equal. Hence, . QED.

Problem 3:

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

3(a) Symmetric difference is associative: .

Answer 3a: please refer a previous blog.

3(b): TPT: ; and . (this is some sort of ‘existence of additive inverse of ‘in a symmetric relation’).

Answer 3b: both results are obvious from definition.

3(c): TPT: Symmetric difference is commutative operation: .

answer 3c: By definition, LHS is , which is RHS. Hence, done.

3(d): TPT: Some sort of distributive law: .

answer 3d: Let , and also simultaneously . That is, , and . That is, . That is, . Reversing the arguments, we get the other subset relation. Hence, the two sets are equal. Hence, we can say “intersection distributes over symmetric difference.” QED.

Problem 4:

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

Answer 4(i): TPT: **A** must also contain the empty set, the set and the set . As is in **A**, so also ; now, it is already given that the ring of sets is non-empty, so it contains a non empty universal set also, call it U. We know from problem 2 in this blog that . As U exists, so does by definition and so is in **A. **Also, as exists, exists in **A**, but also exists in **A. ** QED.

Answer 4(ii): TPT: If a non empty class of sets contains the union and difference of any pair of the sets, then it is a ring of sets.

Let **A** be any non-empty class of sets. Clearly, it therefore has a non empty universal set. As , so also is contained in **A.** Hence, the complement of a set A is also in **A. **Now, , so is in **A**, that is, by De Morgan law, is in A. That is, again, is in **A**. Now, since is in **A**, hence, is in **A**, and since is in **A**, then is in **A **also. Hence, **A** is a ring of sets.

4(iii) TPT: Show that a boolean algebra of sets is a ring of sets.

Answer 4(iii); Firstly, as a boolean algebra of sets is non-empty, and it also contains the empty set and the Universal set. As A is in **A **implies that is in **A**, so is also in **A **(by definition of Boolean algebra), but this is precisely that is in **A. **Now, as clearly is also in **A.** Hence, a Boolean algebra of sets is a ring of sets.

Problem 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.

Answer 5:

In problem 4 above, we showed that if a non empty class of sets contains the union and difference of any pair of the sets, then it is a ring of sets. The given class is a subclass of all an infinite set such that it contains finite subsets only; that is, again, we know that finite unions of finite subsets and finite intersections of finite subsets also lie in that subclass, but the complements might be infinite sets so that it need not always be a Boolean algebra of sets.

Problem 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.

Answer 6:

Same reasoning as above tells us that it is indeed a ring of sets; but consider for example the closed-open interval , the complement of this is not in that class as it is an infinite interval so that it is not a Boolean algebra of sets.

Problem 7:

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

Answer 7:

As , by definition of Boolean algebras, is in this class of sets, so that the empty set is also a part of this class of sets. Again, by definition of Boolean algebras, the union of two sets of this class is also in this set so also the intersection of any two sets of this class is also in this class. So, for any two sets A and B, is also in this set (as complement of B exists), and so also, is also in this set. In other words, this is also a ring of sets.

Regards,

Nalin Pithwa

# Set theory: more basic problems to solve and clear and apply

I am producing the list of questions first so that the motivated reader can first read and try them …and can compare with my answers by scrolling down only much later; here we go:

- If and are two classes of sets such that , then prove that and .
- The difference between two sets A and B, denoted by , is the set of elements in A and not in B; thus, . Prove the following simple properties: (a) ; (b) ; (c) ; (d) ; (e)
- 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 : (a) Symmetric difference is associative : (b) (c) (c) Symmetric difference is commutative: (d) Some sort of distributive rule also holds:
- 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 . Show that if a non-empty class of sets contains the union and difference of sets any pair of its sets, then it is a ring of sets. Prove that a Boolean algebra of sets is a ring of sets. - 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.
- 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.
- Assuming that the universal set U is non-empty, show that Boolean algebras of sets can be described as a ring of sets which contain U.

I will put up my solutions as soon as I can.

Regards,

Nalin Pithwa.

# Symmetric difference is associative

We want to show that :

Part I: TPT:

Proof of Part I: let

Then, . By definition of symmetric difference,

Hence, , , OR ,

That is, .

Hence, , and

Hence, and .

Hence, .

Hence, , , but .

Therefore, , but . —- Call this I.

Consider .

Therefore, .

Therefore, , and

Therefore, , and .

Therefore, .

Hence, , , but .

That is, , . Call this II.

From I and II, .

Part II: TPT: .

Quite simply, reversing the above steps we prove part II.

QED.

Cheers,

Nalin Pithwa

# Set Theory: basic thinking and problem solving

# What is the use of Mathematics

Well, you might be asking this question in high school. You might have found that Math is a lot of formulae and manipulations similar to black magic in Algebra and wild imaginations in Geometry — I mean the proofs. So Math means prove this and that. Right?

I agree to some extent. Initially, it is sort of drab or *mechanical*. But, there is a good analogy. Think how you learnt writing the English alphabet — keep on drawing a big A, retracing it 10 times daily and perhaps, your Mom would have whacked you if you did not want to practise it. But, after you know English, the whole world of opportunities opens up for you; your vistas have widened. Exactly same is the case with Mathematics of high school and junior college. But, of course, there are applications of high school math which you learn later when you pursue…

View original post 565 more words

# The need for Math in Society: Sweden shows!

# Probability Theory Primer: part I

**Illustrative Example 1:**

What is the chance of throwing a number greater than 4 with a fair die whose faces are numbered from 1 to 6?

**Solution 1:**

There are 6 possible ways in which the die can fall, and of these two are the favourable events required.

Hence, required chance is .

**Illustrative example 2:**

From a bag containing 4 white and 5 black balls a man draws 3 at random; what are the odds against these being all black?

**Solution 2:**

The total number of ways in which 3 balls can be drawn is , and the number of ways of drawing 3 black balls is ; therefore, the chance of drawing 3 black balls is equal to

.

Thus, the odds against the event are 37 to 5.

**Illustrative example 3:**

Find the chance of throwing at least one ace in a single throw with two dice.

**Solution 3:**

In die games, there is no ace. We can pick up any number as an ace in this question. Once it is chosen, it is fixed.

So, the possible number of cases is .

An ace on one die may be associated with any of the six numbers on the other die, and the remaining five numbers on the first die may each be associated with the ace on the second die; thus, the number of favourable cases is 11.

Therefore, the required probability is .

**Illustrative example 4:**

Find the chance of throwing more than 15 in one throw with 3 dice.

**Solution 4:**

A throw amounting to 18 must be made up of 6, 6, 6 and this can occur in one way only; 17 can be made up of 6. 6. 5 which can occur in 3 ways; 16 may be made up of 6, 6, 4 and 6, 5, 5 each of which **arrangements **can occur in 3 ways.

Therefore, the number of favourable cases is , that is, 10.

And, the total number of cases possible is , that is, 216.

Hence, the required probability is .

**Illustrative example 5:**

A has 3 shares in a lottery, in which there are 3 prizes and 6 blanks; B has 1 share in a lottery in which there is 1 prize and 3 blanks; show that A’s chance of success is to B’s as 16:7.

**Solution 5:**

A may draw 3 prizes in one way; A may draw 2 prizes and 1 blank in ways; A may draw 1 prize and 2 blanks in ways; the sum of these numbers is 64, which is the number of ways in which A can win a prize. Also, he can draw 3 tickets in ways, that is, 84 ways.

Hence, A’s chance of success is .

B’s chance of success is clearly .

Therefore, the required ratio is .

**Tutorial questions:**

- In a single throw with two dice, find the chances of throwing (a) a five (b) a six.
- From a pack of 52 cards, two cards are drawn at random, find the chance that one is a knave and other is a queen.
- A bag contains 5 white, 7 black and 4 red balls. Find the chance that 3 balls all drawn at random are all white.
- If four coins are tossed, find the chance that there are two heads and two tails.
- One of two events must happen; given that the chance of one is two-thirds that of the other, find the odds in favour of the other.
- If from a pack four cards are drawn, find the chance that they will be the four honours of the same suit.
- Thirteen persons take their places at a round table, show that it is five to one against two particular persons sitting together.
- There are three events A, B, C, out of which one must, and only one can happen; the odds are 8 is to 3 against A; 5 to 2 against B; find the odds against C.
- Compare the chance of throwing 4 with one die, 8 with two dice and 12 with three dice.
- In shuffling a pack of cards, four are accidentally dropped; find the chance that the missing cards should be one from each suit.
- A has 3 shares in a lottery containing 3 prizes and 9 blanks; B has 2 shares in a lottery containing 2 prizes and 6 blanks; compare their chances of success.
- Show that the chances of throwing six with 4, 3 or 2 dice respectively are as
- There are three works, one consisting of three volumes, one of four volumens, and the other of one volume. They are placed on a shelf at random; prove that the chance that the volumes of the same works are all together is .
- A and B throw with two dice; if A throws 9, find B’s chance of throwing a higher number.
- The letters forming the word Clifton are placed at random in a row; what is the chance that the two vowels come together?
- In a hand, what is the chance that the four kings are held by a specified player?

Regards,

Nalin Pithwa.

# Compilation of elementary results related to permutations and combinations: Pre RMO, RMO, IITJEE math

**1. Disjunctive or Sum Rule:**

If an event can occur in m ways and another event can occur in n ways and if these two events cannot occur simultaneously, then one of the two events can occur in ways. More generally, if () are k events such that no two of them can occur at the same time, and if can occur in ways, then one of the k events can occur in ways.

**2. Sequential or Product Rule:**

If an event can occur in m ways and a second event can occur in n ways, and if the number of ways the second event occurs does not depend upon how the first event occurs, then the two events can occur simultaneously in mn ways. More generally, $if can occur in , can occur in ways (no matter how occurs), can occur in ways (no matter how and occur), , can occur in ways (no matter how the previous events occur), then the k events can occur simultaneously in ways.

**)3. Definitions and some basic relations:**

Suppose X is a collection of n **distinct **objects and r is a nonnegative integer less than or equal to n. An r-**permutation ****of X** is a selection of r out of the n objects but the selections are **ordered. **

An n-**permutation of X **is called a simply a **permutation of X.**

The number of r-permutations of a collection of n distinct objects is denoted by ; this number is evaluated as follows: A member of X can be chosen to occupy the first of the r positions in n ways. After that, an object from the remaining collections of objects can be chosen to occupy the second position in ways. Notice that the number of ways of placing the second object does not depend upon how the first object was placed or chosen. Thus, by the product rule, the first two positions can be filled in ways,….and all r positions can be filled in

ways.

In particular,

Note: An **unordered selection**** **of r out of the n elements of X is called an r-**combination of X. **In other words, any subset of X with r elements is an r-combination of X. The number of r-combinations or r-subsets of a set of n **distinct** objects is denoted by (read as ” n ‘choose’ r). For each r-subset of X there is a unique complementary -subset, whence the important relation = .

To evaluate , note that an r-permutation of an n-set X is necessarily a permutation of some r-subset of X. Moreover, distinct r-subsets generate r-permutations each. Hence, by the sum rule:

The number of terms on the right is the number of r-subsets of X. That is, . Thus, =.

The following is our summary:

- =

**4. The Pigeonhole Principle: Basic Version:**

**If n pigeonholes (or mailboxes) shelter n+1 or more pigeons (or letters), at least 1 pigeonhole (or mailbox) shelters at least 2 pigeons (or letters).**

**5. **The number of ways in which things can be divided into two groups containing m and n equal things respectively is given by :

Note: If , the groups are equal (and hence, indistinguishable), and in this case the number of different ways of subdivision is

**6. **The number of ways in which m+n+p things can be divided into three groups containing m, n, p things severally is given by:

Note: If we put , we obtain but this formula regards as different all the possible orders in which the three groups can occur in any one mode of subdivision. And, since there are 3! such orders corresponding to each mode of subdivision, the number of different ways in which subdivision into three equal groups can be made in ways.

**7. **The number of ways in which n things can be arranged amongst themselves, taking them all at a time, when p of the things are exactly alike of one kind, q of them are exactly alike of a another kind, r of them are exactly alike of a third kind, and the rest are all different is as follows:

**8. **The number of permutations of n things r at a time, when such things may be repeated once, twice, thrice…up to r times in any arrangement is given by: . Cute quiz: In how many ways, can 5 prizes be given away to 4 boys, when each boy is eligible for all the prizes? (Compare your answers with your friends’ answers :-))

**9.** The total number of ways in which it is possible to make a selection by taking some or all of n things is given by :

**10. **The total number of ways in which it is possible to make a selection by taking some or all out of things, whereof p are alike of one kind, q alike of a second kind, r alike of a third kind, and so on is given by : .

Regards,

Nalin Pithwa.

# III. Tutorial problems. Symmetric and alternating functions. RMO and IITJEE math

- Simplify:
- Simplify:
- Simplify:
- Simplify:
- Simplify:
- Factorize: . Put and
- Factorize: . Put .
- Factorize:
- Factorize:
- Express the following substitutions as the product of transpositions: (i) (ii) (iii)

Regards,

Nalin Pithwa.