Algebra of Propositions and Logical Equivalences
Learn the algebra of propositions with essential logical equivalence laws, implication and biconditional identities, De Morgan’s laws, duality, and step-by-step truth table examples.
Gulshan Kumar
· 20 min read
In propositional logic, compound propositions are formed by combining simpler propositions using logical operators such as AND, OR, NOT, implication, and biconditional.
Just as ordinary algebra has laws for simplifying numerical expressions, propositional logic has a collection of logical equivalence laws that allow us to simplify and transform logical expressions without changing their truth values.
These laws are collectively called the algebra of propositions.
1. Logical Equivalence
Two propositions are said to be logically equivalent if they have the same truth value for every possible combination of truth values of their variables.
If propositions and are logically equivalent, we write:
For example,
This means that and always produce exactly the same truth value.
Logical equivalences are extremely useful because they allow complicated logical expressions to be rewritten in simpler forms.
2. Basic Laws of Propositional Algebra
Let , , and be propositions.
Let:
- represent True
- represent False
- represent NOT
- represent AND
- represent OR
The following laws are fundamental.
Identity Laws
These are called identity laws because combining a proposition with the appropriate identity value does not change it.
Intuition
For AND:
- AND True depends entirely on .
Therefore,
For OR:
- OR False also depends entirely on .
Therefore,
Domination Laws
Here, one truth value completely determines the result.
If one operand of OR is True, the entire expression must be True:
Similarly, if one operand of AND is False, the entire expression must be False:
Idempotent Laws
Repeating the same proposition does not change its truth value.
For example, saying
"It is raining OR it is raining"
has exactly the same logical meaning as simply saying
"It is raining."
Double Negation Law
Negating a proposition twice gives the original proposition.
If means:
It is raining.
then means:
It is not raining.
and again means:
It is raining.
Therefore,
3. Commutative Laws
The order of propositions does not matter when using AND or OR.
For example,
has the same truth value as
This is similar to ordinary arithmetic:
4. Associative Laws
When the same logical operator is used repeatedly, changing the grouping does not change the result.
Therefore, we can often simply write
or
without worrying about the grouping.
5. Distributive Laws
Logical operators can distribute over one another.
OR distributed over AND
AND distributed over OR
Notice something interesting here.
In ordinary algebra, multiplication distributes over addition. In propositional logic, however, both AND and OR have distributive forms.
6. De Morgan's Laws
De Morgan's laws describe what happens when a negation is applied to an AND or OR expression.
and
A useful way to remember De Morgan's laws is:
Negate each proposition and switch the operator.
Thus,
For example,
becomes
while
becomes
7. Absorption Laws
These are called absorption laws because the larger expression containing is effectively absorbed by .
For example,
can only be true when is true, so the expression behaves exactly like .
8. Negation Laws
A proposition must either be true or false. Therefore,
is always true.
This is known as the Law of Excluded Middle.
On the other hand,
can never be true because a proposition and its negation cannot simultaneously be true.
This is the Law of Contradiction.
9. Summary of the Basic Equivalence Laws
| Law | Logical Equivalences |
|---|---|
| Identity | |
| Domination | |
| Idempotent | |
| Double Negation | |
| Commutative | |
| Associative | |
| Distributive | |
| De Morgan's | |
| Absorption | |
| Negation | |
10. Principle of Duality
An important feature of propositional algebra is that most laws occur in dual pairs.
The dual of a logical expression is obtained by simultaneously replacing:
and
Variables and negations remain unchanged.
For example, consider the identity law:
Replace with and with :
Therefore, these two identity laws form a dual pair.
Similarly,
has the dual
The double-negation law,
does not contain , , , or , so it is self-dual under these replacements.
11. Logical Equivalences Involving Implication
Recall that
means:
If is true, then is true.
Implication can be rewritten using NOT and OR.
Fundamental Implication Law
This is one of the most important equivalences in propositional logic.
It allows us to completely eliminate the implication operator.
Contrapositive
The proposition
is called the contrapositive of .
A conditional statement and its contrapositive are logically equivalent.
OR Using Implication
Using the implication law,
becomes
and by double negation,
Hence,
AND Using Implication
Because
negating both sides gives
Applying De Morgan's law,
Therefore,
Negation of an Implication
A particularly important equivalence is
Why?
Because is false in exactly one situation:
Therefore, saying
" is false"
means exactly
" is true AND is false."
Hence,
12. Additional Implication Equivalences
The following equivalences are also useful:
These identities are especially useful when simplifying compound logical expressions.
Summary of Logical Equivalences Involving Conditional Statements
| Logical Equivalence |
|---|
13. Logical Equivalences Involving Biconditional
The biconditional
means:
if and only if .
It is true whenever and have the same truth value.
Biconditional as Two Implications
For and to be equivalent, both directions must hold.
Negating Both Sides
Negating both propositions does not change whether their truth values are equal.
Biconditional Using AND and OR
This representation makes the meaning of the biconditional very clear.
It is true when either:
or
In other words, and must agree.
Negation of a Biconditional
It can also be written as
The negation is therefore true exactly when and have different truth values.
Summary of Logical Equivalences Involving Biconditional Statements
| Logical Equivalence |
|---|
14. Verifying Logical Expressions Using Truth Tables
Logical equivalences can be verified using truth tables.
If two expressions have identical truth values in every possible row, they are logically equivalent.
Let's look at a few examples.
Example 1: Construct the Truth Table for
We evaluate the expression step by step.
First calculate:
then
and finally
| T | T | F | T | T |
| T | F | T | T | T |
| F | T | F | F | T |
| F | F | T | T | F |
Therefore, the compound proposition has truth values
Notice the final row.
There,
while
so the implication becomes
which is False.
Example 2: Construct the Truth Table for
Because there are three variables , , and , the truth table contains
possible combinations.
We evaluate:
then
then
and finally
| T | T | T | T | F | T | F |
| T | T | F | T | F | F | T |
| T | F | T | F | T | T | F |
| T | F | F | F | T | T | F |
| F | T | T | F | T | T | T |
| F | T | F | F | T | T | T |
| F | F | T | F | T | T | T |
| F | F | F | F | T | T | T |
The final column gives the truth value of the complete compound proposition.
Example 3: Prove That
One of the most important implication identities is
We can prove this using a truth table.
| F | F | T | T | T |
| F | T | T | T | T |
| T | F | F | F | F |
| T | T | F | T | T |
Compare the final two columns:
| T | T |
| T | T |
| F | F |
| T | T |
They are identical for every possible combination of and .
Therefore,
The logical equivalence is proved.
15. Truth Tables vs. Equivalence Laws
There are two common ways to prove that logical expressions are equivalent.
Method 1: Truth Table
Construct the truth table for both expressions and compare their final columns.
If the columns are identical, the expressions are logically equivalent.
Method 2: Algebraic Simplification
Use established logical laws to transform one expression into another.
For example,
Using the implication law,
Using De Morgan's law,
Using double negation,
Therefore,
For large expressions, algebraic simplification is often much faster than constructing a complete truth table.
The algebra of propositions provides a systematic way to simplify and transform logical expressions without changing their meaning. By understanding the fundamental equivalence laws, implication and biconditional identities, De Morgan's laws, duality, and truth-table verification, we can solve complex logical expressions more efficiently. These concepts form an important foundation for discrete mathematics, Boolean algebra, digital logic, programming, and theoretical computer science.
What did you think?
Follow the idea
Continue the conversation
Share a question, an insight, or a different perspective.
Discussion loads when you reach this section.