Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Operations on Sets Intersection and Difference with Examples

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon

Definition Formula and Solved Examples of Intersection and Difference of Sets

Set Operations

In our everyday life, we deal with collections of objects (person, numbers or any other thing).

For example, consider the following collections:

i) Collection of all the students in your class.

ii) Collection of all the teachers at your school. 

iii) Collection of all counting numbers that are less than 10 i.e., of numbers 1, 2, 3, 4, 5, 6, 7, 8, 9.

iv) Collection of all even natural numbers less than 15 i.e., of numbers 2, 4, 6, 8, 10, 12, 14.

v) Collection of the first five natural numbers divisible by 5 i.e., of the numbers 5,10, 15, 20, 25.

vi) Collection of all vowels in the English alphabets i.e., of the letters a, e, i, o, u.

vii) Collection of all the days in a week.

viii) Collection of all the books in your bag. 

(Image to be added soon)

Note: All the above collections is a well-defined collection of objects.

A ‘well-defined collection of objects’ means that if we are provided with a collection and an object, then it would be possible to assert without any doubt that if an object belongs to the collection or not. 


What is the Data Set?

A set is a defined collection of objects

The objects that belong to the set are called its members or elements. Each of the above collections is a set. 

Now consider the following collections:

i) Collection of all the intelligent students in your class. 

We cannot call it a well-defined collection because people may differ on whether a student of your class is intelligent or not.  

ii) Collection of all the competent teachers of your school.

We cannot call it a well-defined collection because people may differ on whether a teacher of your school is competent or not.

iii) Collection of four days of a week.

We cannot call it a well-defined collection because it is not known which four days of a week are to be included in the collection. 

Any of the above collections are not a set.


Notation

The sets are usually denoted by capital letters A, B, C, and so on… The members of a set are denoted by small letters x, y, z, and so on. 

If x is a member of the set A, we write x ∈ A (read as ‘x belongs to A’) and if x is not a member of the set A, we write x ∉ A (read as ‘x does not belong to A’)

If x and y are the members of the set A, we write x, y ∈ A.


Representation of A Set

A set can be represented by the following method:

  1. Description method

  2. Roster method or tabular form

  3. Rule method or set builder form.


Types of Sets

There are Four Types of Sets

Finite Set

Infinite Set

Empty Set

Equal Set

A set that contains a limited (countable) number of different elements is called finite. In other words, a set will be finite if the counting of its different elements comes to an end.

Eg: A = {a, b, c, d,e}

A set that contains an infinite (uncountable) number of different elements is called infinite. In other words, a set is called infinite if the counting of its different elements does not come to an end. 

Eg: N = {1, 2, 3, ....}

A set with no elements is called an empty set. It is also called null or void set. There is only one such set which is denoted as φ or

Eg: {x:x ∈ N and x<1}

Two sets are called equal if they have the same elements.


 Union of Sets

The union of two sets A and B is the set consisting of all the elements which belong to either A or B or both. We write it as A U B.

Example, if A = { a, e, i, o, u } and B = { a, b, c, d, e } the, 

             A U B = { a, e, i, o, u, b, c, d }


Intersection of Sets

The intersection of two sets A and B is the set consisting of all elements which belong to both A and B. we write it as A ∩ B.

Example Of Intersection Of Sets

 i) If A = {a, e, i, o, u} and B = {a, b, c, d, e} then, 

A ∩ B= {a,e}

ii) If A = {the colours of the rainbow} = {Violet, Indigo, Blue, Green, Yellow, Orange, Red}

And B = {Black, Red, Blue, White} the 

A ∩ B = {Red, Blue}


Difference of Sets

The difference of two sets A and B is a set with no elements in common. 

For example, 

i) A = {1, 3, 5, 7, 9} and B = {0, 2, 4, 6, 8, 10}

There is a difference of two sets A and B as there are no common elements between them. 


Properties of Set Operations

Union of Sets 

Properties of (A U B) are:

  1. The commutative law holds true as (A U B) = (B U A)

  2. The associative property too holds true as (A U B) U {C} = {A} U (B U C)

Intersection of Sets

Properties of – A ∩ B are:

  1. Commutative law =  (A ∩ B) ∩ C = A ∩ (B ∩ C)

  2. Associative law =  A ∩ B = B ∩ A 

  3. Distributive law = A ∩ (B U C) = (A ∩ B) U (A ∩ C)

  4. φ ∩ A = φ

  5. U ∩ A = A 

FAQs on Operations on Sets Intersection and Difference with Examples

1. What is the intersection of two sets?

The intersection of two sets is the set of elements that are common to both sets. It is denoted by A ∩ B.

  • If A = {1, 2, 3} and B = {2, 3, 4}, then A ∩ B = {2, 3}.
  • Only elements present in both A and B are included.
  • If there are no common elements, the intersection is the empty set (∅).
This operation on sets is widely used in probability, statistics, and logic.

2. What is the difference between two sets?

The difference of two sets is the set of elements that belong to the first set but not to the second set. It is written as A − B.

  • If A = {1, 2, 3, 4} and B = {3, 4, 5}, then A − B = {1, 2}.
  • This operation removes common elements from set A.
  • Note that A − B ≠ B − A in general.
Set difference is also called the relative complement of B in A.

3. How do you find the intersection of two sets?

To find the intersection of two sets, list only the elements that appear in both sets.

  • Step 1: Write both sets clearly.
  • Step 2: Identify common elements.
  • Step 3: Write them inside braces as A ∩ B.
Example: If A = {a, b, c} and B = {b, c, d}, then A ∩ B = {b, c}.

4. How do you find the difference of two sets step by step?

To find the difference of two sets, remove the elements of the second set from the first set.

  • Step 1: Write sets A and B.
  • Step 2: Check each element of A.
  • Step 3: Exclude elements that are in B.
Example: If A = {5, 6, 7, 8} and B = {7, 9}, then A − B = {5, 6, 8}.

5. What is the formula for n(A ∩ B)?

The formula for the number of elements in the intersection is given by n(A ∪ B) = n(A) + n(B) − n(A ∩ B).

  • Rearranging gives n(A ∩ B) = n(A) + n(B) − n(A ∪ B).
  • This formula is based on the inclusion-exclusion principle.
It helps avoid double counting in set operations.

6. What happens if two sets have no common elements?

If two sets have no common elements, their intersection is the empty set (∅) and they are called disjoint sets.

  • For example, A = {1, 2} and B = {3, 4}.
  • Then A ∩ B = ∅.
Disjoint sets do not share any elements.

7. Is A − B the same as B − A?

No, A − B is not the same as B − A because set difference is not commutative.

  • If A = {1, 2, 3} and B = {3, 4}, then A − B = {1, 2}.
  • But B − A = {4}.
The order of sets matters in the difference of two sets.

8. What is the symbol for intersection and difference of sets?

The symbol for intersection is and the symbol for difference is .

  • A ∩ B represents common elements.
  • A − B represents elements in A but not in B.
These symbols are standard in set theory and mathematical notation.

9. Can you give a real-life example of intersection of sets?

A real-life example of intersection of sets is students who play both cricket and football.

  • Let A = students who play cricket.
  • Let B = students who play football.
  • Then A ∩ B represents students who play both games.
This concept is commonly used in surveys and probability problems.

10. What is the difference between intersection and difference of sets?

The intersection gives common elements, while the difference gives elements in one set but not in the other.

  • A ∩ B → elements common to both sets.
  • A − B → elements in A but not in B.
  • Intersection is commutative (A ∩ B = B ∩ A), but difference is not.
Both are fundamental operations on sets in mathematics.