Speaking Mathematically: Discrete Structures I
Speaking Mathematically: Discrete Structures I
Winter 2013
Conditional statement
If ..., then ...
Universal conditional statement
For all [] ..., if ..., then ...
Universal existential statement
For all [] ..., there is [] ...
E.g., Every real number has an additive inverse.
-> For all real number r, there is an additive inverse for r.
-> real number r, -r r + (-r) = 0.
Existential universal statement
There is [] ... such that [] ...
E.g., Some positive integer is less than or equal to every positive integer.
-> There is a positive integer such that the number is less than or equal to every
positive integer.
-> a positive integer m positive integer n, m n
Interesting examples
Let A = {1, 2, 3}, B = {3, 1, 2} and C = {1, 1, 2, 3, 3, 3}. How are A, B,
and C related?
Is {0} = 0?
Is {1, {1}} a set?
Is {1, a, b} a set?
For each nonnegative integer n, let Un = {n, -n}. Find U1, U2, and U0.
An interesting notation
{x S | P(x)} meaning ???
the set of elements in S that satisfy P.
E.g.,
{x Z | -2 < x < 5} = { ??? }
{x N | -2 < x < 5} = { ??? }
Interesting example
Which of the following are true statements?
a) 2 {1, 2, 3}
b) {2} {1, 2, 3}
c) 2 {1, 2, 3}
d) {2} {1, 2, 3}
e) {3, 1, 2} {1, 2, 3}
f) {2} {{1}, {2}}
g) {2} {{1}, {2}}
Is A × B equal to B × A?
Examples
Let A = {1, 2, 3} and B = {1, 2}
a) Find A × B
b) Find B × A
c) Find B × B
Example
Let A = {1, 2} and B = {1, 2, 3} and define a relation R from A to B as
follows: Given any (x, y) A × B, x R y means that (x – y) / 2 is an
integer.
a) Can you give a diagram for R?
b) Is 1 R 3? Is 2 R 3? Is 2 R 2?
c) What are the domain and co-domain of R?
1 A 1 A
2 B 2 B
3 C 3 C
D D
TRU-COMP1380 Speaking Mathematically 12