Private Tuitions and Classroom Coaching for all BSC, BTECH, MCA Students
The Best Tutorial Home for Computer Science Students !!
Class Room Coaching and Practical session for all semesters
B.Sc, BTech, MCA, M.Sc



Corporate Office & Development Centre:
Serampore, Chatra, Kolkata.
Enroll Now!
Enroll now!


The concept of set is fundamental to mathematics and computer science. Everything mathematical starts with sets. For example, relationships between two objects are represented as a set of ordered pairs of objects, the concept of ordered pair is defined using sets, natural numbers, which are the basis of other numbers, are also defined using sets, the concept of function, being a special type of relation, is based on sets, and graphs and digraphs consisting of lines and points are described as an ordered pair of sets.

Though the concept of set is fundamental to mathematics, it is not defined rigorously here. Instead we rely on everyone's notion of "set" as a collection of objects or a container of objects. In that sense "set" is an undefined concept here. Similarly we say an object "belongs to " or "is a member of" a set without rigorously defining what it means. "An object(element) x belongs to a set A" is symbolically represented by "x A" . It is also assumed that sets have certain (obvious) properties usually asssociated with a collection of objects such as the union of sets exists, for any pair of sets there is a set that contains them etc.

This approach to set theory is called "naive set theory " as opposed to more rigorous "axiomatic set theory". It was first developed by the German mathematician Georg Cantor at the end of the 19th century. For more on naive and axiomatic set theories which is not required for this course. Though the naive set theory is not rigorous, it is simpler and practically all the results we need can be derived within the naive set theory. Thus we shall be following this naive set theory in this course.

A set can be described in a number of different ways. The simplest is to list up all of its members if that is possible. For example {1, 2, 3} is the set of three numbers 1, 2, and 3. { indicates the beginning of the set, and } its end. Every object between them separated by commas is a member of the set. Thus {{1, 2}, {{3}, 2}, 2}, {1 } } is the set of the elements {1, 2}, {{3}, 2} and {1}.

A set can also be described by listing the properties that its members must satisfy. For example, { x| 1 x 2 and x is a real number. } represents the set of real numbers between 1 and 2, and { x| x is the square of an integer and x 100 } represents the set { 0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100 }.

A third way to describe a set is to give a procedure to generate the members of the set. The recursive/inductive definition is an example and it is going to be studied later. In this representation, first, basic elements of the set are presented. Then a method is given to generate elements of the set from known elements of the set. Thirdly a statement is given that excludes undesirable elements (which may be included in the set otherwise) from the set. for example the set of natural numbers N can be defined recursively as the set that satisfies the following (1), (2), and (3):

(1) 0 N

(2) For any number x if x N, then x + 1 N.

(3) Nothing is in N unless it is obtained from (1) and (2).

Following this definition, the set of natural numbers N can be obtained as follows:

First by (1), 0 is put into N.

Then by (2), since 0 is in N, 0 + 1 (= 1) is in N.

Then by (2) again, 1 + 1 (= 2) is in N.

Proceeding in this manner all the natural numbers are put into N.

Note that if we don't have (3), 0.5, 1.5, 2.5, ... can be included in N, which is not what we want as the set of natural numbers.

Private Tuitions and Classroom Coaching for all BSC, BTECH, MCA Students Private Tuitions and Classroom Coaching for all BSC, BTECH, MCA Students

Map and Driving Directions

Computer Science (Honors/B.Tech) Tutorials

10 minutes from
Serampore Railway Station or Barrackpore Dhobhi Grat

Hi I am Alfred. close