Preview

Discrete math

Good Essays
Open Document
Open Document
390 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Discrete math
Propositions
The fundamental objects we work with in arithmetic are numbers. In a similar way, the fundamental objects in logic are propositions.
Definition: A proposition is a statement that is either true or false. Whichever of these (true or false) is the case is called the truth value of the proposition.
Here are some examples of English sentences that are propositions:
‘Canberra is the capital of Australia.’
‘There are 8 days in a week.’
‘Isaac Newton was born in 1642.’
‘5 is greater than 7.’
‘Every even number greater than 2 can be expressed as the sum of two prime numbers.’

The following sentences are not propositions:
‘Where are you going?’
‘Come here.’
‘This sentence is false.’
Explanation
The first sentence is a question and the second is a command, so clearly neither is a proposition and the third sentence is rather more subtle.
CONNECTIVES AND TRUTH TABLE
The study of the structure of compound propositions is made easier by the use of symbols for atomic propositions and connectives. We will use lower-case letters such as p, q and r to denote atomic propositions. There are five connectives that we will use in our work; they are listed in Table, together with their symbols.

NOTE: The If then and if and only if connectors will be our next topic on Monday.
PRACTICE:
1. Express the following propositions in symbolic form, and identify the principal connective:
(a) Either Karen is studying computing and Minh is not studying mathematics, or Minh is studying mathematics.
(b) It is not the case that if it is sunny then I will carry an umbrella.
(c) The program will terminate if and only if the input is not numeric or the escape key is pressed.
(d) If x = 7 and y"4 and z = 2, then if it is not true that either y = 4 or z"2 then x = 7 or z = 2.

2. Determine the truth value using truth table of the following expressions
(a)  -p OR q
(b) p AND -q
(c) q OR p
(d) (p AND q) AND -p NEXT TOPIC:
Try these to be able to cope

You May Also Find These Documents Helpful

Related Topics