Table of Contents
What is a Set?
A set is a collection of objects. The objects in a set can be anything, including numbers, letters, or other objects. Sets can be organized in any way, but they are usually organized by listing the objects in the set in order. A set is a collection of objects that are all of the same type. Sets can be finite or infinite. A finite set has a specific number of objects in it, while an infinite set has an unlimited number of objects. Sets can be created by listing the objects out, or by using a mathematical formula.
What are the types of Sets?
There are four types of sets:
1. Finite Sets
2. Infinite Sets
3. Equal Sets
4. Subsets
Union, Intersection,Difference and Complement of Sets –
Union of Sets – The union of two sets A and B, denoted by A ∪ B, is the set of all elements that are in A or in B or in both A and B.
For example, the union of the sets {1, 2, 3} and {4, 5, 6} is the set {1, 2, 3, 4, 5, 6}.
Intersection of Sets – The intersection of two sets A and B, denoted by A ∩ B, is the set of all elements that are in both A and B.
For example, the intersection of the sets {1, 2, 3} and {4, 5, 6} is the set {4, 5}.
Difference of Sets – The difference of two sets A and B, denoted by A − B, is the set of all elements that are in A but not in B.
For example, the difference of the sets {1, 2, 3} and {4, 5, 6} is the set {1, 2, 3}.
Complement of Sets – The complement of a set A, denoted by A′, is the set of all elements that are not in A.
For example, the complement of the set {1, 2, 3} is the set {4, 5, 6}.