1.-Logic
1.-Logic
1.-Logic
6
Logic
3
Logic Statements
Every language contains different types of sentences, such
as statements, questions, and commands. For instance,
4
Logic Statements
The symbolic logic that Boole was instrumental in creating
applies only to sentences that are statements as defined
below.
5
Example 1 – Identify Statements
Determine whether each sentence is a statement.
a. Florida is a state in the United States.
b. How are you?
c. 99 + 2 is a prime number.
d. x + 1 = 5.
Solution:
a. Florida is one of the 50 states in the United States, so
this sentence is true and it is a statement.
7
Simple Statements and
Compound Statements
8
Simple Statements and Compound Statements
10
Simple Statements and Compound Statements
Solution:
a. Ellie Goulding is not an opera singer.
12
Simple Statements and Compound Statements
13
Example 3 – Write Compound Statements in Symbolic Form
15
Simple Statements and Compound Statements
16
Example 4 – Translate Symbolic Statements
17
Example 4 – Solution
c. The Mets are favored to win if and only if the game will
not be played in Atlanta.
18
Compound Statements and
Grouping Symbols
19
Compound Statements and Grouping Symbols
20
Compound Statements and Grouping Symbols
21
Compound Statements and Grouping Symbols
22
Example 5 – Translate Compound Statements
b. Write “If you do not complete the training, then you will
not get a promotion and you will not receive a bonus.” in
symbolic form.
23
Example 5(a) – Solution
Because the p and the q statements both appear in
parentheses in the symbolic form, they are placed to the
left of the comma in the English sentence.
24
Example 5(b) – Solution cont’d
25
Compound Statements and Grouping Symbols
26
Compound Statements and Grouping Symbols
27
Example 6 – Determine the Truth Value of a Statement
Solution:
a. 7 ≥ 5 means 7 > 5 or 7 = 5. Because 7 > 5 is true, the
statement 7 ≥ 5 is a true statement.
b. This is a false statement because 5 is not an even
number.
c. This is a true statement because each simple
statement is true. 28
Quantifiers and Negation
29
Quantifiers and Negation
In a statement, the word some and the phrases there exists
and at least one are called existential quantifiers.
Existential quantifiers are used as prefixes to assert the
existence of something.
30
Quantifiers and Negation
What is the negation of the false statement, “No doctors
write in a legible manner”?
31
Quantifiers and Negation
Table illustrates how to write the negation of some
quantified statements.
32
Example 7 – Write the Negation of a Quantified Statement
Solution:
a. No airports are open.
b. Some movies are not worth the price of admission.
c. Some odd numbers are divisible by 2.
33