25-26-2-离散数学-期中
目录
1. [10 points]
Please determine whether the following sentence is a proposition, and if it is a proposition, give its truth value.
- If 2+1 = 5, then tomorrow is a sunny day.
- Open the window.
- 5+x = 8.
- The square root of 2 is rational.
- This statement is false.
2. [4 points]
Express the following sentences in propositional logic using the propositions : “You can get the scholarship”, : “You get an A on the final exam.” and logical connectives.
- You can get the scholarship only if you get an A on the final exam.
答案 / 解析
- You can get the scholarship unless you didn’t get an A on the final exam.
答案 / 解析
3. [8 points]
- Prove or disprove that is a tautology.
- Show that and are logically equivalent by developing a series of logical equivalences.
4. [10 points]
- Find the principal disjunctive normal form for .
- Find the principal conjunctive normal form for using logical equivalences.
5. [6 points]
Suppose that the universe for and is {1, 2, 3, 4}. Assume that is a predicate that is true in the following cases and false otherwise: , , , , , . Determine whether each of the following is true or false and give your reason.
6. [6 points]
Translate each of these statements into logical expressions in three different ways by varying the domain and by using predicates with one and with two variables.
- Any player in games has two roles.
- Some cities in North China implement the odd-even number-plate restrictions.
7. [10 points]
Let , , and be the statements ” is a student,” ” is a course,” and ” is taking ,” respectively. Express each of these statements using quantifiers, logical connectives, and , , and .
- Every course is being taken by at least one student.
- Some student is taking every course.
- No student is taking all courses.
- There is a course that all students are taking.
- Some students are taking no course.
8. [10 points]
Put these statements in prenex normal form.
9. [6 points]
There is a special set that has no elements. This set is called the empty set, or null set, and is denoted by . Two sets are equal if and only if they have the same elements. Therefore, if and are sets, then and are equal if and only if . Give a direct proof and a proof by contraposition of the statement: “If , are any two empties, then .“
10. [6 points]
- Disprove that if is irrational, then for every real number , is irrational.
- Prove if is irrational, then is irrational.
11. [3 points]
Prove the statement: “There is no smallest positive rational number.”
12. [3 points]
Prove the statement: “For every integer , the integer is even.”
13. [8 points]
Show that the premises: “Xiao Wang has studied English or Japanese”, “If Xiao Wang has studied English, then he has been to the UK.” and “If Xiao Wang has been to the UK, then he has also been to Japan.” imply the conclusion “Xiao Wang has studied Japanese or has been to Japan.”
14. [10 points]
Show that the premises: “All monkeys can climb trees”, “All animals that can climb trees can pick peaches”, “There exists an animal that cannot pick peaches.” imply the conclusion “There exists an animal that is not a monkey.”