How to submit:

  • Submit before actual tutorial time for it to be graded. There are 2 ways to do this:
    1. 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.
    2. Submit your written attempts in-person during our tutorial.
  • Official due date for submission : 18-Mar-2025, 23:59 or during tutorial itself.

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:

  • < 1 week after submission deadline: 50% penalty
  • < 2 weeks after submission deadline: 75% penalty
  • No submissions after 2 weeks.

Overview

This tutorial gives practice questions to be discussed during the relevant tutorial in person. This particular tutorial sheet corresponds to Unit 4 and Unit 5. It is recommended to either watch the lectures or read the notes for each respective parts before attempting the tutorial sheet.

  1. Questions 1 through 5 are related to induction and recurrences.
  2. Questions 6 through 8 are related to asymptotic notation.

After week 7’s content, you should be able to attempt questions 1 through 5. After week 8’s content, you should be able to attempt questions 6 through 8.

Questions 1, 3, 6, are graded for participation.

That said, we encourage you to try all the questions, this way when you come for tutorial we can best make use of your time since you can either verify your solutions, or understand the discussions when our tutors go through the solutions.


Question 1 [Graded for Participation]

Using mathematical induction, prove that:

Solution:

Proof

  1. (Base case) Let , then . [Basic algebra]
  2. (Inductive step) Assume that for , where
  3. [Basic algebra]
  4. [By assumption on line 2]
  5. [Basic algebra]
  6. [Basic algebra]
  7. [Basic algebra]
  8. [Basic algebra]
  9. [Basic algebra]
  10. [Principle of mathematical induction]

Question 2

Using mathematical induction, prove that:

Solution:

Proof

  1. (Base case) Let . Then, . [Basic algebra]
  • Since , . [Existential generalisation on line 1]
  1. (Inductive step) Assume that for , where , .
  2. Let be such that . [Existential instantiation on line 3]
  3. . [Basic algebra]
  4. . [By assumption on line 3]
  5. . [Basic algebra, from lines 5, 6]
  6. Since , . [Basic algebra]
  7. [Existential generalisation on lines 7, 8]
  8. [Principle of mathematical induction]

Question 3 [Graded for Participation]

Let be a recurrence defined in the following way.

Sub-question 1

Compute the following values:

Sub-question 2

Prove via strong induction that .

Solution:

Sub-question 1:

  1. Since and , we have .

Sub-question 2:

Proof

  1. (Base cases) We prove the statement for and . Clearly, and .
  2. (Inductive step) Let , and assume that .
  3. [By definition of ]
  4. Since and , we have and , respectively. [By assumption on line 2]
  5. [Basic algebra, from lines 3, 4]
  6. [Principle of mathematical induction]

Question 4

Let be a recurrence defined in the following way.

Prove via strong induction that:

You may find the following facts useful:

You may alternatively use the substitution method to prove that this is .

Solution:

Proof

  1. (Base cases) We will prove the statement for , and .
  • For :
  • For :
  • For :
  1. (Inductive step) Let , and assume that .
  2. Since , , so our assumption applies to .
  3. [By assumption on line 2]
  4. [Facts 1, 2]
  5. [Basic algebra]
  6. [From lines 4, 6]
  7. [Principle of mathematical induction]

Question 5

Let be a recurrence defined in the following way.

Prove by induction that:

Solution:

Proof

  1. (Base case) Let . Then, .
  2. (Inductive step) Assume that for , where , .
  3. [By assumption on line 2]
  4. [Principle of mathematical induction]

Question 6 [Graded for Participation]

Let be a recurrence defined in the following way.

Sub-part 1

True or false?

(Hint: You may want to use the statement at end of question 4)

If it is true, explicitly give values and to justify that is indeed in

Solution:

True. From Q5, we have that .

Proof

  1. Let and .
  • Then, , for all . [Basic algebra]
  1. [Existential generalisation on line 1]
  2. [Definition of ]

Sub-part 2

True or false?

(Hint: You may want to use the statement at end of question 4)

If it is true, explicitly give values and to justify that is indeed in

Solution:

True.

Proof

  1. Let and .
  • Then, , for all . [Basic algebra]
  1. [Existential generalisation on line 1]
  2. [Definition of ]

Sub-part 3

True or false?

Why/why not? You do not have to give a proof.

(Hint: What is the definition of ?)

Solution:

True. Since , we have that , which means that .


Question 7

Let be functions such that and . I.e. the functions are always non-negative.

Prove that:

Solution:

We refer to the following definition:

Proof

  1. Let and be arbitrarily chosen functions.
  2. Observe that since both functions are always non-negative. [Basic algebra]
  3. Then, , for all , i.e. for all . [Basic algebra]
  4. Letting , , we see that . [Existential generalisation on line 3]
  5. [Definition of ]

Question 8 (Challenging!)

Prove that:

[Hint: Assume that . What kind of contradiction will you derive?]

Proof

  1. Assume for the sake of contradiction that .
  2. [Unpacking definition of O]
  3. Let such that [Existential instantiation on line 2]
  4. [Basic algebra]
  5. [Basic algebra]
  6. As approaches infinity, . [Basic algebra; see below for a more rigorous proof]
  7. [Existential generalization on line 6]
  8. [Logically equivalent to line 7]
  9. [Conjunction on lines 5 and 8]
  10. [Contradiction rule on line 9]
  11. [Proof by contradiction on line 10]

To prove the idea that one can always find a value of such that , we can do the following:

Sub-Proof:

  1. Consider .
  2. Then, . [Basic algebra]
  3. . [Basic algebra]
  4. Also, . [Basic algebra, from line 2]
  5. . [Existential generalisation on line 3, 4]