Any activity that combines two or more sets in some defined way to form a new set is referred to as an operation of a set. We could indeed deduce from this that we can combine sets in a variety of ways to create new ones.
To carry out any operation, we require specific tools and techniques, as well as problem-solving abilities. Aside from union and intersection, another important technique in the field of sepsis is determining the Set’s Complement.
Assume we have set A, which is a subset of set U, which is also known as the universal set. The complement of a set A, in mathematical terms, is:
A’ = U – A
A’ would be the mathematical representation of A’s complement. U is indeed the previously discussed universal set. A’ could now be defined as the difference between the universal set and set A, such that it includes all of the universal set’s elements or objects that are not present in A.
The union of two sets includes every one of the elements in both sets (or both sets). A set A's complement incorporates everything that isn't in set A.
The number of attributes in A union B can be calculated by counting the elements in A and B and taking the common elements only once. The number of items in A union B is calculated as n(A U B) = n(A) + n(B) - n(A B).