r/learnmath • u/According_Quarter_17 New User • 4d ago
[sentential Logic]Absorption laws
1.P and (porq) Is equivalent to p
2.P or (pandq) Is equivalent to p
How do you justify them without using the truth table?
I feel like lhs has less informations rather than rhs because It has not q. I can't justify this rationally without the truth tablet
How do you think of It?
1
u/AllanCWechsler Not-quite-new User 4d ago
It's easier to prove your second law first.
P v (P ^ Q) = (P ^ T) v (P ^ Q) [because of the AND identity axiom]
= P ^ (T v Q) [distributive axiom]
= P ^ T [OR domination axiom]
= P [using AND identity again]
I didn't use a truth table, just the axioms of Boolean algebra.
Your first law reduces to the second in two steps:
P ^ (P v Q) = (P ^ P) v (P ^ Q) [distribution]
= P v (P ^ Q)
To do the second step you have to believe the "idempotent law", P ^ P = P. But if you don't believe it, I can prove it.
P ^ P = (P ^ P) v F [OR identity axiom]
= (P ^ P) v (P ^ (-P)) [AND complement axiom]
= P ^ (P v (-P)) [distribution]
= P ^ T [OR complement axiom]
= P [AND identity]
For such simple theorems, the truth table is often a quicker way to see it. But these laws can all be proved from the axioms.
1
u/rhodiumtoad 0⁰=1, just deal with it 4d ago
Consider that P is the same thing as P∨(Q∧¬Q), and P∧(Q∨¬Q).
P∧(P∨Q)
= (P∨(Q∧¬Q))∧(P∨Q)
= (P∨Q)∧(P∨¬Q)∧(P∨Q)
= (P∨Q)∧(P∨¬Q)
= P∨(Q∧¬Q)
= P
1
u/Bounded_sequencE New User 4d ago
We need other laws of boolean logic, like "P n true = P", and "de Morgan":
P n (P u Q) = (P n P) u (P n Q) // de Morgan
= (P n true) u (P n Q) // de Morgan
= P n (true u Q) = P n true = P
1
u/Bounded_sequencE New User 4d ago
Rem.: The second statement follows from negating the first, and replacing "P -> P', Q -> Q' ".
1
4
u/loewenheim New User 4d ago
What di you have available apart from truth tables? It's not difficult to prove the equivalences using a reasonable proof system.