PYQ Vault

HSC Maths · Mathematical Logic

Logical Equivalence and Algebra of Statements

Proving that two statement patterns are equivalent, first with a truth table and then without one, using the named laws of the algebra of statements.

Why this matters

29 questions. Six were set in board papers: five ask you to prove or verify an equivalence with a truth table (2018, 2020, 2022 and twice in 2025; the 2018 paper and one 2025 paper set the same biconditional equivalence), and one asks for a proof without a truth table (2022). The textbook adds proofs of both kinds and one MCQ on an equivalent pattern.

Concept 1 of 3: Proving an equivalence with a truth table

Two patterns are equivalent when they always agree: whatever values p and q take, both are true together or false together. A truth table checks every case, so it is a complete proof.

Definition

  • Two statement patterns are equivalent if their truth tables are identical. If A and B are equivalent, we write A≡BA \equiv B.
  • Build one table with a column for each part of both sides.
  • Point to the two final columns and state that they are identical in every row.
  • End with: 'Hence A≡BA \equiv B.'

Worked example

Using a truth table, prove that p→q≡∼q→∼pp \to q \equiv \sim q \to \sim p.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2020 · Q. 3Moderate

Example 1 · Mathematical Logic · Logical Equivalence and Algebra of Statements

Using truth table verify that ∼(p∨q)≡∼p∧∼q\sim (p \vee q) \equiv \sim p \land \sim q.

Not saying which columns agree

Name the two columns (for example, 'columns 5 and 6') and say they are identical in every row. The proof is the comparison, not the table alone.

Concept 2 of 3: The laws of the algebra of statements

These laws are equivalences proved once by truth tables and then used as tools, the way you use identities in algebra. Most come in pairs: one form with 'and' and its dual with 'or'.

Definition

  • t is a tautology and c is a contradiction.
  • Conditional law: p→q≡∼p∨qp \to q \equiv \sim p \lor q.
  • Biconditional law: p↔q≡(p→q)∧(q→p)≡(∼p∨q)∧(∼q∨p)p \leftrightarrow q \equiv (p \to q) \land (q \to p) \equiv (\sim p \lor q) \land (\sim q \lor p).
  • Double negation: ∼(∼p)≡p\sim(\sim p) \equiv p.
  • The textbook also proves with a truth table that (p∧q)→r≡p→(q→r)(p \land q) \to r \equiv p \to (q \to r).
LawForm with andForm with or
Idempotentp∧p≡pp \land p \equiv pp∨p≡pp \lor p \equiv p
Commutativep∧q≡q∧pp \land q \equiv q \land pp∨q≡q∨pp \lor q \equiv q \lor p
Associativep∧(q∧r)≡(p∧q)∧rp \land (q \land r) \equiv (p \land q) \land rp∨(q∨r)≡(p∨q)∨rp \lor (q \lor r) \equiv (p \lor q) \lor r
Distributivep∧(q∨r)≡(p∧q)∨(p∧r)p \land (q \lor r) \equiv (p \land q) \lor (p \land r)p∨(q∧r)≡(p∨q)∧(p∨r)p \lor (q \land r) \equiv (p \lor q) \land (p \lor r)
De Morgan's∼(p∧q)≡∼p∨∼q\sim(p \land q) \equiv \sim p \lor \sim q∼(p∨q)≡∼p∧∼q\sim(p \lor q) \equiv \sim p \land \sim q
Identityp∧t≡pp \land t \equiv p, p∧c≡cp \land c \equiv cp∨c≡pp \lor c \equiv p, p∨t≡tp \lor t \equiv t
Complementp∧∼p≡cp \land \sim p \equiv cp∨∼p≡tp \lor \sim p \equiv t
Absorptionp∧(p∨q)≡pp \land (p \lor q) \equiv pp∨(p∧q)≡pp \lor (p \land q) \equiv p
Each 'or' form is the dual of its 'and' form. Learn the names: a proof without a truth table names a law on every line.
Practise this conceptself-check · 4 quick reps

The same idea in a textbook question:

Balbharati textbook · Misc I (ii)Moderate

Example 2 · Mathematical Logic · Logical Equivalence and Algebra of Statements

(p∧q)→r(p \wedge q) \to r is logically equivalent to ________.

Mixing up the identity and complement laws

The identity law joins p with t or c. The complement law joins p with ∼p\sim p. Quote the one you actually used.

Concept 3 of 3: Proving an equivalence without a truth table

Start from the longer side and simplify it, one law at a time, until it becomes the other side. It is like simplifying an algebraic expression, except that the steps are logic laws and each one must be named.

Definition

  • Write 'To prove: ...', then start with 'L.H.S. =…= \dots', usually the longer side.
  • Change one thing on each line and write the law in brackets at the end of the line.
  • Typical chain: Distributive law to take out a common letter, Complement law to get t or c, Identity law to remove it.
  • Finish with '== R.H.S. Hence proved.'

Worked example

Without using a truth table, prove that (p∧q)∨(p∧∼q)≡p(p \land q) \lor (p \land \sim q) \equiv p.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2022 · Q. 27Hard

Example 3 · Mathematical Logic · Logical Equivalence and Algebra of Statements

Without using truth table prove that (p∧q)∨(∼p∧q)∨(p∧∼q)≡p∨q(p \land q) \vee ( \sim p \land q) \vee (p \land \sim q) \equiv p \vee q.

Using a truth table when told not to

If the question says 'without using truth table', a table earns nothing. Use the laws, one per line.

Several changes on one line

Do one law per line. Two changes on a line with one law named hide a step, and the examiner cannot give the mark.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Reference tables (1)

The laws of the algebra of statements8 rows
LawForm with andForm with or
Idempotentp∧p≡pp \land p \equiv pp∨p≡pp \lor p \equiv p
Commutativep∧q≡q∧pp \land q \equiv q \land pp∨q≡q∨pp \lor q \equiv q \lor p
Associativep∧(q∧r)≡(p∧q)∧rp \land (q \land r) \equiv (p \land q) \land rp∨(q∨r)≡(p∨q)∨rp \lor (q \lor r) \equiv (p \lor q) \lor r
Distributivep∧(q∨r)≡(p∧q)∨(p∧r)p \land (q \lor r) \equiv (p \land q) \lor (p \land r)p∨(q∧r)≡(p∨q)∧(p∨r)p \lor (q \land r) \equiv (p \lor q) \land (p \lor r)
De Morgan's∼(p∧q)≡∼p∨∼q\sim(p \land q) \equiv \sim p \lor \sim q∼(p∨q)≡∼p∧∼q\sim(p \lor q) \equiv \sim p \land \sim q
Identityp∧t≡pp \land t \equiv p, p∧c≡cp \land c \equiv cp∨c≡pp \lor c \equiv p, p∨t≡tp \lor t \equiv t
Complementp∧∼p≡cp \land \sim p \equiv cp∨∼p≡tp \lor \sim p \equiv t
Absorptionp∧(p∨q)≡pp \land (p \lor q) \equiv pp∨(p∧q)≡pp \lor (p \land q) \equiv p
Each 'or' form is the dual of its 'and' form. Learn the names: a proof without a truth table names a law on every line.

Watch out for (4)

Test yourself on Mathematical Logic

10 past MH HSC 12 questions from this chapter, timed at 15 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.