Introduction (परिचय)
Logical Operators का उपयोग propositions (statements) को combine करने या modify करने के लिए किया जाता है, जिससे complex logical expressions बनाए जा सकें।
इन operators की मदद से हम यह determine करते हैं कि कोई combined statement True होगा या False। यह symbolic logic, mathematics और computer science में बहुत important concept है।
Definition (परिभाषा)
Logical Operators वे symbols होते हैं, जिनका उपयोग दो या अधिक propositions को जोड़कर या बदलकर एक नया logical statement बनाने के लिए किया जाता है।
Basic Propositions (समझने के लिए)
मान लो:
p: It is raining
q: It is cold
अब हम इनको operators से combine करेंगे
Types of Logical Operators (प्रकार)
1. Conjunction (AND) (∧)
Meaning:
• “AND” का मतलब है दोनों statements true होने चाहिए
Structure:
p ∧ q
Example:
p: It is raining
q: It is cold
p ∧ q = “It is raining AND it is cold”
Truth Table:
| p | q | p ∧ q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | F |
Explanation:
• केवल तब true होगा जब दोनों true हों
• बाकी सभी cases में false
2. Disjunction (OR) (∨)
Meaning:
• “OR” का मतलब है कम से कम एक statement true होना चाहिए
Structure:
p ∨ q
Example:
p: It is raining
q: It is cold
p ∨ q = “It is raining OR it is cold”
Truth Table:
| p | q | p ∨ q |
|---|---|---|
| T | T | T |
| T | F | T |
| F | T | T |
| F | F | F |
Explanation:
• अगर एक भी true है → result true
• दोनों false हों → तभी false
3. Negation (NOT) (¬)
Meaning:
• Statement का opposite बनाता है
Structure:
¬p
Example:
p: It is raining
¬p = “It is not raining”
Truth Table:
| p | ¬p |
|---|---|
| T | F |
| F | T |
Explanation:
• True → False
• False → True
4. Conditional (Implication) (→)
Meaning:
• “If p then q”
Structure:
p → q
Example:
p: You study
q: You will pass
p → q = “If you study, then you will pass”
Truth Table:
| p | q | p → q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
Explanation (Important ):
• केवल एक case false होता है:
p = True और q = False
बाकी सभी cases में true
5. Biconditional (↔)
Meaning:
• “p if and only if q”
• दोनों का truth value same होना चाहिए
Structure:
p ↔ q
Example:
p: You study
q: You pass
p ↔ q = “You will pass if and only if you study”
Truth Table:
| p | q | p ↔ q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | T |
Explanation:
• दोनों same हों → True
• Different हों → False
Summary Table (Quick Revision)
| Operator | Symbol | Meaning |
|---|---|---|
| AND | ∧ | Both true |
| OR | ∨ | At least one true |
| NOT | ¬ | Opposite |
| IF-THEN | → | Condition |
| IFF | ↔ | Both same |
Importance of Logical Operators (महत्व)
• Logical expressions बनाने में मदद करता है
• Truth tables solve करने में use होता है
• Programming और digital logic में important
• Logical reasoning improve करता है
Short Answer (Exam Revision)
Logical Operators ऐसे symbols होते हैं, जिनका उपयोग propositions को combine करने के लिए किया जाता है, जैसे AND, OR, NOT, Conditional और Biconditional।