FCM
FCM
Abstract Mathematics
Introduction to Mathematical Logic & Set Theory
Volume 1
AUREA Z. ROSAL
ii
Preface
Mathematics can not live on computations alone, but by every rule that
proceeds out of the concepts of logic and set theory.
Excuse the lame imitation to a famous Biblical verse, but the author be-
lieves that the above is true.
It is with these in mind that the author, in her first attempt in writing a
book, has deemed it necessary to start where the beginning should be.
This work is an introductory book to the concepts of mathematical logic
and set theory. It is designed to be a textbook to a one semester course in,
you guessed it right, mathematical logic and set theory. A good command of
the English language as well as a little a mathematical maturity are to the
user’s advantage but not necessity. Students are also advised to somehow
“forget” about common sense and instead stick to the definitions and rules
of reasoning given in the book.
Do enjoy reading and using the book, and feel free to contact the author in
any comments you want to give or any errors you have noticed.
a.z.rosal
[email protected]
Contents
1 Communication in Mathematics 1
2 Logic 5
2.1 Proposition . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Negation and Compound Statements . . . . . . . . . . . . . . . 9
2.2.1 Negation, Disjunction, Conjunction . . . . . . . . . . . . 9
2.2.2 Conditional and Biconditional . . . . . . . . . . . . . . . 15
2.2.3 Truth Tables . . . . . . . . . . . . . . . . . . . . . . . . 18
2.3 Tautologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.3.1 Propositional Calculus . . . . . . . . . . . . . . . . . . . 23
2.4 Arguments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.4.1 Direct Method of Proof . . . . . . . . . . . . . . . . . . 30
2.4.2 Indirect Method of Proof . . . . . . . . . . . . . . . . . 34
2.4.3 Some Challenging Examples . . . . . . . . . . . . . . . 36
3 Sets 39
3.1 Roster and Rule . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.2 Set Relations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.2.1 Null set, Universal set . . . . . . . . . . . . . . . . . . 41
3.2.2 Equal Sets, Subset, Superset . . . . . . . . . . . . . . 42
3.2.3 Power Set . . . . . . . . . . . . . . . . . . . . . . . . . 45
3.3 Set Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.3.1 Complementation, Union, Intersection, Difference, Sym-
metric Difference, Cartesian Product . . . . . . . . . . . 46
iii
iv CONTENTS
Chapter 1
Communication in
Mathematics
Mathematics, like love and poetry are discussed in sentences. This may not
be obvious to a lot of people, as many mathematical sentences are presented
in a format far different from what most are accustomed to. For example,
A∩B =φ (1)
2
3x − 2x + 3 = 0 (2)
may not seem like sentences to some, but indeed they both are. Sentence
(1) is read:
1
2 CHAPTER 1. COMMUNICATION IN MATHEMATICS
We shall assume that the readers know what a sentence or a statement is,
and the difference between the adjectives true and false. Also, our concern
will be declarative sentences that are either true or false (but not simulta-
neously both).
The meaning of a word is either given formally using other terms already
known to us, by experiencing examples of its use or by sensing the common
properties of the examples.
Since mathematics has to begin somewhere (or else, this discussion may
not see its end), mathematicians have agreed to accept the existence of
mathematical terms even without the benefit of a formal definition, or if
they are just intuitively defined. They are known as the “undefined terms”.
Some of these terms are: points, line, set, collection, element, belonging.
There are statements though which are accepted as true only after a
proof has been given to establish its validity. These statements are known
as theorems. A proof is a chain of statements leading implicity or ex-
plicitly from the axioms, definitions or previously proven theorems, to the
statement under consideration, convincing us to agree that the given state-
ment is in fact true. The method by which a proof is established follows the
rules of logic, either inductively or deductively.
These rules, together with the foundations of set theory, will be discussed
in this course.
4 CHAPTER 1. COMMUNICATION IN MATHEMATICS
Chapter 2
Logic
Logic is the study of the methods and principles used to distinguish good (or
correct) from bad (or incorrect) reasoning. Logic focuses on the relationship
among statements rather than to the content of just one statement. Consider
the following:
In the above set of statements, common sense would tell us that the
above argument can not be true. But if the first two statements are assumed
to be true, logic assures us that the statement
Logical statements may not make (common) sense. Most of the time,
people tend to confuse common sense with logic. In the study of logic, it is
advised that one has to somewhat “leave” common sense behind and focus
on the rules of reasoning instead.
5
6 CHAPTER 2. LOGIC
2.1 Proposition
As what we have discussed in Chapter 1, we shall focus on declarative sen-
tences which may be determined to be either true or false (but not simulta-
neously both). Consider the following sentences.
4. Zero is composite.
5. 3x − 4 = 0
9. I am bored!
In the above example, (1.), (3.), (4.), (7.) and (8.) are propositions. Al-
though, (8.) seems a bit odd and may not seem to be common sensical.
However, after studying the rules of logic, you can rest assure that (8.) in-
deed is a logical statement. Sentence (10.) is a proposition since it is a
declarative sentence, and although existence of life in Mars is still a contro-
versial issue, we can say that either it is true or false but not both.
Hb 2.1.1.
2. q: Dogs fly.
4. r: Today is Monday.
√
5. v: 2 is prime.
The following section will discuss how two or more propositions may be
combined to form another proposition.
Exercises 2.1.1.
Determine which of the following is a proposition. Indicate reason why
or why not.
6. If x > 5 then x = 3.
7. 5 + 9 = 3
9. Hello, sister!
10. 10x2 − 4x + 2
11. The University of Sto. Tomas is the oldest school in the Philippines.
1. p : 3 − 6 = 5.
∼ p : 3 − 6 6= 5.
Definition 2.2.2. A proposition which can not be broken down further into
two or more smaller sentences is called simple or elementary proposi-
tion.
Hb 2.2.2. Let
p: 3 > 0
q: 7 + 8 = 3
r: Charice will hold a concert in Tutuban Mall.
s: Charice will brush her teeth.
t: The dog is a mammal.
u: The dugong is a mammal.
Then
1. p ∨ q: Either 3 > 0 or 7 + 8 = 3
Hb 2.2.3.
Note that all of the above statements are exor statements as the elemen-
tary statements that form the compound propositions can happen at the
same time. In general, if p is a proposition, then the proposition p∨ ∼ p is
an exclusive or statement. Furthermore, this proposition is always true for
any proposition p.
Note 2.2.1. If p and q are propositions, then we can see that p ∧ q is false
if at least one of p and q is false.
Hb 2.2.4.
r : Alec is studying.
Exercises 2.2.1.
I. Give the negation of the following statements.
1. The sun rises in the east.
2. Every mother has a husband.
3. |x − 2| ≥ 3.
4. There exists a rooster that lays eggs.
5. x3 − 8 < 0.
II. Given the following simple propositions, form the compound state-
ments as required.
1. The set of real numbers is infinite while the set of letters in the
English language is finite.
2. Either the sun revolves around the Earth or it is a made up of
ice.
3. Either Joy or Gina is going to Hong Kong to go shopping.
4. Kangaroos and koala are either marsupials or monotremes.
5. Amie is going to the market to buy fish and pork but not eggs.
6. Jesus is my Savior and He is also my Lord.
2.2. NEGATION AND COMPOUND STATEMENTS 15
Hb 2.2.6. Let
√
p: 5 is irrational.
q: 5 is odd.
w: π is an algebraic number.
Then,
√
1. p → q : If 5 is irrational, then 5 is odd.
√
2. p → w : If 5 is irrational, then π is an algebraic number.
If p → q, then:
q → p is its converse
16 CHAPTER 2. LOGIC
∼ q →∼ p is its contrapositive
∼ p →∼ q is its inverse.
Hb 2.2.7.
Then:
1. If a → b, then its:
converse is b → a : If you clean your room, then Nanay will give you
your allowance.
contrapositive is ∼ b →∼ a: If you will not clean your room, then
Nanay will not give you your allowance.
inverse is ∼ a →∼ b: If Nanay will not give you your allowance, then
you will not clean your room.
(a) converse
(b) contrapositive
(c) inverse
(p → g) ∧ (g → p).
b : 4 is prime.
d : 8 is a perfect cube.
e : 6 + 9 = 10
f : A whale is a mammal.
Then:
Exercises 2.2.2. Which of the propositions above are true and which are
false? Justify.
As we have said earlier, definitions are conjunction of two conditional
statements. We also said that they are indeed biconditional statements.
How do we show that this is so? We have the following theorem.
Theorem 2.2.1. If p and q are propositions, then the propositions (p →
q) ∧ (q → p) is logically equivalent to p ↔ q.
As of this time, we have not yet developed tools that we may use in order
to prove the above theorem. To remedy this, we now introduce a method of
showing the truth values of compound propositions depending on the truth
values of their component parts.
18 CHAPTER 2. LOGIC
The following are the basic truth tables of the sentential forms we have
discussed earlier.
Table 2.1: ∼ p
p ∼p
1 0
0 1
Table 2.2: p ∨ q
p q p∨q
1 1 1
1 0 1
0 1 1
0 0 0
Table 2.3: p ∧ q
p q p∧q
1 1 1
1 0 0
0 1 0
0 0 0
Table 2.4 proves Theorem 2.2.1. From the table, we could see that
(p → q) ∧ (q → p) ⇔ (p ↔ q) since their truth values agree relative to the
truth values of p and q. Hence, we could say that one can replace the other
when the need arises.
Truth tables may be used to list all possible truth values of any conpound
proposition, although the table might be big for compound propotions that
2.2. NEGATION AND COMPOUND STATEMENTS 19
tmay contain 3 or more simple propositions. Suppose there are n distinct el-
ementary propositions that consists the compound proposition. How many
rows and combinations of 1’s and 0’s will there be in the table? Since there
are two choices of truth value for each elementary proposition, then there are
2n possible rows for the truth value of the compound proposition. There will
be a total of 2n−1 1’s and 0’s for each column of the elementary propositions.
Table 2.5: (p → q) ∧ (q → r)
p q r p→q q→r t
1 1 1 1 1 1
1 1 0 1 0 0
1 0 1 0 1 0
1 0 0 0 1 0
0 1 1 1 1 1
0 1 0 1 0 0
0 0 1 1 1 1
0 0 0 1 1 1
where
t : (p → q) ∧ (q → r)
20 CHAPTER 2. LOGIC
Exercises 2.2.3.
Construct the truth tables for the following compound propositions.
1. (p ∨ q) ∧ r
2. [(u → v) ∧ (u → w)] → (u → (v ∧ w)
3. (u ∨ w)∧ ∼ w
4. ∼ (t ∧ s) ↔ (t∨ ∼ s)
5. [(a ∨ b) ∨ c] ↔ [a ∨ (b ∨ c)]
2.3 Tautologies
A proposition is said to be a tautology iff its sentential form always gen-
erates a true truth value. On the other hand, a proposition whose senten-
tial form always generates a false truth value is called a contradiction.
A proposition that is neither a tautology nor a contradiction is known as a
contingency . A tautology is sometimes symbolized by t and a contincengy
by c. A conditional statement which is a tautology is called an implica-
tion, while a biconditional that is a tautology is a called an equivalence.
An implication is denoted by “⇒”while an equivalence is denoted by “⇐⇒”.
If p ⇐⇒ q, then we say that p and q are equivalent. Notice that the defini-
tion equivalence above is consistent with our new definition.
The proposition,
“The sun is hot.”
is a true proposition but not a tautology. This is so since its sentential form
p can take the truth values True or False. Thus, a tautology should not be
mistaken for a true proposition.
The statement
“If it is given that, if 10 is prime then 12 is odd, and if 12 is
odd, then 5 is irrational, thus, if 10 is prime then 5 is irrational.”
is a tautology, even if none of the elementary propositions above is true. To
prove that above is a tautology, we represent each elementary proposition by
propositional variable and form the sentential form. Next, we construct the
truth table in order to determine the possible truth values of the sentential
form.
2.3. TAUTOLOGIES 21
p : 10 is prime.
o : 12 is odd.
i : 5 is irrational.
where:
s : (p → o) ∧ (o → i)
t:p→i
u:s→t
If we let,
e : 8 is even.
m : 49 is a multiple of 7.
Then statement can be written as, (e → m) ∧ (e∧ ∼ m). The truth table
of the sentential form is seen below.
Observe that the last column of Table 2.7 consists of all 0’s. Thus,
22 CHAPTER 2. LOGIC
(e → m) ∧ (e∧ ∼ m)
is a contradiction.
1. (p → w) ∨ s
2. ∼ p ∨ q
3. [(j → z) ∧ (∼ z)] →∼ j
4. u ∧ (v ∨ w)
5. (u ∧ v) ∨ (u ∧ w)
1. [∼ (p ∨ q)] ↔ (∼ p∧ ∼ q)
2. [(p ∨ q)∧ ∼ p] → q
3. (∼ p ∨ q) ∧ (p∧ ∼ q)
4. [(f → g) ∧ (f → h)] → (f → (g ∧ h))
5. (w∨ ∼ r) ∧ (∼ w ∨ r)
2. p∧ ∼ p is a contradiction.
3. [(a → b) ∧ a] ⇒ b. This is known as the Modus Ponens.
4. [(a → b)∧ ∼ b]⇒∼ a. This is known as the Modus Tollens.
5. [(m ∨ n)∧ ∼ m] ⇒ n. This is known as the Disjunctive Syllo-
gism.
1. The statement, “It is not true that the sun is not hot.”is equivalent to
saying “The sun is hot.”
3. The statement, “An nth degree polynomial has n roots and 5 is even.”is
a contingency.
7. The statement “The moon is round and 10 is both even and odd.” is
a contradiction.
The above theorem completes our rules of replacement. The next set
of theorems will give us the Rules of Inference. Rules of inference are
implication laws. In these laws, propositions to the left of the implication
symbol are sufficient conditions for the propositions on the right. The propo-
sitions to the right of the implication symbol is called necessary conditions
for propositions on the left.
1. Law of addition p =⇒ (p ∨ q)
2. Law of simplification (p ∧ q) =⇒ p
3. Modus ponens ((p → q) ∧ p) =⇒ q
4. Modus tollens ((p → q)∧ ∼ q) =⇒∼ p
5. Hypothetical syllogism ((p → q) ∧ (q → r)) =⇒ (p → r)
6. Disjunctive syllogism ((p ∨ q)∧ ∼ p) =⇒ q
7. Absurdity (p → 0) =⇒∼ p
8. [(p → r) ∧ (q → s)] =⇒ [(p ∨ q) → (r ∨ s)]
9. (p → q) =⇒ [(p ∨ r) → (q ∨ r)]
10. (0 → p) =⇒ 1
11. (p → 1) =⇒ 1
Hb 2.3.3.
3. “Either the Seven Dwarfs have taken growth pills or Snow White has
eaten a spoiled apple. Snow White did not eat a spoiled apple. Hence,
the Seven Dwarfs have taken growth pills.” is logically true.
4. The following is also true: “If π is rational, then snakes could fly.”
√
5. This is also true: “If 10 is imaginary then the kangaroo is a marsu-
pial.”
2.3. TAUTOLOGIES 27
Exercises 2.3.2.
I. Using the tautologies given in the section, prove or justify why the
following are tautologies. Assume that p, q and r are propositions.
1. (p∧ ∼ q) →∼ q
2. ((∼ p ∨ q) ∧ p) → q
3. (p ∨ q) ↔ (∼ p → q)
4. (p ∨ q) ↔ (∼ q → p)
5. (p ∨ (q∧ ∼ p)) ↔ (p ∨ q)
6. (p → (q ∨ r)) ↔ ((p → q) ∨ r)
7. (p ↔ q) → (p → q)
8. ((p ∨ q) → r) → (p → r)
9. (p∧ ∼ p) → p
10. (p∧ ∼ p) → q
1. (∼ p ∧ q) → (∼ q ∨ p)
2. (p → (q ∨ r)) → ((p → q) ∨ r)
3. (p ∧ q) ↔ q
4. ((p ∧ q) → r) → (p → r) (q∨ ∼ q) → (q∧ ∼ q)
III. Which of the following propositions are tautologies and which are not?
Justify your answers.
2.4 Arguments
We always hear people argue on certain things and more often than not,
nobody wins. This is so since the arguers do not meet on the same level. In
logic, how does one define an argument and how do we win an argument?
(p1 ∧ p2 ∧ · · · ∧ pk ) −→ q
p1
p2
..
.
pk
q
Every theorem under the rules of inference is a valid argument and may
be written vertically too.
Conjunction
p
q
p∧q
p ∨ (q → r)
q∨r
r→p
p
p → (q → r)
q∨r
r→p
p
Having tested an argument for validity, we then prove its validity using
any of the two methods: direct or indirect.
Principle of Demonstration2
2. si a tautology
Hb 2.4.3.
p→q
r →∼ q
p →∼ r
Proof:
Step Proposition Reason
1. p→q Given
2. r →∼ q Given
3. ∼ (∼ q) →∼ r 2., Contrapositive
4. q→∼ r 3., Double negation
5. p→∼ r 1. and 4., Hypothetical syllogism
(u ∨ v) →∼ r
u
∼r
2
Kurtz, David C., Foundations of Abstract Mathematics, 1992, Mc Graw Hill-
Singapore
32 CHAPTER 2. LOGIC
Proof:
Step Proposition Reason
1. (u ∨ v) →∼ r Given
2. u Given
3. u∨v 2., Law of addition
4. ∼r 1. and 2, Modus ponens
Exercises 2.4.1.
(∼ g ∨ f ) → (a → b)
∼g∧h
(d∧ ∼ g) → (b → d)
g∨d
a→d
2.4. ARGUMENTS 33
11.
a→b
f→ d
a∧e
∼d
g∨d
b∧ ∼ f
12. p =⇒ (q∨ ∼ q)
II. Write the following arguments into sentential forms. Identify well your
variables and prove or disprove the arguments.
Contrapositive law. (p → q) ⇐⇒ (∼ q →∼ p)
Hb 2.4.4.
1.
Prove:
2.4. ARGUMENTS 35
p ∨ (q → r)
q∨r
r→p
p
Proof:
1. ∼p Negation of conclusion
2. p ∨ (q → r) Given
3. q→r 2., Disjunctive syllogism
4. r→p Given
5. ∼r 1., and 4., Modus tollens
6. q∨r Given
7. q 5., and 6., Disjunctive syllogism
8. r 3., and 7., Modus ponens
9. r∧ ∼ r 8., and 5., Conjunction
10. C 9., Negation of the
Law of excluded middle
2.
Prove:
n→k
(n ∧ p) → k
It is easy to show that the above argument is valid. We now use the
contrapositive law.
Proof:
36 CHAPTER 2. LOGIC
Hb 2.4.5.
i→d
∼i→p
∼ d∧ ∼ p
m
The conclusion in the first argument does not involve any of the elemen-
tary propositions in the hypothesis. Thus, assigning any truth value to the
conclusion may not seem to have any effect on the premises, and the usual
test of validity may not be useful. This may not be apparent at first, but we
may still assign truth values to the premises to test validity of the argument.
Bear in mind that if the hypothesis is false, regardless of the truth value of
the conclusion, the argument is still true. We take some cases.
f
c∨ ∼ c
Again, the conclusion may not seem to have anything to do with the
premise. However, since the conclusion is always true by the law of ex-
cluded middle, then any hypothesis may preceed it. Thus, the argument is
valid.
Exercises 2.4.2.
True or False.
Sets
x∈Γ
is read: “The object (element) x belongs to (is an element of) the set Γ”.
If for example, Γ is the set of letters in the word “conclusion”, then x may
be any of the letters, c, o, n, l, u, s, i.
In the roster method, the names of the elements of the set are listed
down horizontally, in any order, only once and are separated by commas.
This list is now enclosed in braces.
39
40 CHAPTER 3. SETS
Hb 3.1.1.
1. M = {x, y, pencil, 1}
2. Σ = {0, a, b, 3}
There are cases though, when it is not possible to enumerate all the
elements of a set, or at least give an idea of what the other elements of the
set are by just listing some of the elements (such as in the case of Z). In
this case, we can use the rule method. Rule method may also be used for
sets with large number of elements, provided the elements have common
conditions that they satisfy.
In the rule method, we use what we call the set builder notation.
This notation looks like:
A = {x|p(x)}
The above may be read as: “The set A of all elements, say, x, such that
the statement P (x) is true.” p(x) is called the defining condition satisfied
by the elements of the set A. Given any object, y, if p(y) holds, then y ∈ A,
otherwise, we say that y is not in A. Essentially, p(x) enables us to decide
whether or not x is in A. Another way of using the rule method is by writing
the conditions without the braces. For example: “D = set of all integers
greater than 3”.
Hb 3.1.2.
1. B = {x ∈ Z|x > 3}
2. N = {(x, y)|x2 + y 2 = 9}
4. Υ = {w ∈ Z||w| < 5}
2. What are the elements of the collection of all dogs that can fly?
There are cases when the elements of the sets being considered at any
given time may belong to a bigger set. For example, the set of all letters
in the word ”Mississippi” and the set of all vowels in the English alphabet
are all elements of the set of English alphabet. Similarly, the elements of
{x ∈ R|x2 − 1 = 0} and {2, 3, 5, 7} are members of the set Z. These bigger
sets are known as universal sets. Intuitively, a universal set is a set of all
elements being considered at any given time. Usually, we denote a universal
set by U. The idea of a universal set is similar to that of universe of discourse
of a given propositional function. Notice that if A = {x ∈ U |p(x)}, then A
is precisely the truth set Tp of p(x).
Definition 3.2.1. Two sets A and B are said to be equal if every element
of A is found in B and every element of B is found in A. We denote this
relation by the A = B and read: ”A is equal to B.”
(b) {r ∈ R|r2 + 1 = 0}
Remark 3.2.1.
If U 6= ∅ is a universal set and p(x) and q(x) are propositions over U, then
p(x) ⇔ q(x) iff Tp = Tq .
Thus, to show that A = {x|p(x)} and B = {x|q(x)} are equal, we may just
show that p(x) and q(x) are equivalent statements.
(i) Reflexivity: A = A
The set of roosters that lay eggs = ∅, and ∅ = {r ∈ R|x2 + 1 = 0}. Thus,
the set of roosters that lay eggs = {r ∈ R|r2 + 1 = 0}.
Proof.
Suppose the theorem is not true, that is, ∅ * A for some set A. Then it
follows that there exists an element x of ∅, such that x ∈
/ A. This contradicts
the definition of ∅. Consequently, ∀A, ∅ ⊆ A. –TN –
44 CHAPTER 3. SETS
1. J ⊆ Z
2. M ⊆ Q. What is the relationship between M and V ?
3. Z ⊂ K. Why?
4. What can you say about U and K?
Hb 3.2.3.
Definition 3.2.3. If A is a set, then the set of all subsets of A is called the
power set of A. In symbols,
P(A)= {B|B ⊆ A}
Proof.
n
X
Recall the binomial expansion, (a + b)n = n Ci (a
n−i i
b ), where n Ci =
i=0
Pn
n!
(n−i)!i! . For a = b = 1, then (1 + 1)n = (2)n = i=0 n Ci .
Definition 3.3.2. Let A and B be sets. The union of A and B is the set
A ∪ B = {x|x ∈ A or x ∈ B}.
3.3. SET OPERATIONS 47
Remark 3.3.2. Because of the use of the connective “or”, A ∪ B has three
possibilities. If x ∈ A ∪ B, then
1. x ∈ A but not in B
2. x ∈ B but not in A
3. x ∈ A and x ∈ B.
Hb 3.3.2.
1. A ⊆ A ∪ B.
2. A ∪ ∅ = A
3. If A ⊆ C, then A ∪ C = C
4. A ∪ B = B ∪ A
5. A ∪ (B ∪ C) = (A ∪ B) ∪ C.
Proof.
4. The proof makes use of the definition of union and the commutativity
of disjunction.
5. Exercise
–TN –
Hb 3.3.3.
1. A ∩ B ⊆ A
2. A ∩ B = B ∩ A
3. A ∩ ∅ = ∅
3.3. SET OPERATIONS 49
4. A ∩ (B ∩ C) = (A ∩ B) ∩ C.
5. (A ∩ B) ⊆ (A ∪ B).
6. (Distributive Law)
(a) A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
(b) A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)
Proof.
4. Exercise
6. To be done in class.
–TN –
Hb 3.3.4.
(a) U = {d, e, v, l, o, p, m, n, t, c, s, i, r, a}
(b) K ∩ L = {d, e, o, n, t}
(c) K 0 = {c, s, i, r, a}
(d) L0 = {v, l, m, p}
(e) (K ∩ L)0 = {v, l, p, m, c, s, i, r, a}
(f ) K 0 ∪ L0 = {c, s, i, r, a, v, l, m, p}
(g) What can you say about (K ∩ L)0 and K 0 ∪ L0 ?
50 CHAPTER 3. SETS
1. (A ∪ B)0 = A0 ∩ B 0
2. (A ∩ B)0 = A0 ∪ B 0
The first identity shall be proven here. The other one is left for you to
do.
Proof.
To show (A ∪ B)0 = A0 ∩ B 0 , we show that (A ∪ B)0 ⊆ A0 ∩ B 0 and
A ∩ B 0 ⊆ (A ∪ B)0 .
0
Thus, (A ∪ B)0 = A0 ∩ B 0 .
–TN –
Hb 3.3.5.
A − B = {x ∈ A|x ∈
/ B}.
Hb 3.3.6.
1. Let A = {−21, 32, −19, 0, 11, 12} and B = {52, 0, 34, −12, −21, 13, 12},
then A − B = {32, −19, 11} and B − A = {52, 34, −12, 13}.
Clearly, A − B 6= B − A.
|A ∪ B| = |A| + |B| − |A ∩ B|
Exercises 3.3.1. I. Describe the following finite sets by listing their ele-
ments.
1. The set of all integers whose absolute value is less than or equal
to 5.
2. The set of all integers whose distance from 5 is less than or equal
to 8.
3. The set of all integral divisors of 105.
4. The set of all positive integral divisors of 105.
5. The set of all living mathematicians 200 years old and above.
52 CHAPTER 3. SETS
1. A = {x ∈ R| x2 − 2x − 15 ≥ 0}
2. The set of all real numbers x greater than 2 and satisfies
x2 − 2x − 15 ≤ 0
3. S = {n ∈ Z| n2 + 3n − 12 < −2} ∪ {n ∈ Z| |n| > 2}.
4. B = {w ∈ R| |x| > 5 but |x − 5| < 6}.
Suppose S = {−4, −3, −1, 0, 5, 6, 10}, T = {−5, −4, −2, 0, 1, 6, 8}. Then
S ∪ T = {−5, −4, −3, −2, −1, 0, 1, 5, 6, 8, 10}, S ∩ T = {−4, 0, 6} and (S ∪
T ) r (S ∩ T ) = {−5, −3, −2, −1, 1, 5, 8, 10}. The set (S ∪ T ) r (S ∩ T ) is
called the symmetric difference of S and T .
Definition 3.3.6. Let A and B be sets, then the set A4B := (A∪B)r(A∩B)
is called the symmetric difference of A and B.
Remarks 3.3.1.
Since A ∪ B = B ∪ A and A ∩ B = B ∩ A, then (A ∪ B) r (A ∩ B) =
(B ∪ A) r (B ∩ A). Consequently, A4B = B4A or symmetric difference is
commutative.
The element (x, y) is called an ordered pair and x and y are coordinates of
(x, y). In general, if A1 , A2 , . . . An are nonempty sets, then the Cartesian
product
An := A1 × A2 × . . . × An .
Hb 3.3.7.
Let A = {a, b} and B = {1, 2, 3}, then
1. A × B = {(a, 1), (a, 2), (a, 3), (b, 1), (b, 2), (b, 3)}
2. B × A = {(1, a), (1, b), (2, a), (2, b), (3, a), (3, c)}
3. A2 = {(a, a), (a, b), (b, b), (b, a)}
1. β = {(x, y)|x2 + 4y 2 = 9}
2. f = {(x, y)|y = 2x + 3}