Beruflich Dokumente
Kultur Dokumente
b) While green apples are sometimes sour, red apples are always
sweet.
The form While p, q is actually a CONJUNCTION.
2. Only one of the statements below is not true. Which one is it?
Answer: A
a) If 1 2 3 , then 1 4 2 .
This is FALSE since the conditional has a TRUE premise (
1 2 3 ) and a FALSE conclusion 1 4 2 .
4. If p is true and q , r are false statements, then what is the truth value of
the compound statement r ~ p ~ ( p ~ q ) ?
Answer: A
TRUE since ( F ~ T ) [~ (T ~ F )] ( F F ) [~ (T T )] F F T .
7. What can you conclude, in general, about a statement of the form , where
represent any component statements?
Answer: C
Problem 1
Write the following quotations in symbolic form. You will need to specify the
letters you attribute to each of the component statements in the quotation and to
remove any negations from these components.
Here, the first part of the statement All predicate logic is conceptually
based on set theoretical principles is actually the CONDITIONAL l s .
Problem 2
2 x 6 x 2 x 2
x 6 x 6
b) Explain logically (i.e. using truth values) why the inequality is false when
x 1.
F F T F F T F
Problem 3
a) Using the table below, show that the logical statement
p ~ q r
~ p q ~ r
is a contradiction.
p q r p ~ q r
~p ~q ~r p ~ q ~ pq p ~ q r ~ p q ~ r
~ p q ~ r
T T T F F F F T T F F
T T F F F T F T F T F
T F T F T F T F T F F
T F F F T T T F T F F
F T T T F F F T T F F
F T F T F T F T F T F
F F T T T F F T T F F
F F F T T T F T F T F
~ ~ p q ~ r
~ p q ~ r
Problem 4
a) Write this definition symbolically. Make sure you specify the three
components (p, q and r) that make up this compound statement explicitly.
q r p ~ q
T T T F T T F
T T F F T T F
T F T T T T T
T F F T F T T
F T T F T F F
F T F F T F F
F F T T T F F
F F F T F T T
c) Using the truth table, explain why the statement must be true if the graph
is Eulerian and some vertices of the graph are of odd degree. Argue
logically using truth values.
If the Graph is Eulerian and some vertices of the graph are of odd
degree, then p is TRUE and q is FALSE.
Since both of these rows are TRUE, we conclude that the statement
is necessarily TRUE when p is TRUE and q is FALSE.
Problem 5
Use one of De Morgans laws to write the negation of the statement below. Do
not give an answer in symbolic form.
While green apples are sometimes sour, red apples are always sweet.
Let g represent the statement Green apples are sometimes sour or,
equivalently, Some green apples are sour.
The negation of g is then No green apple is sour, or Green apples are never
sour.
Let r represent the statement Red apples are always sweet or, equivalently, All
red apples are sweet.
The negation of r is then Some red apples are not sweet, or Red apples are
not sweet sometimes.
Bonus Problem 1
Write a symbolic statement that has 3 components, includes at least 1 negation,
1 conjunction, 1 disjunction and 1 conditional, and is also a contradiction.
There are many answers to that could work Here are two:
1) q r ~ (q r ) p ~ p
2) p ~ p q r ~ r
Bonus Problem 2
Write a logical statement that gives the analogous result in terms of the two
component statements p and q .
The set shaded in the Venn diagram above can be expressed as follows:
A B B A
/ /
p ~ q q ~ p
This corresponds to the exclusive form of the disjunction Either p or q.
[Check this with a truth table.]