SLIDE 19 Notations
CSE 373 AU 18 – SHRI MARE 19
𝑔(𝑜) is 𝑃( 𝑜 ) if there exist positive constants 𝑑, 𝑜* such that for all 𝑜 ≥ 𝑜*, 𝑔 𝑜 ≤ 𝑑 ⋅ 𝑜
Big-O
𝑃( 𝑜 ) is the set of all functions 𝑔(𝑜) such that there exist positive constants 𝑑, 𝑜* such that for all 𝑜 ≥ 𝑜*, 𝑔 𝑜 ≤ 𝑑 ⋅ 𝑜
Big-O (alternative definition)
(1) We wrote “𝑔 𝑜 is 𝑃( 𝑜 )”. (2) Technically correct notation “𝑔 𝑜 ∈ 𝑃 𝑜 ” (3) Some people also write “𝑔 𝑜 = 𝑃 𝑜 ” Use (1) or (2). But if you use (3) that’s okay too, but try not to.
∈ means ‘element of’; e.g., ‘a’ ∈ {‘a’, ‘b’, ‘c’, 3}