Discrete Math Truth Tables: Conditional Statements, Truth Tables & Tautology Explained with 3 Examples

Discrete Math Truth Tables: Conditional Statements, Truth Tables & Tautology Explained with Examples

Discrete Math Truth Tables — preview

Question 1

1 Truth Table for P → ¬P

We negate P, then apply the conditional. A conditional is false only when the left side is true and the right side is false.

P → ¬P
P¬PP → ¬P
TFF
FTT

The final column has both T and F, so P → ¬P is a contingency — its truth depends on the value of P.

Question 2

2 Truth Table for (P ∨ ¬r) ∧ (q ∨ P)

With three variables (P, q, r) we need 2³ = 8 rows. We build each part — ¬r, then the two disjunctions — and finally combine them with AND.

(P ∨ ¬r) ∧ (q ∨ P)
Pqr¬rP ∨ ¬rq ∨ P(P∨¬r) ∧ (q∨P)
TTTFTTT
TTFTTTT
TFTFTTT
TFFTTTT
FTTFFTF
FTFTTTT
FFTFFFF
FFFTTFF
Result: Contingency
Question 3

3 Proving a Tautology: (P → Q) ↔ (¬Q → ¬P)

This is the contrapositive law. A conditional and its contrapositive are always logically equivalent, so the biconditional joining them should be true in every row.

(P → Q) ↔ (¬Q → ¬P)
PQP → Q¬Q¬P¬Q → ¬P
TTTFFTT
TFFTFFT
FTTFTTT
FFTTTTT

Every row in the final column is T, which confirms the equivalence.

Result: Tautology
Question 4

4 Testing (P → Q) → (Q → P)

It is tempting to assume this is a tautology, but a conditional and its converse are not equivalent. Watch the row where P is false and Q is true.

(P → Q) → (Q → P)
PQP → QQ → P(P→Q) → (Q→P)
TTTTT
TFFTT
FTTFF
FFTTT

When P = F and Q = T: P → Q is T, but Q → P is F, so T → F gives F. Because one row is false, this is not a tautology.

Result: Contingency
Conditional Statement Forms
Question 5

5 Converse, Inverse & Contrapositive

Take the statement: “I came to class whenever there is going to be a quiz.” First we define our propositions, then write all four standard forms.

P = There is going to be a quiz.
Q = I came to class.

The original statement “whenever P, then Q” translates to P → Q.
Original (Conditional) P → Q “If there is a quiz, then I come to class.”
Converse Q → P “If I come to class, then there is a quiz.”
Inverse ¬P → ¬Q “If there is no quiz, then I do not come to class.”
Contrapositive ¬Q → ¬P “If I do not come to class, then there is no quiz.”

Remember: the contrapositive always has the same truth value as the original, while the converse and inverse may not.

Discrete Math Truth Tables: Conditional Statements, Truth Tables & Tautology Explained with Examples

Blog