In discrete mathematics, logic forms the foundation for reasoning, proof construction, and computational thinking. Among the fundamental concepts in logic is contradiction, which plays a critical role in evaluating propositions and constructing mathematical proofs.
A contradiction represents a situation where a statement cannot possibly be true under any circumstances. It highlights inconsistency within logical expressions and is widely used in formal reasoning, especially in proof techniques.
Understanding contradiction helps in:
A contradiction is a proposition that is always false, regardless of the truth values of its constituent variables.
A compound proposition is called a contradiction if its truth value is false for all possible combinations of truth values of its variables.
Contradictions are commonly represented using logical operators. The most basic and standard form is:
p ∧ ¬p
Where:
p is a proposition¬p is the negation of p∧ represents logical ANDp is true, then ¬p is falsep is false, then ¬p is truep ∧ ¬p is always falseThus, this expression is a contradiction.
Let us construct the truth table for:
p ∧ ¬p
| p | ¬p | p ∧ ¬p |
|---|---|---|
| True | False | False |
| False | True | False |
¬p is the opposite of pp ∧ ¬p) is false in all casesHence, the expression is a contradiction.
p ∧ ¬p
Always false as shown in the truth table.
(p ∨ q) ∧ ¬(p ∨ q)
Let:
A = (p ∨ q)Then expression becomes:
A ∧ ¬A
This follows the same structure as p ∧ ¬p, hence always false.
(p → q) ∧ p ∧ ¬q
Explanation:
p → q means if p is true, then q must be true¬q states q is falseThus, the expression becomes a contradiction.
Understanding contradiction is clearer when compared with other logical classifications.
A proposition that is always true.
Example:
p ∨ ¬p
| p | ¬p | p ∨ ¬p |
|---|---|---|
| True | False | True |
| False | True | True |
A proposition that is always false.
Example:
p ∧ ¬p
| p | ¬p | p ∧ ¬p |
|---|---|---|
| True | False | False |
| False | True | False |
A proposition that is sometimes true and sometimes false.
Example:
p → q
| p | q | p → q |
|---|---|---|
| True | True | True |
| True | False | False |
| False | True | True |
| False | False | True |
This fundamental law states:
¬(p ∧ ¬p)
A proposition and its negation cannot both be true at the same time.
p ∧ ¬p is always false¬(p ∧ ¬p) is always trueThis law is essential in classical logic and ensures consistency in reasoning.
Proof by contradiction is a powerful technique used in mathematics.
Statement: If p → q and p is true, then q must be true.
Proof by contradiction:
q is false (¬q)p → q, if p is true, then q must be true¬qq is trueStatement: √2 is irrational (conceptual outline)
Proof idea:
Contradictions are widely used in:
A contradiction is a proposition that is always false
Standard form: p ∧ ¬p
Truth tables confirm its always-false nature
It contrasts with:
Governed by the Law of Non-Contradiction
Essential in proof by contradiction, a key mathematical technique