Day 04 part 04- Discrete mathematics for computer science Negation Operator of Proposition
The Negation Operator (¬) in Propositional Logic is one of the fundamental logical operators in Discrete Mathematics. It is used to reverse the truth value of a given proposition.
Contents
- 1 Definition:
- 2 Truth Table of Negation Operator (¬P):
- 3 Example:
- 4 Properties of Negation Operator:
- 5 Day 04 part 04- Discrete mathematics for computer science Negation Operator of Proposition
- 6 Discrete Mathematics for Computer Science Prof. Raissa D …
- 7 Discrete Mathematics and Its Applications, Eighth Edition
Definition:
If P is a proposition, then the negation of P, denoted as ¬P, is a proposition that is true when P is false and false when P is true.
Truth Table of Negation Operator (¬P):
P | ¬P |
---|---|
T | F |
F | T |
Example:
-
Let P = “It is raining.”
- Then, ¬P = “It is not raining.”
-
If P = “5 is greater than 3” (which is true),
- Then, ¬P = “5 is not greater than 3” (which is false).
Properties of Negation Operator:
- Double Negation: ¬(¬P) = P
- Involutory Property: Applying negation twice brings the original value back.
Would you like more examples or explanations related to propositional logic?