DM Notes Maths
DM Notes Maths
Set is the fundamental discrete structure upon which all other discrete structures are built. The
notion of sets was introduced by German Mathematician George Cantor (1845 - 1918) for a
better understanding of finite sequences. Simply set in mathematics means exactly what it
means in ordinary language, namely, a collection of objects. A battalion of soldiers, a ream of
papers, the alphabet, all are examples of sets.
in lowercase letter: 𝑥, 𝑦, 𝑧, 𝑝, 𝑞, 𝑟 . ..
Elements of the set can be listed or definition of the variables can be given using
a variable. For instance,
𝑋 = {1,3,5,7,9}
1|Page
we can use an identifier (′𝑥′ for example) to denote a representative element , while a ‘:’ symbol
means ‘such that’ and then the rule that the identifier should obey:
or
{𝑥 ∶ 𝑥 ∈ 𝑍, |𝑥| < 5 }
The latest way to write a set known as comprehension notation - can be expressed
in standard form as:
𝑥 | 𝑃(𝑥), where 𝑃(𝑥)is a statement states that the set comprised of all elements
′𝑥′ for which
𝑃 is true.
Always, remember one thing that the order in which the elements in a set occur is
immaterial.
Other examples,
Example 1.1
2|Page
1.3 Relations between Sets
There are many ways in which sets may be related to one another.
Equity
3|Page
Two sets are said to be equal if they contain the same elements i.e. if
every element of B is also in A, & every element of A is also in B,
then we say A =
e.g. if 𝐴 = {1,2,3} 𝑎𝑛𝑑 𝐵 = {1,3,2} 𝑡ℎ𝑒𝑛 𝐴 = 𝐵 .Two sets A & B are set to be
B.
equal, iff 𝐴 ⊆
𝐵 𝑎𝑛𝑑 𝐵 ⊆ 𝐴 or symbolically,
𝐴 = 𝐵 ⇔ (𝐴 ⊆ 𝐵 𝑎𝑛𝑑 𝐵 ⊆ 𝐴)
Example 1.2
{1,2,4} = {1,2,2,4};
{1,4,2} = {1,2,4};
Subsets
It can easily be imagine a set within a set. The contained set is called a subset of
the containing set. If the set A is a subset of B, we write:
𝐴⊆𝐵
Example 1.3
The set of people living in Delhi is subset of the set of people living in India
Note:
i.e. for every set 𝐴, the empty set does not have anything that isn’t in 𝐴 . So for all
Every set is a subset of the universal set, and the empty set is a subset of every set.
𝐴 (𝜙 ⊆ 𝐴)
sets
Disjoint
Disjoint sets can be defined as the sets with different elements with respect to
5|Page
(𝐴 ∩ 𝐵) = {𝑥 ∶ 𝑥 ∈ 𝐴 𝑎𝑛𝑑 𝑥 ∈ 𝐵}
Example: 1.4 (𝐴 ∩ 𝐵) = (𝐵 ∩ 𝐴)
(𝐴 ∩ 𝐴) = 𝐴 𝑎𝑛𝑑 (𝐴 ∩ 𝜙) = 𝜙
Two sets 𝐴 𝑎𝑛𝑑 𝐵 are called disjoint iff (𝐴 ∩ 𝐵) = 𝜙, i.e. 𝐴 𝑎𝑛𝑑 𝐵 have no
Note:
element in common.
A collection of set is called disjoint collection if, for every pair of sets in the
collection the two sets are disjoint. The elements of a disjoint collection
e.g. If 𝐴 = {{1, 2}, {3}}, 𝐵 = {{1}, {2, 3}}, 𝑎𝑛𝑑 𝐶 = {{1, 2, 3}}now these sets
are said to be mutually disjoint.
Union
The union of 𝐴 𝑎𝑛𝑑 𝐵, written as (𝐴 ∪ 𝐵), is the set of all elements which are
members of the set A or the set B or both it is written as
(𝐴 ∪ 𝐵) = {𝑥 ∶ 𝑥 ∈ 𝐴 𝑜𝑟 𝑥 ∈ 𝐵}
𝐴∪𝐵=𝐵∪𝐴
𝐴∪𝜙=𝐴
i.e.
𝐴∪𝐴=𝐴
Complements
Let 𝐴 𝑎𝑛𝑑 𝐵 be two sets. For any set A, the relative complement of 𝐵 with
respect to 𝐴, written as 𝐴 − 𝐵 is the set consisting of all elements of 𝐴
which are not elements of 𝐵 i.e.
𝐴 − 𝐵 = {𝑥: 𝑥 ∈ 𝐴 𝑎𝑛𝑑 𝑥 ∉ 𝐵}
Relative complements of 𝐵 with respect to 𝐴 can be written as 𝐴 \ 𝐵
Let 𝑈 be the universal sets. For any set 𝐴, the relative complement of 𝐴 with
respect to 𝑈, i.e.
𝑈 − 𝐴 is called the absolute compliment of 𝐴 . It is often called the
compliment of 𝐴 and denoted by 𝐴𝐶.
6|Page
𝑈 − 𝐴 = 𝐴𝐶 = {𝑋: 𝑋 ∈ 𝑈 𝑎𝑛𝑑 𝑥 ∉ 𝐴}
Note: we can represent 𝐴𝐶 as 𝐴′ also.
i.e.
7|Page
1.5 Venn Diagrams
Introduction of the universal set permits the use of a pictorial device to study the
connection between the subsets of a universal set and their intersection, union,
difference and other operations. The diagrams used are called Venn Diagrams
1.5.1 Definition
Venn diagram is a schematic representation of a set by a set of points. The
universal set U is represented by a set of points in a rectangle and a subset say A
of U is represented by the interior of circle. The operation of union and
intersection can be very simply represented through Venn diagrams.
Thus “Venn diagrams are pictorial representations of sets and their inter-relations,
and of them some basic results in set theory become obvious through these
diagrams”.
represent a set. Thus, let the circles A and B represent the sets A
and B respectively.
� 𝐴
�
𝐵
�
�
𝐴 U 𝐴 U
𝐴 𝐵
Fig. 1.1 e 𝐴 ∩ 𝐵
Thus from (Fig. 1.1 e), we see the portion common to two circles represents 𝐴 ∩
𝐵, while 𝐴 ∪
8|Page
𝐵 is represented by the total area covered by the two circles together.
Suppose we represent the universal set 𝑈 by the rectangle in the (fig. 1.1 d). The
component of 𝑆 with respect to 𝑈 denoted by 𝑆′ 𝑜𝑟 𝑆𝑐 (fig. 1.2).
9|Page
𝑆
(Fig. 1.2) 𝑆′ 𝑜𝑟 𝑆𝑐
Venn diagrams can also help in visualizing some types of problems given below
denoted by 𝐴𝑐 is the set of elements which belong to 𝑈 but which do not belong
to 𝐴:
𝐴𝑐 = {𝑥: 𝑥 ∈ 𝑈, 𝑥 ∉ 𝐴}
𝐴\𝐵 = {𝑥: 𝑥 ∈ 𝐴, 𝑥 ∉ 𝐵}
� 𝐴
𝐴 𝐵
𝑐
�
10 | P a g
e
Example 1.6 𝐴 = {𝑎, 𝑏} 𝑎𝑛𝑑 𝐵 = {1,2,3}
𝐴 × 𝐵 = {(𝑎, 1), (𝑎, 2), (𝑎, 3), (𝑏, 1), (𝑏, 2), (𝑏, 3)}
11 | P a g
e
Note: if 𝐴 = ∅ 𝑎𝑛𝑑 𝐵 is any non-empty set then 𝐴 × 𝐵 = ∅ = 𝐵 × 𝐴
Remark 1: In general 𝐴 × 𝐵 ≠ 𝐵 × 𝐴
𝐴 × (𝐵 × 𝐶) ≠ (𝐴 × 𝐵) × 𝐶
1.7 Power Sets
On several occasions testing all the combinations of elements in a set for the
subsets of 𝑆
Let 𝑆 be a set, and then the power set of 𝑆 i.e. set of all subsets of set 𝑆 can be
represented as 𝑃(𝑆)
Example 1.7 The power set P({3, 5, 7}) is the set of all subsets of {3, 5, 7}.
Hence, P({3, 5, 7}) = {∅, {3}, {5}, {7}, {3, 5}, {3, 7}, {5, 7}, {3, 5, 7}}.
Note that in the set of subsets, empty set and the set itself are among its
members. An empty set has only one subset i.e itself. Thus,
The set {∅} has exactly two subsets, viz., ∅ and the set {∅} itself. Therefore,
P (∅) = {∅}.
Initially we are introducing two basic counting principles i.e. Product Rule and
Sum Rule. Later on, we will discuss the way they used to solve the counting
problems
Assume that a process is broken down into two jobs and let there be 𝑛1 ways to
1.8.1 Product Rule
conduct first job and for each first job there are 𝑛2 ways to conduct second job
Example 1.8:
A company with two employees namely Sanjeev and Pankaj, leases a floor in a
building having 12 offices. So in exactly how many ways does the distinct office
can be assigned to both of the employees?
12 | P a g
e
It can be solve as,
In the process to assign offices to two of the employees can be done by starting
with Sanjeev to which an office can be assigned in 12 ways (since the total no. of
offices in building is 12)
13 | P a g
e
later on, Pankaj can be assigned an office in 11 ways (since an office is already
allotted to Sanjeev). Hence using product rule we can express this situation as,
12 x 11 = 132
Ways to assign offices to these two employees.
Example 1.9
A student can select only a project from three given lists out of which each one
consists of 23, 15 and 19 projects respectively. There is no repetition of any
project among these three lists. Then how many projects is there that can be
selected by students?
Solution: The student can select a project either from the first list or the second
Assume that if a job can be done in one of two methods and within that there is
one which is common to both. In such a scenario, the sum rule cannot be used to
count the number of methods to conduct the job. This can be done in two or
more ways. We have to see whether to do this job in many ways that will be
counted repeatedly. So we have to subtract those methods which we have
counted twice.
If a job that can be done in 𝑛1 ways or 𝑛2 ways then the total number of ways
1.8.3 Subtraction Rule
element in either S1 or in S2, and |S1 ∩ S2| ways to choose an element common
to both sets, this will give a formula
14 | P a g
e
Example 1.10
How many bytes either start with a 1 bit or terminated with the two bits 00?
Solution: We can create a string of bits of length eight that will either start with 1
or terminates with two bits 00. We can create a string of bits having length eight
that starts with a bit 1 in 27
15 | P a g
e
= 128 ways. This is due to the product rule, since the first bit can be chosen in
only single way and every other bits can be chosen in two ways. Similarly, we
can create a string of bits with length eight terminating with the two bits 00, in 2 6
= 64 ways. This is due to the product rule, since each of the first six bits can be
chosen in two ways and the last two bits can be chosen in only one way.
Some of the ways to create a string of bits with length eight starts at 1 are the
same as the ways to create a string of bits with length eight that terminates with
the two bits 00. There are 25 = 32 ways to create such a string. This uses the
product rule, since the first bit can be chosen in only one way, every sixth bits
can be chosen in two ways, and the last two bits can be chosen in one way.
Subsequently, the number of strings of bits with length eight that starts at 1 or
terminate at 00, which equals the number of ways to create a string of bits of
length eight that starts at 1 or that terminates with 00, equals 128 + 64 − 32 =
160.
“There are 𝑛/𝑑 methods to do a job if it can be done using a process that can be
It is useful while solving listing problems.
conducted in 𝑛 ways, and for each way 𝑤, exactly 𝑑 out of the 𝑛 ways resemble
to way 𝑤.”
We can demonstrate the division rule for counting with the following example.
Example 1.11
How many dissimilar ways to seat four people about a circular table, where two
seating’s are assumed the same when each person has the same left and the
right neighbor?
Solution: Firstly, randomly select a seat around the table and tag it seat 1.
Then tag the remaining seats in arithmetical order, arranged clockwise manner
around the table.
Consider the facts,
- There are four ways to opt the person for seat 1,
- Three ways to opt the person for seat 2,
- Two ways to opt the person for seat 3,
Therefore, we can say that this can be done in factorial 4 ways, i.e. 4! = 24 ways
- One way to opt the person for seat 4.
17 | P a g
e
Fig. 1.4
Tree Diagrams
The problems on counting can also be solved by using trees. A tree contains a
root; a number of branches originate from the root, and possible further
branches originating the endpoints of other branches. To use trees in counting,
we use a branch to represent each possible choice. We represent the possible
outcomes by the leaves, which are the endpoints of branches not having other
branches starting at them.
Example 1.12
Assume that “I Love India” T-shirts available in five variants: S, M, L, XL, and XXL.
Besides this assume that each variant available in four different colors, yellow,
orange, pink, and gray, except for XL, which available in orange, pink, and gray,
and XXL, which have pink and gray. How many different t-shirts does a memento
shop should stock to have at least one of each available variant and color of the
T-shirt?
Solution: The trees diagram in the given Figure 1-5 displays all the possible
variants and color pairs. It follows that the memento shop owner needs to stock
17 different T-shirts.
Fig. 1.5
18 | P a g
e
1.9 Cardinality
Sets are broadly used in counting problems, therefore for such use we need to
study about their sizes.
Let us assume that S be a set contains n distinct elements where n is any non-
negative integer then the set S is said to be finite. The cardinality of set S can be
represented by |S| which is in other term also called as number of elements in S.
Examples 1.13
Let X be the set of odd positive integers less than 20. Then |X| = 10.
Let P be the set of prime positive integers less than 10. Then |P| = 5.
Though the null set contain no elements, it follows that |∅| = 0.
Till now the notion of cardinality was in the scope of finite sets which is used to
compare the two finite sets on the basis of their sizes. Now we are extending this
notion to infinite set where the comparison can be done on the basis of the
difference between their sizes with respect to each other.
Definition:
The sets A and B are said to have same cardinality only when their sizes are
equal and have one to one correspondence between distinct elements of the set.
It can be expressed as |A| =
|B|.
In case of infinite sets, we need to talk of the cardinality on relatively among two
sets instead of being particular to a set.
1.10 Countability
19 | P a g
e
1.10.1 Countable Sets
Now, we will divide infinite sets into two different groups, those with the similar
cardinality as the set of natural numbers and those with a dissimilar cardinality.
20 | P a g
e
Fig. 1.6
of positive integers 𝑍+. A set is called countable iff, it is finite or countably infinite.
A set is said to be countably infinite iff, it has the similar cardinality as the set
Fig. 1.7
one to one correspondence with the set of positive integers 𝑍+. It can be
In order to proof that the set odd positive integers is finite, we need to have
expressed as,
𝑓(𝑥) = 2𝑥 – 1
𝑓 (𝑥) = 𝑓 (𝑦).
is one-to-one, suppose that
Then 2𝑥 − 1 = 2𝑦 − 1, so 𝑥 = 𝑦.
To see that it is onto, suppose that 𝑛 is an odd positive integer. Then 𝑛 is 1 less
than an even integer 2𝑘, where 𝑘 is a natural number. Hence 𝑛 = 2𝑘 − 1 = 𝑓
(𝑘).
An infinite set is countable if and only if it is possible to list the elements of the
21 | P a g
e
A significant proof method presented in 1879 by Georg Cantor and commonly
known as the Cantor diagonalization argument. It was supposed to prove that
the set of real numbers is not countable.
22 | P a g
e
Let’s see that how the set of real numbers is uncountable, we assume in advance
that the set of real numbers is countable and reach at a stage of contradiction.
Then, the subset of all real numbers that are between 0 and 1 would also be
countable (since any subset of a countable set is also countable). Under this
assumption, the real numbers between 0 and 1 can be listed in some order, say,
r1, r2, r3, ... We can decimal represent these real numbers like
𝑟1 = 0. 𝑑11𝑑12𝑑13𝑑14. … …
𝑟2 = 0. 𝑑21𝑑22𝑑23𝑑24. … …
𝑟3 = 0. 𝑑31𝑑32𝑑33𝑑34. … …
𝑟4 = 0. 𝑑41𝑑42𝑑43𝑑44. … …
...
r = 0.d1d2d3d4 . . . , where the decimal digits are determined by the following rule:
𝑑𝑖 = {4 𝑖𝑓 𝑑𝑖𝑖 ≠ 4
5 𝑖𝑓 𝑑𝑖𝑖 ≠ 4
the real number 𝑟 is not equal to any of its component because the decimal
Decimal expansion of each real number is unique by itself. Consequently,
Though there is a real number r between 0 and 1 that is not in the list, the
supposition that all the real numbers between 0 and 1 could be listed should be
false. Thus, all the real numbers between 0 and 1 cannot be listed, so the set of
real numbers between 0 and 1 is uncountable. Any set having an uncountable
subset is uncountable. Therefore, the set of real numbers is uncountable.
23 | P a g
e
1.11 Basic Set Identities and Proofs
Useful Definitions
24 | P a g
e
𝑥 ∈ 𝐴 ∩ 𝐵 ⟺ 𝑥 ∈ 𝐴 𝑎𝑛𝑑 𝑥 ∈ 𝐵
𝑥 ∈ 𝐴 ∪ 𝐵 ⟺ 𝑥 ∈ 𝐴 𝑜𝑟 𝑥 ∈ 𝐵
𝑥 ∈ 𝐴 − 𝐵 ⟺ 𝑥 ∈ 𝐴 𝑎𝑛𝑑 𝑥 ∉ 𝐵
𝑥 ∈ 𝐴𝐶 ⟺ 𝑥 ∉ 𝐴
𝑥, 𝑦 ∈ 𝐴 × 𝐵 ⟺ 𝑥 ∈ 𝐴 𝑎𝑛𝑑 𝑦 ∈ 𝐵
o 𝐴∪𝐵=𝐵∪𝐴
Cumulative Law
o 𝐴∩𝐵=𝐵∩𝐴
o (𝐴 ∪ 𝐵) ∪ 𝐶 = 𝐴 ∪ (𝐵 ∪ 𝐶)
Associative Law
o (𝐴 ∩ 𝐵) ∩ 𝐶 = 𝐴 ∩ (𝐵 ∩ 𝐶)
o 𝐴 ∪ (𝐵 ∩ 𝐶) = (𝐴 ∪ 𝐵) ∩ (𝐴 ∪ 𝐶)
Distributive Laws
o 𝐴 ∩ (𝐵 ∪ 𝐶) = (𝐴 ∩ 𝐵) ∪ (𝐴 ∩ 𝐶)
o ∅∪𝐴=𝐴∪∅=𝐴
Identity Laws
o 𝐴∩∅=∅∩𝐴=∅
o 𝐴∩𝑈=𝑈∩𝐴=𝐴
o 𝐴∪𝑈=𝑈∪𝐴=𝑈
o 𝐴 ∪ 𝐴𝐶 = 𝑈
Complement Law
𝐴 ∩ 𝐴𝐶 = ∅
o 𝑈𝐶 = ∅
o
o ∅𝐶 = 𝑈
o (𝐴𝐶)𝐶 = 𝐴
Double Complement Law
o 𝐴∪𝐴=𝐴
Idempotent Law
o 𝐴∩𝐴=𝐴
o (𝐴 ∪ 𝐵)𝐶 = 𝐴𝐶 ∩ 𝐵𝐶
De Morgan’s Law
o (𝐴 ∩ 𝐵)𝐶 = 𝐴𝐶 ∪ 𝐵𝐶
o 𝐴 − 𝐵 = 𝐴 ∩ 𝐵𝐶
Alternative representation for set difference
1.11.2 Proofs
Distributive Law
25 | P a g
e
Proof: Let 𝑥 ∈ 𝐴 ∪ (𝐵 ∩ 𝐶) ⟺ 𝑥 ∈ 𝐴 𝑜𝑟 𝑥 ∈ (𝐵 ∩ 𝐶)
26 | P a g
e
⟺ 𝑥∈𝐴 𝑜𝑟 (𝑥 ∈ 𝐵 𝑎𝑛𝑑 𝑥 ∈ 𝐶)
⟺ (𝑥 ∈ 𝐴 𝑜𝑟 𝑥 ∈ 𝐵) 𝑎𝑛𝑑 (𝑥 ∈ 𝐴 𝑜𝑟 𝑥 ∈ 𝐶)
⟺ 𝑥 ∈ (𝐴 ∪ 𝐵)𝑎𝑛𝑑 𝑥 ∈ (𝐴 ∪ 𝐶)
⟺ 𝑥 ∈ {(𝐴 ∪ 𝐵) ∩ (𝐴 ∪ 𝐶)}
The pigeonhole principle states that if n+1 pigeons fly into n pigeonholes, then at
least one pigeonhole must contain two or more pigeons. This principle is
illustrated in Figure 1.8 for 5 pigeons and 4 pigeonholes. Illustration (a) shows
the pigeons perched next to their holes, and
(b) shows the correspondence from pigeons to pigeonholes. The pigeonhole
principle is sometimes called the Dirichlet box principle because it was first
stated formally by J. P. G. L. Dirichlet (1805–1859).
Fig. 188
Illustration (b) suggests the following mathematical way to phrase the principle.
27 | P a g
e
Fig. 1.9
Propositional Logic
Reasoning revolves around reasoning. We can call it as set of rules while working
with logical reasoning. The history shows great signs over the timeframe that
reasoning is being a constant factor in derivation of knowledge and its
representation. This is all the critical work of George Boole, a famous British
mathematician which was handy taken by Gotlob Frege. Modern philosopher and
Mathematician Bertand Russell with Alfred Whitehead had come out with the
new definite set of logics which are common in use now.
Logic is based on truth and false of statements. However, there are many other
factors which determine whether the statement is true of false. In spite of using
individual statements, symbols had been used to represent arbitrary statements
so that the results can be used.
28 | P a g
e
Among many propositional logics the truth functional propositional logic is
perfect. It is based on logical operators and connectives which give rises to
complex statements. Interestingly the
29 | P a g
e
truth value of these complex statements depend upon the truth value of simple
statements and hence once can derive that the statement is true or false and not
both.
This clearly shows that the sentences in this category are either true or false and
also known as propositional sentences.
4.2 Propositions
As defined earlier a proposition is a sentence which is either true or false, but not
both. We can also call like this if the proposition is true, then its truth value is
true.
Example 4.1 Let us consider the following propositions along with their truth
values:
4. “4 + 4 = 9” False
Let us see some other examples where the sentences are neither true nor false.
From these three sentences, we can come out with any result whether they are
true of false, hence we can’t call them propositions. . The 5th sentence is an
order; the 6th sentence is a question, tea may be hot or cold. Similarly the 7th
sentence asks about the temperature. Thus, no definite set of information
(true/false) can we derive from these sentences, so we can say they are not
propositional sentences.
Although there are many connectives, but are confining herewith five connectives,
basic in nature are:
NOT
30 | P a g
e
AND
OR
IF_THEN (or IMPLY)
31 | P a g
e
IF_AND_ONLY_IF
The logic starts with a variable. In simple words we can define variable as a letter
we use for an unknown object of any type.
Let us consider the equation 𝑎 + 𝑏 = 10. Here 𝑎 and 𝑏 are variables which
denotes some values whose sum is 10.
It would be quite normal to say something like this: “Let 𝑥 and 𝑦 be two real
numbers. Suppose that they satisfy the equations 𝑥 + 𝑦 = 8 and 𝑥 + 3𝑦 = 12.
Determine the values of 𝑥 and 𝑦” It is then reasonable to call them variables,
because initially no information is given about them. Further we have some
relationships between 𝑥 and 𝑦 and from these relationships it is possible to
deduce the exact values of 𝑥 and 𝑦.
32 | P a g
e
Table 4.1 Connectives, symbols and symbolic form
~, ¬ ~𝑝
used word form
⋀ 𝑝⋀𝑞
Not Negation
∨ 𝑝∨𝑞
And Conjunction
⇒, ⟶ 𝑝⟶𝑞
Or Disjunction
⟺, ⟷ 𝑝⟷𝑞
If……then Implication (or Conditional)
If and only if Equivalence (or Bi-
≡ 𝑝≡𝑞
conditional)
Equivalence Equivalence of predicate
Negation
𝑝: 𝑃𝑎𝑟𝑖𝑠 𝑖𝑠 𝑖𝑛 𝐹𝑟𝑎𝑛𝑐𝑒
ways:
33 | P a g
e
Example 4.4 The negation of the proposition
𝑞 : No student is intelligent .
is
34 | P a g
e
~𝑞 : Some students are intelligent.
Note that “No student is intelligent” is not the negation of 𝑝; “All students are
intelligent” is not the negation of 𝑞.
Conjunction
Example 4.5
Solution:
Remarks
In statement (i) the connective ‘and’ is used in the same sense as the symbol ∧.
In (ii) the word ‘and’ is used in the sense of ‘and then’ because the action
described in “Shekhar started to work” after the action described in “shekhar
switched on the computer”. Finally, in (iii) the world ‘and’ is not at all a
connective.
Disjunction
36 | P a g
e
The English word “or” can be used in two different senses – as an inclusive
(“and/or”) or exclusive (“either/or”). For example consider the following
statements.
In the compound statement (1), the disjunction of the statements 𝑝 has been
used in exclusive sense (𝑝 or 𝑞 but not both); that is to say: one or the other
possibility exists but not both. Clearly, a person can not do both.
inclusive sense (𝑝 𝑜𝑟 𝑞 𝑜𝑟 𝑏𝑜𝑡ℎ). In this case at least one of the two possibilities
In compound statement (2), the connective or is being used in an
occurred, however both could have occurred. We shall always use ‘or’ in the
inclusive sense unless it is stated.
Solution:
Write simple verbal sentence which describes each of the following statements
a) ~𝑝 b) 𝑝 ∧ 𝑞 c) 𝑝⋁𝑞 d) 𝑝 ∨
~𝑞
Solution:
→ 𝑞). In
𝑝 → 𝑞, 𝑝 is called hypothesis or premise and 𝑞 is called conclusion or
consequence.
Example 4.8:
37 | P a g
e
Let 𝑝 denote “It is cold” and let 𝑞 denote “It rains”. Write the following statements
in symbolic form
a. It rains only if it is cold.
b. A necessary condition for it to be cold is that it rain.
c. A sufficient condition for it to be cold is that it rain.
38 | P a g
e
a. 𝑞 → 𝑝
Solution:
b. 𝑝 → 𝑞
c. 𝑞 → 𝑝
Example 4.9
𝑝≡𝑞
For example, consider the conjunction of any two propositions 𝑝 and 𝑞 . The
compound statement 𝑝 ∧ 𝑞 is true when both 𝑝 and 𝑞 are true, otherwise false.
There are four possible cases.
39 | P a g
e
There four cases are listed in the first two columns and the truth values of ∧ 𝑞 , 𝑝
∨ 𝑞 and
~𝑝 are shown in the table below:
40 | P a g
e
𝑝
𝑝 𝑞 (𝑝 ∧ 𝑞) 𝑝 𝑞 (𝑝⋁𝑞) ~𝑝
T T T T T T T F
T F F T F T F T
F T F F T T
F F F F F F
(b) (c)
(a)
The truth value of a compound depends only on the truth values of the
statements being combined and on the types of connectives being used. Truth
tables are especially valuable in the determination of the truth of connectives
being used. Truth tables are especially valuable in the determination of the truth
columns of the table are for the variables 𝑝, 𝑞, … … … and the number of rows
values of propositions constructed from simpler propositions. Note that the first
variables, 8 rows are necessary; in general, for 𝑛 variables, 2𝑛 rows are required.
depends on the number of variables. For 2 variables, 4 rows are necessary; for 3
The truth value at each step is determined from the previous stages by the
definition of connectives. The truth value of the proposition appears in the last
column.
a. 𝑝 ∨ 𝑝 ≡ 𝑝
1. Idempotent Law
b. 𝑝 ∧ 𝑝 ≡ 𝑝
a. (𝑝 ∨ 𝑞) ∨ 𝑟 ≡ 𝑝 ∨ (𝑞 ∨ 𝑟)
2. Associative Law
b. (𝑝 ∧ 𝑞) ∧ 𝑟 ≡ 𝑝 ∧ (𝑟 ∧ 𝑟)
a. 𝑝 ∨ 𝑞 ≡ 𝑞 ∨ 𝑝
3. Commutative Law
b. 𝑝 ∧ 𝑞 ≡ 𝑞 ∧ 𝑝
a. ∼ (𝑝 ∨ 𝑞) ≡∼ 𝑝 ∧∼ 𝑞
4. De-Morgan’s Law
b. ∼ (𝑝 ∧ 𝑞) ≡∼ 𝑝 ∨∼ 𝑞
a. 𝑝 ∨ (𝑞 ∧ 𝑟) ≡ (𝑝 ∨ 𝑞) ∧ (𝑝 ∨ 𝑟)
5. Distributive Law
b. 𝑝 ∧ (𝑞 ∨ 𝑟) ≡ (𝑝 ∧ 𝑞) ∨ (𝑝 ∧ 𝑟)
6. ∼∼ 𝑝 ≡ 𝑝
7. 𝑝 ∨∼ 𝑝 ≡ 1, 𝑝 ∧∼ 𝑝 ≡ 0
8. 𝑝 ∨ 1 ≡ 1, 𝑝 ∧ 1 ≡ 𝑝
A compound proposition that is always true for all possible truth values of its
variables or in other words, that contains only T in the last column of its truth
table is called a tautology. A compound proposition that is always false for all
possible values of its variables or in other words, that contains only F in the last
column of its truth table is called a contradiction. Finally a proposition that is
41 | P a g
e
neither a tautology nor a contradiction is called a contingency.
42 | P a g
e
Example 4.10 Propositions like
contradictions.
a) 𝑝 ⋁ ~𝑝 b) ~(𝑝 ∧ 𝑞) ∨ 𝑞 c) 𝑝 → (𝑝 ⋁ 𝑞)
Solution:
(a) The truth table of the given proposition is shown below. Since the truth
value is TRUE for all possible values of the propositional variables which
can be seen in the last column the table, the given proposition is tautology
Truth table of 𝑝 ⋁ ~𝑝
𝑝 ~𝑝 𝑝 ∨ ~𝑝
Table 4.3
T F T
F T T
(c) We construct the truth table of the given expression. It can be seen from
43 | P a g
e
Table 4.5 Truth table of 𝑝 → (𝑝 ∨ 𝑞)
44 | P a g
e
𝑝 𝑞 𝑝∧𝑞 𝑝∨𝑞 𝑝 → (𝑝 ∨ 𝑞)
T T T T T
T F F T T
F T F T T
F F F F T
Let’s talk about normal forms. So far we have learned about the propositions,
tautologies, contradictions and putting them in truth table. Surprisingly it is not
always possible to construct the truth table when there are too many variables.
i.e. 𝑝′ and 𝑞′ in such a way that they can denotes something like 𝑝 ≡ 𝑞.
expressions
The standard forms are popularly known as normal forms or in some places it can also be called as
canonical forms.
For simplifying the things, we often use the words product for the logical
connective conjunction and sum for logical connective disjunction.
We can take some other common terms like Elementary Product or Elementary
Sum.
example, let us take two atomic variables p and q then 𝑝, ~𝑝, ~𝑝 ∧ 𝑞, and ~𝑝
It can be defined as a product of variable and their negation in a formula. For
This clearly shows that the statement a necessary condition for an elementary
product to be identically false is that it should contains at least one pair of
factors in which one is the negation of the other.
can take example of 𝑝 and 𝑞 be any two variables. Then 𝑝, ~𝑝, ~𝑝 ∨ 𝑞, and ~𝑝
An elementary sum can be defined as the sum of variable and its negation. We
45 | P a g
e
Hence, we can derive from this that for a statement the necessary condition for
an elementary sum to be identically true is that it must contain at least one pair
of factor in which one is the negation of the other.
elementary product Let’s work out the above with a suitable example.
Solution:
(a) 𝑝 ∧ (𝑝 ⇒ 𝑞) ≡ 𝑝 ∧ (~𝑝 ∨ 𝑞)
≡ (𝑝 ∧ ~𝑝) ∨ (𝑝 ∧ 𝑞)
≡ 𝑝 ∨ (𝑝 ∨ (𝑞 ∨ (~𝑞 ∨ ~𝑟)))
≡ 𝑝 ∨ 𝑝 ∨ 𝑞 ∨ ~𝑞 ∨ ~𝑟
≡ 𝑝 ∨ 𝑞 ∨ ~𝑞 ∨ ~𝑟
Solution:
46 | P a g
e
(a) 𝑝 ∧ (𝑝 ⇒ 𝑞) ≡ 𝑝 ∧ (~𝑝 ∨ 𝑞) it is the CNF of the statement
47 | P a g
e
≡ [𝑞 ∨ (𝑝 ∧ 𝑟)] ∧ [(~𝑝 ∧ ~𝑟) ∨ ~𝑞]
After understanding DNF and CNF we are going to learn about PDNF i.e. Principal
disjunctive Normal form.
𝑝 ∧ 𝑞, ~𝑝 ∧ 𝑞, 𝑝 ∧ ~𝑞, and ~𝑝 ∧ ~𝑞
We can call these forms as minterms for the two variables 𝑝 and 𝑞.
Interestingly we do find that all minterms are different. If there are 𝑛 variables in
a statement formula, then there will be 2𝑛 minterms.
Let’s find the minterms of the three variables 𝑝, 𝑞 and 𝑟, they are
Solution:
𝑝 ∨ (𝑝 ∧ 𝑞) ≡ (𝑝 ∧ 𝑇) ∨ (𝑝 ∧ 𝑞) (𝑠𝑖𝑛𝑐𝑒 𝑝 ≡ (𝑝 ∧ 𝑇))
≡ (𝑝 ∧ (𝑞 ∨ ~𝑞)) ∨ (𝑝 ∧ 𝑞) (𝑠𝑖𝑛𝑐𝑒 𝑝 ∨ ~𝑝 ≡ 𝑇)
≡ (𝑝 ∧ 𝑞) ∨ (𝑝 ∧ ~𝑞)
1. 𝑝 ∨ (𝑝 → 𝑞)
2. 𝑝 ∨ (𝑝 ∧ 𝑞)
3. 𝑝 → 𝑞
Solution: Let’s try to find out the PDNF through truth table:
Firstly, for every truth value 𝑇 of the given formula in the truth table, write the
Finding of Principal Disjunctive Normal Form using Truth Table
minterm corresponding to the truth values of the variables. We all know that the
48 | P a g
e
minterm consists of the variable itself if its truth value is true and negation of the
variable if its truth value is false.
The disjunction of these minterms is the PDNF of the given formula. The PDNF of 𝑝
∨ (𝑝 ∧ 𝑞)
can be find as below:
49 | P a g
e
Table 4.6 Truth table of 𝑝 ∨ (𝑝 ∧ 𝑞)and corresponding minterms
𝑝 𝑞 𝑝∧𝑞 𝑝 ∨ (𝑝 ∧ 𝑀𝑖𝑛𝑡𝑒𝑟𝑚
𝑞)
𝑝∧𝑞
𝑝 ∧ ~𝑞
T T T T
T F F T
F T F F
F F F F
𝑝 ∨ 𝑞, ~𝑝 ∨ 𝑞, 𝑝 ∨ ~𝑞, and ~𝑝 ∨ ~𝑞
We can call these forms as maxterms for the two variables 𝑝 and 𝑞. In PDNF we do
have minterms but in PCNF we will have maxterms.
We can understand with an example for three variables 𝑝, 𝑞 and 𝑟, the maxterms
are: 𝑝 ∨ 𝑞 ∨
~𝑟, 𝑝 ∨ 𝑞 ∨ 𝑟, 𝑝 ∨ ~𝑞 ∨ 𝑟, ~𝑝 ∨ 𝑞 ∨ ~𝑟, ~𝑝 ∨ 𝑞 ∨ 𝑟, 𝑝 ∨ ~𝑞 ∨ ~𝑟, ~𝑝 ∨ ~𝑞 ∨
𝑟,and ~𝑝 ∨ ~𝑞 ∨
~𝑟.
Solution:
𝑝 ∧ (𝑝 ∨ 𝑞) ≡ (𝑝 ∨ 𝐹) ∧ (𝑝 ∨ 𝑞) (𝑠𝑖𝑛𝑐𝑒 𝑝 ∨ 𝐹 ≡ 𝑝)
≡ (𝑝 ∨ (𝑞 ∧ ~𝑞)) ∧ (𝑝 ∨ 𝑞) (𝑠𝑖𝑛𝑐𝑒 𝑞 ∨ ~𝑞 ≡ 𝐹)
≡ (𝑝 ∨ 𝑞) ∧ (𝑝 ∨ ~𝑞) (𝑠𝑖𝑛𝑐𝑒 𝑝 ∧ 𝑝 ≡ 𝑝)
We will try to find the Principal Conjunctive Normal Form Using Truth
Table The PCNF of a given formula using the truth table can be find
out as follows.
For any given formula in the truth table,for every truth value 𝐹 we write the
50 | P a g
e
max-term corresponding to the truth values. As maxterm consists of the variable
itself it its truth value false and the negation of the variable if its truth value is
true.
table below:
51 | P a g
e
Table 4.7 Truth table of 𝑝 ∧ (𝑝 ∨ 𝑞) and corresponding maxterms
𝑝 𝑞 𝑝∨𝑞 𝑝 ∧ (𝑝 ∨ 𝑀𝑎𝑥𝑡𝑒𝑟𝑚
𝑞)
T T T T
𝑝 ∨ ~𝑞
T F T T
𝑝∨𝑞
F T T F
In last we can say that PDNF and PCNF techniques are very useful in
understanding the logics effectively.
Inference
An inference can be defined as a process or a method of making logical
conclusions on the basis of premises known or expected to be true. The derived
conclusion is considered to be natural.
The propositions that are assumed to be true are called hypotheses or premises.
The proposition derived by the using the rules of inference is called conclusion.
The process of deriving conclusions based on the assumption of premises is
called a valid argument.
It can be explained as the illogical, but rational stuff via perceiving facts
patterns, context for understanding. In other words, inference does not used to
derive conclusions but unlocks the new avenues for inquiry. Inferences can be
categorized in two types as:
1. Inductive Inference
2. Deductive inference.
Here we can check truthfulness of the premises and conclusion, besides logic &
inference are interrelated: does the truth of the assumption follow the premises?
For instance,
1. All M are F
2. B is a F
3. Thus, B is a M
A false conclusion may also come out of a valid argument with false premises :
deductive inference:
Usually we read such news in newspaper that “A cricket team from a village in
Uttarakhand surprises by winning game by game. The team even overthrows the
Mumbai team”
Inference is made on the ground of some known facts: The village was remote and
historically had never distinguished itself; the resources need for cricket was
short due to the lack of cricket clubs and a coach for proper training. Large cities
might field good teams due to the greater availability of high quality players and
resources; and teams that can practice longer under the guidance of coach can
reasonably be expected to be better.
𝑝 then 𝑞”, and another in the form “𝑝”, that returns the conclusion “𝑞”. The rule
of inference said to be modus ponens considers two premises, one in the form “If
is valid as far as semantics of classical logic are concerned, in the sense that
conclusion will be true provided premises are true.
In formal logic and other concerned domains, rules of inference are generally
given in the subsequent standard form:
It means that on every occasion during some logical induction the given
premises may achieved, the particular conclusion can be considered as well.
The actual language of expression to explain both of the premises & conclusions
is based on the perspective of the logical induction. For example, one may use
logical formula as
𝐴→𝐵
above, the syntactical variables 𝐴 and 𝐵 can assume any element of the
usually expressed as a model using syntactical variables. In the rule mentioned
true.”
Modus Ponens are among the most frequently used notions in logic and should
54 | P a g
e
not be interpreted as a law in logic but it’s a tool for the derivation of proofs that
comprises the rule for definition and substitution as well. Though it is allowed to
ignore a conditional statement from the logical derivation or an argument thus it
is occasionally called as rule for detachment.
The conviction in the inference is the acceptance that if the previous statements
are true, then the final conclusion will also true. In other words,
“It is mango.”
55 | P a g
e
Thus, “It must be a fruit”
𝐴 → 𝐵, 𝐴
∴𝐵
It has a close relationship with another logical form of argument, modus tollens.
Both of them have similar but invalid forms that will be discussed later.
𝐴 → 𝐵, 𝐴⊢𝐵
((𝐴 → 𝐵)⋀𝐴) → 𝐵
Under propositional logic, modus tollens is inference rule and valid argument
form. It is an implementation of the common fact that in case of a statement
which is true, then its contrapositive is also true.
inference from 𝐴
Modus tollens is also well known as law of contraposition, confirms the
𝐴 → 𝐵, ¬𝐵
∴ ¬𝐴
Modus tollens has close relationship with modus ponens. There are two alike, but
invalid, forms of argument: asserting the consequent and contradicting the
56 | P a g
e
predecessor.
57 | P a g
e
5.3.1 Formal notation
𝐴 → 𝐵, ¬𝐵 ⊢ ¬𝐴
((𝐴 → 𝐵)⋀¬𝐵) → ¬𝐴
Example 5.2
Assuming that the premises are equally true (the fire alarm will ring if it detects
smoke, and does indeed won’t ring), it follows that no smoke has been detected.
This is a valid argument since it is not possible for the inference to be false if the
premises are true. (It is feasible that there may have been the smoke that smoke
sensor did not detected, but that does not nullify the argument; the first premise
is “if the smoke sensor detects smoke.” It means the more important thing is
that whether the sensor detects the smoke irrespective of whether smoke is
present there or not.
the antecedent is negated. The rule states that 𝑝 implies 𝑞 is logically equivalent
allows for a conditional statement to be replaced by a disjunction if and only if
Each use of modus tollens can be adapted to a use of modus ponens and one
use of substitution to the premise which is a material implication. For example:
(premise)
58 | P a g
e
Likewise, each use of modus ponens can be converted to use of modus tollens
and substitution.
59 | P a g
e
5.4 Validity
parrot is a bird.
Here truth values of the premises and conclusion are not responsible to make
this argument valid but conclusion needs a logical context and that gives these
two premises. Otherwise the argument would still remain valid where the truth
value of premises and conclusion both are false.
The argument given in example 2.4 is of the same logical form as above in
example 2.3. Difference is that the truth value of premises and conclusion is
false but the argument would be equally valid.
green. carrot is a
vegetable.
It doesn’t matter how the universe is, but it is not always possible that
these argument would give true premises concurrently with false conclusion.
Sachin is a man.
Therefore, Sachin is
60 | P a g
e
mortal.
61 | P a g
e
Here, the conclusion is not drawn from the premises so it contradicts the derived
logic and hence the argument is invalid while in general the conclusion can be
considered as true.
Let the letters '𝐻', '𝑀', and '𝑆' stand, individually, for the set of men, the set of
mortals, and Sachin. Using these symbols, an argument may be summarized as:
All 𝐻 are 𝑀.
𝑆 is a 𝐻.
Thus, 𝑆 is a 𝑀.
𝑆 is a 𝐻.
Thus, 𝑆 is a 𝑀.
An argument can formally called as valid if the conclusion is drawn on the basis
of the premises then no matter whether the premises are true or not. On the
other hand, if in an argument a conclusion is not drawn on the basis of the
premises then no matter the premises could be true but the argument will be
called as invalid.
The variables may possibly be any elements in the universe under consideration,
or possibly relations or functions over that universe of discourse. For instance, an
existential quantifier over a function symbol would be inferred as modifier “there
is a function”.
62 | P a g
e
and Charles Sanders Peirce.
63 | P a g
e
1. Mohit is a student.
2. Shridhar is a student.
3. Seema is a student.
If we write the propositions for these three sentences, we will require three
propositions. In the same way if we have a list of hundred students, then it is not
suitable to write hundred propositions because the part ‘is a student’ of the
variable (say 𝑥) in place of the name of the student and keep the remaining part
sentence is repeated in all these sentences. Hence, it is better to assign a
as it is, and define a set 𝑋 of students from where 𝑥 can take its values.
called predicate, and the set 𝑋 is called the universe of discourse for 𝑥. The
The sentence can be written as ‘𝑥 is a student’ in which the part ‘is a student’ is
For example,
𝑃(𝑥): 𝑥 𝑖𝑠 𝑎 𝑠𝑡𝑢𝑑𝑒𝑛𝑡
𝑄(𝑥): 𝑥 𝑖𝑠 𝑎𝑛 𝑎𝑛𝑖𝑚𝑎𝑙
5.6 Quantification
variable 𝑥 like
For writing a representational form of the sentence, we need a predicate on a
In logic, an idea that states the quantity of subjects in the domain of discourse
64 | P a g
e
assigned with a symbol and satisfies an open formula is called quantification.
1. Universal quantification
65 | P a g
e
2. Existential quantification
the statement
𝑃(𝑥) for all values 𝑥 in the universe of discourse and is denoted by ∀𝑥𝑃(𝑥). We
read ∀𝑥𝑃(𝑥)
as ‘for all 𝑥𝑃(𝑥)’ or ‘for every 𝑥𝑃(𝑥)’.
Note that ∀𝑥𝑃(𝑥) is true when 𝑃(𝑥) is true for every 𝑥 and is false when there
is any 𝑥 for which 𝑃(𝑥) is not true.
Example 5.6 Let 𝑃(𝑥): 𝑥 𝑖𝑠 𝑒𝑣𝑒𝑛 𝑛𝑢𝑚𝑏𝑒𝑟 and universe of discourse for 𝑥 is the
set {1,2,3,4}. Find the truth value of ∀𝑥𝑃(𝑥).
∀𝑥𝑃(𝑥) is false.
Solution: As every number in the set is not an even number, the statement
Example 5.7 Let 𝑃(𝑥): 𝑥 ≠ 5 and universe of discourse for 𝑥 is the set {1,2,3,4}.
Find the truth value of ∀𝑥𝑃(𝑥).
Solution: As for every number 𝑥 in the set 𝑥 ≠ 5, the statement ∀𝑥𝑃(𝑥) is true.
There exists some 𝑥 in the universe of discourse such that 𝑃(𝑥) and it is
symbolized by the symbol ∃𝑥𝑃(𝑥).
Note that ∃𝑥𝑃(𝑥) is true when 𝑃(𝑥) is true for at least one value of 𝑥 in the
universe of discourse and is false when 𝑃(𝑥) is false for every 𝑥 in the universe
of discourse.
Example 5.8 Let 𝑃(𝑥): 𝑥 𝑖𝑠 𝑒𝑣𝑒𝑛 𝑛𝑢𝑚𝑏𝑒𝑟 and universe of discourse for 𝑥 is the
set {1,2,3,4}. Find the truth value of ∃𝑥𝑃(𝑥).
Solution: As some numbers in the set are even numbers, the statement ∃𝑥𝑃(𝑥) is
true.
Example 5.9 Let 𝑃(𝑥): 𝑥 > 5 and universe of discourse for 𝑥 is the set {1,2,3,4}.
Find the truth value of ∃𝑥𝑃(𝑥).
Solution: As none of the number in the set is greater than 5, the statement ∃𝑥𝑃(𝑥)
is false.
66 | P a g
e
Problems for Exercise
𝐴 = {𝑛: 𝑛 ∈ 𝐼, 5 + 𝑛 = 6}
b.
c.
3. Which of these sets are equal : {𝑥, 𝑦, 𝑧}, {𝑧, 𝑥, 𝑦}, {𝑦, 𝑧, 𝑥}, {𝑥, 𝑧, 𝑦},
{𝑦, 𝑥, 𝑧}.
67 | P a g
e
a. He is tall and handsome.
b. It is false that he is short or handsome.
c. He is tall but not handsome.
d. He is neither tall nor handsome.
12.Determine the truth value of each of the following statements:
a. 1+1=5 or 2+2=4
a. 𝑝 ∧ (𝑞 ∨ 𝑟)
14.Find the truth tables of the following:
b. (𝑝 ∧ 𝑞) ∨ (𝑝 ∧ 𝑟)
15.Prove the associative law : (𝑝 ∧ 𝑞) ∧ 𝑟 ≡ 𝑝 ∧ (𝑞 ∧ 𝑟)
16.Find a principle disjunctive normal form ∼ (𝑝 ∨ 𝑞) ↔ (𝑝 ∧ 𝑞)
17.Obtain a principal disjunctive normal form(~𝑝 ∨∼ 𝑞) → (∼ 𝑝 ∧ 𝑟).
18.Obtain a principle conjunctive normal form of (𝑞 ∨ (𝑝 ∧ 𝑞)) ∧∼ (𝑝 ∨
𝑟) ∧ 𝑞)
19.Obtain a PDNF for 𝑝 ↔ 𝑞
20.Obtain PDNF of 𝑝 ∨ (∼ 𝑝 ∧∼ 𝑞 ∧ 𝑟).
c. (𝑎 ∨ 𝑏) → 𝑐
Therefore, by modus
𝑏
Therefore, by modus
d. I always bring my lunch
on Friday. I will buy my
lunch today.
Therefore, by modus
a. 𝑝 → ~𝑞; 𝑝 ∴
23.Supply the missing statement or reason in the following
b. ~𝑝 → 𝑞; ~𝑝 ∴
c. (∼ 𝑝 ∨ 𝑞) → ~(𝑞 ∧ ∼ 𝑝 ∨ 𝑞 ∴
𝑟);
d. (∼ 𝑝 ∧ 𝑞) → (𝑞 ∧∼ ∼ 𝑝 ∧ 𝑞 ∴
𝑟);
e. (∼ 𝑝 ∨ 𝑞) → ~(𝑞 ∧ 𝑞∧𝑟 ∴
68 | P a g
e
𝑟);
f. (∼ 𝑝 ∧ 𝑞) → (𝑞 ∧∼ ∼ (𝑞 ∧∼ ∴
𝑟); 𝑟)
24. Check whether the argument is valid or not
a. If I plant a tree, then I will get dirt under my nails. I didn’t get
dirt under my nails. Therefore, I didn’t plant a tree.
b. If I don’t change my oil regularly, my engine will die. My
engine died. Thus, I didn’t change my oil regularly
c. If I don’t tie my shoes, then I trip. I didn’t tie my shoes. Hence, I
tripped.
d. All racers live dangerously. Arnav is a racer. Therefore,
Arnav lives dangerously
25.Translate the following into symbolic form:
a. Everybody loves him
b. Somebody cried out for help and called the police.
26.State whether the following are true or false, where 𝑥, 𝑦 𝑎𝑛𝑑 𝑧 range
c. Nobody can ignore him.
a. ∀𝑥, ∋ 𝑦. (2𝑥 − 𝑦 = 0)
over the integers.
69 | P a g
e