- Home
- /
- Math
- /
- Sets & Logic
- /
- Negation
The negation of a statement P, written \neg P, is the statement with the opposite truth value: true when P is false, and false when P is true. Negation is fundamental to logical reasoning, proof by contradiction, and defining complements in set theory โ it enables us to express what is NOT true, which is essential in programming conditions and database queries.
Definition
The negation of a statement P, written \neg P, is the statement with the opposite truth value: true when P is false, and false when P is true.
๐ก Intuition
Flipping true to false or false to true. 'It is NOT the case that...'
๐ฏ Core Idea
Negation flips a statement's truth value: if P is true, \neg P is false, and vice versa. Double negation cancels: \neg(\neg P) = P.
Example
Formula
Notation
\neg P or \sim P or P'
๐ Why It Matters
Negation is fundamental to logical reasoning, proof by contradiction, and defining complements in set theory โ it enables us to express what is NOT true, which is essential in programming conditions and database queries.
๐ญ Hint When Stuck
Write 'It is NOT the case that...' before the statement, then simplify. For 'all' statements, switch to 'there exists one that does not.'
Formal View
Related Concepts
๐ง Common Stuck Point
Negation of 'All dogs bark' is 'Some dog doesn't bark,' not 'No dogs bark.'
โ ๏ธ Common Mistakes
- Negating 'All X are Y' as 'No X are Y' instead of 'Some X are not Y'
- Thinking negation changes a statement's subject โ \neg P just flips the truth value, it doesn't create a 'stronger opposite'
- Forgetting double negation cancels out โ \neg(\neg P) = P, not something new
Go Deeper
Frequently Asked Questions
What is Negation in Math?
The negation of a statement P, written \neg P, is the statement with the opposite truth value: true when P is false, and false when P is true.
What is the Negation formula?
\neg(\neg P) \Leftrightarrow P (double negation law)
When do you use Negation?
Write 'It is NOT the case that...' before the statement, then simplify. For 'all' statements, switch to 'there exists one that does not.'
Prerequisites
Cross-Subject Connections
How Negation Connects to Other Ideas
To understand negation, you should first be comfortable with logical statement.
Visualization
StaticVisual representation of Negation