HW2 Cse
HW2 Cse
Homework 2
Due Date: 7-May-2023
1. Let P(x) be the statement “x + 1 > x”. What is the truth value of the quantification ∀xP(x) and
∃xP(x) where the domain consists of all integer numbers?
Because P (x) is true for all real numbers x, the quantification ∀xP (x)is true.
2. Let Q(x) be the statement “x < 2”. What is the truth value of the quantification ∀xQ(x) and ∃xP(x),
where the domain consists of all integer numbers?
Q(x) is not true for every real number x, because, for instance, Q(3) is false. That is, x = 3 is a
counterexample for the statement ∀xQ(x). Thus ∀xQ(x) is false.
3. Suppose that P(x) is “x2 > 0.” What is the truth value of the quantification ∀xQ(x), where the
universe of discourse consists of all integers, give a counter example if False.
Let x = 0, the statement becomes "02 > 0" which simplifies to "0 > 0". This is false, as 0 is not
greater than 0.
therefore, the truth value of ∀xP(x) is false, and the counterexample is x = 0.
4. Let Q(x) denote the statement “x = x + 1.” What is the truth value of the quantification ∃xQ(x),
where the domain consists of all real numbers?
“x = x + 1”, this statement is not true for any real number, as adding 1 to any real number will
always result in a larger number, making x and (x + 1) distinct. Therefore, the truth value of
∃xQ(x) is false, as there is no real number that can satisfy the given statement.
5. Express the statements (1) “Every student in this class has studied calculus” (2) “Some student in
this class has studied calculus” (3) “Every student in this class has studied either calculus or English
Language” using predicates quantifiers and logical connectives. Given that:
a) The domain for x consists of the students in the class
b) The domain to consist of all people
Let S(x) represent "x is a student in this class."
Let C(x) represent "x has studied calculus."
Let E(x) represent "x has studied English Language."
(1) “Every student in this class has studied calculus”
For the domain of x consisting of students in the class:
∀x(C(x))
For the domain of x consisting of all people:
∀x(S(x) → C(x))
(2) “Some student in this class has studied calculus”
For the domain of x consisting of students in the class:
∃x(C(x))
For the domain of x consisting of all people:
∃x(S(x) ∧ C(x))
(3) “Every student in this class has studied either calculus or English Language”
For the domain of x consisting of students in the class:
∀x(C(x) ∨ E(x))
For the domain of x consisting of all people:
∀x(S(x) → (C(x) ∨ E(x)))
6. Express the statement “If a person is female and is a parent, then this person is someone’s
mother” as a logical expression involving predicates, quantifiers and logical connectives with a
domain consisting of all people.
Let F(x): x is female
Let P(x): x is a parent
Let M(x, y): x is the mother of y
∀x((F (x) ∧ P (x)) → ∃yM(x, y))
7. What are the negations of the statements ∀x(x2 > x) and ∃x(x2 = 2)?
The negation of ∀x(x2 > x) is the statement ¬∀x(x2 > x), which is equivalent to ∃x¬(x2 > x).
This can be rewritten as ∃x(x2 ≤ x).
The negation of ∃x(x2 = 2)is the statement ¬∃x(x2 = 2), which is equivalent to ∀x¬(x2 = 2). This
can be rewritten as ∀x(x2 ≠2).
Let P(x) be "x is perfect" and F(x) be "x is your friend"; Translate the following
statement into logical expressions using predicates, quantifiers, and logical connectives.
At least one of your friends is perfect.
A. ∀x(F(x) → P(x))
B. ∃x(F(x) → P(x))
C. ∃x(F(x) ∧ P(x))
D. ∀x(F(x) ∧ P(x)
What rule of inference is used in each of these arguments? If I go swimming, then I will
stay in the sun too long. If I stay in the sun too long, then I will sunburn. Therefore, if I
go swimming, then I will sunburn.
A. Resolution
B. Modus ponens
C. Hypothetical syllogism
D. Disjunctive syllogism
For the given arguments determine whether the argument is correct or incorrect and
explain why. Everyone who eats granola every day is healthy. Linda is not healthy.
Therefore, Linda does not eat granola every day.
A. This is not valid argument
B. This is valid by existential generalization and modus ponens
C. This is valid by universal generalization and modus ponens
D. This is valid by universal instantiation and modus tollens
Good Luck