Professional Documents
Culture Documents
1.1. Introduction
Definition A set (or class) is an unordered collection of objects, which are arranged in
a group, The set with any numbers use the symbol braces { }, and will be denoted by
Capital letters A, B, C,…..
The objects in a set are called the elements, or members of the set. A set is said to
contain its elements. The objects comprising the set are called its elements or members
and will be denoted by lower case letters a, b, c, … . . We write a ∈ X when a is an element
of the set X . we read a ∈ X as " a is a member of X" or "a is an element of X " or "a
belongs to X"
For describing sets there are two ways of describing, or specifying the members of, a set.
One way is by using a rule or semantic description:
A is the set whose members are the first four positive integers.
1
B is the set of colors of the Iraqi flag.
Which reads "S is the set of x such that x is an integer and x is greater than 5 and less
than 15".
The second way is by extension – that is, listing each member of the set. An extensional
definition is denoted by enclosing the list of members in curly brackets:
We use some special symbols for some sets .Unless otherwise specified
2
Definition: The universal set U is the set containing everything currently under
consideration. or all the sets under consideration will likely to be subsets of a fixed set
called Universal Set
Definition: A set which has no element is called the null set or empty set and is
symbolized by Φ (phi) or {}. The empty set is different from the set containing the
empty set:Φ ≠ {Φ }
A ∪ B={x ∨x ∈ A ∨ x ∈ B ∨both }
3
General union of several sets:
A1 ∪… ..∪ A n={x∨x ∈ A1 ∨… ..∨ A n }
The intersection of two sets is the set consisting of those elements that elements of both
sets. The intersection of two sets A and B is denoted by A ∩ B.
A ∩ B={ x∨x ∈ A ∧ x ∈ B }
The intersection of {a, b, c} and {b, c, d} is the set {b, c}.
Two sets A and B are called mutually exclusive if their intersection is empty. Mutually
exclusive sets are also called disjoint.
One way to determine whether two sets A and B are mutually exclusive is to check
whether set B can occur when set A has already occurred and vice versa. If it cannot,
then A and B are mutually exclusive. For example, if a single coin is tossed, the two
sets, {heads} and {tails}, are mutually exclusive since {tails} cannot occur when
{heads} has already occurred and vice versa.
The complement of a set A, denoted by AC, is the set of elements which belong to U
but which do not belong to A.is defined by
Ac = { x ∈U|but x ∉ A }
The difference between sets A and B, denoted A − B is the set containing the
elements of A that are not in B. Formally:
A−B={x∨x ∈ A ∧ x ∉ B }=A ∩ B c
A−B is also called the complement of B with respect to A (relative complement.)
4
Similarly B−A= { x : x ∈ B∧x ∉ A }=B ∩ A c
A B B A A B
c
A
ca A
ii. How many students did not own either a car or a stereo?
5
Solution
U=100
cars stereos
b. Fill in the number of students who own both cars and stereos, which would be in the
intersection of the two sets:
U=100
Cars 35 Stereos
c. Fill in the remaining numbers for the two sets. In this case, since a total of 45
students own cars, and 35 have already been listed, then 45 - 35 = 10 students own cars
only. Similarly, since 75 students own stereos and 35 have already been listed, then
75 - 35 = 40 students who own stereos only:
U=100
Cars 35 Stereos
10 40
Since there are 100 students in the universe, then the complement is founded
by subtracting those who own either a car or stereo from the total number of
students surveyed.
Or 100 - 85 = 15.
Explains the basic properties and laws of sets, i.e. the set -theoretic operations
of union, intersection, and complementation. It also explains the relations of
set equality and set inclusion. Systematic procedure for evaluating expressions, along
with performing calculations which involve these operations and relations are included
as well.
1. A ∪ A= A
7
A ∩ A=A
2. ( A ∪ B ¿ ∪ C= A ∪( B ∪ C)
( A ∩ B)∩C= A ∩(B ∩C )
3. A ∪ B=B ∪ A
A ∩ B=B ∩ A
4. A ∪( B ∩C)=( A ∪ B) ∩( A ∪C)
A ∩( B ∪ C)=( A ∩ B)∪( A ∩C )
Identity: if Φ is an empty set, A is any given set and U is universal set then:
5. A ∪ Φ=A
A ∩U =A
6. A ∪ U=U
A ∩Φ=Φ
Proof
if x ∈ A ∩Φ then x ∈Φ
Hence A ∩Φ ⊆ Φ … ..(2)
7. A ∪ A c =U
A ∩ Ac =Φ
8.U c =Φ
Φ c =U
Proof
9. (Ac)c = A
De-Morgan's laws: In set theory, we have two laws related to this law
10. ( A ∪ B )c =A c ∩ B c
( A ∩ B ) c = Ac ∪ B c
Proof
∴ x ∈ A c ∨x ∈ Bc Definition of complement
x ∈ A c ∪ Bc Definition of union
9
∴( A ∩ B)c ⊆ A C ∪B c Definition of subset
2. If x ∈ A c ∪ Bc
∴ x ∈ A c ∨x ∈ Bc Definition of union
1.6.2. Duality
is ( A ∩ B ) ∪ ( A ∩ BC )= A ∩U )
Observe that the laws in 1.6.1 are duals for each other.
Theorem (1.1) If A and B are disjoint finite set, then A ∪B is finite and
n( A ∪ B)=n (A )+ n( B)
Theorem (1.2) If A and B are finite sets, then A ∪ B∧ A ∩ B are finite and:
n( A ∪ B)=n ( A )+ n( B) – n( A ∩B)
Example (1.6) If A and B be two sets containing 3 and 6 elements respectively, what
can be the maximum number of elements in A ∪B ? Find also, the minimum number of
elements in A ∪B .
Solution
11
n( A ∪ B)=n (A )+ n(B) – 0=n ( A )+ n(B)=3+6=9
n( A ∪ B)max=9
n( A ∪ B) min=6.
Example (1.7) suppose that 100 of 120 students at a college take at least one of the
languages French, German and Russian, also suppose 65 study French, 45 study
German, 42 study Russian, 20 study French and German, 25 study French and
Russian and 15 study German and Russian.
Find number of students who study all three languages and to fill in correct number
of students in each of the eight regions.
Solution
Let F, G and R denote the sets of students studying French, German and Russian
respectively. Then the Venn diagram shown as below
F G
12
n(F ∪G∪ R)=n ( F)+n(G)+n( R) – n(F ∩G)– n( F ∩ R) – n(G ∩ R)+n( F ∩G∩ R)
10
42 – 17 – 8 – 7 = 10 study only Russian. R
Definition The set of all subsets of a set S is called the power set of S.
It is denoted by P(S) or 2S. Every power set of any set A must contain the set A itself and
the empty set, In particular , S ∈ P ( S )∧Φ ∈ P(S )
A5
A2
A1
A4 A6
A3
Then (i) is not a partition of S since 6 in S does not belong to any of the subsets.
Furthermore, (ii) is not a partition of S since {2, 3, 7, 10} and {6, 7, 9} are not disjoint.
On the other hand, (iii) is a partition of S.
1.10. Mathematical Induction
We review mathematical induction and some of its applications.
Mathematical induction is an important proof technique for establishing a
property holds of all nonnegative integers 0, 1, 2, . . . , n, . . .
Principle of Mathematical Induction.
Let P be a property of positive integers such that:
k ( k +1 )
We have P ( k )=1+2+3+ … … .+k = k ≥ 1… … (1)
2
Add to both sides of (1) (k+1) , we have
k ( k + 1)
1+2+3+… … .+ k + ( k +1 )= +(k +1)
2
15
k ( k +1 ) +2(k +1)
1+2+3+… ..+ ( k + 1 )=
2
(k +1)(k + 2)
¿
2
n3 - n is divisible by 3 for n ϵ Z
+ ¿¿
P(1) : 13 – 1 = 0 is divisible by 3
16
Step 1: For n = 1, 21 = 2 > 1
Hence P(1) is true.
Step 2: Assume P(K) is true for every positive integer K i.e. 2k > k
Step 3: To show that P(k + 1) is true , we may prove
2k +1>(k +1)
From (1) we have
2k >k
Multiplying both sides by 2, we get,
2k .2>2 k
2k +1>2 k
2k +1> k +k > k +1
P(k + 1) is true when P(k) is true. Hence, by principle of mathematical induction,
P(n) is true for every positive integer n.
Problems
17
b . {x :x is aninteger such that x 2−3=0 } (Ans:Φ ¿
18
1.6. We form the union of a set with 5 elements and a set with 9 elements. Which
of the following numbers can we get as the cardinality of the union: 4, 6, 9, 10, 14,
20 ?(Ans:9, 10, 14)
1.8. What is the symmetric difference of the set Z+ of non-negative integers and
the set E of even integers (E = {. . . − 4, −2, 0, 2, 4, . . . }contains both negative
and positive even integers). (Ans: The set of negative even integers and positive
odd integers.)
1.9. Prove that if A ⊂ B then i. A ∩ B= A ii . A ∪B=B
a . x ∈ { x } b . { x } ⊆ { x } c . { x } ∈{ x }
d . { x } ∈ { { x } } e . Φ ⊆ { x } f .Φ ∈ {x }
a . ( U ∩ A ) ∪ ( B ∩ A ) =A .¿
19
a . A ⊆ B if ∧only if A ∩ B c=∅
b . A ⊆ B if ∧only if A c ∪ B=U
c . A ⊆ B if ∧only if A ¿=∅
1.14. Find the power set P (A) of A = {1, 3, 5}.
[Φ , {1 }, {3 }, {5 },{1 ,3 },, {1,5 },{3 ,5 },{1 ,3 , 5 }]
1.15. Let A and B be arbitrary sets. Show that ( A−B ) ∩ B=Φ
1.17. Determine whether or not each of the following is a partition of the set N of
positive integers:
n
a(1−r n+1)
vi. ∑ a r k = , n>0 where r ≠ 1
k=0 1−r
1 1 1 n
v. + +… .+ = for all integers n≥ 1
1.2 2.3 n ( n+1 ) n+1
20
iii. n3 >2 n+1 for all integers n ≥ 2.
1 1 1
iv . + + …+ > √ n for n>1
√1 √ 2 √n
v .(1+ x )n ≥ 1+nx for x ∈ N , N is positive integer
1.20. For any positive integer n, Prove by using mathematical induction that:
21