Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 01 / 04Mathematical Reasoning

Statements, Negation and Compound Statements with And and Or

What counts as a mathematical statement, truth values, negation, conjunction (and) and disjunction (inclusive or), truth tables, exclusive or, and negating compound statements correctly.

Figure 1
A statement (proposition) is a declarative sentence that is either true or false, but not both. '77 is a prime number' is a true statement; '2+3=62 + 3 = 6' is a false statement. The following are not statements: questions ('Is it raining?'), commands ('Close the door'), exclamations, and sentences whose truth depends on an unspecified variable or on opinion ('x+2=5x + 2 = 5', 'Mathematics is interesting'). Open sentences with variables become statements once the variable is fixed or quantified (see the concept on quantifiers). Statements are denoted by letters p,q,rp, q, r, and their truth values by T (true) and F (false). Negation. The negation ∼p\sim p ('not pp') is true exactly when pp is false. Negating a statement requires care with its wording: the negation of 'All students passed' is 'Some student did not pass' (or 'Not all students passed'), not 'No student passed'. The negation of '2\sqrt{2} is rational' is '2\sqrt{2} is not rational'. Conjunction. p∧qp \wedge q ('pp and qq') is true only when both pp and qq are true. Words like 'but', 'although' and 'yet' also express conjunction logically. Caution: not every 'and' in English joins two statements. 'A mixture of alcohol and water can be separated' is a single statement about a mixture. Disjunction. p∨qp \vee q ('pp or qq') is true when at least one of p,qp, q is true; it is false only when both are false. This is the inclusive or. The exclusive or ('either pp or qq but not both'), written p⊕qp \oplus q or p⊻qp \veebar q, is true when exactly one is true. In mathematics, 'or' means inclusive unless stated otherwise; in everyday language ('tea or coffee?') it is often exclusive, and the context decides. Truth tables. With nn component statements there are 2n2^{n} combinations of truth values, so a truth table has 2n2^{n} rows. The figure shows the table for ∼p\sim p, p∧qp \wedge q and p∨qp \vee q. Negating compound statements (De Morgan's laws). ∼(p∧q)≡(∼p)∨(∼q)\sim(p \wedge q) \equiv (\sim p) \vee (\sim q). ∼(p∨q)≡(∼p)∧(∼q)\sim(p \vee q) \equiv (\sim p) \wedge (\sim q). ∼(∼p)≡p\sim(\sim p) \equiv p. In words: 'not both' means 'at least one fails'; 'not either' means 'both fail'. For example, the negation of '22 is even and 33 is odd' is '22 is not even or 33 is not odd'. These are the logic versions of De Morgan's laws for sets, with ∧↔∩\wedge \leftrightarrow \cap, ∨↔∪\vee \leftrightarrow \cup and ∼↔\sim \leftrightarrow complement. Key Takeaways: - A statement is definitely true or false; questions, commands and opinions are not statements. - ∼p\sim p reverses the truth value. - p∧qp \wedge q: true only if both are true. p∨qp \vee q: false only if both are false. - Mathematical 'or' is inclusive. - nn components: 2n2^{n} rows. - ∼(p∧q)≡∼p∨∼q\sim(p \wedge q) \equiv \sim p \vee \sim q; ∼(p∨q)≡∼p∧∼q\sim(p \vee q) \equiv \sim p \wedge \sim q. - Pitfall: negating 'all' as 'none'; the correct negation is 'not all' (some are not). Brain-Teaser 1: Which of the following are statements? (a) 'The sum of the angles of a triangle is 180∘180^{\circ}.' (b) 'x2=4x^{2} = 4.' (c) 'Every even number greater than 22 is the sum of two primes.' (d) 'Please solve this problem.' Solution: (a) is a true statement. (b) is an open sentence: its truth depends on xx, so it is not a statement until xx is specified or quantified. (c) is a statement (Goldbach's conjecture): it is definitely either true or false, even though nobody currently knows which. (d) is a request, not a statement. The criterion is 'has a definite truth value', not 'we know the truth value'. Brain-Teaser 2: Write the negation of 'Every natural number is greater than 00 and some integer is negative'. Solution: By De Morgan, the negation is 'Some natural number is not greater than 00 or every integer is non-negative'. Each part is negated with its quantifier switched ('every' becomes 'some', and 'some' becomes 'every'), and the 'and' becomes 'or'. The original statement is true, so its negation is false, as a quick check. Brain-Teaser 3: If pp is true and qq is false, find the truth values of p∧∼qp \wedge \sim q, ∼p∨q\sim p \vee q and ∼(p∨∼q)\sim(p \vee \sim q). Solution: ∼q\sim q is T, so p∧∼qp \wedge \sim q is T. ∼p\sim p is F and qq is F, so ∼p∨q\sim p \vee q is F. p∨∼qp \vee \sim q is T, so its negation is F. Evaluating from the innermost parts outwards, exactly as with arithmetic expressions, avoids mistakes.