Professional Documents
Culture Documents
Singapore University of
Technology & Design
Advanced Math 1
Week 01 - Lecture 1
1 / 38
Information Set Theory (Self-study) Logic Proof
2 / 38
Information Set Theory (Self-study) Logic Proof
Outline
Information
Logic
Proof
3 / 38
Information Set Theory (Self-study) Logic Proof
Practical information
4 / 38
Information Set Theory (Self-study) Logic Proof
Practical information
Lectures: Slides will be on eDimension before the lecture.
However I will write on the slides, so take notes.
Exams: 2 midterms (6 June & 11 July) and a final exam
(17 Aug.).
Homework: 9 homework, which are due on Mondays at 6pm.
Copying or letting others to copy homework will be
punished equally.
Pre-cohort A checklist of concepts that will help you to
checklist: prepare for the cohort sessions. You need to
submit the checklist personally at the beginning of
the cohort session.
Course All details about the course (% of assessment,
description: syllabus, policies, etc.) are stated in the course
description available at eDimension. Please read
through it.
5 / 38
Information Set Theory (Self-study) Logic Proof
Practical information
A few hints on how to do well here at SUTD!
• Learn and understand the material!
• Retain the knowledge, you need it for other courses.
• Read the textbooks (before the lecture and the cohort
session), complete the pre-cohort checklist (before the
cohort session).
• If something is not clear...
• Try to look it up (book/internet/etc).
• Try looking at examples.
• Discuss it at Piazza.
• Come to office hours and ask.
• Ask the instructors in the cohort session.
• Go to help sessions (Fridays, 1:30pm-3:30pm at Cohort
Classroom 14 (2.507), starting from week 2).
• Talk to your peers!
• Practice makes perfect!!
6 / 38
Information Set Theory (Self-study) Logic Proof
Practical information
• Advanced Math 1 is a required subject which students
must pass in order to proceed to Advanced Math 2 and
Introduction to Design in Term 2.
• Failures will have to attend the bootcamp, which will be
held from 27th August to 7th September. The attendance
of the bootcamp is compulsory, failing to attend the
bootcamp will result in an immediate failure of the
bootcamp.
• Do not plan for any overseas trip during the bootcamp
period if you are in the danger zone of failing the course
based on your performance during the term (consult your
instructors if you are not sure).
• Students have to sit for a bootcamp exam at the end of the
bootcamp. Students who fail the bootcamp exam will have
to retake the course in the next academic year.
7 / 38
Information Set Theory (Self-study) Logic Proof
Prerequisites
8 / 38
Information Set Theory (Self-study) Logic Proof
Notations
Notation: A : B means A is defined to be B. We use this to
introduce/define the new symbol A, whereas B is something
that we already know.
E.g.:
1.
Notations
E.g.:
1. 1 1 2.
2. 2
4 12 .
10 / 38
Information Set Theory (Self-study) Logic Proof
Outline
Information
Logic
Proof
11 / 38
Information Set Theory (Self-study) Logic Proof
Sets
Sets are one of the fundamental concepts in mathematics.
Definition:
Informally, a set is a collection of distinct objects. These ob-
jects are called the elements of the set.
E.g./Notations:
• The set of all students in SUTD.
t1, 3, 4, 13u.
•
• tsun, moon, earthu.
• t0, 2, 4, 6, 8, . . .u.
The curly brackets t u are the standard notations used to
represent a set. The things inside the curly brackets are the
elements of the set.
We use three dots ". . . " to represent the rest of the elements
when the pattern is clear.
12 / 38
Information Set Theory (Self-study) Logic Proof
Examples of sets
13 / 38
Information Set Theory (Self-study) Logic Proof
Elements, subsets
Notation: The symbol P means ‘is an element of’, where as R
means ‘is not an element of’.
E.g.:
• 1 P t1, 3, 4, 13u.
• 7 P Z.
• π R Z.
Notation: In general, writing a slash { over a symbol means
‘not’.
Definition:
A set X is a subset of a set Y if every element of X is also an
element of Y . We write this as X Y .
E.g.:
t u Z.
• 1, 3, 4, 13
• Q R.
• R / Z.
R
• Z R, but Z R.
14 / 38
Information Set Theory (Self-study) Logic Proof
Equal sets
Definition:
Two sets, X and Y , are equal precisely when X Y and Y
X . We write this as X Y .
E.g.: S1 : t integers that are multiple of ten u,
S2 : t integers with zero as their last digit u.
For any element x P S1 , x is a multiple of ten, so x 10n for
some integer n. Thus the last digit of x is 0 and x P S2 . We
have just shown that S1 S2 .
For the opposite inclusion, for any element y P S2 , the last digit
y
of y is 0 and so 10 is an integer, say k . Thus y 10k and
y P S1 . This shows that S2 S1 .
With S1 S2 and S2 S1, we conclude that S1 S2.
4! Remember this method, especially when the two sets are
very complicated and you can’t eyeball that they are equal.
15 / 38
Information Set Theory (Self-study) Logic Proof
4! Make sure you understand this notation, you will see it a lot
16 / 38
Information Set Theory (Self-study) Logic Proof
Set operations
Definition:
The union of sets A and B, denoted by A Y B, is the set whose
elements are either in A or B (or both).
The intersection of sets A and B, denoted by A X B, is the set
whose elements are in both A and B.
These notions can be represented on a Venn diagram.
Set operations
Definition:
Let A, B be two sets. The complement of A relative to B, de-
noted by B zA, is the set of elements of B that are not in A,
i.e.
B zA : tx P B : x R Au.
Definition:
Let A U (U is called the universal set, it should be clear in
the given context), the complement of A, denoted by Ac , is the
set of elements of U that are not in A, i.e. Ac U zA.
18 / 38
Information Set Theory (Self-study) Logic Proof
Outline
Information
Logic
Proof
19 / 38
Information Set Theory (Self-study) Logic Proof
Logic
Definition:
A proposition is a statement that has a truth value: it is either
true (T) or false (F) but not both.
20 / 38
Information Set Theory (Self-study) Logic Proof
NOT
Definition:
The negation of a proposition p can be denoted by ‘NOT p’.
NOT p has the opposite truth value to p. We can express this
using a truth table:
p NOT p
T F
F T
E.g.: p : 7 is divisible by 3.
NOT p : 7 is not divisible by 3.
E.g.: q : John attended every lecture of Math 1.
AND and OR
Definition:
Let p, q be propositions. ‘p AND q’ is only true when both p
and q are true and false otherwise.
‘p OR q’ is true when p is true or q is true, or both (i.e. inclusive)
and false otherwise.
p q p AND q p q p OR q
T T T T T T
T F F T F T
F T F F T T
F F F F F F
22 / 38
Information Set Theory (Self-study) Logic Proof
E.g.: Let P be the set of all prime numbers, let E be the set of
all even numbers. Then P X E is the set of numbers that are
prime AND even, i.e. P X E t2u; P Y E is the set of numbers
that are prime OR even.
23 / 38
Information Set Theory (Self-study) Logic Proof
Conditional propositions
Definition:
Let p, q be propositions. The proposition ‘if p, then q’ is de-
noted by p ñ q. p ñ q can be defined by its truth table:
p q p ñq
T T T
T F F
F T T
F F T
25 / 38
Information Set Theory (Self-study) Logic Proof
Logical equivalences
Definition:
The proposition ‘pp ñ q q AND pq ñ pq’ is denoted by p ô q.
This is read as ‘ p if and only if q ’ (abbreviated as p iff. q), ‘ p
is equivalent to q ’ or ‘ p is a necessary and sufficient condition
for q ’.
For p ô q to be true, p and q must have the same truth values:
p q p ôq
T T T
T F F
F T F
F F T
De Morgan’s laws
Theorem: (de Morgan’s laws)
1. NOT ( p OR q ) ô ( NOT p ) AND ( NOT q ).
2. NOT ( p AND q ) ô ( NOT p ) OR ( NOT q ).
Proof: We will prove the first law; the second one is similar. We
just have to show the truth value of ‘ NOT ( p OR q ) ’ is always
the same as the truth value of ‘ ( NOT p ) AND ( NOT q ) ’.
Quantifiers
Many mathematical statements can be written in the form ‘ for
all x, there exists a y , such that ... ’ .
E.g.: For all x ¡ 0, there exists a y P Q, such that 0 y x.
Notations:
@
• ‘ For all x ’ (or ‘ for every x ’) is denoted by x.
D
• ‘ There exists a y ’ (or ‘ for some y ’) is denoted by y .
4
! These concepts are very different; do not mix them up!
If you think you have mastered logic and want to have some fun
with it, try solving the Knights and Knaves logic puzzle at
http://philosophy.hku.hk/think/logic/knights.php.
30 / 38
Information Set Theory (Self-study) Logic Proof
Outline
Information
Logic
Proof
31 / 38
Information Set Theory (Self-study) Logic Proof
32 / 38
Information Set Theory (Self-study) Logic Proof
Given p, prove q
33 / 38
Information Set Theory (Self-study) Logic Proof
Proof by contradiction
However, you can assume that p is false (i.e. NOT p) and then
explore the consequences, etc, until you arrive at a conclusion
that is false.
34 / 38
Information Set Theory (Self-study) Logic Proof
Answer:
We proceed by contradiction. Assume that there are only
finitely many primes and so we can list them all : p1 , p2 , . . . , pk .
If and only if
36 / 38
Information Set Theory (Self-study) Logic Proof
Conclusion
Any Questions?
38 / 38