PYQ Vault

MH HSC 12 Mathematics · Formula sheet

Mathematical Logic formulas

7 formulas, 2 reference tables and 41 common traps for MH HSC 12 Mathematics Mathematical Logic, grouped by subtopic.

Full notes with worked examples

Statements and Logical Connectives

Learn this subtopic in the notes

Truth value of a compound statement

The values to remember

T∧F=F,F∨T=T,T→F=F,F→F=T,T↔F=FT \land F = F, \quad F \lor T = T, \quad T \to F = F, \quad F \to F = T, \quad T \leftrightarrow F = F

The five connectives and their symbols

ConnectiveWordsSymbolWhen it is true
Conjunctionp and qp∧qp \land qOnly when both p and q are trueQ
Board 2024 asked you to write a sentence joined by 'and' in symbols. Define p and q first, then write p∧qp \land q.
Disjunctionp or qp∨qp \lor qWhen at least one is true; false only when both are false
Conditionalif p then qp→qp \to qAlways, except when p is true and q is false
Biconditionalp if and only if qp↔qp \leftrightarrow qWhen p and q have the same truth value
Negationnot p∼p\sim pWhen p is false
Learn the last column. Every truth table in the chapter is this table used again and again.

Common traps

Calling a false sentence 'not a statement'

A statement only has to be true or false. '5+4=135 + 4 = 13' is a statement whose truth value is F. Ask whether the sentence makes a definite claim, not whether the claim is correct.

Not giving the reason

The question says 'Justify'. Name the kind of sentence: a question, a command, a request, an exclamation or an open sentence. A bare 'not a statement' loses the mark.

Reading 'p only if q' as 'if q then p'

'p only if q' means p→qp \to q. The word 'only' does not turn the conditional round.

Not defining the letters

Begin with 'Let p: ..., q: ...' before writing any symbol. The symbolic form means nothing to the examiner without it, and the step carries a mark.

Treating 'or' as 'one but not both'

In logic 'p or q' is true when both parts are true. T∨T=TT \lor T = T.

Calling a conditional false because its parts are false

F→FF \to F is T. A conditional is false in one case only: a true antecedent with a false consequent.

Giving only the final letter

Write the letters, the symbolic form and the substitution, then the truth value. A lone 'T' earns little in a written answer.

Truth Tables of Compound Statements

Learn this subtopic in the notes

Building a truth table

Number of rows

rows=2n,n=number of simple statements\text{rows} = 2^n, \quad n = \text{number of simple statements}

Common traps

Using p where the pattern has not p

Write the value of each negation before you start. If p is T, then ∼p\sim p is F, and it is ∼p\sim p that goes into the bracket.

Working left to right instead of inside out

Finish each bracket before the connective outside it. ∼(p→q)\sim (p \to q) means: find p→qp \to q first, then negate it.

Stopping at one row when more rows work

If the conditions allow two or three rows, the answer is all of them. Test each of the four rows against both conditions.

Four rows for three letters

Three letters need eight rows. A table with too few rows misses combinations, and the conclusion drawn from it can be wrong.

Jumping to the last column

Show a column for every part of the pattern. The intermediate columns are where the marks for working are given.

Tautology, Contradiction and Contingency

Learn this subtopic in the notes

Common traps

Deciding from one row

One T row proves nothing. A tautology needs T in every row, so build all 2n2^n rows before you conclude.

Leaving out the conclusion

The question asks you to examine or show something. Finish with a sentence naming the type; the table alone is not the answer.

Writing 'contradiction' for a mixed column

A contradiction needs F in every row. A last column with even one T is a contingency.

A contingency is not 'half true'

The number of T rows does not matter. One T and three F, or three T and one F, are both contingencies.

Quantifiers, Duals and Negations

Learn this subtopic in the notes

Negating a quantified statement

Negating quantifiers

∼(∀x, P(x))≡∃x such that ∼P(x),∼(∃x such that P(x))≡∀x, ∼P(x)\sim(\forall x,\ P(x)) \equiv \exists x \text{ such that } \sim P(x), \qquad \sim(\exists x \text{ such that } P(x)) \equiv \forall x,\ \sim P(x)

Negating a compound statement

Rules of negation

∼(p∧q)≡∼p∨∼q,∼(p∨q)≡∼p∧∼q,∼(p→q)≡p∧∼q\sim(p \land q) \equiv \sim p \lor \sim q, \quad \sim(p \lor q) \equiv \sim p \land \sim q, \quad \sim(p \to q) \equiv p \land \sim q

Common traps

Testing only the first element

For ∀\forall, check every element, or find one that fails. For ∃\exists, keep going until you find one that works. Stopping at the first element answers neither.

Using a value outside the set

A witness for ∃x∈A\exists x \in A must belong to A. If the equation is solved only by a number outside A, the statement is false.

Negating 'all' with 'none'

The negation of 'All natural numbers are rational' is 'Some natural numbers are not rational', not 'No natural number is rational'.

Changing the quantifier but not the condition

Both parts change. Swapping ∃\exists for ∀\forall while keeping >> gives a statement that is not the negation.

Negating the letters

A dual never adds or removes ∼\sim. Turning p into ∼p\sim p is negation, a different operation.

Forgetting t and c

Change every ∧\land and ∨\lor, and also every t and c. An answer that swaps the connectives but keeps t is wrong.

Negating a conditional as another conditional

The negation of p→qp \to q is p∧∼qp \land \sim q, a conjunction. Writing ∼p→∼q\sim p \to \sim q gives the inverse, which is not the negation.

Keeping the connective

De Morgan changes the connective as well as the parts: the negation of 'and' is 'or'. 'It is not cold and not raining' is not the negation of 'It is cold and raining'.

Naming no rule

When the question says 'stating the rules used', each line needs its rule in brackets. The rule names carry marks.

Converse, Inverse and Contrapositive

Learn this subtopic in the notes

Converse, inverse and contrapositive in words

The three relatives of p → q

converse: q→p,inverse: ∼p→∼q,contrapositive: ∼q→∼p\text{converse: } q \to p, \qquad \text{inverse: } \sim p \to \sim q, \qquad \text{contrapositive: } \sim q \to \sim p

Writing a conditional without 'if ... then'

Conditional law

p→q≡∼p∨qp \to q \equiv \sim p \lor q

Common traps

Swapping the names converse and inverse

Converse swaps the parts; inverse negates them; contrapositive does both. Write the symbolic form beside each answer so the examiner sees which is which.

Negating 'less than' as 'greater than'

The negation of x<yx < y is x≥yx \geq y, not x>yx > y. The equal case belongs to the negation.

Taking 'q if p' in the written order

In 'A family becomes literate if the woman in it is literate', the antecedent is 'the woman is literate'. Rewrite it as 'if ... then' first.

Negating only one letter of a block

The negation of p∨qp \lor q is ∼p∧∼q\sim p \land \sim q, not ∼p∨q\sim p \lor q. Negate the whole block, then use De Morgan's law.

Negating the consequent instead of the antecedent

p→qp \to q becomes ∼p∨q\sim p \lor q. Writing p∨∼qp \lor \sim q gives a statement that means 'if q then p'.

Logical Equivalence and Algebra of Statements

Learn this subtopic in the notes

The laws of the algebra of statements

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.

Common traps

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.

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.

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.

Switching Circuits

Learn this subtopic in the notes

From a statement pattern to a circuit

Switching rules

p∧q: S1,S2 in series,p∨q: S1,S2 in parallel,∼p: S1′p \land q:\ S_1, S_2 \text{ in series}, \qquad p \lor q:\ S_1, S_2 \text{ in parallel}, \qquad \sim p:\ S_1'

Common traps

Swapping series and parallel

'and' is series, 'or' is parallel. In series every switch must be closed for the lamp to glow, which is exactly when an 'and' is true.

Leaving out the lamp and battery

A circuit needs a lamp and a source. State the letters (p: S1S_1 is closed, and so on), draw the switches, and join the block to the lamp and battery.

Using a new switch for a negation

∼p\sim p is not an unrelated switch. It is S1′S_1', linked to S1S_1: when one is closed the other is open.

Skipping the interpretation

When the question says 'interpret', write a sentence about the lamp: when it glows, or that it never glows. The table alone loses that mark.

Reading the complementary switch as a new letter

S1′S_1' is ∼p\sim p, not a new letter r. Using a new letter gives a table with too many rows and a wrong conclusion.

Stopping at the simplified pattern

The question asks for a circuit. After simplifying, describe or draw the new circuit and state how many switches it saves.

Not saying what a contradiction means for the lamp

A pattern equal to c means the lamp never glows, whatever the switches. Say so in words as the conclusion.

More MH HSC 12 Mathematics formula sheets