Math
Math
Problem 15: Write truth table for the statement forms: (5 points)
~(p ^ q) V (p V q)
Truth Table:
(r V p) ^ ( ( ~r V (p^q) ) ^ (r V q) ) and p ^ q
Truth Table:
T T T F T T T T T T
T T F T T T T T T T
T F T F F F T T F F
T F F T F T F T F F
F T T F F F T T F F
F T F T F T T F T F
F F T F F F T T F F
F F F T F T F F F F
Since values in the column 5 and column 10 are same the give two statements are logically
equivalent.
Use theorem 1.1.1 to prove the logical equivalence of the following statements,
Sol:
Hence proved
(pVq) V (~p^q) → q
T T F T F T T
T F F T F T F
F T T T T T T
F F T F F F T
Write each of the following three statements in the symbolic form and determine which pairs
are logically equivalent
Sol:
Let:
a. (p ^ q) → r
b. ~p V ~q V r
c. (~p ^ ~q) → ~r
The truth tables for each of the above statements are as below:
a. (p ^ q) → r
p q r p^q (p ^ q) → r
T T T T T
T T F T F
b. ~p V ~q V r
p q r ~p ~q ~p V ~q ~p V ~q V r
T T T F F F T
T T F F F F F
T F T F T T T
T F F F T T T
F T T T F T T
F T F T F T T
F F T T T T T
F F F T T T T
c. (~p ^ ~q) → ~r
p q r ~p ~q ~r ~p ^ ~q (~p ^ ~q) → ~r
T T T F F F F T
T T F F F T F T
T F T F T F F T
T F F F T T F T
F T T T F F F T
F T F T F T F T
F F T T T F T F
F F F T T T T T
Since the truth tables for statements a and b are same the two statements are equivalent.
A necessary condition for this computer program to be correct is that it does not produce
error messages during translation:
Sol:
If the computer program produces error messages during translation then it is not correct.
p→r
q→r
hence,
pVq→r
PREMISES CONCLUSION
p q r pVq p→r q→r (p V q) → r
T T T T T T T
T T F T F F F
T F T T T T T
T F F T F T F
F T T T T T T
F T F T T F F
F F T F T T T
F F F F T T T
Since for all the critical rows when the premises are true the corresponding conclusion is also
true. Hence the argument form is valid.
Use truth tables to show that the following forms of argument are invalid:
p→q
~p
hence,
~q
(inverse error)
PREMISES CONCLUSION
p q ~p p→q ~q
T T F T F
T F F F T
F T T T F
F F T T T
Since for the third row when the premises are true and the conclusion is false, hence the
given argument is invalid.
Use symbols to write the logical form of each argument. If the rule is valid then identify the
rule of inference that guarantees its validity, otherwise state whether converse or inverse
error is made.
Let,
p→q
q
hence,
p
The above set of arguments is not valid since it exhibits the converse error.
Use the valid argument forms listed in Table 1.3.1 to deduce the conclusion from the
premises, giving a reason for each step.
a. pVq
b. q→r
c. p^s→t
d. ~r
e. ~q → u ^ s
f. Hence,
t
Sol:
We have,
q→r&
~r
Therefore,
~q (Modus Tollens)
Now,
pVq&
~q
Therefore,
p (Elimination)
Now,
~q → u ^ s &
~q
Therefore,
u^s (Modes Ponens)
Now,
u^s
Therefore,
s (Specialization)
Now,
p^s→t&
p^s
Therefore,
t (Modes Ponens)
Hence proved,