BCA 102 Module-I :Tautology and Contradiction

Tautology and Contradiction

🔍 परिचय (Introduction):

Logic में कुछ ऐसे statements होते हैं जो हर परिस्थिति में हमेशा सत्य (True) रहते हैं — इन्हें Tautology कहते हैं।
इसके विपरीत, कुछ ऐसे statements होते हैं जो हर परिस्थिति में हमेशा असत्य (False) होते हैं — इन्हें Contradiction कहते हैं।

ये दोनों concepts logic circuits, mathematics, और computer science में बहुत important हैं।


1. Tautology (सर्वसत्य)

📚 Definition:

अगर कोई logical statement हर possible combination पर हमेशा True आता है, तो वह tautology कहलाता है।

📌 Symbolically:
If S is a statement, and ∀ truth values, S=True⇒S is a tautology\forall \text{ truth values, } S = \text{True} \Rightarrow S \text{ is a tautology}∀ truth values, S=True⇒S is a tautology

🔠 Examples of Tautology:

  1. p ∨ ¬p
    (Either p is true OR not p is true — हमेशा सत्य)
p¬pp ∨ ¬p
TF✅ T
FT✅ T

✅ हमेशा true ⇒ Tautology

  1. (p → q) ∨ (q → p)
pqp → qq → pCombined OR
TTTT✅ T
TFFT✅ T
FTTF✅ T
FFTT✅ T

✅ Always true ⇒ Tautology


🎓 Real-Life Example:

Statement: “You are either alive or not alive.”
⇒ It is always true. Hence, it’s a tautology.


2. Contradiction (विरोधाभास)


📚 Definition:

अगर कोई logical statement हर possible truth value पर हमेशा False आता है, तो वह contradiction कहलाता है।

📌 Symbolically:
If S is a statement, and ∀ truth values, S=False⇒S is a contradiction\forall \text{ truth values, } S = \text{False} \Rightarrow S \text{ is a contradiction}∀ truth values, S=False⇒S is a contradiction


🔠 Examples of Contradiction:

  1. p ∧ ¬p
    (एक साथ कोई statement और उसका निषेध — कभी भी true नहीं हो सकता)
p¬pp ∧ ¬p
TF❌ F
FT❌ F

❌ हमेशा false ⇒ Contradiction


  1. (p ∧ q) ∧ (¬p ∨ ¬q)
    एक ही समय पर p और q दोनों सत्य होने चाहिए और साथ ही p या q कम से कम एक असत्य भी होना चाहिए — यह logically impossible है।

⇒ हमेशा False ⇒ Contradiction


🎓 Real-Life Example:

Statement: “It is raining and not raining at the same time.”
⇒ ये कभी true नहीं हो सकता ⇒ contradiction


📘 Summary Table:

TypeSymbolic FormAlways Result
Tautologyp ∨ ¬p✅ True
Contradictionp ∧ ¬p❌ False

🎯 Objectives Recap:

  • Tautology और Contradiction को पहचानना
  • Truth tables से उनका analysis करना
  • Symbolic और real-world examples से समझना
  • Logical decision-making में इनका उपयोग सीखना

📝 Exercise (अभ्यास प्रश्न):

📌 Short Answer Questions:

  1. What is a tautology? Give one example.
  2. Define contradiction with truth table.
  3. Is (p ∧ ¬p) a tautology or contradiction? Explain.

📌 Long Answer / Numerical Questions:

  1. Show that (p ∨ ¬p) is a tautology using truth table.
  2. Show that (p ∧ ¬p) is a contradiction using truth table.
  3. Determine whether the following is a tautology, contradiction, or neither:
    a. (p ∧ q) → p
    b. (p ↔ ¬p)