Professional Documents
Culture Documents
Discrete Mathematics
Chapter 1 Fundamental
Content
Sets and Subsets
Operations and Notions of Sets
Sequences – explicit and recursive patterns
Properties of integers
Division of integers
Matrices and its operations
1
Sets and Subsets
One way to describe a set with a finite number of elements is by listing the
elements of the set between braces. E.g 1,2,3
1,2,3
Element – We indicate x is an element of the set A by x A and not element of
A by x A
Example:
Example:
2
Subsets
3
Operations on Sets
Union
Intersection
Complement
Example:
4
Symmetric Difference
U
A U
B A
B
A B
Associative Properties
5
Addition Principles
Example
6
Sequences
Explicit
A formula that tells exactly what value any particular
term has.
Example:
7
Sequence (Con’t)
The set corresponding to a sequence is simply the set of all
distinct elements in the sequence. E.g: The set corresponding to
the sequence a,b,a,b,a,b,… is simply {a,b}.
Exercise
8
Characteristic Functions
Example:
9
Induction and Recursion
Example
10
Division in the integers
Example:
26 = 2.13
12 = 2.2.3 = 22.3
24 = 2.2.2.3 = 23.3 2299 = 11.11.19 = 112.19
11
Least Common Multiple (LCM)
12
Example: Theorem 5
13
Boolean Matrix Operations
Boolean matrix (also called a bit matrix) is an m x n matrix
which entries are either zero or one
Worked Example
1 1 1
1 1 1
1 1 1
1 1 0
14
Boolean Product
Worked Example
* Note:
e11 = 1 since row 1 of A and column 1 of B each
has a 1 as the first entry.
e12 =1 since a12=1 and b22=1 i.e. the first row of A
and the 2nd column of B have 1 in the 2nd position
15
Exercise
Exercise
Let A = {1,2,3,4,5}, B = {2,4,6,8,10} and C = {8,10,12}.
Find ( A B ) C if A B ( A B ) ( B A).
(5 m)
16
Exercise
Exercise
Let U = {0,1,2,3,4,5,6,7,8,9,10}
A x U 0 x 2and B x U 1 x 4.
(i) A B
(ii) A B
(iii) A B
17