Unit 3 Introduction to logic
Key unit competence: Analyse statements and arguments using principles of logic in solving mathematical and real-life problems.
Key ideas
- A proposition (statement) is a sentence that is either true (T) or false (F), not both. Questions and commands are not propositions.
- Connectives: negation ; conjunction (true only when both are true); disjunction (false only when both are false).
- Conditional is false only when is true and is false. Biconditional is true when and have the same truth value.
- For : converse ; inverse ; contrapositive (equivalent to the original).
- A tautology is always true; a contradiction is always false; a contingency is neither.
- De Morgan's laws: ; . Also .
- Quantifiers: universal ("for all"), existential ("there exists"). Negation: and .
- A propositional function (predicate) becomes a proposition when is given a value or is quantified.
Formulas to know
Common misconceptions
- "The converse of a true statement is true." Not necessarily: "If then " is true, but its converse is false ().
- " is false when is false." No: a conditional with a false hypothesis is true.
- "The negation of 'all students passed' is 'no student passed'." No: it is "at least one student did not pass".
Worked examples
Example 1. Build the truth table of .
Solution
TT: T; TF: F; FT: T; FF: T.
Example 2. Negate "Every prime number is odd" and decide which statement is true.
Solution
Negation: "There exists a prime number that is not odd". The negation is true (2 is prime and even).
Practice questions
Easier and harder questions are mixed, just like in a real exam.
Construct the truth table for and classify it.
Show answer
TT: T⇒T = T; TF: F⇒T = T; FT: F⇒F = T; FF: F⇒F = T. It is a tautology.
Common mistake: Mixing up the rows for and .
Translate into symbols with : "I go to school" and : "It is Saturday": "I go to school if and only if it is not Saturday."
Show answer
.
Common mistake: Writing (only one direction).
Write the converse, inverse and contrapositive of "If a number is divisible by 4, then it is even." Which are true?
Show answer
Converse: if even then divisible by 4 (false: 6). Inverse: if not divisible by 4 then not even (false: 6). Contrapositive: if not even then not divisible by 4 (true).
Common mistake: Thinking the converse is always true.
Is "" a proposition? What about ""?
Show answer
"" is a predicate (no truth value until is known). The quantified sentence is a true proposition.
Common mistake: Calling the open sentence false.
Use De Morgan's laws to negate "Kalisa is tall and Mukamana is short."
Show answer
"Kalisa is not tall or Mukamana is not short."
Common mistake: Keeping "and" in the negation.
Classify .
Show answer
Tautology: is commutative, so both sides always match.
Common mistake: Building only two rows of the table.
Show that and have the same truth table.
Show answer
Both give T, F, T, T for TT, TF, FT, FF.
Common mistake: Using .
Determine the truth value of and of its negation.
Show answer
True (). Negation is false.
Common mistake: Negating only the inequality.
Matching and drag-and-drop
Matching
Match each item in column A with the correct answer in column B. Write the letter next to each number.
Column A Column B 1. is true, is true and is false. Find the truth value of . a. 2. is equivalent to: b. False 3. The statement is: c. True 4. Is "If , then " true or false? d. a tautology Show answer
1 → b (False) · 2 → a () · 3 → d (a tautology) · 4 → c (True)
- Step 1. is T.
Step 2. T F is F. - Step 1. De Morgan: .
Step 2. : result . - Step 1. It is false only if is T and is F.
Step 2. But is F only when is F. Contradiction, so it is always true. - Step 1. The hypothesis is false.
Step 2. F F is T.
- Step 1. is T.
Drag and drop
Choose the correct word or phrase from the box for each gap. One word in the box is not needed.
· · affirming the consequent (invalid) · modus tollens (valid)- The argument ", , therefore " is called .
- " only if " means .
- The negation of "" is .
Show answer
1: modus tollens (valid) · 2: · 3:
- Step 1. It uses the contrapositive .
Step 2. This valid form is called modus tollens. - Step 1. " only if ": cannot be true unless is true.
Step 2. That is ( is a necessary condition). - Step 1. becomes .
Step 2. becomes .
Matching
Match each item in column A with the correct answer in column B. Write the letter next to each number.
Column A Column B 1. Simplify . a. and 2. : "" with . For which is true? b. 3. is false and is true. Find the truth value of . c. True 4. Find the truth value of the converse of "If is divisible by 6, then is even". d. False Show answer
1 → b () · 2 → a ( and ) · 3 → c (True) · 4 → d (False)
- Step 1. .
Step 2. Negate with De Morgan: . - Step 1. .
Step 2. It is 0 for and , both natural numbers. - Step 1. : T T T.
Step 2. : F T T.
Step 3. T T is T. - Step 1. Converse: "If is even, then is divisible by 6".
Step 2. Counter-example: is even but not divisible by 6.
- Step 1. .
Drag and drop
Choose the correct word or phrase from the box for each gap. One word in the box is not needed.
if , then · · if , then · invalid (affirming the consequent)- is equivalent to .
- "If I study, I pass. I passed. Therefore I studied." This argument is .
- The contrapositive of "If , then " is .
Show answer
1: · 2: invalid (affirming the consequent) · 3: if , then
- Step 1. De Morgan: .
Step 2. : result (which is also ). - Step 1. Form: , , so .
Step 2. The row F, T makes both premises true and the conclusion false: invalid. - Step 1. The contrapositive of is .
Step 2. : ; : . (Both the statement and its contrapositive are false: try .)