Reflection of CSC165 Lec. 3 Sep. 27th.
3.1
Conjunctions, Disjunctions
3.1.1 Conjunctions
Conjunction is “the
action or an instance of two or more events or things occurring at the same
point in time or space.” It works almost the same as
"and" and they are interchangable.
The symbol of conjunction is "∧". This symbol are mostly used with predicates. Thus, if we
have two sets and there is an element belongs to both the sets, we should use
SET1 ∩ SET2 rather than SET1 ∧ SET2.
The using of and may sometimes lead to ambiguity. For example, we
say there are boys and girls in the groupX and let B(x) be he is a boy and G(x)
be she is a girl. Then the expression may be :
∃x∈X, B(x) ∧ G(x)
This statement could be said as: there exist a guy in the group X
who is both a boy and a girl, which is impossible.
The contradiction here comes from the
exclusive property between B(x) and G(x). They cannot be achieved on the
same person at the same time, though most of time the two predicates are
inclusive (The man is both happy and rich, I am tall
and strong) .
In the situation that the two statements are exclusive, we need to
manifest that the 'x' ∈ X is not the same x. In this
case, there exist a guy in group X who is a boy and another guy in group X who
is a girl. Thus, this statement may works better:
(∃x∈X, B(x)) ∧ (∃x∈X, G(x))
This solution is also given by the professor. However, I still think
using x two times may lead to confusion.
It is better to state like:
∀x,y ∈X, (∃x, B(x)) ∧ (∃y, G(x) ) ∧ y != x
This point is also endorsed in 3.2.2, which are the ways to avoid
ambiguity. I just reminded that the professor talked about Precise in the first
lecture. At that time I don’t really get his point, but in the process of
CSC165 studying, I found how important it is to be clear to state everything.
3.1.2 Disjunctions
Disjunctions Combine two statements by claiming that at least one of them
is true. It works quiet the
same as conjunction, so I will not repeat the same properties.
The symbol of disjunciton is '∨'.
Also, the ∨ with
two exclusive predicates may also lead to ambiguity. For example, we go to
either this Chinese restaurant for lunch or that Thai one for lunch. In
mathematical definition, the term 'or' could contain the meaning 'both'. But it
is impossible to go to both the Chinese restaurant and the Thai restaurant for
lunch. Thus, compare to
∀x ∈X, ∃x, C(x) ∨ T(x)
C(x): Go to Chinese restaurant
T(x): Go to Thai restaurant
Set X means all possible ways to have lunch
It is better to say:
∀x ∈X, (∃x, C(x)) ∨ (∃x, T(x))
To avoid ambiguity.
3.2
Negations
3.2.1
Negations
The concept of negation has been mentioned and emphasized in a lot
of courses like MAT137 and CSC108, but it is still confusing sometimes as the
rules of negation may change all the time according to different situations.
This time a practical way of negation is taught, which enables us to
negate a statement step by step. For example:
All Chinese people are male.
Set X means all people
C(x) means people who are Chinese.
M(x) means people who are male.
①.
Simply add 'Not' before the statement, so 'not all people in the world are
male', so in symbolic languague it becomes "¬(∀x ∈X, C(x) => M(x))"
②.
Diminish the scope or parenthesis by negating the statement part by part, so "¬(∀x ∈X,
C(x) => M(x))" would then become ∃x ∈ X, ¬(C(x) => M(x))
③.
Apply ② again and agin until the
negation sign just apply to the smallest possible part of the expression, so ¬(∀x ∈X, C(x) =>
M(x)) would finally becomes ∃x ∈ X, C(x) => ¬M(x)
3.2.2 Scope
Again, some expressions would be ambiguous. For example: P(x) ∨ Q(x)
=> R(x) may have two ways to understand.
- (P(x) ∨ Q(x)) => R(x)
- P(x) ∨ (Q(x) => R(x))
However, as the above shows, the statement with parenthesis would be
very clear.
Also, in 3.1.1 and 3.1.2, we mentioned the situation that ∨ and ∧ may
cause ambiguity when the two preconditions are exclusive. The solution here may
give all elements in the same set different names rather tha simply name them
'x'.
3.3 Truth tables, and some laws
3.3.1 Truth Table
Truth tables are used when there are more than two predicates as
Venn diagram would become to complicate. No matter how many predicates there
are, truth table would always present it in a clear form.
Then let's try to use Truth table to judge the statement. There are
two predicates P(x) and Q(x). We want to know if P ∧ Q, P ∧ ¬P, P ∨ ¬P are
true.
|
P & Q
|
P ∧ Q
|
P ∧ ¬P
|
P ∨ ¬P
|
|
T & T
|
T
|
F
|
T
|
|
T & F
|
F
|
F
|
T
|
|
F & T
|
F
|
F
|
T
|
|
F & F
|
F
|
F
|
T
|
There are three kinds of statement.
P ∧ Q is satisfiable as we need to determine
whether it is true or false. It is meaningful.
P ∧ ¬P is unsatisfiable or
contradiction, because P ∧ ¬P means both predicate P and
the negate of predicate P should be true, which would only left an empty set.
It is meaningless as its always false.
P ∨ ¬P is called tautology or
universal truth as it contains all possibilities. It is also meaningless as it
is always true.
3.3.2 Laws
There are a lot of laws could be applied in symbolic expression.
These laws may reduce our workload. The most important one is called De Morgan's Law:
¬(P ∨ Q) <=> ¬P ∧ ¬Q
¬(P ∧ Q) <=> ¬P ∨ ¬Q



