Discrete Math - Lecture 1
Discrete Math - Lecture 1
Lecture 1
Colin Hill
Lecture 1 Discrete Mathematics – MATH 1006 1 / 31
The teaching team
Leanne Rylands
Subject coordinator
L.Rylands @ WesternSydney.edu.au
Colin Hill
Lecturer, tutor
c.hill @ WesternSydney.edu.au
Charles Zworestine
Campbelltown tutor
c.zworestine @ WesternSydney.edu.au
Chad Clark
Parramatta tutor
chad.clark @ WesternSydney.edu.au
Sherwin Bagheri
Penrith, Parramatta tutor
This week
Catalan numbers
Sets
F1 = 1:
F2 = 2:
F3 = 3:
F4 = 5:
What is F0 ?
(a) (b)
In case (a), there are Fn−1 ways to climb the remaining n − 1 steps.
In case (b), there are Fn−2 ways to climb the remaining n − 2 steps.
So Fn = Fn−1 + Fn−2 .
That is, “to get the next number, add the previous two”.
Lecture 1 Discrete Mathematics – MATH 1006 7 / 31
Chapter 1.
The first few terms are 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, . . .
1 2 t
3 4
t
1
1 1
1 t
2 1 2 t
How many 3-second walks are there? i.e., what is c3 ?
c4 = 14. Can you find all 4-second walks?
What is c0 ?
Lecture 1 Discrete Mathematics – MATH 1006 11 / 31
SLIDE 8 CHANGE ORDER F and RR....
The first few terms are 1, 1, 2, 5, 14, 42, 132, 429, 1430, . . .
Exercises
What are the possible orderings on wagons once they are all
at B? How many orderings are there? What if there were n
wagons?
C
A 1 2 3 B
A 1 2 3 B
Possible arrangements:
Can’t do 231!
So there are only 5 possible arrangements.
A 1 2 3 B
Definition (set)
Definition (cardinality)
Definition (subset)
Then A ⊆ B, A 6⊆ C , C ⊆ B, B ⊇ C , C 6⊆ D, D 6⊆ C , C 6⊇ D.
Lecture 1 Discrete Mathematics – MATH 1006 25 / 31
Chapter 2. Sets
N Z Q R
7
√
7∈N −7 6∈ N 3 6∈ N 2 6∈ N
7
√
7∈Z −7 ∈ Z 3 6∈ Z 2 6∈ Z
7
√
7∈Q −7 ∈ Q 3 ∈Q 2 6∈ Q
7
√
7∈R −7 ∈ R 3 ∈R 2∈R
So N 6⊇ Z 6⊇ Q 6⊇ R.
Lecture 1 Discrete Mathematics – MATH 1006 26 / 31
Chapter 2. Sets
π is irrational.
e is irrational.
Theorem
At least one of e + π or e × π is irrational.
Nobody knows!
So P(A) = {B : B ⊆ A}.
Exercises
Write down the power sets of the following sets:
1 A = {1}, 3 C = {1, 2, 3}, 5 E = ∅.
2 B = {1, 2}, 4 D = {a, b, c},
Exercise