Matematisk Lingvistik VT97:03
Exercise class 1
Deadline
These exercises are supposed to be handed in on Thursday April 10.
These exercises cover chapter 1 and 2 from the course book.
Notation
Because of the limitation of the range of characters in HTML I cannot
display every character I need.
I will use the following replacements in this exercise:
A /\ B the intersection of A and B
A \/ B the union of A and B
P(A) the power set of A
A <= B A is a subset of B
A < B A is a proper subset of B
R-1 the inverse of relation R
idA the identity relation over set A
F o G the composition of F and G
Definitions
In these exercises we will use the definitions for
6
sets,
2
relations and
1
function.
A = { a , b , c , d , e }
B = { d , e }
C = { b }
D = { { b } , c }
E = Ø
U = A \/ B \/ C \/ D \/ E universe
F = { <a,b> , <b,c> , <c,d> } relation from A to A
G = { <b,e> } relation from C to B
H = { <d,b> , <e,b> } function from B to C
Exercises
-
Determine which of the following statements are true:
- b is an element of A
- c is an element of B
- d is an element of E
- b is an element of D
- C is an element of D (the C is a capital character!)
-
Determine which of the following statements are true:
- B <= A
- C <= D
- { C } <= D
- E < B
- E < E
-
Compute the elements of
- C \/ D
- A /\ B
- (A - D ) \/ C
- D' - B
- ( C /\ B )' /\ E
-
Use the laws presented in figure 1.7 (p18) of the course book to prove
that for any sets X, Y and Z:
- ( X \/ Y ) /\ Z' = ( X - Z ) \/ ( Y - Z )
- ( Y /\ X' )' \/ ( Z \/ Y ) = U
-
Compute the elements of
- AxC
- ( CxA ) - ( CxB )
-
Compute the elements of the relation
R = { <x,y> | x is an element of A and y is an
element of A and x immediately precedes y in the alphabet }
-
Is F a function?
Is G a function?
Motivate your answers.
-
Compute F' and compute G-1.
-
Determine if function H is into, onto, one-to-one or many-to-one
and determine if it is a one-to-one correspondence.
-
H can also be interpreted as a relation from A to A.
Compute H o F for this interpretation and
find a relation J such that J o F = F.
Each exercise is worth 1 point.
Last update: April 09, 1997.
erikt@stp.ling.uu.se