2. In this problem, the domain of discourse is the set of positive integers: {1, 2, 3, ...}. Which statements are true? If an existential statement is true, give an example. If a universal statement is false, give a counterexample.
(a) ∀x(x 2 − 1 > 0)
(b) ∀x(x 2 − x > 0)
(c) ∃x(x 3 = 8)
(d) ∃x(x + 1 = 0)
2. In this problem, the domain of discourse is the set of positive integers: {1, 2,...
Predicates P and Q are defined below. The domain of discourse is the set of all positive integers. P(x): x is prime Q(x): x is a perfect square (i.e., x = y2, for some integer y) Indicate whether each logical expression is a proposition. If the expression is a proposition, then give its truth value. (c) ∀x Q(x) ∨ P(3) (d) ∃x (Q(x) ∧ P(x)) (e) ∀x (¬Q(x) ∨ P(x))
Predicates P and Q are defined below. The domain of discourse is the set of all positive integers. P(x): x is prime Q(x): x is a perfect square (i.e., x = y2, for some integer y) Find whether each logical expression is a proposition. If the expression is a proposition, then determine its truth value. 1) ∃x Q(x) 2) ∀x Q(x) ∧ ¬P(x) 3) ∀x Q(x) ∨ P(3)
9. Prove that the following kogical expressions aro logically equivalent by applying the law of logic 10. Give a logical expression with variables p, q, and r that's true only if p and q are false and r is true. 11. Predicates P and Q are defined below. The domain of discourse is the set of all positive integers. P(x): x is prime Qlx): x is a perfect square Are the following logical expressions propositions? If the answer is yes,...
Question 16 Determine the truth value of the following statement! vxay( y2 = x). The domain of discourse is the set of integers. O True O False
4) Let D be the set of all finite subsets of positive integers. Define a function (:2 - D as follows: For each positive integer n, f(n) =the set of positive divisors of n. Find the following f (1), f(17) and f(18). Is f one-to-one? Prove or give a counterexample.
In the following question, the domain of discourse is a set of employees who work at a company. Ingrid is one of the employees at the company. Define the following predicates: • S(x): x was sick yesterday • W(x): x went to work yesterday • V(x): x was on vacation yesterday Translate the following English statements into a logical expression with the same meaning. (c) Everyone who was sick yesterday did not go to work. (d) Yesterday someone was sick...
Let D be the domain of 8-bit signed binary numbers, not mathematical integers. Is the following statement true? ∀x ∈ D, ∀y ∈ D, ((x > 0) ^ (y > 0)) → (x + y) > 0 Hint: bear in mind that the + here is addition over 8-bit signed binary numbers (clock arithmetic), NOT standard mathematical addition. Group of answer choices A. Definitely true. B. Definitely false. C. As is, can't tell, but I could tell with further information....
5. Suppose P(m,n) means “m>n”, where the universe of discourse for m and n is the set of POSITIVE integers. Find the truth value of each statement and explain your answer. NOTE: This is NOT exactly the same as the practice test. (a) (2 points) VxP(x,5) (b) (2 points) Vx3yP(x,y) (c) (2 points) ExWyP(x,y)
2. A = Z, the set of integers with usual addition and multiplication. Prove if true or provide a counterexample if false for each of the following: • • • • • For all a and b in R, a + x = b has a unique solution in R For all a and b in R, a + x = b and y + a = b. Have the same solution in R. For all a and b in...
Problem 2. In the Subset-Sum problem the input consists of a set of positive integers X = {x1, . . . , xn}, and some integer k. The answer is YES if and only if there exists some subset of X that sums to k. In the Bipartition problem the input consists of a set of positive integers Y = {y1, . . . , yn}. The answer is YES if and only if there exists some subset of X...