Using Logical Equivalences to Simplify a Statement

  • Context: Undergrad 
  • Thread starter Thread starter Of Mike and Men
  • Start date Start date
  • Tags Tags
    Simplify
Click For Summary

Discussion Overview

The discussion revolves around the application of logical equivalences in simplifying a statement from discrete mathematics, specifically focusing on the distributive property of logical operations. Participants are examining a specific example from a textbook and seeking clarification on the steps involved in the simplification process.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants express confusion regarding the application of the distributive law in the context of the expression ~(~p ∧ q) ∧ (p ∨ q), particularly how it leads to the form p ∨ (~q ∧ q).
  • Others attempt to clarify the distributive property, stating that it can be used in both directions, and provide the standard forms of the distributive law.
  • A participant questions whether a typo exists in the textbook's example, suggesting that the expression should be p ∧ (~q ∨ q) instead of p ∨ (~q ∧ q).
  • Some participants agree that the simplification process involves recognizing tautologies, such as ~q ∨ q being always true, but express uncertainty about the steps leading to that conclusion.
  • There is a discussion about the confusion arising from the application of De Morgan's laws and how they relate to the distributive law.

Areas of Agreement / Disagreement

Participants generally do not reach a consensus on the correct application of the distributive law in this context, with multiple competing views and ongoing confusion about specific steps in the simplification process.

Contextual Notes

There are limitations in the discussion regarding the clarity of the steps involved in applying logical equivalences, particularly the transition from De Morgan's laws to the distributive law. Some participants express uncertainty about the definitions and applications of the laws being discussed.

Of Mike and Men
Messages
53
Reaction score
3
Hey everyone, I am in a discrete math course, and I was reading pre-reading the textbook (Discrete Mathematics with Applied Applications by Epp 4th Ed.), but didn't understand their example, I don't understand, specifically, the distributive portion. I don't see how they distributed it like that, if someone could expound on it, it'd be great.

Verify ~(~p ∧ q) ∧ (p ∨ q) ≡ p

~(~p ∧ q ) ∧ (p ∨ q) ≡ (~(~p) ∨ ~q) ∧ (p∨q) De Morgan's Laws
≡(p ∨ ~q) ∧ (p ∨ q) Double Negative Law
≡p ∨ (~q ∧ q) Distributive Law (the part I don't understand)
≡ p ∨ ℂ Negation Law
≡ p Identity Law
 
Physics news on Phys.org
Of Mike and Men said:
Hey everyone, I am in a discrete math course, and I was reading pre-reading the textbook (Discrete Mathematics with Applied Applications by Epp 4th Ed.), but didn't understand their example, I don't understand, specifically, the distributive portion. I don't see how they distributed it like that, if someone could expound on it, it'd be great.

Verify ~(~p ∧ q) ∧ (p ∨ q) ≡ p

~(~p ∧ q ) ∧ (p ∨ q) ≡ (~(~p) ∨ ~q) ∧ (p∨q) De Morgan's Laws
≡(p ∨ ~q) ∧ (p ∨ q) Double Negative Law
≡p ∨ (~q ∧ q) Distributive Law (the part I don't understand)
x ∧ (y ∨ z) ≡ ( x ∧ y) ∨ (x ∧ z), right? Each side is equivalent to the other, so you can replace either one with the other. The full name of this property is Distributivity of ∧ over ∨.
Of Mike and Men said:
≡ p ∨ ℂ Negation Law
≡ p Identity Law
 
Last edited:
Mark44 said:
x ∧ (y ∨ z) ≡ ( x ∧ y) ∨ (x ∧ z), right? Each side is equivalent to the other, so you can replace either one with the other. The full name of this property is Distributivity of ∧ over ∨.

I understand your example, but I'm not seeing it with the example from my op. I guess I'm confused in how this 'distributes' when x = (y ∧ z). Does it foil? Because when following the same method of your post I get:

((p ∨ ~q) ∧ p) ∨ ((p ∨ ~q) ∧ q)), which just turns into a vicious cycle of the same thing over and over when 'simplifying.' I'm obviously not understanding something fundamental with the distributive property, as I'm sure what I wrote is incorrect. I guess my confusion is when your 'x' in your example has multiple terms, so-to-speak i.e. where in algebra it'd be foiled.
 
Last edited by a moderator:
Verify ~(~p ∧ q) ∧ (p ∨ q) ≡ p

~(~p ∧ q ) ∧ (p ∨ q) ≡ (~(~p) ∨ ~q) ∧ (p∨q) De Morgan's Laws
≡(p ∨ ~q) ∧ (p ∨ q) Double Negative Law
≡p ∨ (~q ∧ q) Distributive Law (the part I don't understand)
I don't understand the last line either (I misread it in my earlier post), and I think there might be a typo. I believe the last line above should instead be
≡p ∧ (~q ∨ q) Distributive Law
Is what you wrote exactly what is shown in your book?

The next to last line in what I quoted becomes
p ∧ (~q ∨ q)
according to the Distributive Property.

Further simplifying,
~q ∨ q is always true (a tautology), so p ∧ (~q ∨ q) simplifies to just p.
 
Mark44 said:
I don't understand the last line either (I misread it in my earlier post), and I think there might be a typo. I believe the last line above should instead be
≡p ∧ (~q ∨ q) Distributive Law
Is what you wrote exactly what is shown in your book?

The next to last line in what I quoted becomes
p ∧ (~q ∨ q)
according to the Distributive Property.

Further simplifying,
~q ∨ q is always true (a tautology), so p ∧ (~q ∨ q) simplifies to just p.

I double-checked what I had typed, and that line IS correct: p ∨ (~q ∧ q)

However, this isn't the part I'm confused about, forgive me if that's what it seemed like. The confusion is actually from line 2 of the solution to line 3 of the solution, that is the De Morgan's:

≡(p ∨ ~q) ∧ (p ∨ q) Double Negative Law
≡p ∨ (~q ∧ q) Distributive Law (the part I don't understand)

I get this is the part that is a 'typo', however, what I don't understand is how to distribute from the double negative law. When I do so I get: ((p ∨ ~q) ∧ p) ∨ ((p ∨ ~q) ∧ q)). I'm fine with what you've said, and the way the book goes about simplifying with what they have. It's just the distribution I don't understand. Other than the: x ∧ (y ∨ z) ≡ ( x ∧ y) ∨ (x ∧ z).

As for the 'typo' they got that it becomes p or contradiction which is equivalent to p.
 
Of Mike and Men said:
However, this isn't the part I'm confused about, forgive me if that's what it seemed like. The confusion is actually from line 2 of the solution to line 3 of the solution, that is the De Morgan's:

≡(p ∨ ~q) ∧ (p ∨ q) Double Negative Law
≡p ∨ (~q ∧ q) Distributive Law (the part I don't understand)
Just to be clear, the text description on each line is the justification for going from the previous line to the line with the description. Maybe you understand that, but I'm not sure.

The Distributive Law takes two forms:
x ∧ (y ∨ z) ≡ (x ∧ y) ∨ (x ∧ y)
and
x ∨ (y ∧ z) ≡ (x ∨ y) ∧ (x ∨ y)

If the latter formula is reversed, you get
(x ∨ y) ∧ (x ∨ y) ≡ x ∨ (y ∧ z)

In the line marked "Double Negative Law" they are using this formulation to rewrite the expression of that line to its revised form on the line below (the line marked "Distributive Law").
Of Mike and Men said:
I get this is the part that is a 'typo', however, what I don't understand is how to distribute from the double negative law. When I do so I get: ((p ∨ ~q) ∧ p) ∨ ((p ∨ ~q) ∧ q)). I'm fine with what you've said, and the way the book goes about simplifying with what they have. It's just the distribution I don't understand. Other than the: x ∧ (y ∨ z) ≡ ( x ∧ y) ∨ (x ∧ z).

As for the 'typo' they got that it becomes p or contradiction which is equivalent to p.
 
Of Mike and Men said:
≡p ∨ (~q ∧ q) Distributive Law (the part I don't understand)

Do you understand that the distributive law can be used "backwards"? Not only can you go from ##A \lor( B \land C) ## to ## (A \lor B) \land (A \lor C) ##, you can also go from ##(A \lor B) \land (A \lor C)## "back" to ##A \lor( B \land C) ##.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 17 ·
Replies
17
Views
2K