Solving Logic Problem: Pizza & Students

  • Thread starter Thread starter ur5pointos2sl
  • Start date Start date
  • Tags Tags
    Logic
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
ur5pointos2sl
Messages
95
Reaction score
0
I have a problem that states:

Write each english sentence in symbolic form using the following predicates:
m = Melissa
p = Pizza

S(x) = ' x is a student '
L(x, y) = ' x likes y '
E(x, y) = ' x eats y '

Take A as the universal quantifier in this problem and M as the existential quantifier since E is already being used.

I know that when:
a) All students eat pizza. I get this Ax (S(x) -> E(x, p) )

but when
b) Only students eat pizza.

I get confused when the word only is used. Is there a better way to view this sentence that would make it more obvious what the answer would be?
 
Physics news on Phys.org


micromass said:
Maybe try to say "anybody who eats pizza must be a student"...

HallsofIvy said:
"If a person eats pizza, that person is a student".


Thanks!