























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
























Lecture 3 – Logic, Propositions, Truth Tables, Logical Equivalence, Laws of Logic, Problems involving Logical Reasoning Slides adopted from: P. Grossman, “Discrete Mathematics or Computing”, 3 rd edition, Palgrave Macmillan, 2009.
Some English sentences that are propositions: ▪ ‘Canberra is the capital of Australia.’ ▪ ‘There are 8 days in a week.’ ▪ ‘Every even number greater than 2 can be expressed as the sum of two prime numbers.’
Connectives and truth tables Consider this statement:
Continued:
Continued: The connectives if-then and if-and-only-if are also known as implies and is-equivalent-to respectively.
Truth Table – Logical and The connective and can be formally defined by stating the truth value of the proposition p ᴧ q for each possible combination of the truth values of the propositions p and q :
Truth Table – Logical not
Truth Table – if-then Suppose your lecturer makes the following claim: ‘If you pass this subject, then you will progress to the next year of your course.’
Compound propositions A compound proposition is a proposition that involves the assembly of multiple statements. Example:
Compound propositions - Example Construct the truth table for the expression:
Compound propositions - Example An expression that is always true, regardless of the truth values of the variables it contains, is called a tautology.
Continued: ‘It is raining and windy, and it is not raining.’ An expression that is always false, regardless of the truth values of the variables it contains, is called a contradiction.