exercise

2.1 Induction

a) IH: Base: IS:

  • We need to show that
    • for the equation holds because for : Hence and Thus, the hypothesis is proved.

b) IH: Base: IS:

  • =
  • The hypothesis is proved.

2.2 Fibonacci numbers

IH: for Base: IS:

  • We need to show that
    • Hence Thus, the hypothesis is proved.

better bound

Also known as the the golden ratio

2.3 O-notation quiz

    • Using Theorem 1, the statement is proved.
    • Using Theorem 1, the statement is disproved.
    • Using Theorem 1, the statement is disproved.

2.4

a) Since There are in total terms so the sum of the terms must be less or equal than Thus is proved.

b) Since There are in total terms so the sum of the terms must be greater or equal than Thus is proved.

c)

  • We know from (a) that so
  • We know from (b) that so

d)

2.5

a) we first show that Using the Definition 1 of O-notation: We set Then Thus the statement is proved Another approach

b) so we know Hence using Theorem 2 with the fact that And using theorem 2 again we know

Bonus

prove statement disproved

Good to know: Stirling’s approximation