Discrete Math - Proofs and Predicates. Give an example of a domain U and predicates P and Q such that (forall x in U,P(x)) rightarrow (forall x in U,Q(x))

cochetezgh

cochetezgh

Answered question

2022-09-05

Discrete Math - Proofs and Predicates
Give an example of a domain U and predicates P and Q such that
( x U , P ( x ) ) ( x U , Q ( x ) ) is true but,
x U , ( P ( x ) Q ( x ) ) is false
Any help please on any predicates or domains that work for such logic?

Answer & Explanation

Peyton Atkins

Peyton Atkins

Beginner2022-09-06Added 13 answers

Step 1
U = the set of all people
P ( x ) : x is a male
Q ( x ) : x is over 6 feet tall
My reasoning is as follows:
Note that the statement x P ( x ) x Q ( x ) is true if either the antecedent, x P ( x ), is false or both the antecedent and consequent are true. I will choose a domain U and predicate P such that the antecedent is false.
U = the set of all people
P(x):x is a male
Step 2
Now, the statement x [ P ( x ) Q ( x ) ] is false if and only if its negation is true. So let's examine the negation
¬ x [ P ( x ) Q ( x ) ]
¬ x [ ¬ P ( x ) Q ( x ) ] - implication law
x ¬ [ ¬ P ( x ) Q ( x ) ] - Demorgan's law for quantifiers
x [ ¬ ¬ P ( x ) ¬ Q ( x ) ] - DeMorgan's law
x [ P ( x ) ¬ Q ( x ) ] - double negation law
So, the statement x [ P ( x ) Q ( x ) ] is false if there exists at least one person x such that P(x) is true and Q(x) is false. Surely there exists at least one person that is a male, so we need only define a predicate Q that would be false for at least one man...
Q(x):x is over 6 feet tall
Leon Webster

Leon Webster

Beginner2022-09-07Added 17 answers

Step 1
Give an example of a domain U and predicates P and Q such that
( x U , P ( x ) ) ( x U , Q ( x ) ) is true but,
x U , ( P ( x ) Q ( x ) ) is false
Before giving an example, let me show you how you can generate an example a bit more systematically, rather than doing this by trial and error.
OK, so first we want x U , ( P ( x ) Q ( x ) ) to be false. Since x U , ( P ( x ) Q ( x ) ) means that all P's are Q's (in the domain U), it is false if not all P's are Q's, which is to say that not all P's are Q's. OK, so you need at least one P that is not a Q. And, given that there is such a thing that is not a Q, that also means that not everything is a Q
Now, you also need that ( x U , P ( x ) ) ( x U , Q ( x ) ) is true. But as we just saw, it can;t be the case that everything is a Q, and hence ( x U , Q ( x ) ) is false. So, how can this whole statement still be true? It must be because ( x U , P ( x ) ) is false as well, and hence there must be at least one thing that is not a P.
OK, so there we have it: We need a domain in which we have at least one object that is a P but not a Q, and at least one object that is not a P.
Step 2
Abstractly, we could therefore simply do:
U = { a , b }
P = { a } (that is: a is the only object with property P)
Q = { b } (b is the only object with property Q)
Step 2
If you want a more concrete example, just look for some domain and two properties such that some objects have the first property but not the second, and other objects have the second property, but not the first. So, how about:
U: Natural numbers
P: Prime numbers
Q: Even numbers
With this:
( x U , P ( x ) ) ( x U , Q ( x ) ) says that if all numbers are prime, then al numbers are even .. which is (vacuously) true exactly because it is not true that all numbers are prime
x U , ( P ( x ) Q ( x ) ) says that all prime numbers are even ... which is clearly false.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?