Exercise 6: (5 POINTS) Suppose the variable ๐ฅ represents students and ๐ฆ represents courses,and:๐ด(๐ฅ): ๐ฅ is a part-time student๐(๐ฆ): ๐ฆ is a math course๐น(๐ฅ): ๐ฅ is a freshman๐ต(๐ฅ): ๐ฅ is a full-time student๐(๐ฅ, ๐ฆ): student ๐ฅ is taking course ๐ฆ.1. Write the following statements using these predicates and any needed quantifiers.a) Caroline is not taking any course. (1 POINT)b) No student is taking every course. (1 POINT)2. Write the following statements in good English without using variables in your answers.a) โ๐ฆโ๐ฅ[๐ด(๐ฅ) โ ๐(๐ฅ, ๐ฆ)] (1 POINT)b) โ๐ฅโ๐ฆ[(๐ต(๐ฅ) โง ๐น(๐ฅ)) โ (๐(๐ฆ) โง ๐(๐ฅ, ๐ฆ))] (2 POINTS)
Question
Exercise 6: (5 POINTS) Suppose the variable ๐ฅ represents students and ๐ฆ represents courses,and:๐ด(๐ฅ): ๐ฅ is a part-time student๐(๐ฆ): ๐ฆ is a math course๐น(๐ฅ): ๐ฅ is a freshman๐ต(๐ฅ): ๐ฅ is a full-time student๐(๐ฅ, ๐ฆ): student ๐ฅ is taking course ๐ฆ.1. Write the following statements using these predicates and any needed quantifiers.a) Caroline is not taking any course. (1 POINT)b) No student is taking every course. (1 POINT)2. Write the following statements in good English without using variables in your answers.a) โ๐ฆโ๐ฅ[๐ด(๐ฅ) โ ๐(๐ฅ, ๐ฆ)] (1 POINT)b) โ๐ฅโ๐ฆ[(๐ต(๐ฅ) โง ๐น(๐ฅ)) โ (๐(๐ฆ) โง ๐(๐ฅ, ๐ฆ))] (2 POINTS)
Solution
a) The statement "Caroline is not taking any course" can be written as ยฌT(Caroline, y) for all y. b) The statement "No student is taking every course" can be written as ยฌ(โy T(x, y)) for all x.
a) The statement "โ๐ฆโ๐ฅ[๐ด(๐ฅ) โ ๐(๐ฅ, ๐ฆ)]" translates to "There exists a course such that every part-time student is taking it." b) The statement "โ๐ฅโ๐ฆ[(๐ต(๐ฅ) โง ๐น(๐ฅ)) โ (๐(๐ฆ) โง ๐(๐ฅ, ๐ฆ))]" translates to "Every full-time freshman student is taking at least one math course."
Similar Questions
Let ๐ผ(๐ฅ) be the statement โ๐ฅ has an Internet connectionโ and ๐ถ(๐ฅ, ๐ฆ) be the statement โ๐ฅ and ๐ฆ havechatted over the Internet,โ where the domain for the variables ๐ฅ and ๐ฆ consists of all students in yourclass. Use quantifiers to express each of these statements.a) Jerry does not have an Internet connection.b) Rachel has not chatted over the Internet with Chelsea.c) No one in the class has chatted with Bob.d) Sanjay has chatted with everyone except Joseph.e) Someone in your class does not have an Internet connection.f) Not everyone in your class has an Internet connection.g) Exactly one student in your class has an Internet connection.h) Everyone in your class with an Internet connection has chatted over the Internet with at leastone other student in your class.i) Someone in your class has an Internet connection but has not chatted with anyone else in yourclass.j) There are two students in your class who have not chatted with each other over the Internet.k) There is a student in your class who has chatted with everyone in your class over the Interne
Let ๐ถ(๐ฅ, ๐ฆ) mean that student ๐ฅ is enrolled in class ๐ฆ, where the domain for ๐ฅ consists of all students inyour school and the domain for ๐ฆ consists of all classes being given at your school. Express each of thesestatements by a simple English sentence.a) ๐ถ(๐ ๐๐๐๐ฆ ๐บ๐๐๐๐๐๐๐, ๐ถ๐ 252)b) โ๐ฅ๐ถ(๐ฅ, ๐๐๐กโ 695)c) โ๐ฆ๐ถ(๐ถ๐๐๐๐ ๐๐๐ก๐๐, ๐ฆ)d) โ๐ฅ(๐ถ(๐ฅ, ๐๐๐กโ 222) โง ๐ถ(๐ฅ, ๐ถ๐ 252))e) โ๐ฅโ๐ฆโ๐ง((๐ฅ โ ๐ฆ) โง (๐ถ(๐ฅ, ๐ง) โ ๐ถ(๐ฆ, ๐ง)))f) โ๐ฅโ๐ฆโ๐ง((๐ฅ โ ๐ฆ) โง (๐ถ(๐ฅ, ๐ง) โ ๐ถ(๐ฆ, ๐ง)))
Exercise 7: (6 POINTS) Express each of these statements using predicates with two variables andnested quantifiers. Then form the negation of the statement so that no negation is to the left ofa quantifier. Next, express the negation in simple English. (Do not simply use the phrase โIt isnot the case that.โ)a) Every Ashesi student has taken some math course.b) No one knows everybody.
Let ๐(๐ฅ, ๐ฆ) be the statement โ๐ฅ enjoys playing ๐ฆ,โ where the domain for๐ฅ consists of all Ashesi students and that of ๐ฆ consists of all sports.Express each of these statements by a simple English sentence.a) ๐(Paul, football)b) โ๐ฆ๐(Carol, ๐ฆ)c) โ๐ฅ(๐(๐ฅ, basketball) โง ๐(๐ฅ, badminton))d) โ๐ฅโ๐ฆ((๐ฅ โ Ben) โง (๐(Ben, ๐ฆ) โ ๐(๐ฅ, ๐ฆ))
Translate each of the English sentences (a)-(d) below into predicate logic formulas, with all students as the domainof discourse.The only predicates you may use areโข O(x) meaning that โx is a computer science studentโ, andโข H(x) meaning that โx is studying hardโ, andโข M (x, y) meaning that โx has won more Hackathons than yโ, andโข equality and inequality. (i.e. = andฬธ =)However, you may define whatever variables and constants you wish, and you are also allowed to use all the symbolsfrom the alphabet of predicate logic, i.e. connectives, quantifiers, brackets etc.If you need to make any assumptions, state what they are.(a) Some hard-studying students are not computer science students.(b) All computer science students study hard.(c) Some students have won more Hackathons than everyone else.(d) Duana is the only student who has won more Hackathons than Phill
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.