Comp Maths
Comp Maths
Comp Maths
Search
An introduction of sets and its definition in mathematics. The concept of sets is used for the
foundation of various topics in mathematics.
To learn sets we often talk about the collection of objects, such as a set of vowels, set of
negative numbers, a group of friends, a list of fruits, a bunch of keys, etc.
The collection of well-defined distinct objects is known as a set. The word well-defined
refers to a specific property which makes it easy to identify whether the given object belongs
to the set or not. The word ‘distinct’ means that the objects of a set must be all different.
For example:
1. The collection of children in class VII whose weight exceeds 35 kg represents a set.
2. The collection of all the intelligent children in class VII does not represent a set because
the word intelligent is vague. What may appear intelligent to one person may not appear the
same to another person.
Elements of Set:
The different objects that form a set are called the elements of a set. The
elements of the set are written in any order and are not repeated. Elements
are denoted by small letters.
Notation of a Set:
A set is usually denoted by capital letters and elements are denoted by small
letters
For example:
Solution :
Let us denote the set by V, then the elements of the set are a, e, i, o, u or we
can say, V = [a, e, i, o, u].
We say a ∈ V, e ∈ V, i ∈ V, o ∈ V and u ∈ V.
Reason: The word “lovely” is a relative term. What may appear lovely to one
person may not be so to the other person.
3. A group of “Young singers” is not a set, as the range of the ages of young
singers is not given and so it can’t be decided that which singer is to be
considered young i.e., the objects are not well-defined.
Now we will learn to state which of the following collections are set.
State, giving reason, whether the following objects form a set or not:
Solution:
Reason: Some problems may be difficult for one person but may not be difficult for
some other persons, that is, the given objects are not well-defined.
(ii) All problems of this book, which are difficult to solve for Aaron.
Solution:
The given objects form a set.
Reason: It can easily be found that which are difficult to solve for Aaron and which
are not difficult to solve for him.
Solution:
Reason: Every object can be compared, in weight, with 28 kg. Then it is very easy to
select objects which are heavier than 28 kg i.e., the objects are well-defined.
(iv) students of your class, which are taller than you and so on.
Elements of a Set
Search
Generally, the elements of a set are written inside a pair of curly (idle) braces
and are represented by commas. The name of the set is always written in capital
letter.
Here ‘A’ is the name of the set whose elements (members) are v, w, x, y, z.
2. If a set A = {3, 6, 9, 10, 13, 18}. State whether the following statements
are ‘true’ or ‘false’:
(i) 7 ∈ A
(ii) 12 ∉ A
(iii) 13 ∈ A
(iv) 9, 12 ∈ A
Solution:
(i) 7 ∈ A
False, since the element 7 does not belongs to the given set A.
(ii) 10 ∉ A
(iii) 13 ∈ A
(iv) 9, 10 ∈ A
True, since the elements 9 and 12 both belong to the given set A.
False, since the element 14 does not belongs to the given set A.
3. If set Z = {4, 6, 8, 10, 12, 14}. State which of the following statements are
‘correct’ and which are ‘wrong’ along with the correct explanations
(i) 5 ∈ Z
(ii) 12 ∈ Z
(iii) 14 ∈ Z
(iv) 9 ∈ Z
Solution:
(i) 5 ∈ Z
(ii) 12 ∈ Z
Correct, since 12 belongs to the given set Z.
(iii) 14 ∈ Z
(iv) 9 ∈ Z
Correct, since the elements of the set Z consists of all the multiples of 2 between 2
and 16.
Correct, since the 4, 6 and 10 those numbers belongs to the given set Z.
Properties of Sets
Search
1. The change in order of writing the elements does not make any
changes in the set.
In other words the order in which the elements of a set are written is not
important. Thus, the set {a, b, c} can also be written as {a, c, b} or {b, c, a}
or {b, a, c} or {c, a, b} or {c, b, a}.
For Example:
2. If one or many elements of a set are repeated, the set remains the
same.
In other words the elements of a set should be distinct. So, if any element of
a set is repeated number of times in the set, we consider it as a single
element. Thus, {1, 1, 2, 2, 3, 3, 4, 4, 4} = {1, 2, 3, 4}
For Example:
The set A = {5, 6, 7, 6, 8, 5, 9} is same as set A= {5, 6, 7, 8, 9}
There are two o’s in the word ‘moon’ but it is written in the set only once.
Solution:
Set V = {U, I, E}
2. For each statement, given below, state whether it is true or false along
with the explanations.
Solution:
True, since the change in order of writing the elements does not change the
set.
Representation of a Set
Search
For example:
(i) The set of odd numbers less than 7 is written as: {odd numbers less
than 7}.
(iv) A set of students in class VII whose weights are more than your weight.
For example:
Note:
The order in which elements are listed is immaterial but elements must not be
repeated.
3. Set builder form:
In this, a rule, or the formula or the statement is written within the pair of brackets
so that the set is well defined. In the set builder form, all the elements of the set,
must possess a single property to become the member of that set.
In this form of representation of a set, the element of the set is described by using a
symbol ‘x’ or any other variable followed by a colon The symbol ‘:‘ or ‘|‘ is used to
denote such that and then we write the property possessed by the elements of the
set and enclose the whole description in braces. In this, the colon stands for ‘such
that’ and braces stand for ‘set of all’.
For example:
This will be read as, 'P is the set of elements x such that x is a counting number and
is greater than 12'.
Note:
The symbol ':' or '|' placed between 2 x's stands for such that.
(ii) Let A denote the set of even numbers between 6 and 14. It can be written
in the set builder form as;
∈ Belongs to
: or | Such that
These are the different notations in sets generally required while solving various
types of problems on sets.
Note:
(i) The pair of curly braces { } denotes a set. The elements of set are written inside
a pair of curly braces separated by commas.
(ii) The set is always represented by a capital letter such as; A, B, C, …….. .
(iii) If the elements of the sets are alphabets then these elements are written in
small letters.
(vi) The Greek letter Epsilon ‘∈’ is used for the words ‘belongs to’, ‘is an element of’,
etc.
(vii) The symbol ‘∉’ stands for ‘does not belongs to’ also for ‘is not an element of’.
The standard sets of numbers can be expressed in all the three forms of
representation of a set i.e., statement form, roster form, set builder form.
1. N = Natural numbers
2. W = Whole numbers
3. Z or I = Integers
= Set containing negative of natural numbers, zero and the natural numbers
→ Statement form
Therefore, the set of integers is denoted by I or Z i.e., I = {...., -2, -1, 0, 1, 2, ….}
Therefore, almost every standard sets of numbers can be expressed in all the three
methods as discussed above.
Types of Sets
Search
set or the void set and it is denoted by ∅ and is read as phi. In roster form, ∅
A set which does not contain any element is called an empty set, or the null
is denoted by {}. An empty set is a finite set, since the number of elements
in an empty set is finite, i.e., 0.
Note:
Singleton Set:
For example:
• Let A = {x : x ∈ N and x² = 4}
Here A is a singleton set because there is only one element 2 whose square is
4.
• Let B = {x : x is a even prime number}
Here B is a singleton set because there is only one prime number which is
even, i.e., 2.
Finite Set:
For example:
• N = {x : x ∈ N, x < 7}
Infinite Set:
The set whose elements cannot be listed, i.e., set containing never-ending
elements is called an infinite set.
For example:
• A = {x : x ∈ N, x > 1}
• B = {x : x ∈ W, x = 2n}
Note:
For example:
The set of real numbers since the elements of this set do not follow any
particular pattern.
• A {x : x ∈ N, x < 5}
A = {1, 2, 3, 4}
Therefore, n(A) = 4
B = {A, L, G, E, B, R}
Therefore, n(B) = 6
Equivalent Sets:
Two sets A and B are said to be equivalent if their cardinal number is same,
i.e., n(A) = n(B). The symbol for denoting an equivalent set is ‘↔’.
For example:
Therefore, A ↔ B
Equal sets:
Two sets A and B are said to be equal if they contain the same elements.
Every element of A is an element of B and every element of B is an element
of A.
For example:
A = {p, q, r, s}
B = {p, s, r, q}
Therefore, A = B
The various types of sets and their definitions are explained above with the
help of examples.
Pairs of Sets
Search
The relations are stated between the pairs of sets. Learn to state, giving
reasons whether the following sets are equivalent or equal, disjoint or
overlapping.
Equal Set:
Two sets A and B are said to be equal if all the elements of set A are in set B
and vice versa. The symbol to denote an equal set is =.
For example;
A = {2, 3, 5}
B = {5, 2, 3}
Equivalent Set:
Two sets A and B are said to be equivalent sets if they contain the same
number of elements. The symbol to denote equivalent set is ↔.
For example;
A = {p, q, r}
B = {2, 3, 4}
Notes:
Disjoint Sets:
Two sets A and B are said to be disjoint, if they do not have any element in
common.
For example;
A = {x : x is a prime number}
B = {x : x is a composite number}.
Clearly, A and B do not have any element in common and are disjoint sets.
Overlapping sets:
Two sets A and B are said to be overlapping if they contain at least one
element in common.
For example;
• A = {a, b, c, d}
B = {a, e, i, o, u}
• X = {x : x ∈ N, x < 4}
Y = {x : x ∈ I, -1 < x < 4}
Here, the two sets contain three elements in common, i.e., (1, 2, 3)
The above explanations will help us to find whether the pairs of sets are
equal sets or equivalent sets, disjoint sets or overlapping sets.
Subset
Search
Definition of Subset:
The symbol ⊂ stands for ‘is a subset of’ or ‘is contained in’
• Symbol ‘⊆’ is used to denote ‘is a subset of’ or ‘is contained in’.
• B ⊆ A means B contains A.
For example;
1. Let A = {2, 4, 6}
B = {6, 4, 8, 2}
Here A is a subset of B
Notes:
write N ⊂ Z.
2. The set N of natural numbers is a subset of the set Z of integers and we
3. Let A = {2, 4, 6}
Here A ⊂ B and B ⊂ A.
4. Let A = {1, 2, 3, 4}
B = {4, 5, 6, 7}
Super Set:
write, B ⊇ A.
Whenever a set A is a subset of set B, we say the B is a superset of A and we
A = {a, e, i, o, u}
B = {a, b, c, ............., z}
Proper Subset:
If A and B are two sets, then A is called the proper subset of B if A ⊆ B but B
⊇ A i.e., A ≠ B. The symbol ‘⊂’ is used to denote proper subset. Symbolically,
we write A ⊂ B.
For example;
1. A = {1, 2, 3, 4}
Here n(A) = 4
B = {1, 2, 3, 4, 5}
Here n(B) = 5
We observe that, all the elements of A are present in B but the element ‘5’ of
B is not present in A.
Symbolically, we write it as A ⊂ B
So, we say that A is a proper subset of B.
Notes:
2. A = {p, q, r}
B = {p, q, r, s, t}
Here A is a proper subset of B as all the elements of set A are in set B and
also A ≠ B.
Notes:
The collection of all subsets of set A is called the power set of A. It is denoted
by P(A). In P(A), every element is a set.
For example;
Universal Set
For example;
then U = {1, 2, 3, 4, 5, 7}
[Here A ⊆ U, B ⊆ U, C ⊆ U and U ⊇ A, U ⊇ B, U ⊇ C]
For example:
1. If A {1, 3, 5}, then write all the possible subsets of A. Find their numbers.
Solution:
Therefore, all possible subsets of A are { }, {1}, {3}, {5}, {1, 3}, {3, 5}, {1, 3, 5}
2. If the number of elements in a set is 2, find the number of subsets and proper
subsets.
Solution:
=4–1=3
3. If A = {1, 2, 3, 4, 5}
When two or more sets combine together to form one set under the given conditions, then
operations on sets are carried out.
Solution:
1. Union of Sets
2. Intersection of sets
(i) Union of sets: Click Here to know the definition with worked-out examples.
(ii) Intersection of sets: Click Here to know the definition with worked-out examples.
(iii) Difference of two sets: Click Here to know the definition with worked-out examples.
Union of Sets
Search
Union of two given sets is the smallest set which contains all the elements of
both the sets.
To find the union of two given sets A and B is a set which consists of all the
elements of A and all the elements of B such that no element is repeated.
For example;
This new set contains all the elements of set A and all the elements of set B with
no repetition of elements and is named as union of set A and B.
Therefore, A ∪ B = {x : x ∈ A or x ∈ B}
Solution:
A ∪ B = {1, 3, 5, 7, 8, 9}
No element is repeated in the union of two sets. The common elements 3, 7 are
taken only once.
2. Let X = {a, e, i, o, u} and Y = {ф}. Find union of two given sets X and Y.
Solution:
X ∪ Y = {a, e, i, o, u}
Therefore, union of any set with an empty set is the set itself.
3. If set P = {2, 3, 4, 5, 6, 7}, set Q = {0, 3, 6, 9, 12} and set R = {2, 4, 6, 8}.
Solution:
The smallest set which contains all the elements of set P and all the elements of
set Q is {0, 2, 3, 4, 5, 6, 7, 9, 12}.
The smallest set which contains all the elements of set P and all the elements of
set R is {2, 3, 4, 5, 6, 7, 8}.
(iii) Union of the given sets Q and R is Q ∪ R
The smallest set which contains all the elements of set Q and all the elements of
set R is {0, 2, 3, 4, 6, 8, 9, 12}.
Notes:
The operations are performed when the sets are expressed in roster form.
Notes:
A ∪ ϕ = ϕ ∪ A = A i.e. union of any set with the empty set is always the set itself.
Intersection of Sets
Search
Intersection of two given sets is the largest set which contains all the
elements that are common to both the sets.
To find the intersection of two given sets A and B is a set which consists of all
the elements which are common to both A and B.
For example:
Solution:
A ∩ B = {4, 6, 8}
Solution:
X∩Y={}
3. If set A = {4, 6, 8, 10, 12}, set B = {3, 6, 9, 12, 15, 18} and set C = {1, 2, 3, 4, 5,
6, 7, 8, 9, 10}.
Solution:
Set of all the elements which are common to both set A and set B is {6, 12}.
Set of all the elements which are common to both set B and set C is {3, 6, 9}.
Set of all the elements which are common to both set A and set C is {4, 6, 8, 10}.
Notes:
A ∩ B is a subset of A and B.
Operations are performed when the set is expressed in the roster form.
(iii) ϕ ∩ A = ϕ (Law of ϕ)
In general, B - A = {x : x ∈ B, and x ∉ A}
(i) A and B
(ii) B and A
Solution:
The two sets are disjoint as they do not have any elements in common.
(i) A - B = {1, 2, 3} = A
(ii) B - A = {4, 5, 6} = B
(i) A and B
(ii) B and A
Solution:
(i) A - B = {a, c, e}
(ii) B - A = {g)
(ii) Find Q - R
(iii) Find R - P
(iv) Find Q – P
Solution:
Complement of a Set
Search
Solution:
Note:
For Example;
1. Let the set of natural numbers be the universal set and A is a set of even
natural numbers,
3. Show that;
= empty set = ϕ
Let A be any set then A' = set of those elements of ξ which are not in A'.
So x ∉ A'
Obviously A' = {U - A}
We observe that 2, 8, 12, 14 are the only elements of U which do not belong
to A.
Some properties of complement sets
For example:
Solution:
Then, X = {M, A, L, Y}
(iii) Given, Z = {natural numbers between 20 and 50, which are divisible by
7}
Solution:
Then, P = {1, 2, 3, 4, 5}
We have already learnt about the union, intersection and difference of sets.
Now, we will go through some practical problems on sets related to everyday
life.
1Save
Solution:
So, 40 = 22 + 28 - n(P ∩ Q)
40 = 50 - n(P ∩ Q)
Therefore, n(P ∩ Q) = 50 – 40
= 10
Solution:
40 = 20 + n(F) - 15
40 = 5 + n(F)
40 – 5 = n(F)
Therefore, n(F)= 35
= 35 – 15
= 20
Therefore, Number of students who like football only but not cricket = 20
Solution:
80 = 35 + 60 - n(S ∩ C)
80 = 95 - n(S ∩ C)
Therefore, n(S∩C) = 95 – 80 = 15
Therefore, the number of persons who drive a scooter only = n(S) - n(S ∩ C)
= 35 – 15
= 20
Also, the number of persons who drive car only = n(C) - n(S ∩ C)
= 60 - 15
= 45
4. It was found that out of 45 girls, 10 joined singing but not dancing and 24
joined singing. How many joined dancing but not singing? How many joined
both?
Solution:
Number of girls who joined dancing but not singing = Total number of girls -
Number of girls who joined singing
45 – 24
= 21
= 24 - 10
= 14
Therefore, number of girls who joined both singing and dancing is 14.
Venn Diagrams
Search
Venn diagrams are useful in solving simple logical problems. Let us study about
them in detail. Mathematician John Venn introduced the concept of representing the
sets pictorially by means of closed geometrical figures called Venn diagrams. In
Venn diagrams, the Universal Set ξ is represented by a rectangle and all other sets
under consideration by circles within the rectangle. In this chapter, we will use Venn
diagrams to illustrate various operations (union, intersection, difference).
In this,
• Circles or ovals are used to represent other subsets of the universal set.
• If set A and set B have some elements in common, then to represent them,
we draw two circles which are overlapping.
6Save
• If set A and set B are disjoint, then they are represented by two non-
intersecting circles.
6Save
In this diagrams, the universal set is represented by a rectangular region and its
subsets by circles inside the rectangle. We represented disjoint set by disjoint circles
and intersecting sets by intersecting circles.