Day 45 – Intro to Discrete Mathematics

Discrete mathematics is the study of discrete objects, which are different from connected objects.

Discrete objects are those which are separated or distant from each other. Such as integers, rational numbers, houses, people, etc.



  • Set theory is a branch of mathematics that deals with properties of well-defined collection of objects.
  • was introduced by George Cantor, a German mathematician.
  • forms the basis of several other fields of studies, such as counting theory, relations, graph theory, and finite state machines.
  • refer to a collection of any kind of objects: people, ideas or numbers.
  • well-defined collection of any kind of objects.

Set E – set of positive even integers less than 10.

Set V – set of vowels in the English alphabet.

Set C – set of colors

Empty set – an empty set

Set Notation

Set of positive even integers less than 10:

E\,=\,\{2, 4, 6, 8\}

Set of vowels in the English alphabet:

V\,=\,\{a, e, i, o, u\}

Empty Set


It can also be presented with:


A set is also an unordered collection of unique objects.

unordered and unique – the order of elements in a set is not important, and no duplicates are allowed in sets, then the following three sets are all the same.

These three sets are all the same (equal):



  • refer to elements of a set, or a member of a set
  • refer to elements that are not in a set, or not a member of a set



Cardinality of a set

  • the number of elements in a set. For example, the cardinality of set S is written as |S|.



For empty set:


Subset of a set


A is said to be a subset of B if and only if every element of A is also an element of B. In this case we write:




Empty set is a subset of any set.

Any subset is a subset of itself.


Quick Review:

Natural Numbers – Natural numbers are only positive integers, excluding zero, fractions, decimals, or negative numbers, and they are part of real numbers. Natural numbers are also called counting numbers.

Integers – a whole number (not a fractional number) that can be positive, negative, or zero. Examples of integers are: -5, 1, 5, 8, 97, and 3,043. Examples of numbers that are not integers are: -1.43, 1 3/4, 3.14, .09, and 5,643.1.

Rational Numbers – A rational number is a number that is in the form of p/q, where p and q are integers, and q is not equal to 0. Some of the examples of rational numbers include 1/3, 2/4, 1/5, 9/3, and so on.

Difference between Integers and Real Numbers – Integers are a type of real number that just includes positive and negative whole numbers and natural numbers. Real numbers can include fractions due to rational and irrational numbers, but integers cannot include fractions.

There is an infinite number of real numbers between any two integers

The number 0 is neither positive nor negative integer, and finite.

The set of all integers contains all natural numbers.

The set of all rational numbers contains all integers.

Special Sets: N, Z, Q, R

  • N = set of natural numbers = {1,2,3,4, …}
  • Z = set of integers = {… , -3, -2, -1, 0, 1, 2, 3, …}
  • Q = set of rational numbers(of form a/b where a and b are elements of Z(integers) and b is not equal to 0)
  • R = set of real numbers
This entry was posted in Study Notes and tagged , , , . Bookmark the permalink.

Leave a Reply