is the first coordinate of exactly one ordered pair in thought of as a subset of .
Not well-defined means it's not a function.
HW 24
Ben Finch
E 24.1
a) Yes, it is a function
b) No, it's not a function since .
c) Not a function, doesn't have
d) Not a function, 1 is assigned to two items in
e) Not a function, doesn't have
f) Yes, it is a function.
E 24.2
a)
b)
c)
d)
e)
E 24.3
Let be a finite set and let be any set. Let be a function. Considering as a set of ordered pairs, prove that .
Proof. Let be a finite set and let be any set. Let be a function. By definition 24.1, each must be the first coordinate of exactly one element in . Also, cannot have some element where . Thus if each is the first element of one element in , we know that .
E 24.4
a) The function is well defined Proof.
Let . Let . Then . Then for some . Now . Thus . Thus . So . Thus .
b) and are the same in but and are different in . So the function is not well defined.
c) The function is well defined. Proof.
Let . Let . Then . Then for some . Now . Thus . Thus . So .Thus .
d) and are the same in , but and . So the function is not well defined
E 24.5
Define by . Define by . You may assume that f and g are both well-defined (which they are). Are f and g equal?
Proof.
We can check if and are equal by checking every element in :
When , and , so .
When , and , so .
When , and , so .
When , and , so .
When , and , so .
Since for every , the functions and are indeed equal.
E 24.6
A is a set. - characteristic function
a) If and , then .
Let and consider the value of . There are two cases:
If , then because . Thus, and . The sum , which is equal to because is in the union .
If , a similar argument shows that and . Again, , which equals because is in the union .
If and , then and . Therefore, , which matches because is not in .
In all cases, .
b)
If , then
Proof.
Let . There are 4 cases:
Case 1.
Note that because is in both and . and . Thus .
Case 2.
Here, because is not in , hence not in the intersection . and . Thus .
Case 3. .
Here, because is not in , hence not in the intersection . and . Thus .
Case 4.
Here, is in neither nor , so it is not in their intersection. and . Thus .
In each case, . This completes the proof.
c)
If , then
Proof.
Let . There are two cases for each set and :
Case 1:
In this case, .
Case 1a:
Here, . Since is in both and , it is also in their union . Hence, .
The right-hand side of the equation becomes , which is equal to .
Case 1b:
Here, . Since is in , it is in their union . Hence, .
The right-hand side of the equation becomes , which is equal to .
Case 2:
In this case, .
Case 2a:
Here, . Since is in , it is in their union . Hence, .
The right-hand side of the equation becomes , which is equal to .
Case 2b:
Here, . Since is in neither nor , it is not in their union . Hence, .
The right-hand side of the equation becomes , which is equal to .
In each case, .
E 24.7
Proof.
Since each is a function from to B, it is a subset of , and since each is a subset of A, it follows that each is a subset of . Thus, their union, , is also a subset of , so is a relation from A to B.
To prove that is a function, we aim to demonstrate that for every element , there is exactly one ordered pair in with as its first coordinate. Consider an arbitrary element . Because {: } is a partition of A, there exists a unique index such that and for all . Therefore, is the first coordinate of exactly one ordered pair in , namely , because is a function.
For all , , so is not the first coordinate of any ordered pair in . This means that is the unique ordered pair in with first coordinate . Hence, when for some .
Since was an arbitrary element of A and we have shown that for each such there is exactly one ordered pair in , it follows that is a function from A to B.