using truth table verify that ~(pvq)=~p^~q
Answers
Answer:
p q ∼p ∼q (p∨q) ∼(p∨q) (∼p∧∼q)
T T F F T F F
T F F T T F F
F T T F T F F
F F T T F T T
∴∼(p∨q)≡∼p∧−∼q
Hence proved.
Answer:
It is verified that ~(p \/ q) = ~p /\ ~q.
Explanation:
Given: ~(p \/ q) = ~p /\ ~q
To find: Verification of the given equivalence.
Steps need to be done:
- Write the given equivalence.
- Find the number of rows in the truth table.
- Find the truth table for the left-hand side.
- Find the truth table for the right-hand side.
- Check whether their last columns are equal.
- Determine the equivalence.
Step 1:
Finding the number of rows in the truth table.
There are two variables given p and q.
Hence, n = 2.
Thus, the number of rows will be,
There will be four rows in the truth table.
The elements of p are T, T, F, and F.
The elements of q are T, F, T, and F.
Step 2:
Finding the truth table for ~(p \/ q).
The truth table for ~(p \/ q) is given below in the first image.
The last column comes out to be T, F, F, and F.
Step 3:
Finding the truth table for ~p /\ ~q.
The truth table for ~p /\ ~q is given below in the first image.
The last column comes out to be T, F, F, and F.
Step 4:
The last columns of both tables are the same.
Thus, they are equivalent.
Final answer:
Hence, ~(p \/ q) = ~p /\ ~q is verified.