Operations on Sets-Union of Sets, Intersection of Sets, Difference of Sets, Complement of Sets | Class 11 Math Notes Study Material Download Free PDF

โญโญโญโญ (4.1/5 from 234 reviews)

What is Set?

A set is a well-defined collection of objects.

The objects may be numbers, alphabets, names of people, etc. Sets are represented using upper-case letters such as A, B, etc. For Example,

A = {a, e, i, o, u} OR A is a set of vowels in the English alphabet.

Note: โ€œB = collection of good studentsโ€ is not a set because we donโ€™t know the criteria for good students. Thus there is some ambiguity as to which students belong to the set and which do not.

Operations on Sets

  • Union of Sets
  • Intersection of Sets  
  • Difference of Sets
  • Complement of Sets

Intersection of Sets  

The intersection of two sets A and B is a set that contains all the elements that are common to both A and B. Formally it is written as 

A โˆฉ B = {x : x โˆˆ Aย andย x โˆˆ B}

In the following image, the shaded area is the intersection of sets A and B

Sets are fundamental in mathematics and are collections of distinct objects, considered as a whole. In this topic, we will explore the basic operations you can perform on sets, such as union, intersection, difference, and complement. These operations help us understand how sets interact with each other and allow us to solve various problems in mathematics and beyond.

Example: 

If A = {2, 3, 5, 7} and B = {1, 2, 3, 4, 5}
then the intersection of set A and B is the set A โˆฉ B = {2, 3, 5} 

In this example 2, 3, and 5 are the only elements that belong to both sets A and B. 

Union of Sets

Union of two sets A and B is a set that contains all the elements that are in A or in B or in both A and B. Formally it is written as

A โˆช B = {x : x โˆˆ Aย orย x โˆˆ B}

In the following image, the shaded area is the union of sets A and B.

Union

Example: 

If A = {2, 4, 8} and B = {2, 6, 8}
then the union of A and B is the set A โˆช B = {2, 4, 6, 8}

In this example, 2, 4, 6, and 8 are the elements that are found in set A or in set B or in both sets A and B

Complement or Difference Between Sets

The relative complement or set difference of two sets A and B is the set containing all the elements that are in A but not in B. Formally this is written as 

A โˆ’ B = {x: x โˆˆ Aย andย x โˆ‰ B}

In the following image, the shaded area represents the difference set of set A and set B

Difference between sets

Note:  A โ€“ B is equivalent to A โˆฉ Bโ€™ i.e.,  A โ€“ B = A โˆฉ Bโ€™

Example: 

If A = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} and B = {2, 3, 5, 7}
then A โ€“ B = {1, 4, 6, 8, 9, 10}
and further B โ€“ A = โˆ…

Universal Set and Absolute Complement

Universal set

A universal set is the set of all objects currently under consideration. It is usually denoted by the upper-case letter U. For example for a set of vowels, the universal set may be the set of alphabets.

Note: A set is always a subset of the universal set. 

A โІ U

Absolute complement

The absolute complement of a set A is the set of all elements that are in U but not in A. It is denoted as Aโ€™. In the following image, the shaded area represents the complement of set A

Absolute complement

The absolute complement is sometimes just called complement.

Note: Aโ€™ is equivalent to U โ€“ A i.e.,  Aโ€™ = U โ€“ A

Example: 

If U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} and A = {1, 2, 3}
then Aโ€™ = {4, 5, 6, 7, 8, 9, 10} = U โ€“ A

Subset and Proper Subset

Subset

For two set A and B, A is a subset of B if every element in A is also in B. A can be equal to B. This is formally written as  

Subset

In the following image, set A is a subset of B

A โІ B

Example: 

If A = {2, 4} and B = {1, 2, 3, 4, 5, 6, 7, 8}
then A is a subset of B

In this example, A is a subset of B, because all the elements in A are also in B

Notes: 

1. An empty set (or null set) is a subset of every set.

Example: 

โˆ… is a subset of the set {1, 2, 3, 4}

2. For a set A, the number of possible subsets is 2|A|. Where |A| = number of elements in A.

Example: 

For the set C = {1, 2, 3}, there are 23 = 8 possible subsets
they are โˆ…, {1}, {2}, {3}, {1, 2}, {2, 3}, {1, 3}, {1, 2, 3}

Proper subset (also called strict subset)

For two sets A and B, A is a proper subset of B, if A is a subset of B and A is not equal to B. Formally it is written as 

BโЇAย ย ifย ย AโІB

Example: 

For a set B = {1, 2, 3},
โˆ…, {1}, {2}, {3}, {1, 2}, {2, 3}, {1, 3} are all proper subsets of B
Note that {1, 2, 3} is not a proper subset of B, because they are equal

Superset and Proper Superset

Superset

For two sets A and B, if A is a subset of B then B is the superset of A. A can be equal to B. Formally it is denoted as 

Superset

In the following image, set B is the superset of set A

BโŠƒA,ย ifย AโІBย andย A โ‰  B

Examples: 

  • If A = {2, 4} and B = {1, 2, 3, 4, 5, 6, 7, 8}
    then B is the superset of A, because A is a subset of B
     
  • If A = {11, 12} and B = {11, 12 } then B is the super set of A

Proper superset (also called strict superset)

For two sets A and B, if A is a subset of B and A is not equal to B, then B is the proper superset of A. Formally it is written as 

Examples: 

  • If A = {1, 2, 3} and B = {0, 1, 2, 3, 4, 5}
    then B is a proper superset of A, because A is a subset of B and A โ‰  B  
     
  • If A = {2, 4, 6} and B = {2, 4, 6} then B is not a proper superset of A, because A = B 

Bringing the Set Operations Together

De Morganโ€™s laws

  1. The complement of the union of two sets is equal to the intersection of their complements
    i.e.,  (A โˆช B)โ€™ = Aโ€™ โˆฉ Bโ€™
  2. The complement of the intersection of two sets is equal to the union of  their complements
    i.e.,  (A โˆฉ B)โ€™ = Aโ€™ โˆช Bโ€™

Formula for the Cardinality of Union and Intersection

Formula for the cardinality of union and intersection

The formula for the Cardinality of Union and Intersection is given below:

โˆฃA โˆช Bโˆฃ = โˆฃAโˆฃ + โˆฃBโˆฃ โˆ’ โˆฃA โˆฉ Bโˆฃ 

Proof:

We can write
ย  ย  |A โˆช B| = |A โ€“ B| + |A โˆฉ B| + |B โ€“ A| ย  ย  ย  ย  ย  ย  ย  โ€”- by the sum of disjoint sets, refer to the Venn diagram above
ย  ย  |A โˆช B| = (|A| โ€“ |A โˆฉ B|) + |A โˆฉ B| + |B โ€“ A| ย  ย โ€”- Substitute |A โ€“ B| = |A| โ€“ |A โˆฉ B|
ย  ย  |A โˆช B| = |A| + |B โ€“ A| ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  โ€”- Simplify
ย  ย  |A โˆช B| = |A| + |B| โ€“ |A โˆฉ B| ย  ย  ย  ย  ย  ย  ย  ย  ย โ€”- Substitute |B โ€“ A| = |B| โ€“ |A โˆฉ B|)

Problems on Operations on Sets โ€“ Union & Intersection

Problem 1: There are 100 students in a class, 45 students said that they liked apples, and 30 of the students said that they liked both apples and oranges. Every student has to choose at least one of the two fruits. Find how many students like oranges.

Solution:

Let U = set of all students in the class
      A = set of students that like apples
      B = set of students that like oranges

Given: 
    |A| = 45
    |A โˆฉ B| = 30
    |U| = |A โˆช B| = 100 (because every student has to choose)

We need to find how many like oranges. i.e., |B|

The formula to be used is,
    |A โˆช B| = |A| + |B| โ€“ |A โˆฉ B|        โ€”-(i)

Subtract |A| โ€“ |A โˆฉ B| from both sides in (i) to get
    |A โˆช B| โ€“ (|A| โ€“ |A โˆฉ B|) = |B|
or |B| = |A โˆช B| โ€“ (|A| โ€“ |A โˆฉ B|)

Substitute the given values and simplify,
    |B| = |A โˆช B| โ€“ (|A| โ€“ |A โˆฉ B|)
         = 100 โ€“ ( 45 -30 )
         = 85

Thus the number of students that like oranges is 85.

Problem 2: There are a total of 120 students in a class. 70 of them study mathematics, 40 study science, and 10 students study both mathematics and science. Find the number of students who
    i) Study mathematics but not science
    ii) Study science but not mathematics
    iii) Study mathematics or science

Solution:  

Let,
   U = set of all students in the class
   M = set of students that study mathematics
   S = set of students that study science

Our universal set here has 120 student i.e, |U| = 120

Given,
    |M| = 70
    |S| = 40
    |M โˆฉ S| = 10  (number of students that study both mathematics and science)

i) Finding the number of students that study mathematics but not science. In the following image, the shaded area represents the set of students that study mathematics but not science.

Sets are fundamental in mathematics and are collections of distinct objects, considered as a whole. In this topic, we will explore the basic operations you can perform on sets, such as union, intersection, difference, and complement. These operations help us understand how sets interact with each other and allow us to solve various problems in mathematics and beyond.

We are required to find |M โ€“ S|
By the Venn diagram, we can see that |M โ€“ S| can be written as |M| โ€“ |M โˆฉ S|
thus,
ย  ย  |M โ€“ S| = |M| โ€“ |M โˆฉ S|
ย  ย  ย  ย  ย  ย  ย  ย = 70 โ€“ 10
ย  ย  ย  ย  ย  ย  ย  ย = 60

Thus the number of students who study mathematics but not science is 60

ii)  Finding the number of students that study science but not mathematics.  In the following image, the shaded area represents the set of students that study science but not mathematics

Sets are fundamental in mathematics and are collections of distinct objects, considered as a whole. In this topic, we will explore the basic operations you can perform on sets, such as union, intersection, difference, and complement. These operations help us understand how sets interact with each other and allow us to solve various problems in mathematics and beyond.

We are required to find |S โ€“ M|
By the Venn diagram, we can see that |S โ€“ M| can be written as |S| โ€“ |M โˆฉ S|
thus,    
    |S โ€“ M| = |S| โ€“ |M โˆฉ S|
               = 40 โ€“ 10
               = 30

Thus the number of students who study science but not mathematics is 30

iii) Finding the number of students who study mathematics or science.  In the following image, the shaded area represents the set of students that study mathematics or science.

Sets are fundamental in mathematics and are collections of distinct objects, considered as a whole. In this topic, we will explore the basic operations you can perform on sets, such as union, intersection, difference, and complement. These operations help us understand how sets interact with each other and allow us to solve various problems in mathematics and beyond.

We are required to find |M โˆช S|
By using the formula, |M โˆช S| = |M| + |S| โ€“ |M โˆฉ S|
    |M โˆช S| = |M| + |S| โ€“ |M โˆฉ S|
                 = 70 + 40 โ€“ 10
                 = 100

Thus the number of students who study science or mathematics is 100.

Operations on Sets โ€“ Solved Examples

Problem 1: Let A = {1, 2, 3, 4, 5}, B = {3, 4, 5, 6, 7}, and C = {4, 5, 6, 7, 8}. Find (A โ–ณ B) โˆฉ (B โ–ณ C), where โ–ณ represents symmetric difference.

Solution:

First, letโ€™s find A โ–ณ B:

A โ–ณ B = (A โˆช B) โ€“ (A โˆฉ B)

A โˆช B = {1, 2, 3, 4, 5, 6, 7}

A โˆฉ B = {3, 4, 5}

A โ–ณ B = {1, 2, 6, 7}

Now, letโ€™s find B โ–ณ C:

B โ–ณ C = (B โˆช C) โ€“ (B โˆฉ C)

B โˆช C = {3, 4, 5, 6, 7, 8}

B โˆฉ C = {4, 5, 6, 7}

B โ–ณ C = {3, 8}

Finally, we find the intersection of these results:

(A โ–ณ B) โˆฉ (B โ–ณ C) = {1, 2, 6, 7} โˆฉ {3, 8} = โˆ… (empty set)

Problem 2 : Given U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A = {1, 3, 5, 7, 9}, B = {2, 4, 6, 8}, and C = {1, 2, 3, 4, 5}.

Verify that (A โˆช B)โ€™ = Aโ€™ โˆฉ Bโ€™, where โ€˜ denotes complement with respect to U.

Solution:

A โˆช B = {1, 2, 3, 4, 5, 6, 7, 8, 9}

Find (A โˆช B)โ€™:

(A โˆช B)โ€™ = {10}

Find Aโ€™:

Aโ€™ = {2, 4, 6, 8, 10}

Find Bโ€™:

Bโ€™ = {1, 3, 5, 7, 9, 10}

Find Aโ€™ โˆฉ Bโ€™:

Aโ€™ โˆฉ Bโ€™ = {10}

Verify that (A โˆช B)โ€™ = Aโ€™ โˆฉ Bโ€™:

Both sets equal {10}, so the equality holds.

Example 3 : Given sets A, B, and C, prove that A โ€“ (B โˆช C) = (A โ€“ B) โˆฉ (A โ€“ C).

Solution:

Weโ€™ll prove this by showing that an element x belongs to the left side if and only if it belongs to the right side.

Let x โˆˆ A โ€“ (B โˆช C)

This means x โˆˆ A and x โˆ‰ (B โˆช C)

x โˆ‰ (B โˆช C) implies x โˆ‰ B and x โˆ‰ C

Therefore:

x โˆˆ A and x โˆ‰ B, so x โˆˆ (A โ€“ B)

x โˆˆ A and x โˆ‰ C, so x โˆˆ (A โ€“ C)

Since x is in both (A โ€“ B) and (A โ€“ C), we can conclude:

x โˆˆ (A โ€“ B) โˆฉ (A โ€“ C)

Conversely, if x โˆˆ (A โ€“ B) โˆฉ (A โ€“ C):

x โˆˆ A and x โˆ‰ B

x โˆˆ A and x โˆ‰ C

This implies:

x โˆˆ A and x โˆ‰ B and x โˆ‰ C

Which is equivalent to: x โˆˆ A and x โˆ‰ (B โˆช C)

Therefore, x โˆˆ A โ€“ (B โˆช C)

Thus, weโ€™ve shown that an element belongs to A โ€“ (B โˆช C) if and only if it belongs to (A โ€“ B) โˆฉ (A โ€“ C), proving the equality.

Problem 4 : Cartesian Product and Power Set

Let A = {1, 2} and B = {a, b}. Find |P(A ร— B)|, where P denotes the power set and ร— denotes the Cartesian product.

Solution:

First, find A ร— B:

A ร— B = {(1,a), (1,b), (2,a), (2,b)}

|A ร— B| = 4

For any set S, |P(S)| = 2^|S|

Therefore, |P(A ร— B)| = 2^4 = 16

Problem 5 : Set Equality

Prove that (A โ€“ B) โˆช (B โ€“ A) = (A โˆช B) โ€“ (A โˆฉ B)

Solution:

Let x be an arbitrary element. Weโ€™ll show x is in the left side if and only if itโ€™s in the right side.

x โˆˆ (A โ€“ B) โˆช (B โ€“ A)

โ‡” x โˆˆ (A โ€“ B) or x โˆˆ (B โ€“ A)

โ‡” (x โˆˆ A and x โˆ‰ B) or (x โˆˆ B and x โˆ‰ A)

โ‡” (x โˆˆ A or x โˆˆ B) and (x โˆ‰ A or x โˆ‰ B)

โ‡” x โˆˆ (A โˆช B) and x โˆ‰ (A โˆฉ B)

โ‡” x โˆˆ (A โˆช B) โ€“ (A โˆฉ B)

Thus, the two sets are equal.

Problem 6: Set Cardinality Let A and B be finite sets. Prove that |A โˆช B| = |A| + |B| โ€“ |A โˆฉ B|.

Solution:

Consider elements in A โˆช B:

Elements in A but not in B: |A| โ€“ |A โˆฉ B|

Elements in B but not in A: |B| โ€“ |A โˆฉ B|

Elements in both A and B: |A โˆฉ B|

Sum these up:

|A โˆช B| = (|A| โ€“ |A โˆฉ B|) + (|B| โ€“ |A โˆฉ B|) + |A โˆฉ B|

= |A| + |B| โ€“ |A โˆฉ B|

Problem 7 : Set Operations and Functions

Let f: A โ†’ B be a function. Prove that f(A โ€“ B) โІ f(A) โ€“ f(B) for any subset B of A.

Solution:

Let y โˆˆ f(A โ€“ B). We need to show y โˆˆ f(A) โ€“ f(B).

Since y โˆˆ f(A โ€“ B), there exists x โˆˆ A โ€“ B such that f(x) = y.

x โˆˆ A โ€“ B implies x โˆˆ A and x โˆ‰ B.

Since x โˆˆ A, we know y = f(x) โˆˆ f(A).

We need to show y โˆ‰ f(B). If y โˆˆ f(B), there would exist z โˆˆ B such that f(z) = y.

But f(z) = y = f(x), and x โˆ‰ B. This contradicts x โˆˆ A โ€“ B.

Therefore, y โˆˆ f(A) and y โˆ‰ f(B), so y โˆˆ f(A) โ€“ f(B).

Thus, f(A โ€“ B) โІ f(A) โ€“ f(B).

Problem 8: Principle of Inclusion-Exclusion ,For finite sets A, B, and C, prove:

|A โˆช B โˆช C| = |A| + |B| + |C| โ€“ |A โˆฉ B| โ€“ |B โˆฉ C| โ€“ |A โˆฉ C| + |A โˆฉ B โˆฉ C|

Solution:

Start with |A โˆช B โˆช C|.

Add |A|, |B|, and |C|. This counts elements in A, B, C, but overcounts elements in intersections.

Subtract |A โˆฉ B|, |B โˆฉ C|, and |A โˆฉ C| to correct for double counting.

However, elements in A โˆฉ B โˆฉ C have now been subtracted too many times, so add |A โˆฉ B โˆฉ C| back.

This gives the formula: |A โˆช B โˆช C| = |A| + |B| + |C| โ€“ |A โˆฉ B| โ€“ |B โˆฉ C| โ€“ |A โˆฉ C| + |A โˆฉ B โˆฉ C|

Problem 9: Countable and Uncountable Sets

Prove that the set of all infinite binary sequences is uncountable.

Solution:

Weโ€™ll use Cantorโ€™s diagonalization argument:

Assume the set is countable. Then we can list all sequences:

s1: a11, a12, a13, โ€ฆ

s2: a21, a22, a23, โ€ฆ

s3: a31, a32, a33, โ€ฆ

โ€ฆ

Construct a new sequence t: t1, t2, t3, โ€ฆ where:

ti = 1 if aii = 0

ti = 0 if aii = 1

This new sequence t differs from every sequence in the list:

It differs from s1 in the 1st digit

It differs from s2 in the 2nd digit

It differs from s3 in the 3rd digit

โ€ฆ

Therefore, t is not in the list, contradicting our assumption that the list contained all sequences.

Thus, the set of all infinite binary sequences is uncountable.

Problem 10: Axiom of Choice

Using the Axiom of Choice, prove that every vector space has a basis.

Solution:

Let V be a vector space. Let S be the set of all linearly independent subsets of V.

Define a partial order โ‰ค on S by inclusion: A โ‰ค B if and only if A โІ B.

Let C be a chain in S (i.e., a totally ordered subset).

Let U = โˆช{A : A โˆˆ C}. We claim U is an upper bound for C in S.

U is linearly independent: If not, some finite subset {u1, โ€ฆ, un} โІ U would be linearly dependent.

But each ui is in some Ai โˆˆ C, and since C is a chain, all ui are in the largest of these Ai.

This contradicts Ai being linearly independent.

By Zornโ€™s Lemma (equivalent to Axiom of Choice), S has a maximal element M.

M is a basis for V:

M is linearly independent by definition of S.

M spans V: If not, there exists v โˆˆ V not in span(M).

Then M โˆช {v} would be linearly independent and strictly larger than M, contradicting maximality.

Therefore, M is a basis for V.

Practice Problems on Operations on Sets

1. Let A = {1, 2, 3, 4, 5}, B = {2, 4, 6, 8}, and C = {3, 4, 5, 6}. Find:

  • (A โˆฉ B) โˆช (B โˆฉ C)
  • (A โˆช B) โ€“ C

2. If |A| = 5, |B| = 7, and |A โˆช B| = 10, find |A โˆฉ B|.

3. Prove or disprove: For any sets A, B, and C, (A โ€“ B) โ€“ C = A โ€“ (B โˆช C).

4. Let U be the universal set. Prove that for any sets A and B:

(Aโ€™ โˆฉ Bโ€™)โ€™ = A โˆช B

5. If A and B are finite sets with |A| = m and |B| = n, Prove that:

|P(A) ร— P(B)| = 2m+n

6. Let f: A โ†’ B be a function. Prove or disprove:

For any subsets X and Y of A, f(X โˆฉ Y) = f(X) โˆฉ f(Y)

7. Given that A, B, and C are sets, prove or disprove:

8. If A โІ B and B โІ C, then P(A) โІ P(B) โІ P(C)

9. Let A be a finite set with n elements. How many different pairs of subsets (X, Y) are there such that X โˆช Y = A

10. Let A be an infinite set and B be a finite set. Prove that |A| = |A โ€“ B|.

Set theory forms the foundation of modern mathematics, encompassing fundamental concepts like unions, intersections, complements, and Cartesian products. It deals with the properties of collections of objects, exploring relationships between sets through operations and identities. Key areas include understanding set cardinality, power sets, and the nuances of infinite sets. Set theory problems often involve proving equalities, working with functions on sets, and applying principles like inclusion-exclusion. These concepts are crucial in various mathematical fields and have practical applications in computer science, particularly in areas like database design and algorithm analysis. Mastering set theory requires a blend of logical reasoning, algebraic manipulation, and abstract thinking, providing a powerful toolset for tackling complex mathematical and computational challenges.

FAQs on Operations on Sets

How can operations be performed on sets?

In a set theory, there are three major types of operations performed on sets, such as:

  • Union of sets (โˆช)
  • Intersection of sets (โˆฉ)
  • Difference of sets ( โ€“ )

What is the rule of set operations?

For two given sets A and B, AโˆชB (read as A union B) is the set of distinct elements that belong to set A and set B or both. The number of elements in A โˆช B is given by n(AโˆชB) = n(A) + n(B) โˆ’ n(AโˆฉB), where n(X) is the number of elements in set X.

Why are set operations important?

These operations are fundamental in set theory and are used to manipulate sets, define relationships between sets, and solve problems involving collections of objects. There are three major types of operations performed on sets, such as: Union of sets. Intersection of sets

What is associative law of set operation?

Associative law in sets asserts that grouping of sets when conducting set operations has no effect on the end output. In other words, it makes no difference how we arrange the sets; the result will be the same. We can better understand it by the example mentioned below: a โˆช ( b โˆช c ) = ( a โˆช b ) โˆช c.

โฌ…๏ธ Union of Sets | Formula, Examples & Venn Diagramsย | Class 11 Math Notes Study Material Download Free PDF Venn Diagram-Definition, Examples, Symbols & Formula | Class 11 Math Notes Study Material Download Free PDF โžก๏ธ

๐Ÿ“š Buy Study Material & Join Our Coaching

For premium study materials specially designed for NDA Exam, visit our official study material portal:
๐Ÿ‘‰ https://publishers.anandclasses.co.in/

For JEE/NEET Notes : Visit https://anandclasses.in/

To enroll in our offline or online coaching programs, visit our coaching center website:
๐Ÿ‘‰ https://anandclasses.co.in/

๐Ÿ“ž Call us directly at: +91-94631-38669

๐Ÿ’ฌ WhatsApp Us Instantly

Need quick assistance or want to inquire about classes and materials?

๐Ÿ“ฒ Click below to chat instantly on WhatsApp:
๐Ÿ‘‰ Chat on WhatsApp

๐ŸŽฅ Watch Video Lectures

Get access to high-quality video lessons, concept explainers, and revision tips by subscribing to our official YouTube channel:
๐Ÿ‘‰ Neeraj Anand Classes โ€“ YouTube Channel

RELATED TOPICS