Theory
Elementary logic
What a proposition is, how propositions are combined with connectives, how sentences with quantifiers are negated and how proofs are built.
On this page
Propositions
Proposition
A proposition is a statement for which it makes sense to ask whether it is true or false, and which has exactly one of the two truth values. Propositions are denoted by letters such as , , . An equality between numbers and a theorem are examples of propositions.
- ” is a prime number”: true proposition.
- "": false proposition.
- "": statement with a variable, which becomes a proposition when a value is assigned to . A statement of this kind is called a predicate and is denoted by ; predicates also become propositions through quantifiers.
Warning
A predicate in which the variable has no assigned value is not a proposition. The statement "" is true for , because , and false for , because ; therefore it has a truth value only after has been chosen or after the variable has been quantified. ” is a large number” is not a proposition either, because the adjective large has no precise mathematical meaning.
Logical connectives
Connectives build new propositions from given propositions; the truth value of the result depends only on the truth values of the parts, according to the truth tables.
1. Negation
The negation of , denoted by (“not ”), is the proposition that is true when is false and false when is true.
The negation of ” is prime” is ” is not prime”. Double negation gives back the original proposition: has the same truth table as . Negation appears in counterexamples and in proofs by contradiction.
2. Conjunction and disjunction
The conjunction (” and ”) is true when and are both true. The disjunction (” or ”) is true when at least one of and is true, including the cases in which both are.
For : the proposition "" is false, because the second part is false; the proposition "" is true, because the first part is true.
The truth set of a predicate is the set of the values of for which is true. For example the truth set of "" consists of the numbers greater than . In the figures and are the truth sets of and .
Remark
In mathematics “or” is inclusive: is true also when and are true together. The statement ” is even or is divisible by ” is true, and both parts are true.
Truth table of a compound proposition
The truth table of is built column by column: first and are computed, then their conjunction.
The proposition is true only in the third row, that is, when is false and is true, therefore it has the same truth table as . Reasoning by elimination is based on this equivalence: if ” or ” is true and is false, then is true. For example, from ” or ” and from it follows that .
3. De Morgan's laws
The symbol indicates that the two propositions have the same truth table. Negation swaps “and” with “or” and negates the individual parts. These laws are used whenever a compound condition is negated, for example a pair of inequalities; they are verified by comparing the truth tables row by row.
Proof
The truth tables are compared row by row. For the first law:
The column of and that of coincide in all four rows, therefore the two propositions are equivalent.
The second law follows from the first applied to the propositions and . One obtains , and since double negation gives back the original proposition, . Negating both sides gives .
Negating a conjunction
The negation of ” and ” is ” or ”. By De Morgan’s laws the negation of a conjunction is the disjunction of the two negations; since negating means asserting and negating means asserting , we obtain .
Negating a disjunction
The negation of ” or ” is ” and ”, that is, . By the second De Morgan’s law the negation of a disjunction is the conjunction of the two negations. The disjunction describes the solutions of the inequality , hence its negation describes the solutions of .
Warning
The negation of ” and ” is not ” and ”. A proposition and its negation always have opposite truth values, that is, when one is false the other is true. For this does not happen.
- ” and ” is false, because is false.
- ” and ” is false, because is false.
The two propositions are both false, so the second is not the negation of the first. The correct negation is ” or ”, which for is true, because is true.
End of the free preview
The theory of this topic continues with 5 more sections
- Implication
- Necessary and sufficient condition
- Quantifiers
- Proof techniques
- Keep studying
Full access also includes the other 5 worked examples of this topic and the solutions of the 14 practice exercises.
Unlock Precalculus · €29Read the first 3 worked examples in this chapter for free.