Exercise 1 Truth Table Construction Lesson 2 4 pts

Let $p$, $q$, and $r$ be propositional variables. Consider the following compound proposition:

$$F = (p \lor \neg q) \rightarrow (q \land r)$$

Part A — Complete the truth table.

Fill in every blank cell. There are $2^3 = 8$ rows.

$p$$q$$r$ $\neg q$ $p \lor \neg q$ $q \land r$ $F$
TTT
TTF
TFT
TFF
FTT
FTF
FFT
FFF

Part B — Classification.

Based on your table, is $F$ a tautology, a contradiction, or a contingency? Justify your answer in one sentence.

Part C — Converse and Contrapositive.

The formula $F$ has the form $A \rightarrow B$. Write the converse, the inverse, and the contrapositive of $F$ using symbolic notation.

Recall: A conditional $A \rightarrow B$ is false only when $A$ is true and $B$ is false. Its contrapositive $\neg B \rightarrow \neg A$ is always logically equivalent to the original.
Exercise 2 Tautology, Contradiction, and Contingency Lesson 3 3 pts

Classify each of the following propositions as a tautology, a contradiction, or a contingency. Justify each answer by constructing a short truth table or a logical argument.

  1. $P_1 = p \lor \neg p$

  2. $P_2 = (p \rightarrow q) \land (p \land \neg q)$

  3. $P_3 = (p \rightarrow q) \leftrightarrow (\neg p \lor q)$

Hint: A tautology is true for every assignment; a contradiction is always false; a contingency is true for at least one assignment and false for at least one other.
Exercise 3 Logical Equivalences & De Morgan's Laws Lesson 3 5 pts

The table below lists the main equivalence laws from Lesson 3. You will use them to prove or simplify propositions step by step, citing the law used at each step.

De Morgan 1: $\neg(p \land q) \equiv \neg p \lor \neg q$    De Morgan 2: $\neg(p \lor q) \equiv \neg p \land \neg q$
Double Negation: $\neg\neg p \equiv p$    Absorption: $p \lor (p \land q) \equiv p$
Distributivity: $p \land (q \lor r) \equiv (p \land q) \lor (p \land r)$
Implication: $p \rightarrow q \equiv \neg p \lor q$

Part A — Verify De Morgan's first law by truth table.

Complete the table to show that $\neg(p \land q) \equiv \neg p \lor \neg q$ for all assignments of $(p, q)$.

$p$$q$ $p \land q$ $\neg(p \land q)$ $\neg p$$\neg q$ $\neg p \lor \neg q$ Equal?
TT
TF
FT
FF

Part B — Algebraic simplification.

Simplify the following proposition by applying equivalence laws one step at a time. Show each intermediate step and name the law used.

$$G = \neg(\neg p \lor q) \lor (p \land \neg q)$$

Steps:

  1. $G = $ (Law: ________________________)
  2. $\phantom{G} = $ (Law: ________________________)
  3. $\phantom{G} = $ (Law: ________________________)

Part C — Implication equivalence.

Use the implication equivalence to rewrite $(p \rightarrow q) \rightarrow r$ in a form that uses only $\neg$, $\land$, and $\lor$. Show your steps.

Exercise 4 Normal Forms — CNF and DNF Lesson 3 4 pts

A formula is in Disjunctive Normal Form (DNF) when it is a disjunction of conjunctions of literals.
It is in Conjunctive Normal Form (CNF) when it is a conjunction of disjunctions of literals.

Part A — DNF from a truth table.

The truth table below defines a proposition $H(p, q, r)$. Use the minterms method to write $H$ in DNF.

$p$$q$$r$$H$
TTTT
TTFF
TFTF
TFFT
FTTF
FTFT
FFTF
FFFF

DNF of $H$:

Part B — Convert to CNF.

Starting from the DNF you found in Part A, apply De Morgan's laws and other equivalences to obtain the CNF of $H$. Show your derivation.

Part C — Identify the form.

State whether each expression below is already in DNF, CNF, both, or neither. Justify in one sentence.

  1. $(p \lor \neg q) \land (r \lor p)$
  2. $(p \land q) \lor (\neg p \land r)$
  3. $p \land (q \lor r) \land \neg p$
Minterms method: For each row where $H = T$, write a conjunction of the variables (un-negated if T, negated if F). The DNF is the disjunction of all such conjunctions.
Exercise 5 Satisfiability & Logical Reasoning Lesson 2 Lesson 3 4 pts

This exercise combines satisfiability analysis (Lesson 3) with propositional reasoning (Lesson 2).

Part A — Satisfiability.

For each proposition, determine whether it is satisfiable (there exists an assignment making it true). If satisfiable, provide a satisfying assignment; if not, explain why.

  1. $S_1 = (p \rightarrow q) \land p \land \neg q$

  2. $S_2 = (p \lor q) \land (\neg p \lor r) \land (\neg q \lor \neg r)$

Part B — Hypothetical Syllogism.

The hypothetical syllogism rule states: if $p \rightarrow q$ and $q \rightarrow r$ are both true, then $p \rightarrow r$ is true.

Use this rule to derive a conclusion from the following premises, and verify your answer using a truth table for the three variables.

Premise 1: "If it rains, the ground is wet."  $(r \rightarrow w)$
Premise 2: "If the ground is wet, the road is slippery."  $(w \rightarrow s)$
Premise 3: "It is raining."  $(r)$

Conclusion:

Verify — fill in the table for the specific row where $r = T$, $w = T$, $s = T$:

$r$$w$$s$$r \rightarrow w$$w \rightarrow s$$r \rightarrow s$
TTT

Part C — Short proof using equivalences.

Prove that $(p \rightarrow q) \land (q \rightarrow p) \equiv p \leftrightarrow q$ using only known equivalence laws. Show every step.

  1. $(p \rightarrow q) \land (q \rightarrow p)$
  2. $= $ (Law: ________________________)
  3. $= $ (Law: ________________________)
  4. $= p \leftrightarrow q$   ✓
Recall: $p \leftrightarrow q \equiv (p \rightarrow q) \land (q \rightarrow p)$ is itself one of the standard biconditional equivalences from Lesson 3.