CSCI 260Fall 2017: Self-Assignment 1: Big Oh

Submission deadline: 1:00 pm, Thurs Sept 21

Assignment value: 0%

Assignment submission: Problems should be completed by Thursday class. Do not hand them in; we will take them up in class.

Questions:

  1. (5 marks) Prove using only the definition of Big-Oh (and appropriate use of "≤") that 3n log n - 60 ∈ O(n2)
  2. (5 marks) Prove using only the definition of Big-Oh that 2n2 -6n +4 ∈ O(n2)
  3. (5 marks) Prove the Transitivity of Big Oh Rule. You can use the definition of big-O and any other big-O Rules in your proof.

    Transitivity of Big-Oh Rule: If f(n) ∈ O(g(n)) and g(n) ∈ O(h(n)) then f(n) ∈ O(h(n))
  4. (5 marks) Show using the Rules of Big-Oh the following claim.

    Claim: 14n2log n + 4n-112 ∈ O(n3).

  5. (5 marks) Show using the Rules of Big-Oh, and/or using the definitions of Big-Oh and Θ, the following claim.

    Claim: 6n2 + 2n +1 ∈ O(n2).

  6. (5 marks) Show using the Rules of Big-Oh, and/or using the definitions of Big-Oh and Θ, the following claim.

    Claim: 0.1 n4log n + 2n +1 ∈ Θ(n4log n).

  7. (5 marks) Show using the definition of Big-Oh the following claim:

    Claim: n2 log n is not in O(n2log log n).

  8. Order the following functions in order of increasing growth rate: i.e., list the slowest growing functions (in the Big-Oh sense) first and the fastest growing last.
    3n log n + 100
    n2/(log n)
    2n
    22n
    2n+1
    0.3412 n2
    4 n2 + 5 √n + 19
    4 n2 -16n
    6 n3.1
    n3.01