Let p and q be two propositions. Consider the following two formulae in propositional logic.

S1: (¬p(pq))q

S2: q(¬p(pq))

Which one of the following choices is correct?

A.

Both S1 and S2  are tautologies.

B.

S1 is a tautology but S2 is not a tautology.

C.

S1 is not a tautology but S2 is a tautology.

D.

Neither S1 nor S2 is a tautology.

Solution:

S1: (¬P(pq))q
S2: q(¬p(pq))

Solve S1:
S1: (¬p(pq))q
    [p¯(p+q)]q
   (p¯p+p¯q)q
   p¯qq
   (p¯q)+q
   p+q¯+q
   p+1 (Tautology)

Solve S2:
S2: q(¬p(pq))
   q[p¯(p+q)]
   q(p¯p+p¯q)
   qp¯q
   q¯ + p¯q (Contingency, Not a Tautology)

So the correct answer is B.