Open In App

Problems on Tautology

Last Updated : 06 Feb, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

Pre-requisite: Basics of Propositions, Laws

Proposition– The meaning of proposition in literature is an idea, a plan or an offer, or a suggestion that can be proved True or False. The same goes for mathematical propositions. They are declarative sentences that can be True or False. Propositions are the fundamental building blocks of logic. 

Examples:

1. The magnetic lines emerge from the North and merge into South pole.

2. 2 + 1 = 3

3. ‘p’ is a vowel.

All of the above three sentences are proper propositions, where the first two are True and the third one is False.

Tautology

Propositional logic is said to be a tautology if it is always true regardless of the true/false of the atomic formulas. A tautology is always “True”. To check whether a given logic is a tautology or not, we often use the truth table method. Although the truth table method is not effective when the logic contains a number of atomic formulas.

Example:

Odd number = A

Even number = B

1. If we add one odd number and one even number then we get odd number.

Converting statement-1 into mathematical logic:

A ∧ B ⇒ A

Let’s prove that the above logic is a tautology. In order to build the truth table, we need to convert the logic statements into a clausal form.

The truth table of A ∧ B ⇒ A, clausal form is: ¬(A ∧ B)∨A

A B (A ∧ B) ¬(A ∧ B) ¬(A ∧ B)∨A
T T T F T
T F F F T
F T F T T
F F F T T

All entries are True, irrespective of the True/False values of atomic literals. So, this is a tautology.

Examples of Tautology with logic symbols:

  1. ¬A∨A
  2. (P∨Q)⇒(P∨Q)

A mathematical sentence consisted of logic. A proposition is either True or False. The proposition is made up of mathematical logic. Various propositional logics are given below in their priority order:

  1. Negation (No)
  2. Conjunction (and)
  3. Disjunction (or)
  4. Implication (⇒)
  5. Equivalence (⇔)

Tautology– A proposition that is always true. The truth table is evaluated for the given proposition and if in every case the result is True, then that proposition is called Tautology.

Truth table

It is a table that gives the output of the propositional logic against each input component. The result is binary, either True or False for each row of inputs.

Problems: Find if the given propositional logic is a tautology or not.

1) P

Truth table:

P
T
F

The truth table of P contains a False value. Thus, it can not be a tautology.

2) P⇒P

We shall draw the truth table for this proposition.

Implication:

P⇒Q =¬P∨Q

The simplified expression of the given proposition is: ¬P∨P

Truth Table:

P ¬P ¬P∨P
T F T
F T T

The truth table of ¬P∨P consists only of True values. Therefore, P⇒P is a tautology.

3) (P ⇒ P) ⇒ P

We shall draw the truth table for this proposition.

Implication:

P⇒Q=¬P∨Q

The simplified expression of the given proposition is: 

(¬P∨P) ⇒ P

¬(¬P∨P)∨P

(ï¿¢(ï¿¢P) ∧ ï¿¢P)∨P {By Demorgan’s Law}

(P ∧ ¬P) ∨P

(P ∧ ¬P)= False {Complement laws: – P∧¬P=F }

False  âˆ¨ P = P {Absorption law}

Thus, (P ⇒ P) ⇒ P is equivalent to P. We have already solved this in problem-1.

Therefore, this is not a Tautology.

4) (p → q) → [(p → q) → q]

Solving: (p → q) = ¬p∨q {Implication}

Solving: [(p → q) → q] 

       = [(ï¿¢p∨q) → q]

       = [ï¿¢(ï¿¢p∨q)∨q]

       = [(ï¿¢(ï¿¢p)∧¬q)∨q] {Demorgan’s Law}

       = [(p∧¬q)∨q] {Involution law}

       = [(p∨q)∧(ï¿¢q∨q)] {Distributive law}

       = [(p∨q)∧T] {Complement law}

       = (p∨q) {Absorption law}

Solving (p → q) → [(p → q) → q]

¬(¬p∨q)∨(p∨q)

[ï¿¢(ï¿¢p)∧(ï¿¢q)]∨(p∨q){Demorgan’s Law}

(p∧¬q)∨(p∨q) {Involution law}

Thus, final expression is: (p∧¬q)∨(p∨q)

Truth table: 

p q ¬q (p∧¬q) (p∨q) (p∧¬q)∨(p∨q)
T T F F T T
T F T T T T
F T F F T T
F F T F F F

Since there is a False entry in the truth table, it implies it is not a Tautology.

5) ((P⇒Q)∧P)⇒Q

Solving (P⇒Q): ¬P∨Q

Solving ((P⇒Q)∧P): ((¬P∨Q)∧P)

          = (ï¿¢P∧P)∨(Q∧P) {Distributive Law}

          = (F)∨(Q∧P) {Complement Law}

          = (Q∧P) {Absorption Law}

Solving ((P⇒Q)∧P)⇒Q: (Q∧P)⇒Q

                     = ï¿¢(Q∧P)∨Q

                     = (ï¿¢Q∨¬P)∨Q {Demorgan Law}

                     = (ï¿¢Q∨Q)∨¬P) {Associative Law}

                     = T∨(ï¿¢P) {Complement Law}

                     = T {Absorption Law}

Final CNF is: True

Here, no need of finding the Truth Table. Given logic is a tautology.



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads