How wrong is the following in predicate logic If P(x,y) means that x is perpendicular to y. And Q(x

Kendrick Hampton

Kendrick Hampton

Answered question

2022-06-16

How wrong is the following in predicate logic
If P(x,y) means that x is perpendicular to y. And Q(x,y) means that x is parallel to y, how wrong is the following written in predicate logic:
Every x is perpendicular to y. In predicate: x , y P ( x , y )
There exists y that is parallel to x. In predicate: "For x there y Q ( x , y )
I know that the upper aren't totally correct. My question is how wrong are they?

Answer & Explanation

Mateo Barajas

Mateo Barajas

Beginner2022-06-17Added 13 answers

Step 1
Every x is perpendicular to y.
In predicate: x , y P ( x , y )
Literally: x P ( x , y ) .. Here, the variable y appears to be free.
(On the other hand, “Every x is perpendicular to every y” translates as x y P ( x , y ) . )
Your suggestion just reads as “For each (x,y) couple for which P is true...”.
Step 2
Both P(a,b) and ( a , b ) P mean that (a,b) satisfies P(x,y).
There exists y that is parallel to x.
In predicate: "For x there y Q ( x , y )
Literally: y Q ( y , x ) .
Hector Petersen

Hector Petersen

Beginner2022-06-18Added 6 answers

Step 1
It's VERY wrong. It doesn't parse:
P , Q S 2
which means P and Q are sets of ordered pair, therefore, their elements are of the form: (a,b) and not a.
Step 2
You can do this instead:
x , y P ( x , y )
which says every x is perpendicular to some y without using elementhood.

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?