BIT152 ยท 2081 ยท 5 marks
Define proposition. Convert the following sentences to predicate: (a) Some kind hearted peoples do still exist. (b) Student who study hard and do the homework get good marks in exam.
Define proposition. Convert the following sentences to predicate: (a) Some kind hearted peoples do still exist. (b) Student who study hard and do the homework get good marks in exam. [5]
Quick answer
A proposition is a declarative statement that is either true or false, but not both simultaneously. It has a definite truth value (T or F).
Proposition and Predicate Logic
Definition of Proposition
Examples:
- "2 + 2 = 4" (True proposition)
- "The sky is green" (False proposition)
- "Close the door!" (NOT a proposition - it is a command)
Converting Sentences to Predicate Logic
(a) Some kind hearted people do still exist.
Identify the components:
- Let K(x) = "x is kind hearted"
- Let E(x) = "x still exists" (or "x is a person who still exists")
- The quantifier "Some" maps to the Existential Quantifier (โ)
Predicate Form:
$$\exists x ; [K(x) \land E(x)]$$
Reading: "There exists some x such that x is kind hearted and x still exists."
(b) Students who study hard and do the homework get good marks in exam.
Identify the components:
- Let S(x) = "x is a student"
- Let H(x) = "x studies hard"
- Let D(x) = "x does the homework"
- Let G(x) = "x gets good marks in exam"
- The quantifier "All/Every" (implied) maps to the Universal Quantifier (โ)
Predicate Form:
$$\forall x ; [S(x) \land H(x) \land D(x) \Rightarrow G(x)]$$
Reading: "For all x, if x is a student and x studies hard and x does the homework, then x gets good marks in the exam."
Note: The existential quantifier (โ) uses conjunction (โง) with its conditions, while the universal quantifier (โ) typically uses implication (โ) to express conditional relationships.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.