This is the second of two assignments and is worth 15% of the total grade. The assignment is due Monday, 13 Apr 2026, 11:59 PM. Submit your solutions digitally on Canvas, where a submission box will be open under “Assignments > Assignment 2”.
There are 5 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 will be 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.
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 this question, consider the following relation , where .
Sub-part 1
Is reflexive? If so, prove it. If not, give a value such that .
Solution
- False. Consider .
Sub-part 2
Is transitive? If so, prove it. If not, give values such that .
Solution
True
- Let , arbitrarily chosen.
- Let , arbitrarily chosen.
- Let , arbitrarily chosen.
- Assume .
- [Specialisation on line 4]
- [Specialisation on line 4]
- [Definition of ]
- [Definition of ]
- [Specialisation on line 4.3]
- [Specialisation on line 4.4]
- [Conjunction on lines 4.5 and 4.6]
- [Definition of ]
- [Implication introduction on lines 4 and 4.8]
- [Universal generalisation on lines 3, 5]
- [Universal generalisation on lines 2, 6]
- [Universal generalisation on lines 1, 7]
Question 3 (6 marks):
Consider a relation , assume that is transitive. Is it true that ? If it is true, prove it. Otherwise, give an example for for which it is false.
Solution
- False
- Consider , then notice is transitive.
- Then but .
Question 4 (6 marks):
Consider a relation , assume that is transitive. Is it true that ? If it is true, prove it. Otherwise, give an example for for which it is false.
Solution
True!
- Let , arbitrarily chosen.
- [Definition of ]
- Let be such that [Existential instantiation of line 2]
- [Universal generalisation of transitivity of ]
- [Modus ponens on lines 3 and 4]
- [Universal generalisation of lines 1 and 5]
- [Definition of subset]
Question 5 (6 marks):
Prove via mathematical induction that for all :
Solution
- [Base Case] Let .
- [Inductive Case] Let , arbitrarily chosen, and assume that
- By mathematical induction