| New Reply |
Discrete Math Question on Universal and Existential Quantifiers |
Share Thread | Thread Tools |
| Sep30-12, 08:50 PM | #1 |
|
|
Discrete Math Question on Universal and Existential Quantifiers
Hi everyone,
I've got a test tomorrow and while working through a practice test I got stuck. Here is the problem: In the question below suppose P(x,y) is a predicate and the universe for the variables x and y is {1,2,3}. Suppose P(1,3), P(2,1), P(2,2), P(2,3), P(2,3), P(3,1), P(3,2) are true, and P(x,y) is false otherwise. Determine whether the following statements are true. ∀y∃x(P(x,y) → P(y,x)). I understand that to find the truth value of a statement I should loop through each combination of values and if any result in False the statement is False. However, I'm not sure how I would loop through this one as x and y don't seem to be doing anything. Any help would be appreciated. |
| Sep30-12, 09:21 PM | #2 |
|
Recognitions:
|
The way I see it, you loop through each value of y. Inside the loop on y , you loop through each value of x. If the loop through x has one case where P(x,y)->P(y,x) then the [itex] \exists x [/itex] condition is satisfied. The inner loop doesn't have to produce a true statement for all values x, it only has to work for one value of x. Roughly like this: for y = 1 to y = 3 { for x = 1 to x = 3 if ( P(x,y) -> P(y,x) ) then there is no need to test more x values, leave this loop on x and proceed to the next y value. end loop on x } If you get to this point, none of the x values worked, so the statement is false since the [itex] \forall y [/itex] failed for this particular value of y. You can leave the loop on y. end loop on y |
| Sep30-12, 09:35 PM | #3 |
|
|
Thanks for the reply, but I still having trouble.
I'm trying to put what is happening in English: For every y there is an x such that . . . I guess I'm getting stuck on what is happening inside the parentheses: If P(x,y), then P(y,x). This doesn't make sense to me. Or, P(x,y) implies P(y,x). |
| Sep30-12, 10:04 PM | #4 |
|
Recognitions:
|
Discrete Math Question on Universal and Existential QuantifiersFor example, consider the case x = 2, y = 3. the statement becomes" if (P(2,3) then P(3,2) P(2,3) is given to be True in the problem. P(3,2) is given to be True in the problem. Hence the if...then... statement is true in this case because A is True and B is True. (The only case where 'if A then B" is False is when A is True and B is False.) You could pretend the statement-function P(x,y) is a verbal statement like "Person x has property belonging to person y". However, I think it's easier just to proceed in a mechanical fashion. |
| Sep30-12, 10:43 PM | #5 |
|
|
Yeah, we have studied the truth tables for IF, I just wasn't making the connection. However, how would the statement ever be false. For what it's worth, the answer I was given on the practice exam is TRUE.
Would the statement be false if x = 1 and y = 2? Thanks again. |
| Sep30-12, 11:04 PM | #6 |
|
Recognitions:
|
if P(1,2) then P(2,1) is True because P(1,2) is False. The if...part is False. The only time "If A then B" is false is when A is True and B is False. |
| Sep30-12, 11:16 PM | #7 |
|
|
Shoot, I got that backwards. What I meant was if x = 2 and y =1.
Then you would have P(2, 1) implies P(1, 2). Since P(2,1) is TRUE and P(1,2) is FALSE, then the statement is FALSE. Correct? |
| Sep30-12, 11:32 PM | #8 |
|
Recognitions:
|
To determine the truth of "There exists an x such that if (P(x,1) then P(1,x)" you'd have to see if some other value of x makes "if P(x,1) then P(1,x)" evaluate to True. |
| Oct1-12, 12:08 AM | #9 |
|
|
There is no other combination that makes If P(x,y), then P(y,x) false. However, since ∀y∃x is saying, "For all y's there is an x..." and we have shown that there is case that doesn't prove true for a given y, then the statement is False. Maybe I'm seeing this wrong, but isn't the statement False?
|
| Oct1-12, 02:55 AM | #10 |
|
Recognitions:
|
|
| Oct1-12, 12:22 PM | #11 |
|
|
Thanks for the help. I just took my exam and your explanations helped a lot.
|
| New Reply |
| Thread Tools | |
Similar Threads for: Discrete Math Question on Universal and Existential Quantifiers
|
||||
| Thread | Forum | Replies | ||
| existential and universal quantifiers | Set Theory, Logic, Probability, Statistics | 20 | ||
| Discrete math question? | Calculus & Beyond Homework | 3 | ||
| Predicate Logic Universal and Existential quantifiers | Introductory Physics Homework | 5 | ||
| Discrete Math question | Calculus & Beyond Homework | 6 | ||
| Discrete Math Question | General Math | 2 | ||