This is the second of two assignments and is worth 15% of the total grade. The assignment is due Sunday 6th April 2025, 2359. Submit your solutions digitally on Canvas, a submission box will be open under “Assignments > Assignment 2”.
There are 4 questions for a total of 30 marks.
Please make sure your handwriting is legible. You may scan/take a picture of handwritten solutions, you may also type your solutions. We are not particular about the symbol use if you cannot type out the symbols but please make it clear to us what symbol you were intending to use.
How to submit:
- Submit online on Canvas. There is a submission box on Canvas for you to submit your document. Either .docx, .pdf, or a picture of your written solutions are acceptable as long as we can read your attempts.
- Official due date for submission : Sunday 6th April 2025, 2359
Collaboration Policy:
- You may discuss high-level ideas with your classmates or friends. You should list your collaborators if you do so.
- Do not share your solutions.
- ChatGPT (and other LLMs) are not allowed.
- Your submission must be of your own write-up.
Late Policy:
- No late submissions for the assignment allowed.
Question 1 [6 marks]
Given sets , , .
Write in set roster notation the following sets:
Solutions
Question 2 [6 marks]
For the following sets, state whether the equality holds or not. If they are equal stating so suffices. If they are not equal, give an example of sets to justify it.
Example question: For example, given the following:
Example answer: This equality does not hold. Consider , then the LHS is , and the RHS is . Since , the equality does not hold.
Solutions
- False. Consider and . Then, .
- False. since , but since .
Question 3
Consider the following predicate:
We will relate two numbers , in the following way:
For example: , because both and are true, and . Whereas , because no such natural number besides satisfies both and .
Sub-question 1: [6 Marks]
Is reflexive? In other words, is it true that
If it is not true, state that it is false, and give an example value for which . If it is true, prove it.
Sub-question 2: [6 Marks]
Is anti-symmetric? In other words, is it true that
If it is not true, state that it is false, and give an example values for which and , but . If it is true, prove it.
Sub-question 1
No, is not reflexive. Consider . Now, we prove that .
Proof:
- Suppose, for the sake of contradiction, that .
- [Definition of ]
- Let be such that . [Existential instantiation on line 2]
- [Specialisation on line 3]
- [Definition of ]
- Let be such that . [Existential instantiation on line 5]
- [Specialisation on line 3]
- [Basic algebra]
- Case 1: . Then, . [Basic algebra]
- Case 2: . Then, , so . [Basic algebra]
- Either way, . [Proof by cases on lines 8, 9, 10]
- [Conjunction on lines 6, 11]
- . [Contradiction rule on line 12]
- . [Proof by contradiction on line 13]
Sub-question 2
No, is not anti-symmetric. Consider and .
Proof:
- . [Basic algebra]
- [Basic algebra]
- [Existential generalisation on lines 1, 2]
- [Definition of ]
- . [Basic algebra]
- [Existential generalisation on lines 4, 5]
- . [Definition of ]
- [Logically equivalent to line 4]
- [Existential generalisation on lines 5, 8]
- . [Definition of ]
- . [Basic algebra]
- is not anti-symmetric. [Definition of anti-symmetry, from lines 7, 10, 11]
Question 4: [6 Marks]
Prove via mathematical induction that for all :
Solution
Proof:
- (Base case) Let . Then, .
- (Inductive step) Assume that for some , where , we have .
- [By assumption on line 2]
- [Principle of mathematical induction]