Discrete Math Flashcards
(78 cards)
Assume propositions p, q, and r have the following truth values:
p is true q is true r is false
2)
¬r
True
False
true
Correct
The negation of a false proposition is true.
p is true
q is true
r is false
3)
p ∧ r
True
False
false
Correct
Since r is false, the proposition is false.
Assume the propositions p, q, r, and s have the following truth values:
p is false q is true r is false s is true
What are the truth values for the following compound propositions?
(b)
p ∨ r
False
p ∨ q is false only when p and q are both false.
Assume the propositions p, q, r, and s have the following truth values:
p is false q is true r is false s is true
What are the truth values for the following compound propositions?
q ⊕ r
True
The exclusive or operation is usually denoted with the symbol ⊕. The proposition p ⊕ q is true if exactly one of the propositions p or q is true but not both. This question asks you to fill in the truth table for p ⊕ q.
Indicate whether each statement is true or false, assuming that the “or” in the sentence means the inclusive or. Then indicate whether the statement is true or false if the “or” means the exclusive or.
(a)
February has 31 days or the number 5 is an integer.
Inclusive or: True. Exclusive or: True.
Note: evaluates to true when p is true and q is false or when q is true and p is false.
- only when one of the propositions is true, but not both.
Note: evaluates to true when one or both of the propositions are true.
- when at least one of the propositions is true.
In this equation for logic math : TRUE ∧ ¬(FALSE ∧ TRUE), after following order of operations how to FALSE cancel out to equal the next step T ∧ ¬ T / F . Did it cancel out?
Let’s break it down step by step using logical operations:
- Start with the given expression:
[ TRUE \land \neg (FALSE \land TRUE) ]
- Evaluate the inner parentheses:
- FALSE ∧ TRUE evaluates to FALSE (since AND requires both to be true).
- Now the expression simplifies to:
[ TRUE \land \neg FALSE ]
- Apply negation (¬):
- ¬FALSE is TRUE (since NOT flips the truth value).
- Now the expression simplifies to:
[ TRUE \land TRUE ]
- Evaluate the final AND operation:
- TRUE ∧ TRUE evaluates to TRUE.
So, the FALSE didn’t “cancel out”—it was negated and transformed into TRUE. The final result is TRUE
This question uses the following propositions:
p: I will share my cookie with you. q: You will share your soda with me.
Select the conditional statement that has the same logical meaning as the English sentence given.
I will share my cookie with you only if you share your soda with me.
q → p
p → q
p only if q.
Correct
Determine whether the following compound propositions are tautologies, contradictions, or neither.
1)
p ↔ ¬p
*Tautology
*Contradiction
*Neither a tautology or a contradiction
Contradiction
Correct
The proposition is always false, whether p is true or false. Regardless of p’s truth value, p can not have the same truth value as ¬p.
A compound proposition is a contradiction if the proposition is always false,
Determine whether the following compound propositions are tautologies, contradictions, or neither.
2)
p → ¬p
*Tautology
*Contradiction
*Neither a tautology or a contradiction
Neither a tautology or a contradiction
Correct
There is a truth value for p that makes the proposition true, and a truth value for p that makes the proposition false.
Select the English sentence that is logically equivalent to the given sentence.
1)
It is not true that the child is at least 8 years old and at least 57 inches tall.
The child is at least 8 years old and at least 57 inches tall.
The child is less than 8 years old or shorter than 57 inches.
The child is less than 8 years old and shorter than 57 inches.
l: The child is at least 8 years old
f: The child is at least 57 inches tall
Correct
The sentence in the question is equivalent to is ¬(l ∧ f) which, by De Morgan’s law is equivalent to (¬l ∨ ¬f). The expression (¬l ∨ ¬f) means that the child is not at least 8 years old (is less than 8 years old) or is not at least 57 inches tall (is shorter than 57 inches).
Simplify m∨(q∧¬q) to m
See feedback below.
m∨(q∧¬q)
m∨F
m
Simplify ¬(¬q→(¬w∧¬q)) to ¬q∧w
See feedback below.
¬(¬q→(¬w∧¬q))
¬(¬¬q∨(¬w∧¬q))
¬(q∨(¬w∧¬q))
¬((q∨¬q)∧(q∨¬w))
¬(T∧(q∨¬w))
¬((q∨¬w)∧T)
¬(q∨¬w)
¬q∧¬¬w
¬q∧w
For the following questions, the domain for the variable x is the set of all positive integers. The first three questions use predicates O and M which are defined as follows:
O(x): x is odd M(x): x is an integer multiple of 4 (e.g., 4, 8, 12,...)
Indicate whether each quantified statement is true or false:
2)
∃x (¬O(x) ∧ ¬M(x))
True
False
Correct
The value x = 6 is an example of a positive integer that is not odd and is not a multiple of 4.
For the following questions, the domain for the variable x is the set of all positive integers. The first three questions use predicates O and M which are defined as follows:
O(x): x is odd M(x): x is an integer multiple of 4 (e.g., 4, 8, 12,...)
Indicate whether each quantified statement is true or false:
3)
∀x (M(x) → ¬O(x))
True
False
Correct
Every integer that is a multiple of 4 is even. Therefore, if x is a multiple of 4, then x is not odd.
For the following questions, the domain for the variable x is the set of all positive integers. The first three questions use predicates O and M which are defined as follows:
O(x): x is odd M(x): x is an integer multiple of 4 (e.g., 4, 8, 12,...)
4)
∀x ((x = 1) ∨ (x2 ≠ x))
True
False
Correct
The only positive integer x that is equal to x2 is 1, so every positive integer x is either equal to 1 or x2 ≠ x.
1)
The expression ∃x P(x) is a proposition.
True
False
Correct
The variable x is bound, so the statement is either true or false.
The expression (∃x S(x)) ∨ R(x) is a proposition.
True
False
Correct
The variable x in R(x) is a free variable, so the statement is not a proposition.
3.3.2: Free and bound variables in quantified statements.
3)
The expression ∃x (S(x) ∨ R(x)) has a free variable.
True
False
Correct
Both occurrences of x are bound by the existential quantifier.
Name N(x) D(x)
Happy F F
Sleepy F T
Grumpy T T
Bashful T T
2)
Is the statement “∀x (N(x) ∧ D(x))” true or false for the group defined in the table?
True
False
Correct
Happy and Sleepy are both are counterexamples to the statement. For example, N(Sleepy) ∧ D(Sleepy) is false.
Name N(x) D(x)
Happy F F
Sleepy F T
Grumpy T F
Bashful T F
2)
Is the statement “∃x (N(x) → D(x))” true or false for the group defined in the table?
True
False
Correct
The logical statement N(x) → D(x) is true for x = Happy and x = Sleepy. For example, since N(Happy) is false, N(Happy) → D(Happy) is true.
4)
The expression ∀x P(x) ∨ ∃x Q(x) is a proposition.
True
False
Correct
The quantifier ∀ binds the variable x in P(x). Therefore ∀x P(x) is a proposition. The quantifier ∃ binds the variable x in Q(x). Therefore ∃x Q(x) is a proposition. ∀x P(x) ∨ ∃x Q(x) is the disjunction of two propositions and is therefore a proposition.
Consider the following argument:
¬q
p → q
∴ ¬p
2)
The proposition ¬q is:
a hypothesis
the conclusion
an argument
Correct
All the propositions except the last are hypotheses.
Consider the following argument:
¬q
p → q
∴ ¬p
3)
The argument is valid if which proposition is a tautology:
((p → q) ∧ ¬q) → ¬p
¬p → ((p → q) ∧ ¬q)
¬p ↔ ( (p → q) ∧ ¬q )
Correct
The conjunction of the hypotheses implies the conclusion.
Consider the argument below:
p → q
p ∨ q
∴ q
p q p → q p ∨ q
T T T T
T F F T
F T T T
F F T F
1)
In which rows are both the hypotheses true?
Row 1
Rows 1 and 3
Rows 1, 3, and 4
Correct
In rows 1 and 3, p → q and p ∨ q are both true. In the other rows, at least one of the two hypotheses is false