Venn Diagram

A Venn diagram is used to visually represent the differences and the similarities between two concepts. Venn diagrams are also called logic or set diagrams and are widely used in set theory, logic, mathematics, businesses, teaching, computer science, and statistics.

Let's learn about Venn diagrams, their definition, symbols, and types with solved examples.

1. What is a Venn Diagram?
2. Venn Diagram Symbols
3. Venn Diagram for Set Operations
4. Venn Diagram for Three Sets
5. How to Draw a Venn Diagram?
6. Venn Diagram Formula
7. Applications of Venn Diagrams
8. FAQs on Venn Diagram

What is a Venn Diagram?

A Venn diagram is a diagram that helps us visualize the logical relationship between sets and their elements and helps us solve examples based on these sets. A Venn diagram typically uses intersecting and non-intersecting circles (although other closed figures like squares may be used) to denote the relationship between sets.

Venn diagram definition

Venn Diagram Example

Let us observe a Venn diagram example. Here is the Venn diagram that shows the correlation between the following set of numbers.

Venn diagram example

Terms Related to Venn Diagram

Let us understand the following terms and concepts related to Venn Diagram, to understand it better.

Universal Set

Whenever we use a set, it is easier to first consider a larger set called a universal set that contains all of the elements in all of the sets that are being considered. Whenever we draw a Venn diagram:

Universal Set example

Consider the above-given image:

Subset

Venn diagrams are used to show subsets. A subset is actually a set that is contained within another set. Let us consider the examples of two sets A and B in the below-given figure. Here, A is a subset of B. Circle A is contained entirely within circle B. Also, all the elements of A are elements of set B.

Venn diagram to represent subsets and supersets

This relationship is symbolically represented as A ⊆ B. It is read as A is a subset of B or A subset B. Every set is a subset of itself. i.e. A ⊆ A. Here is another example of subsets :

Venn Diagram Symbols

There are more than 30 Venn diagram symbols. We will learn about the three most commonly used symbols in this section. They are listed below as:

A ∪ B is read as A union B.

Elements that belong to either set A or set B or both the sets.

U is the universal set.

A ∩ B is read as A intersection B.

Elements that belong to both sets A and B.

U is the universal set.

A' is read as A complement.

Elements that don't belong to set A.

U is the universal set.

Let us understand the concept and the usage of the three basic Venn diagram symbols using the image given below.

Venn diagram example

Symbol It refers to Total Elements (No. of students)
A ∪ C The number of students that prefer either burger or pizza or both. 1 + 10 + 2 + 2 + 6 + 9 = 30
A ∩ C The number of students that prefer both burger and pizza. 2 + 2 = 4
A ∩ B ∩ C The number of students that prefer a burger, pizza as well as hotdog. 2
A c or A' The number of students that do not prefer a burger. 10 + 6 + 9 = 25

Venn Diagram for Sets Operations

In set theory, we can perform certain operations on given sets. These operations are as follows,

Union of Sets Venn Diagram

The union of two sets A and B can be given by: A ∪ B = . This operation on the elements of set A and B can be represented using a Venn diagram with two circles. The total region of both the circles combined denotes the union of sets A and B.

Intersection of Set Venn Diagram

The intersection of sets, A and B is given by: A ∩ B = . This operation on set A and B can be represented using a Venn diagram with two intersecting circles. The region common to both the circles denotes the intersection of set A and Set B.

Complement of Set Venn Diagram

The complement of any set A can be given as A'. This represents elements that are not present in set A and can be represented using a Venn diagram with a circle. The region covered in the universal set, excluding the region covered by set A, gives the complement of A.

Difference of Set Venn Diagram

The difference of sets can be given as, A - B. It is also referred to as a ‘relative complement’. This operation on sets can be represented using a Venn diagram with two circles. The region covered by set A, excluding the region that is common to set B, gives the difference of sets A and B.

We can observe the above-explained operations on sets using the figures given below,

sets operations and venn diagrams

Venn Diagram for Three Sets

Three sets Venn diagram is made up of three overlapping circles and these three circles show how the elements of the three sets are related. When a Venn diagram is made of three sets, it is also called a 3-circle Venn diagram. In a Venn diagram, when all these three circles overlap, the overlapping parts contain elements that are either common to any two circles or they are common to all the three circles. Let us consider the below given example:

Venn diagram for three sets

Here are some important observations from the above image:

How to Draw a Venn Diagram?

Venn diagrams can be drawn with unlimited circles. Since more than three becomes very complicated, we will usually consider only two or three circles in a Venn diagram. Here are the 4 easy steps to draw a Venn diagram:

Example: Let us draw a Venn diagram to show categories of outdoor and indoor for the following pets: Parrots, Hamsters, Cats, Rabbits, Fish, Goats, Tortoises, Horses.

Venn diagram example 1

Venn diagram example 2

Venn Diagram Formula

For any two given sets A and B, the Venn diagram formula is used to find one of the following: the number of elements of A, B, A U B, or A ⋂ B when the other 3 are given. The formula says:

Here, n(A) and n(B) represent the number of elements in A and B respectively. n(A U B) and n(A ⋂ B) represent the number of elements in A U B and A ⋂ B respectively. This formula is further extended to 3 sets as well and it says:

Here is an example of Venn diagram formula.

Example: In a cricket school, 12 players like bowling, 15 like batting, and 5 like both. Then how many players like either bowling or batting.

Solution:

Let A and B be the sets of players who like bowling and batting respectively. Then

We have to find n(A U B). Using the Venn diagram formula,

n(A U B) = n(A) + n(B) – n (A ⋂ B)

n(A U B) = 12 + 15 - 5 = 22.

Applications of Venn Diagram

There are several advantages to using Venn diagrams. Venn diagram is used to illustrate concepts and groups in many fields, including statistics, linguistics, logic, education, computer science, and business.

Related Articles:

Check out the following pages related to Venn diagrams:

Important Notes on Venn Diagrams:

Here is a list of a few points that should be remembered while studying Venn diagrams:

Examples of Venn Diagram

Example 1: Let us take an example of a set with various types of fruits, A = . Represent these subsets using sets notation: a) Fruit with one seed b) Fruit with more than one seed Solution: Among the various types of fruit, only mango and cherry have one seed. Thus, Answer: a) Fruit with one seed = b) Fruit with more than one seed = Note: If we represent these two sets on a Venn diagram, the intersection portion is empty.

Venn Diagram solved examples

Example 2: Let us take an example of two sets A and B, where A = and B = . These two sets are subsets of the universal set U = . Find A ∪ B. Solution: The Venn diagram for the above relations can be drawn as: Answer: A ∪ B means, all the elements that belong to either set A or set B or both the sets =

venn diagram example

Example 3: Using Venn diagram, find X ∩ Y, given that X = , Y = . Solution: Given: X = , Y = The Venn diagram for the above example can be given as, Answer: From the blue shaded portion of Venn diagram, we observe that, X ∩ Y = ∅ (null set).

View Answer >

Have questions on basic mathematical concepts?

Become a problem-solving champ using logic, not rules. Learn the why behind math with our certified experts