HSC Maths · Mathematical Logic
Truth Tables of Compound Statements
Finding the truth value of a statement pattern from given values, working back to the values of p and q, and building the full truth table.
Why this matters
34 questions. Two were set in board papers, both in 2024: the truth value of a pattern when p, q are true and r, s are false, and the full truth table of a two-letter pattern. The textbook adds tables with two and three letters, and finding the truth values of p and q from given compound values.
Concept 1 of 3: Truth value of a pattern from given values
Definition
- Write the given values first, and the value of each negation: if p is T, then is F.
- Work inside the brackets first, one connective at a time.
- Write every step on its own line: substitution, each bracket, the final value.
- End with a sentence: 'Hence the truth value of the given statement pattern is T (or F).'
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a real exam question:
Example 1 · Mathematical Logic · Truth Tables of Compound Statements
Using p where the pattern has not p
Working left to right instead of inside out
Concept 2 of 3: Finding the truth values of p and q
Definition
- is T only when p and q are both T.
- is F only when p and q are both F.
- is F only when p is T and q is F.
- is T when p and q match, and F when they differ.
- If the first condition leaves several rows, test each one against the second condition and list every row that works.
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a textbook question:
Example 2 · Mathematical Logic · Truth Tables of Compound Statements
Stopping at one row when more rows work
Concept 3 of 3: Building a truth table
Definition
- With n letters the table has rows: 4 rows for p, q and 8 rows for p, q, r.
- Fill the first letter's column with half T then half F; the next column in blocks half as long; the last letter alternates T, F, T, F.
- Add a column for each part of the pattern, working from the inside out, and end with the whole pattern.
- A table that lists all possible truth values of a pattern for every combination of its prime components (p, q, r) is its truth table.
Number of rows
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a real exam question:
Example 3 · Mathematical Logic · Truth Tables of Compound Statements
Four rows for three letters
Jumping to the last column
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.
Formulas (1)
- Building a truth table
Number of rows
Watch out for (5)
- Using p where the pattern has not p→ Truth value of a pattern from given values
- Working left to right instead of inside out→ Truth value of a pattern from given values
- Stopping at one row when more rows work→ Finding the truth values of p and q
- Four rows for three letters→ Building a truth table
- Jumping to the last column→ Building a truth table
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.