Skip to main content

Discrete Mathematics - Rules of Inference

To deduce new statements from the statements whose truth that we already know, Rules of Inference are used.

What are Rules of Inference for?

Mathematical logic is often used for logical proofs. Proofs are valid arguments that determine the truth values of mathematical statements.
An argument is a sequence of statements. The last statement is the conclusion and all its preceding statements are called premises (or hypothesis). The symbol “”, (read therefore) is placed before the conclusion. A valid argument is one where the conclusion follows from the truth values of the premises.
Rules of Inference provide the templates or guidelines for constructing valid arguments from the statements that we already have.

Table of Rules of Inference

Rule of InferenceNameRule of InferenceName
PPQ
Addition
PQ¬PQ
Disjunctive Syllogism
PQPQ
Conjunction
PQQRPR
Hypothetical Syllogism
PQP
Simplification
(PQ)(RS)PRQS
Constructive Dilemma
PQPQ
Modus Ponens
(PQ)(RS)¬Q¬S¬P¬R
Destructive Dilemma
PQ¬Q¬P
Modus Tollens

Addition

If P is a premise, we can use Addition rule to derive PQ.
PPQ

Example

Let P be the proposition, “He studies very hard” is true
Therefore − "Either he studies very hard Or he is a very bad student." Here Q is the proposition “he is a very bad student”.

Conjunction

If P and Q are two premises, we can use Conjunction rule to derive PQ.
PQPQ

Example

Let P − “He studies very hard”
Let Q − “He is the best boy in the class”
Therefore − "He studies very hard and he is the best boy in the class"

Simplification

If PQ is a premise, we can use Simplification rule to derive P.
PQP

Example

"He studies very hard and he is the best boy in the class", PQ
Therefore − "He studies very hard"

Modus Ponens

If P and PQ are two premises, we can use Modus Ponens to derive Q.
PQPQ

Example

"If you have a password, then you can log on to facebook", PQ
"You have a password", P
Therefore − "You can log on to facebook"

Modus Tollens

If PQ and ¬Q are two premises, we can use Modus Tollens to derive ¬P.
PQ¬Q¬P

Example

"If you have a password, then you can log on to facebook", PQ
"You cannot log on to facebook", ¬Q
Therefore − "You do not have a password "

Disjunctive Syllogism

If ¬P and PQ are two premises, we can use Disjunctive Syllogism to derive Q.
¬PPQQ

Example

"The ice cream is not vanilla flavored", ¬P
"The ice cream is either vanilla flavored or chocolate flavored", PQ
Therefore − "The ice cream is chocolate flavored”

Hypothetical Syllogism

If PQ and QR are two premises, we can use Hypothetical Syllogism to derive PR
PQQRPR

Example

"If it rains, I shall not go to school”, PQ
"If I don't go to school, I won't need to do homework", QR
Therefore − "If it rains, I won't need to do homework"

Constructive Dilemma

If (PQ)(RS) and PR are two premises, we can use constructive dilemma to derive QS.
(PQ)(RS)PRQS

Example

“If it rains, I will take a leave”, (PQ)
“If it is hot outside, I will go for a shower”, (RS)
“Either it will rain or it is hot outside”, PR
Therefore − "I will take a leave or I will go for a shower"

Destructive Dilemma

If (PQ)(RS) and ¬Q¬S are two premises, we can use destructive dilemma to derive ¬P¬R.
(PQ)(RS)¬Q¬S¬P¬R

Example

“If it rains, I will take a leave”, (PQ)
“If it is hot outside, I will go for a shower”, (RS)
“Either I will not take a leave or I will not go for a shower”, ¬Q¬S
Therefore − "Either it does not rain or it is not hot outside"

Comments

Popular posts from this blog

Digital Circuits - Shift Registers

We know that one flip-flop can store one-bit of information. In order to store multiple bits of information, we require multiple flip-flops. The group of flip-flops, which are used to hold (store) the binary data is known as  register . If the register is capable of shifting bits either towards right hand side or towards left hand side is known as  shift register . An ‘N’ bit shift register contains ‘N’ flip-flops. Following are the four types of shift registers based on applying inputs and accessing of outputs. Serial In − Serial Out shift register Serial In − Parallel Out shift register Parallel In − Serial Out shift register Parallel In − Parallel Out shift register Serial In − Serial Out (SISO) Shift Register The shift register, which allows serial input and produces serial output is known as Serial In – Serial Out  (SISO)  shift register. The  block diagram  of 3-bit SISO shift register is shown in the following figure. This block d...

discrete mathematics: Venn Diagrams

Venn Diagrams Venn diagram, invented in 1880 by John Venn, is a schematic diagram that shows all possible logical relations between different mathematical sets. Examples Set Operations Set Operations include Set Union, Set Intersection, Set Difference, Complement of Set, and Cartesian Product. Set Union The union of sets A and B (denoted by  A ∪ B A ∪ B ) is the set of elements which are in A, in B, or in both A and B. Hence,  A ∪ B = { x | x ∈ A   O R   x ∈ B } A ∪ B = { x | x ∈ A   O R   x ∈ B } . Example  − If  A = { 10 , 11 , 12 , 13 } A = { 10 , 11 , 12 , 13 }  and B =  { 13 , 14 , 15 } { 13 , 14 , 15 } , then  A ∪ B = { 10 , 11 , 12 , 13 , 14 , 15 } A ∪ B = { 10 , 11 , 12 , 13 , 14 , 15 } . (The common element occurs only once) Set Intersection The intersection of sets A and B (denoted by  A ∩ B A ∩ B ) is the set of elements which are in both A and B. Hence,  A ∩ B = { x | x ∈ A   A N D...