26. Translate each of these statements into logical expres-
sions in three different ways by varying the domain and
by using predicates with one and with two variables.
d) There is a person in your school who is not happy.
e) Everyone in your school was born in the twentieth
century.
Expert Answer
/three different ways by varying the domain and by using predicates
d) There is a person in your school who is not happy.
solution:
Let the person be x, then x is happy.
S(x) be “x is happy”.
i)if the domain is just a schoolmate, then
∃x ¬S(x)
explantion: x is not happy.
ii)if the domain is all people, then
∃x(A(x)^ ¬S(x))
iii)Let M(x,y) , means person x is in mental state y,
then, ∃x(A(x)^ ¬E(x,happy))
e)Everyone in your school was born in the twentieth century.
solution:
Let x was born in the twentieth century. and written as C(x).
i) if the domain is just a schoolmate, then
∀xC(x)
that for all in school, born in twentieth century.
ii) if the domain is all people, then
∀x(A(x) ->C(x))
iii)Let M(x,y) mean that person x was in the yth century, then,
∀x(A(x) ->M(x,twentieth))