Can you verify my proof if it is right?
Let A and B be sets. (a) Show that A is a subset of B if and only if for any set C, one has A U C is a subset of B U C. (b) Show that A is a subset of B if and only if for any set C, one has A intersect C is a subset of B intersect C.
(a)
To prove (=>)
Given A is a subset of B, this implies A U B = B.
- Given a set C, A U B U C = B U C.
Since A is a subset of B, this implies A U C is a subset of B U C.
To prove (<=) Solution 1
Given A U C is a subset of B U C , For A U C , x is a member of A U C .
- For B U C, x is a member of B U C.
- Suppose x is a member of A but not a member of B, meaning A is not a subset of B.
Therefore , A U C is not a subset of B U C. Hence, A must be a subset of B.
To prove (<=) Solution 2
Given A U C is a subset of B U C, For A U C, x is a member of A U C and for B U C, x is a member of B U C.
- Suppose C is a disjoint set.
- Since A U C is a subset of B U C, it follows that A is a subset of B.
(b)
- To prove (=>)
- Since A is a subset of B , it follows that A U B = B.
- A intersect C is a subset of A by definition of intersection. B intersect C is a subset of B by definition of intersection.
- Let x be member of A and member of C. Since A intersect C is a subset of A, x must be in A.
- Let x be a member of B and member of C. Since B intersect C is a subset of B, x must be in B.
Therefore, A intersect C is a subset of B intersect C.
To prove (<=)
- Since A intersect C is a subset of B intersect C, suppose we let Set C be a subset of B and a subset of A as well.
- C is a subset of A implies A intersect C is equals to C.
- C is a subset of B implies B intersect C is equals to C as well.
- Since A intersect C is equals to B intersect C, A is a subset of B.