Friday, 20 May 2011

operations on set

Operations on Set :
Various operations that can be carried out on set are
1. Union
2. Intersection
3. Difference
4. Complement
Union:            A U B is union operation – if A = {1, 2, 3} B = {1, 2, 4} then
A U B = {1, 2, 3, 4} i.e. combination of both the sets.
Intersection:   A B is intersection operation. If A = {1, 2, 3} B = {1, 2, 4} then
A  B = {1, 2} i.e. common elements of the both the sets.
Difference:     A – B is the difference operation - if A = {1, 2, 3} B = {2, 3, 4} then
A – B = {1} i.e. elements which are there in set A but not in set B.
Complement:  is a complement operation – if   = U –A where U is a universal set.
For example:    U = {10, 20, 30, 40}
A = {10, 20}
Then  = U – A = {30, 40}.

No comments:

Post a Comment